@ProviderType public interface TrashEntryModel extends AttachedModel, BaseModel<TrashEntry>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.trash.model.impl.TrashEntryModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portlet.trash.model.impl.TrashEntryImpl.
TrashEntry,
com.liferay.portlet.trash.model.impl.TrashEntryImpl,
com.liferay.portlet.trash.model.impl.TrashEntryModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(TrashEntry trashEntry) |
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.
|
long |
getPrimaryKey()
Returns the primary key of this trash entry.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
int |
getStatus()
Returns the status of this trash entry.
|
long |
getSystemEventSetKey()
Returns the system event set key of this trash entry.
|
String |
getTypeSettings()
Returns the type settings of this trash entry.
|
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.
|
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 |
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 |
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 |
setStatus(int status)
Sets the status of this trash entry.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Sets the system event set key of this trash entry.
|
void |
setTypeSettings(String typeSettings)
Sets the type settings of this trash entry.
|
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.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this trash entrylong getEntryId()
void setEntryId(long entryId)
entryId - the entry ID of this trash entrylong getGroupId()
void setGroupId(long groupId)
groupId - the group ID of this trash entrylong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this trash entrylong getUserId()
void setUserId(long userId)
userId - the user ID of this trash entryString getUserUuid()
void setUserUuid(String userUuid)
userUuid - the user uuid of this trash entry@AutoEscape String getUserName()
void setUserName(String userName)
userName - the user name of this trash entryDate getCreateDate()
void setCreateDate(Date createDate)
createDate - the create date of this trash entryString getClassName()
getClassName in interface TypedModelvoid setClassName(String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this trash entrylong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class p k of this trash entrylong getSystemEventSetKey()
void setSystemEventSetKey(long systemEventSetKey)
systemEventSetKey - the system event set key of this trash entry@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this trash entryint getStatus()
void setStatus(int status)
status - the status of this trash entryboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<TrashEntry>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<TrashEntry>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<TrashEntry>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<TrashEntry>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<TrashEntry>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<TrashEntry>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<TrashEntry>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<TrashEntry>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<TrashEntry>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<TrashEntry>int compareTo(TrashEntry trashEntry)
compareTo in interface Comparable<TrashEntry>CacheModel<TrashEntry> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<TrashEntry>TrashEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<TrashEntry>AutoEscapeBeanHandlerTrashEntry toUnescapedModel()
toUnescapedModel in interface BaseModel<TrashEntry>String toXmlString()
BaseModeltoXmlString in interface BaseModel<TrashEntry>