@ProviderType public class DLFileEntryMetadataWrapper extends Object implements DLFileEntryMetadata, ModelWrapper<DLFileEntryMetadata>
This class is a wrapper for DLFileEntryMetadata.
DLFileEntryMetadata,
Serialized FormFILE_ENTRY_METADATA_ID_ACCESSOR| Constructor and Description |
|---|
DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileEntryMetadata dlFileEntryMetadata) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this document library file entry metadata.
|
long |
getDDMStorageId()
Returns the d d m storage ID of this document library file entry metadata.
|
long |
getDDMStructureId()
Returns the d d m structure ID of this document library file entry metadata.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getFileEntryId()
Returns the file entry ID of this document library file entry metadata.
|
long |
getFileEntryMetadataId()
Returns the file entry metadata ID of this document library file entry metadata.
|
DLFileVersion |
getFileVersion() |
long |
getFileVersionId()
Returns the file version ID of this document library file entry metadata.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this document library file entry metadata.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
String |
getUuid()
Returns the uuid of this document library file entry metadata.
|
DLFileEntryMetadata |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this document library file entry metadata.
|
void |
setDDMStorageId(long DDMStorageId)
Sets the d d m storage ID of this document library file entry metadata.
|
void |
setDDMStructureId(long DDMStructureId)
Sets the d d m structure ID of this document library file entry metadata.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this document library file entry metadata.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUuid(String uuid)
Sets the uuid of this document library file entry metadata.
|
CacheModel<DLFileEntryMetadata> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
DLFileEntryMetadata |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
DLFileEntryMetadata |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileEntryMetadata>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<DLFileEntryMetadata>public DLFileEntryMetadata toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface DLFileEntryMetadataModeltoEscapedModel in interface BaseModel<DLFileEntryMetadata>AutoEscapeBeanHandlerpublic DLFileEntryMetadata toUnescapedModel()
toUnescapedModel in interface DLFileEntryMetadataModeltoUnescapedModel in interface BaseModel<DLFileEntryMetadata>public DLFileVersion getFileVersion() throws PortalException
getFileVersion in interface DLFileEntryMetadataPortalExceptionpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface DLFileEntryMetadataModelisCachedModel in interface BaseModel<DLFileEntryMetadata>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface DLFileEntryMetadataModelisEscapedModel in interface BaseModel<DLFileEntryMetadata>true if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface DLFileEntryMetadataModelisNew in interface BaseModel<DLFileEntryMetadata>true if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface DLFileEntryMetadataModelgetExpandoBridge in interface BaseModel<DLFileEntryMetadata>getExpandoBridge in interface ClassedModelpublic CacheModel<DLFileEntryMetadata> toCacheModel()
BaseModeltoCacheModel in interface DLFileEntryMetadataModeltoCacheModel in interface BaseModel<DLFileEntryMetadata>public int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
compareTo in interface DLFileEntryMetadataModelcompareTo in interface Comparable<DLFileEntryMetadata>public int hashCode()
hashCode in interface DLFileEntryMetadataModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface DLFileEntryMetadataModelgetPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>getPrimaryKeyObj in interface ClassedModelpublic Object clone()
BaseModelclone in interface DLFileEntryMetadataModelclone in interface BaseModel<DLFileEntryMetadata>clone in class Objectpublic String getUuid()
getUuid in interface DLFileEntryMetadataModelpublic String toString()
toString in interface DLFileEntryMetadataModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface DLFileEntryMetadataModeltoXmlString in interface BaseModel<DLFileEntryMetadata>public long getCompanyId()
getCompanyId in interface DLFileEntryMetadataModelgetCompanyId in interface ShardedModelpublic long getDDMStorageId()
getDDMStorageId in interface DLFileEntryMetadataModelpublic long getDDMStructureId()
getDDMStructureId in interface DLFileEntryMetadataModelpublic long getFileEntryId()
getFileEntryId in interface DLFileEntryMetadataModelpublic long getFileEntryMetadataId()
getFileEntryMetadataId in interface DLFileEntryMetadataModelpublic long getFileVersionId()
getFileVersionId in interface DLFileEntryMetadataModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileEntryMetadataModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface DLFileEntryMetadataModelsetCachedModel in interface BaseModel<DLFileEntryMetadata>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface DLFileEntryMetadataModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this document library file entry metadatapublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DLFileEntryMetadataModelDDMStorageId - the d d m storage ID of this document library file entry metadatapublic void setDDMStructureId(long DDMStructureId)
setDDMStructureId in interface DLFileEntryMetadataModelDDMStructureId - the d d m structure ID of this document library file entry metadatapublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface DLFileEntryMetadataModelsetExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface DLFileEntryMetadataModelsetExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface DLFileEntryMetadataModelsetExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileEntryMetadataModelfileEntryId - the file entry ID of this document library file entry metadatapublic void setFileEntryMetadataId(long fileEntryMetadataId)
setFileEntryMetadataId in interface DLFileEntryMetadataModelfileEntryMetadataId - the file entry metadata ID of this document library file entry metadatapublic void setFileVersionId(long fileVersionId)
setFileVersionId in interface DLFileEntryMetadataModelfileVersionId - the file version ID of this document library file entry metadatapublic void setNew(boolean n)
BaseModelsetNew in interface DLFileEntryMetadataModelsetNew in interface BaseModel<DLFileEntryMetadata>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileEntryMetadataModelprimaryKey - the primary key of this document library file entry metadatapublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface DLFileEntryMetadataModelsetPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setUuid(String uuid)
setUuid in interface DLFileEntryMetadataModeluuid - the uuid of this document library file entry metadatapublic DLFileEntryMetadata getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileEntryMetadata>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<DLFileEntryMetadata>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<DLFileEntryMetadata>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLFileEntryMetadata>