Liferay 6.2.0-ce-b3

com.liferay.portlet.documentlibrary.model
Interface DLFileEntry

All Superinterfaces:
AttachedModel, AuditedModel, BaseModel<DLFileEntry>, ClassedModel, Cloneable, Comparable<DLFileEntry>, DLFileEntryModel, GroupedModel, PersistedModel, Serializable, StagedGroupedModel, StagedModel, TypedModel
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()
           
 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()
           
 DLFolder getTrashContainer()
           
 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 isInTrashContainer()
           
 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, getTitle, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isCachedModel, isEscapedModel, 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, 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
 

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

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

getTrashContainer

DLFolder getTrashContainer()
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

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

isInTrashContainer

boolean isInTrashContainer()
                           throws PortalException,
                                  SystemException
Throws:
PortalException
SystemException

setExtraSettingsProperties

void setExtraSettingsProperties(UnicodeProperties extraSettingsProperties)

Liferay 6.2.0-ce-b3