public class DLFileEntryImpl extends DLFileEntryBaseImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, CUSTOM1IMAGEID_COLUMN_BITMASK, CUSTOM2IMAGEID_COLUMN_BITMASK, DATA_SOURCE, ENTITY_CACHE_ENABLED, EXTERNALREFERENCECODE_COLUMN_BITMASK, FILEENTRYTYPEID_COLUMN_BITMASK, FILENAME_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LARGEIMAGEID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MIMETYPE_COLUMN_BITMASK, NAME_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, REPOSITORYID_COLUMN_BITMASK, SESSION_FACTORY, SMALLIMAGEID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, 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 |
|---|---|
String |
buildTreePath() |
InputStream |
getContentStream() |
InputStream |
getContentStream(String version) |
long |
getDataRepositoryId() |
Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> |
getDDMFormValuesMap(long fileVersionId) |
com.liferay.document.library.kernel.model.DLFileEntryType |
getDLFileEntryType() |
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
String |
getExtraSettings() |
com.liferay.portal.kernel.util.UnicodeProperties |
getExtraSettingsProperties() |
List<com.liferay.document.library.kernel.model.DLFileShortcut> |
getFileShortcuts() |
com.liferay.document.library.kernel.model.DLFileVersion |
getFileVersion() |
com.liferay.document.library.kernel.model.DLFileVersion |
getFileVersion(String version) |
List<com.liferay.document.library.kernel.model.DLFileVersion> |
getFileVersions(int status) |
int |
getFileVersionsCount(int status) |
com.liferay.document.library.kernel.model.DLFolder |
getFolder() |
String |
getIcon() |
String |
getIconCssClass() |
com.liferay.document.library.kernel.model.DLFileVersion |
getLatestFileVersion(boolean trusted) |
com.liferay.portal.kernel.lock.Lock |
getLock() |
String |
getLuceneProperties()
Deprecated.
As of Cavanaugh (7.4.x)
|
long |
getReadCount() |
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
int |
getStatus() |
boolean |
hasLock() |
boolean |
isCheckedOut() |
boolean |
isInHiddenFolder() |
boolean |
isInTrash() |
void |
setExtraSettings(String extraSettings) |
void |
setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties) |
persist, updateTreePathclone, cloneWithOriginalValues, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getClassName, getClassNameId, getClassPK, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getCompanyId, getCreateDate, getCtCollectionId, getCustom1ImageId, getCustom2ImageId, getDescription, getExpirationDate, getExtension, getExternalReferenceCode, getFileEntryId, getFileEntryTypeId, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, getManualCheckInRequired, getMimeType, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getName, getOriginalCompanyId, getOriginalCustom1ImageId, getOriginalCustom2ImageId, getOriginalExternalReferenceCode, getOriginalFileEntryTypeId, getOriginalFileName, getOriginalFolderId, getOriginalGroupId, getOriginalLargeImageId, getOriginalMimeType, getOriginalName, getOriginalRepositoryId, getOriginalSmallImageId, getOriginalTitle, getOriginalUserId, getOriginalUuid, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getReviewDate, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isManualCheckInRequired, resetOriginalValues, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setCustom1ImageId, setCustom2ImageId, setDescription, setExpandoBridgeAttributes, setExpirationDate, setExtension, setExternalReferenceCode, setFileEntryId, setFileEntryTypeId, setFileName, setFolderId, setGroupId, setLargeImageId, setLastPublishDate, setManualCheckInRequired, setMimeType, setModelAttributes, setModifiedDate, setMvccVersion, setName, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setReviewDate, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, toCacheModel, toEscapedModel, toString, toXmlStringgetLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelcloneWithOriginalValues, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCtCollectionId, getCustom1ImageId, getCustom2ImageId, getDescription, getExpirationDate, getExtension, getExternalReferenceCode, getFileEntryId, getFileEntryTypeId, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, getManualCheckInRequired, getMimeType, getModifiedDate, getMvccVersion, getName, getPrimaryKey, getRepositoryId, getReviewDate, getSize, getSmallImageId, getTitle, getTrashEntry, getTrashEntryClassPK, getTrashHandler, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, isInTrashContainer, isInTrashExplicitly, isInTrashImplicitly, isManualCheckInRequired, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setCustom1ImageId, setCustom2ImageId, setDescription, setExpirationDate, setExtension, setExternalReferenceCode, setFileEntryId, setFileEntryTypeId, setFileName, setFolderId, setGroupId, setLargeImageId, setLastPublishDate, setManualCheckInRequired, setMimeType, setModifiedDate, setMvccVersion, setName, setPrimaryKey, setRepositoryId, setReviewDate, setSize, setSmallImageId, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersionclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic String buildTreePath()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic InputStream getContentStream()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic InputStream getContentStream(String version)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic long getDataRepositoryId()
public Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> getDDMFormValuesMap(long fileVersionId)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.document.library.kernel.model.DLFileEntryType getDLFileEntryType()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.document.library.kernel.model.DLFileEntrygetExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelgetExpandoBridge in class DLFileEntryModelImplpublic String getExtraSettings()
getExtraSettings in interface com.liferay.document.library.kernel.model.DLFileEntryModelgetExtraSettings in class DLFileEntryModelImplpublic com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties()
public List<com.liferay.document.library.kernel.model.DLFileShortcut> getFileShortcuts()
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(String version)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(int status)
public int getFileVersionsCount(int status)
public com.liferay.document.library.kernel.model.DLFolder getFolder()
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic String getIcon()
public String getIconCssClass()
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(boolean trusted)
throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalExceptionpublic com.liferay.portal.kernel.lock.Lock getLock()
@Deprecated public String getLuceneProperties()
public long getReadCount()
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelgetStagedModelType in class DLFileEntryModelImplpublic int getStatus()
getStatus in interface com.liferay.document.library.kernel.model.DLFileEntryModelgetStatus in interface com.liferay.portal.kernel.model.TrashedModelgetStatus in class DLFileEntryModelImplpublic boolean hasLock()
public boolean isCheckedOut()
public boolean isInHiddenFolder()
public boolean isInTrash()
isInTrash in interface com.liferay.document.library.kernel.model.DLFileEntryModelisInTrash in interface com.liferay.portal.kernel.model.TrashedModelisInTrash in class DLFileEntryModelImplpublic void setExtraSettings(String extraSettings)
setExtraSettings in interface com.liferay.document.library.kernel.model.DLFileEntryModelsetExtraSettings in class DLFileEntryModelImplpublic void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)