|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.documentlibrary.model.DLFileEntryMetadataWrapper
public class DLFileEntryMetadataWrapper
This class is a wrapper for DLFileEntryMetadata
.
DLFileEntryMetadata
,
Serialized FormConstructor 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 |
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. |
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 |
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 |
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 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 long getPrimaryKey()
getPrimaryKey
in interface DLFileEntryMetadataModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DLFileEntryMetadataModel
primaryKey
- the primary key of this document library file entry metadatapublic String getUuid()
getUuid
in interface DLFileEntryMetadataModel
public void setUuid(String uuid)
setUuid
in interface DLFileEntryMetadataModel
uuid
- the uuid of this document library file entry metadatapublic long getFileEntryMetadataId()
getFileEntryMetadataId
in interface DLFileEntryMetadataModel
public void setFileEntryMetadataId(long fileEntryMetadataId)
setFileEntryMetadataId
in interface DLFileEntryMetadataModel
fileEntryMetadataId
- the file entry metadata ID of this document library file entry metadatapublic long getDDMStorageId()
getDDMStorageId
in interface DLFileEntryMetadataModel
public void setDDMStorageId(long DDMStorageId)
setDDMStorageId
in interface DLFileEntryMetadataModel
DDMStorageId
- the d d m storage ID of this document library file entry metadatapublic long getDDMStructureId()
getDDMStructureId
in interface DLFileEntryMetadataModel
public void setDDMStructureId(long DDMStructureId)
setDDMStructureId
in interface DLFileEntryMetadataModel
DDMStructureId
- the d d m structure ID of this document library file entry metadatapublic long getFileEntryTypeId()
getFileEntryTypeId
in interface DLFileEntryMetadataModel
public void setFileEntryTypeId(long fileEntryTypeId)
setFileEntryTypeId
in interface DLFileEntryMetadataModel
fileEntryTypeId
- the file entry type ID of this document library file entry metadatapublic long getFileEntryId()
getFileEntryId
in interface DLFileEntryMetadataModel
public void setFileEntryId(long fileEntryId)
setFileEntryId
in interface DLFileEntryMetadataModel
fileEntryId
- the file entry ID of this document library file entry metadatapublic long getFileVersionId()
getFileVersionId
in interface DLFileEntryMetadataModel
public void setFileVersionId(long fileVersionId)
setFileVersionId
in interface DLFileEntryMetadataModel
fileVersionId
- the file version ID of this document library file entry metadatapublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<DLFileEntryMetadata>
isNew
in interface DLFileEntryMetadataModel
true
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 DLFileEntryMetadataModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<DLFileEntryMetadata>
isCachedModel
in interface DLFileEntryMetadataModel
true
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 DLFileEntryMetadataModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<DLFileEntryMetadata>
isEscapedModel
in interface DLFileEntryMetadataModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<DLFileEntryMetadata>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface DLFileEntryMetadataModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<DLFileEntryMetadata>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface DLFileEntryMetadataModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<DLFileEntryMetadata>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface DLFileEntryMetadataModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<DLFileEntryMetadata>
setExpandoBridgeAttributes
in interface DLFileEntryMetadataModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<DLFileEntryMetadata>
clone
in interface DLFileEntryMetadataModel
clone
in class Object
public int compareTo(DLFileEntryMetadata dlFileEntryMetadata)
compareTo
in interface DLFileEntryMetadataModel
compareTo
in interface Comparable<DLFileEntryMetadata>
public int hashCode()
hashCode
in interface DLFileEntryMetadataModel
hashCode
in class Object
public CacheModel<DLFileEntryMetadata> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<DLFileEntryMetadata>
toCacheModel
in interface DLFileEntryMetadataModel
public DLFileEntryMetadata toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<DLFileEntryMetadata>
toEscapedModel
in interface DLFileEntryMetadataModel
AutoEscapeBeanHandler
public DLFileEntryMetadata toUnescapedModel()
toUnescapedModel
in interface BaseModel<DLFileEntryMetadata>
toUnescapedModel
in interface DLFileEntryMetadataModel
public String toString()
toString
in interface DLFileEntryMetadataModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<DLFileEntryMetadata>
toXmlString
in interface DLFileEntryMetadataModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic DDMStructure getDDMStructure() throws PortalException, SystemException
getDDMStructure
in interface DLFileEntryMetadata
PortalException
SystemException
public DLFileEntryType getFileEntryType() throws PortalException, SystemException
getFileEntryType
in interface DLFileEntryMetadata
PortalException
SystemException
public DLFileVersion getFileVersion() throws PortalException, SystemException
getFileVersion
in interface DLFileEntryMetadata
PortalException
SystemException
public boolean equals(Object obj)
equals
in class Object
public DLFileEntryMetadata getWrappedDLFileEntryMetadata()
getWrappedModel()
public DLFileEntryMetadata getWrappedModel()
getWrappedModel
in interface ModelWrapper<DLFileEntryMetadata>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<DLFileEntryMetadata>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |