org.jboss.portal.cms.impl
Class FileImpl

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

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
           
 
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

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