@ProviderType public class DLFileEntryMetadataWrapper extends java.lang.Object implements DLFileEntryMetadata, ModelWrapper<DLFileEntryMetadata>
This class is a wrapper for DLFileEntryMetadata.
DLFileEntryMetadata,
Serialized Form| Constructor and Description |
|---|
DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(DLFileEntryMetadata dlFileEntryMetadata) |
boolean |
equals(java.lang.Object obj) |
long |
getDDMStorageId()
Returns the d d m storage ID of this document library file entry metadata.
|
DDMStructure |
getDDMStructure() |
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.
|
DLFileEntryType |
getFileEntryType() |
long |
getFileEntryTypeId()
Returns the file entry type ID of this document library file entry metadata.
|
DLFileVersion |
getFileVersion() |
long |
getFileVersionId()
Returns the file version ID of this document library file entry metadata.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
long |
getPrimaryKey()
Returns the primary key of this document library file entry metadata.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
java.lang.String |
getUuid()
Returns the uuid of this document library file entry metadata.
|
DLFileEntryMetadata |
getWrappedDLFileEntryMetadata()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
DLFileEntryMetadata |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
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 |
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 |
setFileEntryTypeId(long fileEntryTypeId)
Sets the file entry type 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(java.util.Map<java.lang.String,java.lang.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(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUuid(java.lang.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. |
java.lang.String |
toString() |
DLFileEntryMetadata |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<DLFileEntryMetadata>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<DLFileEntryMetadata>public long getPrimaryKey()
getPrimaryKey in interface DLFileEntryMetadataModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileEntryMetadataModelprimaryKey - the primary key of this document library file entry metadatapublic java.lang.String getUuid()
getUuid in interface DLFileEntryMetadataModelpublic void setUuid(java.lang.String uuid)
setUuid in interface DLFileEntryMetadataModeluuid - the uuid of this document library file entry metadatapublic long getFileEntryMetadataId()
getFileEntryMetadataId in interface DLFileEntryMetadataModelpublic void setFileEntryMetadataId(long fileEntryMetadataId)
setFileEntryMetadataId in interface DLFileEntryMetadataModelfileEntryMetadataId - the file entry metadata ID of this document library file entry metadatapublic long getDDMStorageId()
getDDMStorageId in interface DLFileEntryMetadataModelpublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId in interface DLFileEntryMetadataModelDDMStorageId - the d d m storage ID of this document library file entry metadatapublic long getDDMStructureId()
getDDMStructureId in interface DLFileEntryMetadataModelpublic void setDDMStructureId(long DDMStructureId)
setDDMStructureId in interface DLFileEntryMetadataModelDDMStructureId - the d d m structure ID of this document library file entry metadatapublic long getFileEntryTypeId()
getFileEntryTypeId in interface DLFileEntryMetadataModelpublic void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId in interface DLFileEntryMetadataModelfileEntryTypeId - the file entry type ID of this document library file entry metadatapublic long getFileEntryId()
getFileEntryId in interface DLFileEntryMetadataModelpublic void setFileEntryId(long fileEntryId)
setFileEntryId in interface DLFileEntryMetadataModelfileEntryId - the file entry ID of this document library file entry metadatapublic long getFileVersionId()
getFileVersionId in interface DLFileEntryMetadataModelpublic void setFileVersionId(long fileVersionId)
setFileVersionId in interface DLFileEntryMetadataModelfileVersionId - the file version ID of this document library file entry metadatapublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<DLFileEntryMetadata>isNew in interface DLFileEntryMetadataModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<DLFileEntryMetadata>setNew in interface DLFileEntryMetadataModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<DLFileEntryMetadata>isCachedModel in interface DLFileEntryMetadataModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<DLFileEntryMetadata>setCachedModel in interface DLFileEntryMetadataModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<DLFileEntryMetadata>isEscapedModel in interface DLFileEntryMetadataModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileEntryMetadataModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileEntryMetadataModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<DLFileEntryMetadata>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntryMetadataModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>setExpandoBridgeAttributes in interface DLFileEntryMetadataModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>setExpandoBridgeAttributes in interface DLFileEntryMetadataModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>setExpandoBridgeAttributes in interface DLFileEntryMetadataModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<DLFileEntryMetadata>clone in interface DLFileEntryMetadataModelclone in class java.lang.Objectpublic int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
compareTo in interface DLFileEntryMetadataModelcompareTo in interface java.lang.Comparable<DLFileEntryMetadata>public int hashCode()
hashCode in interface DLFileEntryMetadataModelhashCode in class java.lang.Objectpublic CacheModel<DLFileEntryMetadata> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<DLFileEntryMetadata>toCacheModel in interface DLFileEntryMetadataModelpublic DLFileEntryMetadata toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<DLFileEntryMetadata>toEscapedModel in interface DLFileEntryMetadataModelAutoEscapeBeanHandlerpublic DLFileEntryMetadata toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileEntryMetadata>toUnescapedModel in interface DLFileEntryMetadataModelpublic java.lang.String toString()
toString in interface DLFileEntryMetadataModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<DLFileEntryMetadata>toXmlString in interface DLFileEntryMetadataModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic DDMStructure getDDMStructure() throws PortalException, SystemException
getDDMStructure in interface DLFileEntryMetadataPortalExceptionSystemExceptionpublic DLFileEntryType getFileEntryType() throws PortalException, SystemException
getFileEntryType in interface DLFileEntryMetadataPortalExceptionSystemExceptionpublic DLFileVersion getFileVersion() throws PortalException, SystemException
getFileVersion in interface DLFileEntryMetadataPortalExceptionSystemExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic DLFileEntryMetadata getWrappedDLFileEntryMetadata()
getWrappedModel()public DLFileEntryMetadata getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileEntryMetadata>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<DLFileEntryMetadata>