Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.model
Interface DLFileEntry

All Superinterfaces:
AuditedModel, BaseModel<DLFileEntry>, ClassedModel, Cloneable, Comparable<DLFileEntry>, DLFileEntryModel, GroupedModel, PersistedModel, Serializable
All Known Implementing Classes:
DLFileEntryBaseImpl, DLFileEntryImpl, DLFileEntryWrapper

public interface DLFileEntry
extends DLFileEntryModel, PersistedModel

The extended model interface for the DLFileEntry service. Represents a row in the "DLFileEntry" database table, with each column mapped to a property of this class.

See Also:
DLFileEntryModel, DLFileEntryImpl, DLFileEntryModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Method Summary
 InputStream getContentStream()
           
 InputStream getContentStream(String version)
           
 long getDataRepositoryId()
           
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 String getExtraSettings()
          Returns the extra settings of this document library file entry.
 UnicodeProperties getExtraSettingsProperties()
           
 Map<String,Fields> getFieldsMap(long fileVersionId)
           
 DLFileVersion getFileVersion()
           
 DLFileVersion getFileVersion(String version)
           
 List<DLFileVersion> getFileVersions(int status)
           
 int getFileVersionsCount(int status)
           
 DLFolder getFolder()
           
 String getIcon()
           
 DLFileVersion getLatestFileVersion(boolean trusted)
           
 Lock getLock()
           
 String getLuceneProperties()
           
 boolean hasLock()
           
 boolean isCheckedOut()
           
 void setExtraSettings(String extraSettings)
          Sets the extra settings of this document library file entry.
 void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
           
 void setFileVersion(DLFileVersion dlFileVersion)
           
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
clone, compareTo, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getMimeType, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, getVersionUserId, getVersionUserName, getVersionUserUuid, hashCode, isCachedModel, isEscapedModel, isNew, setCachedModel, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFolderId, setGroupId, setLargeImageId, setMimeType, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setUserId, setUserName, setUserUuid, setUuid, setVersion, setVersionUserId, setVersionUserName, setVersionUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

getContentStream

InputStream getContentStream()
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getContentStream

InputStream getContentStream(String version)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getDataRepositoryId

long getDataRepositoryId()

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<DLFileEntry>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface DLFileEntryModel
Returns:
the expando bridge for this model instance

getExtraSettings

String getExtraSettings()
Description copied from interface: DLFileEntryModel
Returns the extra settings of this document library file entry.

Specified by:
getExtraSettings in interface DLFileEntryModel
Returns:
the extra settings of this document library file entry

getExtraSettingsProperties

UnicodeProperties getExtraSettingsProperties()

getFieldsMap

Map<String,Fields> getFieldsMap(long fileVersionId)
                                throws PortalException,
                                       SystemException
Throws:
PortalException
SystemException

getFileVersion

DLFileVersion getFileVersion()
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersion

DLFileVersion getFileVersion(String version)
                             throws PortalException,
                                    SystemException
Throws:
PortalException
SystemException

getFileVersions

List<DLFileVersion> getFileVersions(int status)
                                    throws SystemException
Throws:
SystemException

getFileVersionsCount

int getFileVersionsCount(int status)
                         throws SystemException
Throws:
SystemException

getFolder

DLFolder getFolder()

getIcon

String getIcon()

getLatestFileVersion

DLFileVersion getLatestFileVersion(boolean trusted)
                                   throws PortalException,
                                          SystemException
Throws:
PortalException
SystemException

getLock

Lock getLock()

getLuceneProperties

String getLuceneProperties()

hasLock

boolean hasLock()

isCheckedOut

boolean isCheckedOut()

setExtraSettings

void setExtraSettings(String extraSettings)
Description copied from interface: DLFileEntryModel
Sets the extra settings of this document library file entry.

Specified by:
setExtraSettings in interface DLFileEntryModel
Parameters:
extraSettings - the extra settings of this document library file entry

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

setFileVersion

void setFileVersion(DLFileVersion dlFileVersion)

Liferay 6.1.2-ce-ga3