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, updateTreePath
clone, 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, 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, toXmlString
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
cloneWithOriginalValues, 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, 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, setVersion
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public String buildTreePath() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public InputStream getContentStream() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public InputStream getContentStream(String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public com.liferay.document.library.kernel.model.DLFileEntryType getDLFileEntryType() throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.document.library.kernel.model.DLFileEntry
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
getExpandoBridge
in class DLFileEntryModelImpl
public String getExtraSettings()
getExtraSettings
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
getExtraSettings
in class DLFileEntryModelImpl
public 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.PortalException
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(String version) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public 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.PortalException
public 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.PortalException
public 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.StagedModel
getStagedModelType
in class DLFileEntryModelImpl
public int getStatus()
getStatus
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
getStatus
in interface com.liferay.portal.kernel.model.TrashedModel
getStatus
in class DLFileEntryModelImpl
public boolean hasLock()
public boolean isCheckedOut()
public boolean isInHiddenFolder()
public boolean isInTrash()
isInTrash
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
isInTrash
in interface com.liferay.portal.kernel.model.TrashedModel
isInTrash
in class DLFileEntryModelImpl
public void setExtraSettings(String extraSettings)
setExtraSettings
in interface com.liferay.document.library.kernel.model.DLFileEntryModel
setExtraSettings
in class DLFileEntryModelImpl
public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)