@ProviderType public interface TrashVersionModel extends com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.BaseModel<TrashVersion>, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.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.trash.model.impl.TrashVersionImpl.
TrashVersion| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(TrashVersion trashVersion) |
java.lang.String |
getClassName()
Returns the fully qualified class name of this trash version.
|
long |
getClassNameId()
Returns the class name ID of this trash version.
|
long |
getClassPK()
Returns the class pk of this trash version.
|
long |
getCompanyId()
Returns the company ID of this trash version.
|
long |
getEntryId()
Returns the entry ID of this trash version.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getPrimaryKey()
Returns the primary key of this trash version.
|
java.io.Serializable |
getPrimaryKeyObj() |
int |
getStatus()
Returns the status of this trash version.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this trash version.
|
long |
getVersionId()
Returns the version ID of this trash version.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setCachedModel(boolean cachedModel) |
void |
setClassName(java.lang.String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this trash version.
|
void |
setClassPK(long classPK)
Sets the class pk of this trash version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this trash version.
|
void |
setEntryId(long entryId)
Sets the entry ID of this trash version.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash version.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setStatus(int status)
Sets the status of this trash version.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this trash version.
|
void |
setVersionId(long versionId)
Sets the version ID of this trash version.
|
com.liferay.portal.kernel.model.CacheModel<TrashVersion> |
toCacheModel() |
TrashVersion |
toEscapedModel() |
java.lang.String |
toString() |
TrashVersion |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long 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 com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this trash versionlong getEntryId()
void setEntryId(long entryId)
entryId - the entry ID of this trash versionjava.lang.String getClassName()
getClassName in interface com.liferay.portal.kernel.model.TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface com.liferay.portal.kernel.model.TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface com.liferay.portal.kernel.model.TypedModelclassNameId - the class name ID of this trash versionlong getClassPK()
getClassPK in interface com.liferay.portal.kernel.model.AttachedModelvoid setClassPK(long classPK)
setClassPK in interface com.liferay.portal.kernel.model.AttachedModelclassPK - the class pk of this trash version@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.String typeSettings)
typeSettings - the type settings of this trash versionint getStatus()
void setStatus(int status)
status - the status of this trash versionboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>int compareTo(TrashVersion trashVersion)
compareTo in interface java.lang.Comparable<TrashVersion>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<TrashVersion> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>TrashVersion toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>TrashVersion toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<TrashVersion>