站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

FileImpl - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.cms.impl
Class FileImpl

java.lang.Object
  extended byorg.jboss.portal.cms.impl.CMSObjectImpl
      extended byorg.jboss.portal.cms.impl.FileImpl
All Implemented Interfaces:
java.lang.Cloneable, CMSObject, File, java.io.Serializable

public class FileImpl
extends CMSObjectImpl
implements File, java.io.Serializable

Author:
Thomas Heute
See Also:
Serialized Form

Field Summary
protected  Content content
           
protected  long fileSize
           
private static long serialVersionUID
          The serialVersionUID
 
Fields inherited from class org.jboss.portal.cms.impl.CMSObjectImpl
basePath, baseUUID, creationDate, description, lastModified, name, parentUUID, title, versionPath, versionUUID
 
Constructor Summary
FileImpl()
           
 
Method Summary
 Content getContent()
           
 Content getContent(java.util.Locale locale)
           
 long getFileSize()
           
 void setContent(java.util.Locale locale, Content content)
           
 void setFileSize(long fileSize)
           
 
Methods inherited from class org.jboss.portal.cms.impl.CMSObjectImpl
getBasePath, getBaseUUID, getCreationDate, getDescription, getLastModified, getName, getParentUUID, getTitle, getVersionPath, getVersionUUID, setBasePath, setBaseUUID, setCreationDate, setDescription, setLastModified, setName, setParentUUID, setTitle, setVersionPath, setVersionUUID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.portal.cms.model.CMSObject
getBasePath, getBaseUUID, getCreationDate, getDescription, getLastModified, getName, getParentUUID, getTitle, getVersionPath, getVersionUUID, setBasePath, setBaseUUID, setCreationDate, setDescription, setLastModified, setName, setParentUUID, setTitle, setVersionPath, setVersionUUID
 

Field Detail

serialVersionUID

private static final long serialVersionUID
The serialVersionUID

See Also:
Constant Field Values

fileSize

protected long fileSize

content

protected Content content
Constructor Detail

FileImpl

public FileImpl()
Method Detail

getFileSize

public long getFileSize()

setFileSize

public void setFileSize(long fileSize)

setContent

public void setContent(java.util.Locale locale,
                       Content content)
Specified by:
setContent in interface File

getContent

public Content getContent(java.util.Locale locale)
Specified by:
getContent in interface File

getContent

public Content getContent()
Specified by:
getContent in interface File