|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileEntryMetadataWrapper
@ProviderType public class DLFileEntryMetadataWrapper
This class is a wrapper for DLFileEntryMetadata.
DLFileEntryMetadata,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portlet.documentlibrary.model.DLFileEntryMetadata |
|---|
FILE_ENTRY_METADATA_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata)
| Method Detail |
|---|
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 Object clone()
BaseModel
clone in interface BaseModel<DLFileEntryMetadata>clone in interface DLFileEntryMetadataModelclone in class Objectpublic int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
compareTo in interface DLFileEntryMetadataModelcompareTo in interface Comparable<DLFileEntryMetadata>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface DLFileEntryMetadataModelpublic long getDDMStorageId()
getDDMStorageId in interface DLFileEntryMetadataModelpublic long getDDMStructureId()
getDDMStructureId in interface DLFileEntryMetadataModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntryMetadata>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntryMetadataModelpublic long getFileEntryId()
getFileEntryId in interface DLFileEntryMetadataModelpublic long getFileEntryMetadataId()
getFileEntryMetadataId in interface DLFileEntryMetadataModel
public DLFileVersion getFileVersion()
throws PortalException
getFileVersion in interface DLFileEntryMetadataPortalExceptionpublic long getFileVersionId()
getFileVersionId in interface DLFileEntryMetadataModelpublic long getPrimaryKey()
getPrimaryKey in interface DLFileEntryMetadataModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileEntryMetadataModelpublic String getUuid()
getUuid in interface DLFileEntryMetadataModelpublic int hashCode()
hashCode in interface DLFileEntryMetadataModelhashCode in class Objectpublic 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 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 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 persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<DLFileEntryMetadata>setCachedModel in interface DLFileEntryMetadataModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface DLFileEntryMetadataModelcompanyId - 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(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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>setExpandoBridgeAttributes in interface DLFileEntryMetadataModelserviceContext - 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)
BaseModel
setNew in interface BaseModel<DLFileEntryMetadata>setNew in interface DLFileEntryMetadataModeln - 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)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileEntryMetadataModelprimaryKeyObj - the primary key of this model instancepublic void setUuid(String uuid)
setUuid in interface DLFileEntryMetadataModeluuid - the uuid of this document library file entry metadatapublic CacheModel<DLFileEntryMetadata> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<DLFileEntryMetadata>toCacheModel in interface DLFileEntryMetadataModelpublic DLFileEntryMetadata toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<DLFileEntryMetadata>toEscapedModel in interface DLFileEntryMetadataModelAutoEscapeBeanHandlerpublic String toString()
toString in interface DLFileEntryMetadataModeltoString in class Objectpublic DLFileEntryMetadata toUnescapedModel()
toUnescapedModel in interface BaseModel<DLFileEntryMetadata>toUnescapedModel in interface DLFileEntryMetadataModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileEntryMetadata>toXmlString in interface DLFileEntryMetadataModelpublic boolean equals(Object obj)
equals in class Objectpublic 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()
BaseModel
resetOriginalValues in interface BaseModel<DLFileEntryMetadata>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||