Class DLFileVersionImpl
Object
com.liferay.portal.kernel.model.impl.BaseModelImpl<com.liferay.document.library.kernel.model.DLFileVersion>
com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
com.liferay.portlet.documentlibrary.model.impl.DLFileVersionBaseImpl
com.liferay.portlet.documentlibrary.model.impl.DLFileVersionImpl
- All Implemented Interfaces:
com.liferay.document.library.kernel.model.DLFileVersion
,com.liferay.document.library.kernel.model.DLFileVersionModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileVersion>
,com.liferay.portal.kernel.model.change.tracking.CTModel<com.liferay.document.library.kernel.model.DLFileVersion>
,com.liferay.portal.kernel.model.ClassedModel
,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.TreeModel
,com.liferay.portal.kernel.model.WorkflowedModel
,Serializable
,Cloneable
,Comparable<com.liferay.document.library.kernel.model.DLFileVersion>
- Author:
- Jorge Ferrer, Alexander Chow
- See Also:
-
Field Summary
Fields inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
COLUMN_BITMASK_ENABLED, COMPANYID_COLUMN_BITMASK, CREATEDATE_COLUMN_BITMASK, DATA_SOURCE, DISPLAYDATE_COLUMN_BITMASK, ENTITY_CACHE_ENABLED, EXPIRATIONDATE_COLUMN_BITMASK, FILEENTRYID_COLUMN_BITMASK, FINDER_CACHE_ENABLED, FOLDERID_COLUMN_BITMASK, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, MIMETYPE_COLUMN_BITMASK, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, STATUS_COLUMN_BITMASK, STOREUUID_COLUMN_BITMASK, TABLE_COLUMNS, TABLE_COLUMNS_MAP, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TITLE_COLUMN_BITMASK, TX_MANAGER, UUID_COLUMN_BITMASK, VERSION_COLUMN_BITMASK
Fields inherited from interface com.liferay.document.library.kernel.model.DLFileVersion
FILE_VERSION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContentStream
(boolean incrementCounter) List<com.liferay.dynamic.data.mapping.kernel.DDMStructure>
Deprecated.com.liferay.document.library.kernel.model.DLFileEntryType
com.liferay.expando.kernel.model.ExpandoBridge
com.liferay.portal.kernel.util.UnicodeProperties
com.liferay.document.library.kernel.model.DLFileEntry
com.liferay.document.library.kernel.model.DLFolder
getIcon()
void
setExtraSettings
(String extraSettings) void
setExtraSettingsProperties
(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties) Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionBaseImpl
persist, updateTreePath
Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionModelImpl
clone, cloneWithOriginalValues, compareTo, equals, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getChangeLog, getChecksum, getColumnBitmask, getColumnBitmask, getColumnOriginalValue, getColumnValue, getCompanyId, getCreateDate, getCtCollectionId, getDescription, getDisplayDate, getExpirationDate, getExtension, getFileEntryId, getFileEntryTypeId, getFileName, getFileVersionId, getFolderId, getGroupId, getLastPublishDate, getMimeType, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getMvccVersion, getOriginalCompanyId, getOriginalDisplayDate, getOriginalExpirationDate, getOriginalFileEntryId, getOriginalFolderId, getOriginalGroupId, getOriginalMimeType, getOriginalStatus, getOriginalStoreUUID, getOriginalTitle, getOriginalUuid, getOriginalVersion, getPrimaryKey, getPrimaryKeyObj, getRepositoryId, getReviewDate, getSize, getStagedModelType, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStoreUUID, getTitle, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, hashCode, hasSetModifiedDate, isApproved, isDenied, isDraft, isEntityCacheEnabled, isExpired, isFinderCacheEnabled, isInactive, isIncomplete, isPending, isScheduled, resetOriginalValues, setChangeLog, setChecksum, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDisplayDate, setExpandoBridgeAttributes, setExpirationDate, setExtension, setFileEntryId, setFileEntryTypeId, setFileName, setFileVersionId, setFolderId, setGroupId, setLastPublishDate, setMimeType, setModelAttributes, setModifiedDate, setMvccVersion, setPrimaryKey, setPrimaryKeyObj, setRepositoryId, setReviewDate, setSize, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStoreUUID, 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.DLFileVersionModel
cloneWithOriginalValues, getChangeLog, getChecksum, getCompanyId, getCreateDate, getCtCollectionId, getDescription, getDisplayDate, getExpirationDate, getExtension, getFileEntryId, getFileEntryTypeId, getFileName, getFileVersionId, getFolderId, getGroupId, getLastPublishDate, getMimeType, getModifiedDate, getMvccVersion, getPrimaryKey, getRepositoryId, getReviewDate, getSize, getStatus, getStatusByUserId, getStatusByUserName, getStatusByUserUuid, getStatusDate, getStoreUUID, getTitle, getTreePath, getUserId, getUserName, getUserUuid, getUuid, getVersion, isApproved, isDenied, isDraft, isExpired, isInactive, isIncomplete, isPending, isScheduled, setChangeLog, setChecksum, setCompanyId, setCreateDate, setCtCollectionId, setDescription, setDisplayDate, setExpirationDate, setExtension, setFileEntryId, setFileEntryTypeId, setFileName, setFileVersionId, setFolderId, setGroupId, setLastPublishDate, setMimeType, setModifiedDate, setMvccVersion, setPrimaryKey, setRepositoryId, setReviewDate, setSize, setStatus, setStatusByUserId, setStatusByUserName, setStatusByUserUuid, setStatusDate, setStoreUUID, setTitle, setTreePath, setUserId, setUserName, setUserUuid, setUuid, setVersion, toXmlString
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelType
Methods inherited from interface com.liferay.portal.kernel.model.TreeModel
getPrimaryKeyObj, getTreePath
-
Constructor Details
-
DLFileVersionImpl
public DLFileVersionImpl()
-
-
Method Details
-
buildTreePath
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getContentStream
public InputStream getContentStream(boolean incrementCounter) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
@Deprecated public List<com.liferay.dynamic.data.mapping.kernel.DDMStructure> getDDMStructures() throws com.liferay.portal.kernel.exception.PortalExceptionDeprecated.As of Cavanaugh (7.4.x), replaced byDLFileEntryTypeUtil#getDDMStructures(DLFileEntryType)
- 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.DLFileVersion>
- Specified by:
getExpandoBridge
in interfacecom.liferay.portal.kernel.model.ClassedModel
- Specified by:
getExpandoBridge
in interfacecom.liferay.document.library.kernel.model.DLFileVersion
- Overrides:
getExpandoBridge
in classDLFileVersionModelImpl
-
getExtraSettings
- Specified by:
getExtraSettings
in interfacecom.liferay.document.library.kernel.model.DLFileVersionModel
- Overrides:
getExtraSettings
in classDLFileVersionModelImpl
-
getExtraSettingsProperties
public com.liferay.portal.kernel.util.UnicodeProperties getExtraSettingsProperties() -
getFileEntry
public com.liferay.document.library.kernel.model.DLFileEntry getFileEntry() throws com.liferay.portal.kernel.exception.PortalException- Throws:
com.liferay.portal.kernel.exception.PortalException
-
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
-
getStoreFileName
-
setExtraSettings
- Specified by:
setExtraSettings
in interfacecom.liferay.document.library.kernel.model.DLFileVersionModel
- Overrides:
setExtraSettings
in classDLFileVersionModelImpl
-
setExtraSettingsProperties
public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)
-
DLFileEntryTypeUtil#getDDMStructures(DLFileEntryType)