@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 ddm storage ID of this document library file entry metadata.
|
long |
getDDMStructureId()
Returns the ddm 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 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 |
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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<DLFileEntryMetadata>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<DLFileEntryMetadata>
public Object clone()
BaseModel
clone
in interface DLFileEntryMetadataModel
clone
in interface BaseModel<DLFileEntryMetadata>
clone
in class Object
public int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
compareTo
in interface DLFileEntryMetadataModel
compareTo
in interface Comparable<DLFileEntryMetadata>
public long getCompanyId()
getCompanyId
in interface DLFileEntryMetadataModel
getCompanyId
in interface ShardedModel
public long getDDMStorageId()
getDDMStorageId
in interface DLFileEntryMetadataModel
public long getDDMStructureId()
getDDMStructureId
in interface DLFileEntryMetadataModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface DLFileEntryMetadataModel
getExpandoBridge
in interface BaseModel<DLFileEntryMetadata>
getExpandoBridge
in interface ClassedModel
public long getFileEntryId()
getFileEntryId
in interface DLFileEntryMetadataModel
public long getFileEntryMetadataId()
getFileEntryMetadataId
in interface DLFileEntryMetadataModel
public DLFileVersion getFileVersion() throws PortalException
getFileVersion
in interface DLFileEntryMetadata
PortalException
public long getFileVersionId()
getFileVersionId
in interface DLFileEntryMetadataModel
public long getPrimaryKey()
getPrimaryKey
in interface DLFileEntryMetadataModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface DLFileEntryMetadataModel
getPrimaryKeyObj
in interface BaseModel<DLFileEntryMetadata>
getPrimaryKeyObj
in interface ClassedModel
public String getUuid()
getUuid
in interface DLFileEntryMetadataModel
public int hashCode()
hashCode
in interface DLFileEntryMetadataModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface DLFileEntryMetadataModel
isCachedModel
in interface BaseModel<DLFileEntryMetadata>
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface DLFileEntryMetadataModel
isEscapedModel
in interface BaseModel<DLFileEntryMetadata>
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface DLFileEntryMetadataModel
isNew
in interface BaseModel<DLFileEntryMetadata>
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface DLFileEntryMetadataModel
setCachedModel
in interface BaseModel<DLFileEntryMetadata>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface DLFileEntryMetadataModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this document library file entry metadatapublic void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DLFileEntryMetadataModel
DDMStorageId
- the ddm storage ID of this document library file entry metadatapublic void setDDMStructureId(long DDMStructureId)
setDDMStructureId
in interface DLFileEntryMetadataModel
DDMStructureId
- the ddm structure ID of this document library file entry metadatapublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface DLFileEntryMetadataModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntryMetadata>
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface DLFileEntryMetadataModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntryMetadata>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface DLFileEntryMetadataModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntryMetadata>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface DLFileEntryMetadataModel
fileEntryId
- the file entry ID of this document library file entry metadatapublic void setFileEntryMetadataId(long fileEntryMetadataId)
setFileEntryMetadataId
in interface DLFileEntryMetadataModel
fileEntryMetadataId
- the file entry metadata ID of this document library file entry metadatapublic void setFileVersionId(long fileVersionId)
setFileVersionId
in interface DLFileEntryMetadataModel
fileVersionId
- the file version ID of this document library file entry metadatapublic void setNew(boolean n)
BaseModel
setNew
in interface DLFileEntryMetadataModel
setNew
in interface BaseModel<DLFileEntryMetadata>
n
- whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFileEntryMetadataModel
primaryKey
- the primary key of this document library file entry metadatapublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface DLFileEntryMetadataModel
setPrimaryKeyObj
in interface BaseModel<DLFileEntryMetadata>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instancepublic void setUuid(String uuid)
setUuid
in interface DLFileEntryMetadataModel
uuid
- the uuid of this document library file entry metadatapublic CacheModel<DLFileEntryMetadata> toCacheModel()
BaseModel
toCacheModel
in interface DLFileEntryMetadataModel
toCacheModel
in interface BaseModel<DLFileEntryMetadata>
public DLFileEntryMetadata toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface DLFileEntryMetadataModel
toEscapedModel
in interface BaseModel<DLFileEntryMetadata>
AutoEscapeBeanHandler
public String toString()
toString
in interface DLFileEntryMetadataModel
toString
in class Object
public DLFileEntryMetadata toUnescapedModel()
toUnescapedModel
in interface DLFileEntryMetadataModel
toUnescapedModel
in interface BaseModel<DLFileEntryMetadata>
public String toXmlString()
BaseModel
toXmlString
in interface DLFileEntryMetadataModel
toXmlString
in interface BaseModel<DLFileEntryMetadata>
public boolean equals(Object obj)
equals
in class Object
public DLFileEntryMetadata getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLFileEntryMetadata>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileEntryMetadata>