com.liferay.trash.model.impl.TrashEntryImpl
@Deprecated @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()
Deprecated.
Creates a shallow clone of this model instance.
|
int |
compareTo(TrashEntry trashEntry)
Deprecated.
|
String |
getClassName()
Deprecated.
Returns the fully qualified class name of this trash entry.
|
long |
getClassNameId()
Deprecated.
Returns the class name ID of this trash entry.
|
long |
getClassPK()
Deprecated.
Returns the class pk of this trash entry.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this trash entry.
|
Date |
getCreateDate()
Deprecated.
Returns the create date of this trash entry.
|
long |
getEntryId()
Deprecated.
Returns the entry ID of this trash entry.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Deprecated.
Returns the group ID of this trash entry.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this trash entry.
|
Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
int |
getStatus()
Deprecated.
Returns the status of this trash entry.
|
long |
getSystemEventSetKey()
Deprecated.
Returns the system event set key of this trash entry.
|
String |
getTypeSettings()
Deprecated.
Returns the type settings of this trash entry.
|
long |
getUserId()
Deprecated.
Returns the user ID of this trash entry.
|
String |
getUserName()
Deprecated.
Returns the user name of this trash entry.
|
String |
getUserUuid()
Deprecated.
Returns the user uuid of this trash entry.
|
int |
hashCode()
Deprecated.
|
boolean |
isCachedModel()
Deprecated.
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Deprecated.
Returns
true if this model instance is escaped. |
boolean |
isNew()
Deprecated.
Returns
true if this model instance does not yet exist in
the database. |
void |
setCachedModel(boolean cachedModel)
Deprecated.
Sets whether this model instance was retrieved from the entity cache.
|
void |
setClassName(String className)
Deprecated.
|
void |
setClassNameId(long classNameId)
Deprecated.
Sets the class name ID of this trash entry.
|
void |
setClassPK(long classPK)
Deprecated.
Sets the class pk of this trash entry.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this trash entry.
|
void |
setCreateDate(Date createDate)
Deprecated.
Sets the create date of this trash entry.
|
void |
setEntryId(long entryId)
Deprecated.
Sets the entry ID of this trash entry.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel)
Deprecated.
|
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Deprecated.
|
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Deprecated.
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Deprecated.
Sets the group ID of this trash entry.
|
void |
setNew(boolean n)
Deprecated.
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Deprecated.
Sets the primary key of this trash entry.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
void |
setStatus(int status)
Deprecated.
Sets the status of this trash entry.
|
void |
setSystemEventSetKey(long systemEventSetKey)
Deprecated.
Sets the system event set key of this trash entry.
|
void |
setTypeSettings(String typeSettings)
Deprecated.
Sets the type settings of this trash entry.
|
void |
setUserId(long userId)
Deprecated.
Sets the user ID of this trash entry.
|
void |
setUserName(String userName)
Deprecated.
Sets the user name of this trash entry.
|
void |
setUserUuid(String userUuid)
Deprecated.
Sets the user uuid of this trash entry.
|
CacheModel<TrashEntry> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
TrashEntry |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler . |
String |
toString()
Deprecated.
|
TrashEntry |
toUnescapedModel()
Deprecated.
|
String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
long 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 ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
companyId
- 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 TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this trash entrylong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class pk 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()
BaseModel
true
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)
BaseModel
setNew
in interface BaseModel<TrashEntry>
n
- whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
true
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)
BaseModel
setCachedModel
in interface BaseModel<TrashEntry>
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<TrashEntry>
true
if this model instance is escaped;
false
otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<TrashEntry>
getPrimaryKeyObj
in interface ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<TrashEntry>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<TrashEntry>
getExpandoBridge
in interface ClassedModel
void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
Object clone()
BaseModel
clone
in interface BaseModel<TrashEntry>
int compareTo(TrashEntry trashEntry)
compareTo
in interface Comparable<TrashEntry>
int hashCode()
hashCode
in class Object
CacheModel<TrashEntry> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<TrashEntry>
TrashEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<TrashEntry>
AutoEscapeBeanHandler
TrashEntry toUnescapedModel()
toUnescapedModel
in interface BaseModel<TrashEntry>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<TrashEntry>