|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.documentlibrary.model.DLFileEntryMetadataWrapper
public class DLFileEntryMetadataWrapper
This class is a wrapper for DLFileEntryMetadata.
DLFileEntryMetadata,
Serialized Form| Constructor Summary | |
|---|---|
DLFileEntryMetadataWrapper(DLFileEntryMetadata dlFileEntryMetadata)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(DLFileEntryMetadata dlFileEntryMetadata)
|
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. |
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 |
getWrappedDLFileEntryMetadata()
Deprecated. Renamed to 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(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 |
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()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, 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 long getPrimaryKey()
getPrimaryKey in interface DLFileEntryMetadataModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface DLFileEntryMetadataModelprimaryKey - the primary key of this document library file entry metadatapublic String getUuid()
getUuid in interface DLFileEntryMetadataModelpublic void setUuid(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)
BaseModel
setNew 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)
BaseModel
setCachedModel 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 Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface DLFileEntryMetadataModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<DLFileEntryMetadata>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface DLFileEntryMetadataModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<DLFileEntryMetadata>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface DLFileEntryMetadataModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<DLFileEntryMetadata>setExpandoBridgeAttributes in interface DLFileEntryMetadataModelserviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)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 int hashCode()
hashCode in interface DLFileEntryMetadataModelhashCode in class Objectpublic 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 String toXmlString()
BaseModel
toXmlString in interface BaseModel<DLFileEntryMetadata>toXmlString in interface DLFileEntryMetadataModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurred
public DDMStructure getDDMStructure()
throws PortalException,
SystemException
getDDMStructure in interface DLFileEntryMetadataPortalException
SystemException
public DLFileEntryType getFileEntryType()
throws PortalException,
SystemException
getFileEntryType in interface DLFileEntryMetadataPortalException
SystemException
public DLFileVersion getFileVersion()
throws PortalException,
SystemException
getFileVersion in interface DLFileEntryMetadataPortalException
SystemExceptionpublic DLFileEntryMetadata getWrappedDLFileEntryMetadata()
getWrappedModel()
public DLFileEntryMetadata getWrappedModel()
getWrappedModel in interface ModelWrapper<DLFileEntryMetadata>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<DLFileEntryMetadata>
|
Liferay 6.1.0-ce-ga1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||