Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.model
Interface DLFileEntry

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<DLFileEntry>, ClassedModel, Cloneable, Comparable<DLFileEntry>, DLFileEntryModel, GroupedModel, PersistedModel, Serializable, ShardedModel, StagedGroupedModel, StagedModel, TrashedModel, TreeModel, TypedModel
All Known Implementing Classes:
DLFileEntryBaseImpl, DLFileEntryImpl, 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
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static Accessor<DLFileEntry,Long> FILE_ENTRY_ID_ACCESSOR
           
 
Method Summary
 String buildTreePath()
           
 InputStream getContentStream()
           
 InputStream getContentStream(String version)
           
 long getDataRepositoryId()
           
 Map<String,DDMFormValues> getDDMFormValuesMap(long fileVersionId)
           
 DLFileEntryType getDLFileEntryType()
           
 UnicodeProperties getExtraSettingsProperties()
           
 List<DLFileShortcut> getFileShortcuts()
           
 DLFileVersion getFileVersion()
           
 DLFileVersion getFileVersion(String version)
           
 List<DLFileVersion> getFileVersions(int status)
           
 int getFileVersionsCount(int status)
           
 DLFolder getFolder()
           
 String getIcon()
           
 String getIconCssClass()
           
 DLFileVersion getLatestFileVersion(boolean trusted)
           
 Lock getLock()
           
 String getLuceneProperties()
           
 boolean hasLock()
           
 boolean isCheckedOut()
           
 boolean isInHiddenFolder()
           
 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, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, 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, isInTrashExplicitly, isInTrashImplicitly, isManualCheckInRequired, isNew, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExtension, setExtraSettings, setFileEntryId, setFileEntryTypeId, setFileName, setFolderId, setGroupId, setLargeImageId, setLastPublishDate, 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, isEntityCacheEnabled, isFinderCacheEnabled, 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
 

Field Detail

FILE_ENTRY_ID_ACCESSOR

static final Accessor<DLFileEntry,Long> FILE_ENTRY_ID_ACCESSOR
Method Detail

buildTreePath

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

getContentStream

InputStream getContentStream()
                             throws PortalException
Throws:
PortalException

getContentStream

InputStream getContentStream(String version)
                             throws PortalException
Throws:
PortalException

getDataRepositoryId

long getDataRepositoryId()

getDDMFormValuesMap

Map<String,DDMFormValues> getDDMFormValuesMap(long fileVersionId)
                                              throws PortalException
Throws:
PortalException

getDLFileEntryType

DLFileEntryType getDLFileEntryType()
                                   throws PortalException
Throws:
PortalException

getExtraSettingsProperties

UnicodeProperties getExtraSettingsProperties()

getFileShortcuts

List<DLFileShortcut> getFileShortcuts()

getFileVersion

DLFileVersion getFileVersion()
                             throws PortalException
Throws:
PortalException

getFileVersion

DLFileVersion getFileVersion(String version)
                             throws PortalException
Throws:
PortalException

getFileVersions

List<DLFileVersion> getFileVersions(int status)

getFileVersionsCount

int getFileVersionsCount(int status)

getFolder

DLFolder getFolder()
                   throws PortalException
Throws:
PortalException

getIcon

String getIcon()

getIconCssClass

String getIconCssClass()

getLatestFileVersion

DLFileVersion getLatestFileVersion(boolean trusted)
                                   throws PortalException
Throws:
PortalException

getLock

Lock getLock()

getLuceneProperties

String getLuceneProperties()

hasLock

boolean hasLock()

isCheckedOut

boolean isCheckedOut()

isInHiddenFolder

boolean isInHiddenFolder()

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

Liferay 7.0-ce-b4