public class DLFileEntryImpl extends DLFileEntryBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, FILEENTRYTYPEID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MIMETYPE_COLUMN_BITMASK, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, REPOSITORYID_COLUMN_BITMASK, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TITLE_COLUMN_BITMASK, TX_MANAGER, USERID_COLUMN_BITMASK, UUID_COLUMN_BITMASK| Constructor and Description |
|---|
DLFileEntryImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
buildTreePath() |
java.io.InputStream |
getContentStream() |
java.io.InputStream |
getContentStream(java.lang.String version) |
long |
getDataRepositoryId() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
java.lang.String |
getExtraSettings() |
com.liferay.portal.kernel.util.UnicodeProperties |
getExtraSettingsProperties() |
java.util.Map<java.lang.String,com.liferay.portlet.dynamicdatamapping.storage.Fields> |
getFieldsMap(long fileVersionId) |
com.liferay.portlet.documentlibrary.model.DLFileVersion |
getFileVersion() |
com.liferay.portlet.documentlibrary.model.DLFileVersion |
getFileVersion(java.lang.String version) |
java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> |
getFileVersions(int status) |
int |
getFileVersionsCount(int status) |
com.liferay.portlet.documentlibrary.model.DLFolder |
getFolder() |
java.lang.String |
getIcon() |
com.liferay.portlet.documentlibrary.model.DLFileVersion |
getLatestFileVersion(boolean trusted) |
com.liferay.portal.model.Lock |
getLock() |
java.lang.String |
getLuceneProperties() |
com.liferay.portal.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus() |
long |
getVersionUserId()
Deprecated.
As of 6.2.0, replaced by
DLFileVersionModel.getUserId() |
java.lang.String |
getVersionUserName()
Deprecated.
As of 6.2.0, replaced by
DLFileVersionModel.getUserName() |
java.lang.String |
getVersionUserUuid()
Deprecated.
As of 6.2.0, replaced by
DLFileVersionModel.getUserUuid() |
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isInHiddenFolder() |
boolean |
isInTrash() |
boolean |
isInTrashExplicitly() |
void |
setExtraSettings(java.lang.String extraSettings) |
void |
setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties) |
persist, updateTreePathclone, compareTo, equals, getClassName, getClassNameId, getClassPK, getColumnBitmask, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getManualCheckInRequired, getMimeType, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getName, getOriginalCompanyId, getOriginalFileEntryTypeId, getOriginalFolderId, getOriginalGroupId, getOriginalMimeType, getOriginalName, getOriginalRepositoryId, getOriginalTitle, getOriginalUserId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isInTrashContainer, isManualCheckInRequired, resetOriginalValues, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExtension, setFileEntryId, setFileEntryTypeId, setFolderId, setGroupId, setLargeImageId, setManualCheckInRequired, setMimeType, setModelAttributes, setModifiedDate, setName, setPrimaryKey, setPrimaryKeyObj, setReadCount, setRepositoryId, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toModel, toModels, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, compareTo, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCustom1ImageId, getCustom2ImageId, getDescription, getExtension, getFileEntryId, getFileEntryTypeId, getFolderId, getGroupId, getLargeImageId, getManualCheckInRequired, getMimeType, getModifiedDate, getName, getPrimaryKey, getPrimaryKeyObj, getReadCount, getRepositoryId, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, isCachedModel, isEscapedModel, isInTrashContainer, isManualCheckInRequired, isNew, setCachedModel, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExtension, 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, toXmlStringgetModelAttributes, resetOriginalValues, setModelAttributespublic java.lang.String buildTreePath()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.io.InputStream getContentStream()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.io.InputStream getContentStream(java.lang.String version)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic long getDataRepositoryId()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.documentlibrary.model.DLFileEntry>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModelgetExpandoBridge in class DLFileEntryModelImplpublic java.lang.String getExtraSettings()
getExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModelgetExtraSettings in class DLFileEntryModelImplpublic com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
public java.util.Map<java.lang.String,com.liferay.portlet.dynamicdatamapping.storage.Fields> getFieldsMap(long fileVersionId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(java.lang.String version)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.documentlibrary.model.DLFileVersion> getFileVersions(int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getFileVersionsCount(int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.documentlibrary.model.DLFolder getFolder()
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.lang.String getIcon()
public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(boolean trusted)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portal.model.Lock getLock()
public java.lang.String getLuceneProperties()
public com.liferay.portal.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.model.StagedModelgetStagedModelType in class DLFileEntryModelImplpublic int getStatus()
getStatus in interface com.liferay.portal.model.TrashedModelgetStatus in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModelgetStatus in class DLFileEntryModelImplpublic long getVersionUserId()
DLFileVersionModel.getUserId()public java.lang.String getVersionUserName()
DLFileVersionModel.getUserName()public java.lang.String getVersionUserUuid()
DLFileVersionModel.getUserUuid()public boolean hasLock()
public boolean isCheckedOut()
public boolean isInHiddenFolder()
public boolean isInTrash()
isInTrash in interface com.liferay.portal.model.TrashedModelisInTrash in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModelisInTrash in class DLFileEntryModelImplpublic boolean isInTrashExplicitly()
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void setExtraSettings(java.lang.String extraSettings)
setExtraSettings in interface com.liferay.portlet.documentlibrary.model.DLFileEntryModelsetExtraSettings in class DLFileEntryModelImplpublic void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsProperties)