Liferay 6.2.0

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

Method Summary
abstract  String buildTreePath()
           
abstract  InputStream getContentStream()
           
abstract  InputStream getContentStream(String version)
           
abstract  long getDataRepositoryId()
           
abstract  UnicodeProperties getExtraSettingsProperties()
           
abstract  Map<String,Fields> getFieldsMap(long fileVersionId)
           
abstract  DLFileVersion getFileVersion()
           
abstract  DLFileVersion getFileVersion(String version)
           
abstract  List<DLFileVersion> getFileVersions(int status)
           
abstract  int getFileVersionsCount(int status)
           
abstract  DLFolder getFolder()
           
abstract  String getIcon()
           
abstract  DLFileVersion getLatestFileVersion(boolean trusted)
           
abstract  Lock getLock()
           
abstract  String getLuceneProperties()
           
abstract  long getVersionUserId()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserId()
abstract  String getVersionUserName()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserName()
abstract  String getVersionUserUuid()
          Deprecated. As of 6.2.0, replaced by DLFileVersionModel.getUserUuid()
abstract  boolean hasLock()
           
abstract  boolean isCheckedOut()
           
abstract  boolean isInHiddenFolder()
           
abstract  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()

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

Liferay 6.2.0