|
Liferay 6.2.0-ce-b2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.trash.model.TrashEntryWrapper
public class TrashEntryWrapper
This class is a wrapper for TrashEntry.
TrashEntry,
Serialized Form| Constructor Summary | |
|---|---|
TrashEntryWrapper(TrashEntry trashEntry)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(TrashEntry trashEntry)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this trash entry. |
long |
getClassNameId()
Returns the class name ID of this trash entry. |
long |
getClassPK()
Returns the class p k of this trash entry. |
long |
getCompanyId()
Returns the company ID of this trash entry. |
Date |
getCreateDate()
Returns the create date of this trash entry. |
long |
getEntryId()
Returns the entry ID of this trash entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this trash entry. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getPrimaryKey()
Returns the primary key of this trash entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
TrashEntry |
getRootEntry()
|
int |
getStatus()
Returns the status of this trash entry. |
String |
getTypeSettings()
Returns the type settings of this trash entry. |
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getTypeSettingsProperty(String key)
|
String |
getTypeSettingsProperty(String key,
String defaultValue)
|
long |
getUserId()
Returns the user ID of this trash entry. |
String |
getUserName()
Returns the user name of this trash entry. |
String |
getUserUuid()
Returns the user uuid of this trash entry. |
TrashEntry |
getWrappedModel()
|
TrashEntry |
getWrappedTrashEntry()
Deprecated. As of 6.1.0, replaced by 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 |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this trash entry. |
void |
setClassPK(long classPK)
Sets the class p k of this trash entry. |
void |
setCompanyId(long companyId)
Sets the company ID of this trash entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this trash entry. |
void |
setEntryId(long entryId)
Sets the entry ID of this trash entry. |
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 |
setGroupId(long groupId)
Sets the group ID of this trash entry. |
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 trash entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setRootEntry(TrashEntry rootEntry)
|
void |
setStatus(int status)
Sets the status of this trash entry. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this trash entry. |
void |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
void |
setUserId(long userId)
Sets the user ID of this trash entry. |
void |
setUserName(String userName)
Sets the user name of this trash entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this trash entry. |
CacheModel<TrashEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
TrashEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
TrashEntry |
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 TrashEntryWrapper(TrashEntry trashEntry)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<TrashEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<TrashEntry>public long getPrimaryKey()
getPrimaryKey in interface TrashEntryModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface TrashEntryModelprimaryKey - the primary key of this trash entrypublic long getEntryId()
getEntryId in interface TrashEntryModelpublic void setEntryId(long entryId)
setEntryId in interface TrashEntryModelentryId - the entry ID of this trash entrypublic long getGroupId()
getGroupId in interface TrashEntryModelpublic void setGroupId(long groupId)
setGroupId in interface TrashEntryModelgroupId - the group ID of this trash entrypublic long getCompanyId()
getCompanyId in interface TrashEntryModelpublic void setCompanyId(long companyId)
setCompanyId in interface TrashEntryModelcompanyId - the company ID of this trash entrypublic long getUserId()
getUserId in interface TrashEntryModelpublic void setUserId(long userId)
setUserId in interface TrashEntryModeluserId - the user ID of this trash entry
public String getUserUuid()
throws SystemException
getUserUuid in interface TrashEntryModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
setUserUuid in interface TrashEntryModeluserUuid - the user uuid of this trash entrypublic String getUserName()
getUserName in interface TrashEntryModelpublic void setUserName(String userName)
setUserName in interface TrashEntryModeluserName - the user name of this trash entrypublic Date getCreateDate()
getCreateDate in interface TrashEntryModelpublic void setCreateDate(Date createDate)
setCreateDate in interface TrashEntryModelcreateDate - the create date of this trash entrypublic String getClassName()
getClassName in interface TypedModelgetClassName in interface TrashEntryModelpublic void setClassName(String className)
setClassName in interface TrashEntryModelpublic long getClassNameId()
getClassNameId in interface TypedModelgetClassNameId in interface TrashEntryModelpublic void setClassNameId(long classNameId)
setClassNameId in interface TypedModelsetClassNameId in interface TrashEntryModelclassNameId - the class name ID of this trash entrypublic long getClassPK()
getClassPK in interface AttachedModelgetClassPK in interface TrashEntryModelpublic void setClassPK(long classPK)
setClassPK in interface AttachedModelsetClassPK in interface TrashEntryModelclassPK - the class p k of this trash entrypublic String getTypeSettings()
getTypeSettings in interface TrashEntryModelpublic void setTypeSettings(String typeSettings)
setTypeSettings in interface TrashEntryModeltypeSettings - the type settings of this trash entrypublic int getStatus()
getStatus in interface TrashEntryModelpublic void setStatus(int status)
setStatus in interface TrashEntryModelstatus - the status of this trash entrypublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<TrashEntry>isNew in interface TrashEntryModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<TrashEntry>setNew in interface TrashEntryModeln - 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<TrashEntry>isCachedModel in interface TrashEntryModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<TrashEntry>setCachedModel in interface TrashEntryModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<TrashEntry>isEscapedModel in interface TrashEntryModeltrue if this model instance is escaped;
false otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<TrashEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TrashEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<TrashEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TrashEntryModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<TrashEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TrashEntryModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>setExpandoBridgeAttributes in interface TrashEntryModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>setExpandoBridgeAttributes in interface TrashEntryModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>setExpandoBridgeAttributes in interface TrashEntryModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<TrashEntry>clone in interface TrashEntryModelclone in class Objectpublic int compareTo(TrashEntry trashEntry)
compareTo in interface TrashEntryModelcompareTo in interface Comparable<TrashEntry>public int hashCode()
hashCode in interface TrashEntryModelhashCode in class Objectpublic CacheModel<TrashEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<TrashEntry>toCacheModel in interface TrashEntryModelpublic TrashEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<TrashEntry>toEscapedModel in interface TrashEntryModelAutoEscapeBeanHandlerpublic TrashEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<TrashEntry>toUnescapedModel in interface TrashEntryModelpublic String toString()
toString in interface TrashEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<TrashEntry>toXmlString in interface TrashEntryModel
public void persist()
throws SystemException
PersistedModel
persist in interface PersistedModelSystemException - if a system exception occurredpublic TrashEntry getRootEntry()
getRootEntry in interface TrashEntrypublic UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface TrashEntrypublic String getTypeSettingsProperty(String key)
getTypeSettingsProperty in interface TrashEntry
public String getTypeSettingsProperty(String key,
String defaultValue)
getTypeSettingsProperty in interface TrashEntrypublic void setRootEntry(TrashEntry rootEntry)
setRootEntry in interface TrashEntrypublic void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties in interface TrashEntrypublic boolean equals(Object obj)
equals in class Objectpublic TrashEntry getWrappedTrashEntry()
getWrappedModel()
public TrashEntry getWrappedModel()
getWrappedModel in interface ModelWrapper<TrashEntry>public void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<TrashEntry>
|
Liferay 6.2.0-ce-b2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||