Package com.liferay.trash.kernel.model
Interface TrashEntryModel
- All Superinterfaces:
AttachedModel,BaseModel<TrashEntry>,ClassedModel,Cloneable,Comparable<TrashEntry>,Serializable,ShardedModel,TypedModel
- All Known Subinterfaces:
TrashEntry
- All Known Implementing Classes:
TrashEntryWrapper
@Deprecated
@ProviderType
public interface TrashEntryModel
extends AttachedModel, BaseModel<TrashEntry>, ShardedModel
Deprecated.
The base model interface for the TrashEntry service. Represents a row in the "TrashEntry" database table, with each column mapped to a property of this class.
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.
- Author:
- Brian Wing Shun Chan
- See Also:
-
TrashEntrycom.liferay.portlet.trash.model.impl.TrashEntryImplcom.liferay.portlet.trash.model.impl.TrashEntryModelImpl
- {$generated.description}
-
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.Creates a shallow clone of this model instance.intcompareTo(TrashEntry trashEntry) Deprecated.Deprecated.Returns the fully qualified class name of this trash entry.longDeprecated.Returns the class name ID of this trash entry.longDeprecated.Returns the class pk of this trash entry.longDeprecated.Returns the company ID of this trash entry.Deprecated.Returns the create date of this trash entry.longDeprecated.Returns the entry ID of this trash entry.Deprecated.Returns the expando bridge for this model instance.longDeprecated.Returns the group ID of this trash entry.longDeprecated.Returns the primary key of this trash entry.Deprecated.Returns the primary key of this model instance.intDeprecated.Returns the status of this trash entry.longDeprecated.Returns the system event set key of this trash entry.Deprecated.Returns the type settings of this trash entry.longDeprecated.Returns the user ID of this trash entry.Deprecated.Returns the user name of this trash entry.Deprecated.Returns the user uuid of this trash entry.inthashCode()Deprecated.booleanDeprecated.Returnstrueif this model instance was retrieved from the entity cache.booleanDeprecated.Returnstrueif this model instance is escaped.booleanisNew()Deprecated.Returnstrueif this model instance does not yet exist in the database.voidsetCachedModel(boolean cachedModel) Deprecated.Sets whether this model instance was retrieved from the entity cache.voidsetClassName(String className) Deprecated.voidsetClassNameId(long classNameId) Deprecated.Sets the class name ID of this trash entry.voidsetClassPK(long classPK) Deprecated.Sets the class pk of this trash entry.voidsetCompanyId(long companyId) Deprecated.Sets the company ID of this trash entry.voidsetCreateDate(Date createDate) Deprecated.Sets the create date of this trash entry.voidsetEntryId(long entryId) Deprecated.Sets the entry ID of this trash entry.voidsetExpandoBridgeAttributes(ExpandoBridge expandoBridge) Deprecated.voidsetExpandoBridgeAttributes(BaseModel<?> baseModel) Deprecated.voidsetExpandoBridgeAttributes(ServiceContext serviceContext) Deprecated.Sets the expando bridge attributes for this model instance to the attributes stored in the service context.voidsetGroupId(long groupId) Deprecated.Sets the group ID of this trash entry.voidsetNew(boolean n) Deprecated.Sets whether this model instance does not yet exist in the database.voidsetPrimaryKey(long primaryKey) Deprecated.Sets the primary key of this trash entry.voidsetPrimaryKeyObj(Serializable primaryKeyObj) Deprecated.Sets the primary key of this model instance.voidsetStatus(int status) Deprecated.Sets the status of this trash entry.voidsetSystemEventSetKey(long systemEventSetKey) Deprecated.Sets the system event set key of this trash entry.voidsetTypeSettings(String typeSettings) Deprecated.Sets the type settings of this trash entry.voidsetUserId(long userId) Deprecated.Sets the user ID of this trash entry.voidsetUserName(String userName) Deprecated.Sets the user name of this trash entry.voidsetUserUuid(String userUuid) Deprecated.Sets the user uuid of this trash entry.Deprecated.Returns a cache model object for this entity used by entity cache.Deprecated.Returns a copy of this entity as an escaped model instance by wrapping it with anAutoEscapeBeanHandler.toString()Deprecated.Deprecated.Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
cloneWithOriginalValues, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Deprecated.Returns the primary key of this trash entry.- Returns:
- the primary key of this trash entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Deprecated.Sets the primary key of this trash entry.- Parameters:
primaryKey- the primary key of this trash entry
-
getEntryId
long getEntryId()Deprecated.Returns the entry ID of this trash entry.- Returns:
- the entry ID of this trash entry
-
setEntryId
void setEntryId(long entryId) Deprecated.Sets the entry ID of this trash entry.- Parameters:
entryId- the entry ID of this trash entry
-
getGroupId
long getGroupId()Deprecated.Returns the group ID of this trash entry.- Returns:
- the group ID of this trash entry
-
setGroupId
void setGroupId(long groupId) Deprecated.Sets the group ID of this trash entry.- Parameters:
groupId- the group ID of this trash entry
-
getCompanyId
long getCompanyId()Deprecated.Returns the company ID of this trash entry.- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this trash entry
-
setCompanyId
void setCompanyId(long companyId) Deprecated.Sets the company ID of this trash entry.- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this trash entry
-
getUserId
long getUserId()Deprecated.Returns the user ID of this trash entry.- Returns:
- the user ID of this trash entry
-
setUserId
void setUserId(long userId) Deprecated.Sets the user ID of this trash entry.- Parameters:
userId- the user ID of this trash entry
-
getUserUuid
String getUserUuid()Deprecated.Returns the user uuid of this trash entry.- Returns:
- the user uuid of this trash entry
-
setUserUuid
Deprecated.Sets the user uuid of this trash entry.- Parameters:
userUuid- the user uuid of this trash entry
-
getUserName
Deprecated.Returns the user name of this trash entry.- Returns:
- the user name of this trash entry
-
setUserName
Deprecated.Sets the user name of this trash entry.- Parameters:
userName- the user name of this trash entry
-
getCreateDate
Date getCreateDate()Deprecated.Returns the create date of this trash entry.- Returns:
- the create date of this trash entry
-
setCreateDate
Deprecated.Sets the create date of this trash entry.- Parameters:
createDate- the create date of this trash entry
-
getClassName
String getClassName()Deprecated.Returns the fully qualified class name of this trash entry.- Specified by:
getClassNamein interfaceTypedModel- Returns:
- the fully qualified class name of this trash entry
-
setClassName
Deprecated. -
getClassNameId
long getClassNameId()Deprecated.Returns the class name ID of this trash entry.- Specified by:
getClassNameIdin interfaceTypedModel- Returns:
- the class name ID of this trash entry
-
setClassNameId
void setClassNameId(long classNameId) Deprecated.Sets the class name ID of this trash entry.- Specified by:
setClassNameIdin interfaceTypedModel- Parameters:
classNameId- the class name ID of this trash entry
-
getClassPK
long getClassPK()Deprecated.Returns the class pk of this trash entry.- Specified by:
getClassPKin interfaceAttachedModel- Returns:
- the class pk of this trash entry
-
setClassPK
void setClassPK(long classPK) Deprecated.Sets the class pk of this trash entry.- Specified by:
setClassPKin interfaceAttachedModel- Parameters:
classPK- the class pk of this trash entry
-
getSystemEventSetKey
long getSystemEventSetKey()Deprecated.Returns the system event set key of this trash entry.- Returns:
- the system event set key of this trash entry
-
setSystemEventSetKey
void setSystemEventSetKey(long systemEventSetKey) Deprecated.Sets the system event set key of this trash entry.- Parameters:
systemEventSetKey- the system event set key of this trash entry
-
getTypeSettings
Deprecated.Returns the type settings of this trash entry.- Returns:
- the type settings of this trash entry
-
setTypeSettings
Deprecated.Sets the type settings of this trash entry.- Parameters:
typeSettings- the type settings of this trash entry
-
getStatus
int getStatus()Deprecated.Returns the status of this trash entry.- Returns:
- the status of this trash entry
-
setStatus
void setStatus(int status) Deprecated.Sets the status of this trash entry.- Parameters:
status- the status of this trash entry
-
isNew
boolean isNew()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance does not yet exist in the database.- Specified by:
isNewin interfaceBaseModel<TrashEntry>- Returns:
trueif this model instance does not yet exist in the database;falseotherwise
-
setNew
void setNew(boolean n) Deprecated.Description copied from interface:BaseModelSets whether this model instance does not yet exist in the database.- Specified by:
setNewin interfaceBaseModel<TrashEntry>- Parameters:
n- whether this model instance does not yet exist in the database
-
isCachedModel
boolean isCachedModel()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance was retrieved from the entity cache.- Specified by:
isCachedModelin interfaceBaseModel<TrashEntry>- Returns:
trueif this model instance was retrieved from the entity cache;falseotherwise- See Also:
-
setCachedModel
void setCachedModel(boolean cachedModel) Deprecated.Description copied from interface:BaseModelSets whether this model instance was retrieved from the entity cache.- Specified by:
setCachedModelin interfaceBaseModel<TrashEntry>- Parameters:
cachedModel- whether this model instance was retrieved from the entity cache- See Also:
-
isEscapedModel
boolean isEscapedModel()Deprecated.Description copied from interface:BaseModelReturnstrueif this model instance is escaped.- Specified by:
isEscapedModelin interfaceBaseModel<TrashEntry>- Returns:
trueif this model instance is escaped;falseotherwise
-
getPrimaryKeyObj
Serializable getPrimaryKeyObj()Deprecated.Description copied from interface:BaseModelReturns the primary key of this model instance.- Specified by:
getPrimaryKeyObjin interfaceBaseModel<TrashEntry>- Specified by:
getPrimaryKeyObjin interfaceClassedModel- Returns:
- the primary key of this model instance
-
setPrimaryKeyObj
Deprecated.Description copied from interface:BaseModelSets the primary key of this model instance.- Specified by:
setPrimaryKeyObjin interfaceBaseModel<TrashEntry>- Specified by:
setPrimaryKeyObjin interfaceClassedModel- Parameters:
primaryKeyObj- the primary key of this model instance
-
getExpandoBridge
ExpandoBridge getExpandoBridge()Deprecated.Description copied from interface:BaseModelReturns the expando bridge for this model instance.- Specified by:
getExpandoBridgein interfaceBaseModel<TrashEntry>- Specified by:
getExpandoBridgein interfaceClassedModel- Returns:
- the expando bridge for this model instance
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>
-
setExpandoBridgeAttributes
Deprecated.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>
-
setExpandoBridgeAttributes
Deprecated.Description copied from interface:BaseModelSets the expando bridge attributes for this model instance to the attributes stored in the service context.- Specified by:
setExpandoBridgeAttributesin interfaceBaseModel<TrashEntry>- Parameters:
serviceContext- the service context to be applied- See Also:
-
clone
Object clone()Deprecated.Description copied from interface:BaseModelCreates a shallow clone of this model instance.- Specified by:
clonein interfaceBaseModel<TrashEntry>- Returns:
- the shallow clone of this model instance
-
compareTo
Deprecated.- Specified by:
compareToin interfaceComparable<TrashEntry>
-
hashCode
int hashCode()Deprecated. -
toCacheModel
CacheModel<TrashEntry> toCacheModel()Deprecated.Description copied from interface:BaseModelReturns a cache model object for this entity used by entity cache.- Specified by:
toCacheModelin interfaceBaseModel<TrashEntry>- Returns:
- the cache model object
-
toEscapedModel
TrashEntry toEscapedModel()Deprecated.Description copied from interface:BaseModelReturns a copy of this entity as an escaped model instance by wrapping it with anAutoEscapeBeanHandler.- Specified by:
toEscapedModelin interfaceBaseModel<TrashEntry>- Returns:
- the escaped model instance
- See Also:
-
toUnescapedModel
TrashEntry toUnescapedModel()Deprecated.- Specified by:
toUnescapedModelin interfaceBaseModel<TrashEntry>
-
toString
String toString()Deprecated.
-
com.liferay.trash.model.impl.TrashEntryImpl