Liferay 6.2-ce-ga5

com.liferay.portlet.documentlibrary.model
Interface DLFileEntry

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<DLFileEntry>, ClassedModel, Cloneable, Comparable<DLFileEntry>, DLFileEntryModel, GroupedModel, PersistedModel, Serializable, StagedGroupedModel, StagedModel, TrashedModel, TreeModel, TypedModel
All Known Implementing Classes:
DLFileEntryWrapper

@ProviderType
public interface DLFileEntry
extends DLFileEntryModel, PersistedModel, TreeModel

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

Method Summary
 String buildTreePath()
           
 InputStream getContentStream()
           
 InputStream getContentStream(String version)
           
 long getDataRepositoryId()
           
 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()
           
 long getVersionUserId()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserId()
 String getVersionUserName()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserName()
 String getVersionUserUuid()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserUuid()
 boolean hasLock()
           
 boolean isCheckedOut()
           
 boolean isInHiddenFolder()
           
 boolean isInTrashExplicitly()
           
 void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)
           
 
Methods inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryModel
clone, compareTo, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExpandoBridge, getExtension, getExtraSettings, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getManualCheckInRequired, getMimeType, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getStatus, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isCachedModel, isEscapedModel, isInTrash, isInTrashContainer, isManualCheckInRequired, isNew, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExtension, setExtraSettings, setFileEntryId, setFileEntryTypeId, setFolderId, setGroupId, setLargeImageId, setManualCheckInRequired, setMimeType, setModifiedDate, setName, setNew, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, 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.StagedModel
getStagedModelType
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 
Methods inherited from interface com.liferay.portal.model.TreeModel
getPrimaryKeyObj, getTreePath, updateTreePath
 

Method Detail

buildTreePath

String buildTreePath()
                     throws PortalException,
                            SystemException
Specified by:
buildTreePath in interface TreeModel
Throws:
PortalException
SystemException

getContentStream

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

getContentStream

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

getDataRepositoryId

long getDataRepositoryId()

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()
                   throws PortalException,
                          SystemException
Throws:
PortalException
SystemException

getIcon

String getIcon()

getLatestFileVersion

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

getLock

Lock getLock()

getLuceneProperties

String getLuceneProperties()

getVersionUserId

long getVersionUserId()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserId()


getVersionUserName

String getVersionUserName()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserName()


getVersionUserUuid

String getVersionUserUuid()
Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserUuid()


hasLock

boolean hasLock()

isCheckedOut

boolean isCheckedOut()

isInHiddenFolder

boolean isInHiddenFolder()

isInTrashExplicitly

boolean isInTrashExplicitly()
                            throws SystemException
Throws:
SystemException

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

Liferay 6.2-ce-ga5