com.liferay.trash.model.impl.TrashVersionImpl@Deprecated @ProviderType public interface TrashVersionModel extends AttachedModel, BaseModel<TrashVersion>, ShardedModel
This interface and its corresponding implementation com.liferay.portlet.trash.model.impl.TrashVersionModelImpl 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.TrashVersionImpl.
TrashVersion,
com.liferay.portlet.trash.model.impl.TrashVersionImpl,
com.liferay.portlet.trash.model.impl.TrashVersionModelImpl| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Deprecated.
Creates a shallow clone of this model instance.
|
int |
compareTo(TrashVersion trashVersion)
Deprecated.
|
String |
getClassName()
Deprecated.
Returns the fully qualified class name of this trash version.
|
long |
getClassNameId()
Deprecated.
Returns the class name ID of this trash version.
|
long |
getClassPK()
Deprecated.
Returns the class pk of this trash version.
|
long |
getCompanyId()
Deprecated.
Returns the company ID of this trash version.
|
long |
getEntryId()
Deprecated.
Returns the entry ID of this trash version.
|
ExpandoBridge |
getExpandoBridge()
Deprecated.
Returns the expando bridge for this model instance.
|
long |
getPrimaryKey()
Deprecated.
Returns the primary key of this trash version.
|
Serializable |
getPrimaryKeyObj()
Deprecated.
Returns the primary key of this model instance.
|
int |
getStatus()
Deprecated.
Returns the status of this trash version.
|
String |
getTypeSettings()
Deprecated.
Returns the type settings of this trash version.
|
long |
getVersionId()
Deprecated.
Returns the version ID of this trash version.
|
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 version.
|
void |
setClassPK(long classPK)
Deprecated.
Sets the class pk of this trash version.
|
void |
setCompanyId(long companyId)
Deprecated.
Sets the company ID of this trash version.
|
void |
setEntryId(long entryId)
Deprecated.
Sets the entry ID of this trash version.
|
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 |
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 version.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Deprecated.
Sets the primary key of this model instance.
|
void |
setStatus(int status)
Deprecated.
Sets the status of this trash version.
|
void |
setTypeSettings(String typeSettings)
Deprecated.
Sets the type settings of this trash version.
|
void |
setVersionId(long versionId)
Deprecated.
Sets the version ID of this trash version.
|
CacheModel<TrashVersion> |
toCacheModel()
Deprecated.
Returns a cache model object for this entity used by entity cache.
|
TrashVersion |
toEscapedModel()
Deprecated.
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString()
Deprecated.
|
TrashVersion |
toUnescapedModel()
Deprecated.
|
String |
toXmlString()
Deprecated.
Returns the XML representation of this model instance.
|
cloneWithOriginalValues, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this trash versionlong getVersionId()
void setVersionId(long versionId)
versionId - the version ID of this trash versionlong getCompanyId()
getCompanyId in interface ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface ShardedModelcompanyId - the company ID of this trash versionlong getEntryId()
void setEntryId(long entryId)
entryId - the entry ID of this trash versionString 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 versionlong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class pk of this trash version@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this trash versionint getStatus()
void setStatus(int status)
status - the status of this trash versionboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<TrashVersion>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<TrashVersion>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<TrashVersion>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<TrashVersion>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<TrashVersion>true if this model instance is escaped;
false otherwiseSerializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<TrashVersion>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<TrashVersion>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<TrashVersion>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<TrashVersion>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<TrashVersion>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<TrashVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()Object clone()
BaseModelclone in interface BaseModel<TrashVersion>int compareTo(TrashVersion trashVersion)
compareTo in interface Comparable<TrashVersion>int hashCode()
hashCode in class ObjectCacheModel<TrashVersion> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<TrashVersion>TrashVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<TrashVersion>AutoEscapeBeanHandlerTrashVersion toUnescapedModel()
toUnescapedModel in interface BaseModel<TrashVersion>String toString()
toString in class ObjectString toXmlString()
BaseModeltoXmlString in interface BaseModel<TrashVersion>