Class DLFileEntryImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLFileEntry>
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryBaseImpl
com.liferay.portlet.documentlibrary.model.impl.DLFileEntryImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.model.DLFileEntry
,com.liferay.document.library.kernel.model.DLFileEntryModel
,com.liferay.portal.kernel.model.AttachedModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.document.library.kernel.model.DLFileEntry>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
,com.liferay.portal.kernel.model.TrashedModel
,com.liferay.portal.kernel.model.TreeModel
,com.liferay.portal.kernel.model.TypedModel
,Serializable
,Cloneable
,Comparable<com.liferay.document.library.kernel.model.DLFileEntry>
- Author:
- Brian Wing Shun Chan, Alexander Chow
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
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, ORDER_BY_SQL_INLINE_DISTINCT, 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
Fields inherited from interface com.liferay.document.library.kernel.model.DLFileEntry
FILE_ENTRY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentStream
(String version) long
getDDMFormValuesMap
(long fileVersionId) com.liferay.document.library.kernel.model.DLFileEntryType
com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.util.UnicodeProperties
List<com.liferay.document.library.kernel.model.DLFileShortcut>
com.liferay.document.library.kernel.model.DLFileVersion
com.liferay.document.library.kernel.model.DLFileVersion
getFileVersion
(String version) List<com.liferay.document.library.kernel.model.DLFileVersion>
getFileVersions
(int status) List<com.liferay.document.library.kernel.model.DLFileVersion>
getFileVersions
(int status, int start, int end) int
getFileVersionsCount
(int status) com.liferay.document.library.kernel.model.DLFolder
getIcon()
com.liferay.document.library.kernel.model.DLFileVersion
getLatestFileVersion
(boolean trusted) com.liferay.portal.kernel.lock.Lock
getLock()
Deprecated.As of Cavanaugh (7.4.x)long
com.liferay.exportimport.kernel.lar.StagedModelType
int
boolean
hasLock()
boolean
boolean
boolean
void
setExtraSettings
(String extraSettings) void
setExtraSettingsProperties
(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties) Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryBaseImpl
persist, updateTreePath
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileEntryModelImpl
clone, cloneWithOriginalValues, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getClassName, getClassNameId, getClassPK, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getCompanyId, getCreateDate, getCtCollectionId, getCustom1ImageId, getCustom2ImageId, getDescription, getDisplayDate, 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, getTrashEntryClassPK, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, hasSetModifiedDate, isEntityCacheEnabled, isFinderCacheEnabled, isManualCheckInRequired, resetOriginalValues, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setCustom1ImageId, setCustom2ImageId, setDescription, setDisplayDate, 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
Methods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.document.library.kernel.model.DLFileEntryModel
cloneWithOriginalValues, getClassName, getClassNameId, getClassPK, getCompanyId, getCreateDate, getCtCollectionId, getCustom1ImageId, getCustom2ImageId, getDescription, getDisplayDate, getExpirationDate, getExtension, getExternalReferenceCode, getFileEntryId, getFileEntryTypeId, getFileName, getFolderId, getGroupId, getLargeImageId, getLastPublishDate, getManualCheckInRequired, getMimeType, getModifiedDate, getMvccVersion, getName, getPrimaryKey, getRepositoryId, getReviewDate, getSize, getSmallImageId, getTitle, getTrashEntryClassPK, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, isManualCheckInRequired, setClassName, setClassNameId, setClassPK, setCompanyId, setCreateDate, setCtCollectionId, setCustom1ImageId, setCustom2ImageId, setDescription, setDisplayDate, 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, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj, getTreePath
-
Constructor Details
-
DLFileEntryImpl
public DLFileEntryImpl()
-
-
Method Details
-
buildTreePath
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContentStream
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContentStream
public InputStream getContentStream(String version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDataRepositoryId
public long getDataRepositoryId() -
getDDMFormValuesMap
public Map<String,com.liferay.dynamic.data.mapping.kernel.DDMFormValues> getDDMFormValuesMap(long fileVersionId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDLFileEntryType
public com.liferay.document.library.kernel.model.DLFileEntryType getDLFileEntryType() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getExpandoBridge
public com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileEntry>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Specified by:
getExpandoBridge
in interfacecom.liferay.document.library.kernel.model.DLFileEntry
- Overrides:
getExpandoBridge
in classDLFileEntryModelImpl
-
getExtraSettings
- Specified by:
getExtraSettings
in interfacecom.liferay.document.library.kernel.model.DLFileEntryModel
- Overrides:
getExtraSettings
in classDLFileEntryModelImpl
-
getExtraSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() -
getFileShortcuts
-
getFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getFileVersion(String version) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getFileVersions
-
getFileVersions
public List<com.liferay.document.library.kernel.model.DLFileVersion> getFileVersions(int status, int start, int end) -
getFileVersionsCount
public int getFileVersionsCount(int status) -
getFolder
public com.liferay.document.library.kernel.model.DLFolder getFolder() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getIcon
-
getIconCssClass
-
getLatestFileVersion
public com.liferay.document.library.kernel.model.DLFileVersion getLatestFileVersion(boolean trusted) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getLock
public com.liferay.portal.kernel.lock.Lock getLock() -
getLuceneProperties
Deprecated.As of Cavanaugh (7.4.x) -
getReadCount
public long getReadCount() -
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
- Overrides:
getStagedModelType
in classDLFileEntryModelImpl
-
getStatus
public int getStatus()- Specified by:
getStatus
in interfacecom.liferay.document.library.kernel.model.DLFileEntryModel
- Specified by:
getStatus
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Overrides:
getStatus
in classDLFileEntryModelImpl
-
hasLock
public boolean hasLock() -
isCheckedOut
public boolean isCheckedOut() -
isInHiddenFolder
public boolean isInHiddenFolder() -
isInTrash
public boolean isInTrash()- Specified by:
isInTrash
in interfacecom.liferay.document.library.kernel.model.DLFileEntryModel
- Specified by:
isInTrash
in interfacecom.liferay.portal.kernel.model.TrashedModel
- Overrides:
isInTrash
in classDLFileEntryModelImpl
-
setExtraSettings
- Specified by:
setExtraSettings
in interfacecom.liferay.document.library.kernel.model.DLFileEntryModel
- Overrides:
setExtraSettings
in classDLFileEntryModelImpl
-
setExtraSettingsProperties
public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)
-