Class DLFileEntryMetadataWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DLFileEntryMetadata>
com.liferay.document.library.kernel.model.DLFileEntryMetadataWrapper
- All Implemented Interfaces:
DLFileEntryMetadata
,DLFileEntryMetadataModel
,BaseModel<DLFileEntryMetadata>
,CTModel<DLFileEntryMetadata>
,ClassedModel
,ExternalReferenceCodeModel
,ModelWrapper<DLFileEntryMetadata>
,MVCCModel
,PersistedModel
,ShardedModel
,Serializable
,Cloneable
,Comparable<DLFileEntryMetadata>
public class DLFileEntryMetadataWrapper
extends BaseModelWrapper<DLFileEntryMetadata>
implements DLFileEntryMetadata, ModelWrapper<DLFileEntryMetadata>
This class is a wrapper for DLFileEntryMetadata
.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.document.library.kernel.model.DLFileEntryMetadata
FILE_ENTRY_METADATA_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this document library file entry metadata.long
Returns the ct collection ID of this document library file entry metadata.long
Returns the ddm storage ID of this document library file entry metadata.long
Returns the ddm structure ID of this document library file entry metadata.Returns the external reference code of this document library file entry metadata.long
Returns the file entry ID of this document library file entry metadata.long
Returns the file entry metadata ID of this document library file entry metadata.long
Returns the file version ID of this document library file entry metadata.long
Returns the mvcc version of this document library file entry metadata.long
Returns the primary key of this document library file entry metadata.getUuid()
Returns the uuid of this document library file entry metadata.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this document library file entry metadata.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this document library file entry metadata.void
setDDMStorageId
(long DDMStorageId) Sets the ddm storage ID of this document library file entry metadata.void
setDDMStructureId
(long DDMStructureId) Sets the ddm structure ID of this document library file entry metadata.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this document library file entry metadata.void
setFileEntryId
(long fileEntryId) Sets the file entry ID of this document library file entry metadata.void
setFileEntryMetadataId
(long fileEntryMetadataId) Sets the file entry metadata ID of this document library file entry metadata.void
setFileVersionId
(long fileVersionId) Sets the file version ID of this document library file entry metadata.void
setModelAttributes
(Map<String, Object> attributes) void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this document library file entry metadata.void
setPrimaryKey
(long primaryKey) Sets the primary key of this document library file entry metadata.void
Sets the uuid of this document library file entry metadata.protected DLFileEntryMetadataWrapper
wrap
(DLFileEntryMetadata dlFileEntryMetadata) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, 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, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, 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.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
DLFileEntryMetadataWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<DLFileEntryMetadata>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<DLFileEntryMetadata>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<DLFileEntryMetadata>
- Specified by:
cloneWithOriginalValues
in interfaceDLFileEntryMetadataModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this document library file entry metadata.- Specified by:
getCompanyId
in interfaceDLFileEntryMetadataModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this document library file entry metadata
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this document library file entry metadata.- Specified by:
getCtCollectionId
in interfaceCTModel<DLFileEntryMetadata>
- Specified by:
getCtCollectionId
in interfaceDLFileEntryMetadataModel
- Returns:
- the ct collection ID of this document library file entry metadata
-
getDDMStorageId
public long getDDMStorageId()Returns the ddm storage ID of this document library file entry metadata.- Specified by:
getDDMStorageId
in interfaceDLFileEntryMetadataModel
- Returns:
- the ddm storage ID of this document library file entry metadata
-
getDDMStructureId
public long getDDMStructureId()Returns the ddm structure ID of this document library file entry metadata.- Specified by:
getDDMStructureId
in interfaceDLFileEntryMetadataModel
- Returns:
- the ddm structure ID of this document library file entry metadata
-
getExternalReferenceCode
Returns the external reference code of this document library file entry metadata.- Specified by:
getExternalReferenceCode
in interfaceDLFileEntryMetadataModel
- Specified by:
getExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Returns:
- the external reference code of this document library file entry metadata
-
getFileEntryId
public long getFileEntryId()Returns the file entry ID of this document library file entry metadata.- Specified by:
getFileEntryId
in interfaceDLFileEntryMetadataModel
- Returns:
- the file entry ID of this document library file entry metadata
-
getFileEntryMetadataId
public long getFileEntryMetadataId()Returns the file entry metadata ID of this document library file entry metadata.- Specified by:
getFileEntryMetadataId
in interfaceDLFileEntryMetadataModel
- Returns:
- the file entry metadata ID of this document library file entry metadata
-
getFileVersion
- Specified by:
getFileVersion
in interfaceDLFileEntryMetadata
- Throws:
PortalException
-
getFileVersionId
public long getFileVersionId()Returns the file version ID of this document library file entry metadata.- Specified by:
getFileVersionId
in interfaceDLFileEntryMetadataModel
- Returns:
- the file version ID of this document library file entry metadata
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this document library file entry metadata.- Specified by:
getMvccVersion
in interfaceDLFileEntryMetadataModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this document library file entry metadata
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this document library file entry metadata.- Specified by:
getPrimaryKey
in interfaceCTModel<DLFileEntryMetadata>
- Specified by:
getPrimaryKey
in interfaceDLFileEntryMetadataModel
- Returns:
- the primary key of this document library file entry metadata
-
getUuid
Returns the uuid of this document library file entry metadata.- Specified by:
getUuid
in interfaceDLFileEntryMetadataModel
- Returns:
- the uuid of this document library file entry metadata
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this document library file entry metadata.- Specified by:
setCompanyId
in interfaceDLFileEntryMetadataModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this document library file entry metadata
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this document library file entry metadata.- Specified by:
setCtCollectionId
in interfaceCTModel<DLFileEntryMetadata>
- Specified by:
setCtCollectionId
in interfaceDLFileEntryMetadataModel
- Parameters:
ctCollectionId
- the ct collection ID of this document library file entry metadata
-
setDDMStorageId
public void setDDMStorageId(long DDMStorageId) Sets the ddm storage ID of this document library file entry metadata.- Specified by:
setDDMStorageId
in interfaceDLFileEntryMetadataModel
- Parameters:
DDMStorageId
- the ddm storage ID of this document library file entry metadata
-
setDDMStructureId
public void setDDMStructureId(long DDMStructureId) Sets the ddm structure ID of this document library file entry metadata.- Specified by:
setDDMStructureId
in interfaceDLFileEntryMetadataModel
- Parameters:
DDMStructureId
- the ddm structure ID of this document library file entry metadata
-
setExternalReferenceCode
Sets the external reference code of this document library file entry metadata.- Specified by:
setExternalReferenceCode
in interfaceDLFileEntryMetadataModel
- Specified by:
setExternalReferenceCode
in interfaceExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this document library file entry metadata
-
setFileEntryId
public void setFileEntryId(long fileEntryId) Sets the file entry ID of this document library file entry metadata.- Specified by:
setFileEntryId
in interfaceDLFileEntryMetadataModel
- Parameters:
fileEntryId
- the file entry ID of this document library file entry metadata
-
setFileEntryMetadataId
public void setFileEntryMetadataId(long fileEntryMetadataId) Sets the file entry metadata ID of this document library file entry metadata.- Specified by:
setFileEntryMetadataId
in interfaceDLFileEntryMetadataModel
- Parameters:
fileEntryMetadataId
- the file entry metadata ID of this document library file entry metadata
-
setFileVersionId
public void setFileVersionId(long fileVersionId) Sets the file version ID of this document library file entry metadata.- Specified by:
setFileVersionId
in interfaceDLFileEntryMetadataModel
- Parameters:
fileVersionId
- the file version ID of this document library file entry metadata
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this document library file entry metadata.- Specified by:
setMvccVersion
in interfaceDLFileEntryMetadataModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this document library file entry metadata
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this document library file entry metadata.- Specified by:
setPrimaryKey
in interfaceCTModel<DLFileEntryMetadata>
- Specified by:
setPrimaryKey
in interfaceDLFileEntryMetadataModel
- Parameters:
primaryKey
- the primary key of this document library file entry metadata
-
setUuid
Sets the uuid of this document library file entry metadata.- Specified by:
setUuid
in interfaceDLFileEntryMetadataModel
- Parameters:
uuid
- the uuid of this document library file entry metadata
-
toXmlString
- Specified by:
toXmlString
in interfaceDLFileEntryMetadataModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfaceBaseModel<DLFileEntryMetadata>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfaceBaseModel<DLFileEntryMetadata>
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<DLFileEntryMetadata>
-