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_BITMASKFields 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.DLFileEntryTypecom.liferay.expando.kernel.model.ExpandoBridgecom.liferay.portal.kernel.util.UnicodePropertiescom.liferay.document.library.kernel.model.DLFileEntrycom.liferay.document.library.kernel.model.DLFoldergetIcon()voidsetExtraSettings(String extraSettings) voidsetExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties) Methods inherited from class com.liferay.portlet.documentlibrary.model.impl.DLFileVersionBaseImpl
persist, updateTreePathMethods 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, toStringMethods inherited from class com.liferay.portal.kernel.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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, toXmlStringMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone, getStagedModelTypeMethods 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:
getExpandoBridgein interfacecom.liferay.portal.kernel.model.BaseModel<com.liferay.document.library.kernel.model.DLFileVersion>- Specified by:
getExpandoBridgein interfacecom.liferay.portal.kernel.model.ClassedModel- Specified by:
getExpandoBridgein interfacecom.liferay.document.library.kernel.model.DLFileVersion- Overrides:
getExpandoBridgein classDLFileVersionModelImpl
-
getExtraSettings
- Specified by:
getExtraSettingsin interfacecom.liferay.document.library.kernel.model.DLFileVersionModel- Overrides:
getExtraSettingsin 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:
setExtraSettingsin interfacecom.liferay.document.library.kernel.model.DLFileVersionModel- Overrides:
setExtraSettingsin classDLFileVersionModelImpl
-
setExtraSettingsProperties
public void setExtraSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties extraSettingsUnicodeProperties)
-
DLFileEntryTypeUtil#getDDMStructures(DLFileEntryType)