|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<TrashVersion>
com.liferay.portlet.trash.model.impl.TrashVersionModelImpl
@ProviderType public class TrashVersionModelImpl
The base model implementation for the TrashVersion service. Represents a row in the "TrashVersion" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface TrashVersionModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TrashVersionImpl.
TrashVersionImpl,
TrashVersion,
TrashVersionModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static long |
ENTRYID_COLUMN_BITMASK
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static Map<String,Integer> |
TABLE_COLUMNS_MAP
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
VERSIONID_COLUMN_BITMASK
|
| Constructor Summary | |
|---|---|
TrashVersionModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(TrashVersion trashVersion)
|
boolean |
equals(Object obj)
|
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 p k of this trash version. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this trash version. |
long |
getEntryId()
Returns the entry ID of this trash version. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalEntryId()
|
long |
getPrimaryKey()
Returns the primary key of this trash version. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getStatus()
Returns the status of this trash version. |
String |
getTypeSettings()
Returns the type settings of this trash version. |
long |
getVersionId()
Returns the version ID of this trash version. |
int |
hashCode()
|
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setClassName(String className)
|
void |
setClassNameId(long classNameId)
Sets the class name ID of this trash version. |
void |
setClassPK(long classPK)
Sets the class p k 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(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash version. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatus(int status)
Sets the status of this trash version. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this trash version. |
void |
setVersionId(long versionId)
Sets the version ID of this trash version. |
CacheModel<TrashVersion> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
TrashVersion |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.trash.model.TrashVersionModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final Map<String,Integer> TABLE_COLUMNS_MAP
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long CLASSNAMEID_COLUMN_BITMASK
public static final long CLASSPK_COLUMN_BITMASK
public static final long ENTRYID_COLUMN_BITMASK
public static final long VERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public TrashVersionModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
TrashVersionModel
getPrimaryKey in interface TrashVersionModelpublic void setPrimaryKey(long primaryKey)
TrashVersionModel
setPrimaryKey in interface TrashVersionModelprimaryKey - the primary key of this trash versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<TrashVersion>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TrashVersionModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<TrashVersion>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TrashVersionModelprimaryKeyObj - the primary key of this model instancepublic Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<TrashVersion>getModelAttributes in class BaseModelImpl<TrashVersion>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<TrashVersion>setModelAttributes in class BaseModelImpl<TrashVersion>public long getVersionId()
TrashVersionModel
getVersionId in interface TrashVersionModelpublic void setVersionId(long versionId)
TrashVersionModel
setVersionId in interface TrashVersionModelversionId - the version ID of this trash versionpublic long getCompanyId()
TrashVersionModel
getCompanyId in interface ShardedModelgetCompanyId in interface TrashVersionModelpublic void setCompanyId(long companyId)
TrashVersionModel
setCompanyId in interface ShardedModelsetCompanyId in interface TrashVersionModelcompanyId - the company ID of this trash versionpublic long getEntryId()
TrashVersionModel
getEntryId in interface TrashVersionModelpublic void setEntryId(long entryId)
TrashVersionModel
setEntryId in interface TrashVersionModelentryId - the entry ID of this trash versionpublic long getOriginalEntryId()
public String getClassName()
TrashVersionModel
getClassName in interface TypedModelgetClassName in interface TrashVersionModelpublic void setClassName(String className)
setClassName in interface TrashVersionModelpublic long getClassNameId()
TrashVersionModel
getClassNameId in interface TypedModelgetClassNameId in interface TrashVersionModelpublic void setClassNameId(long classNameId)
TrashVersionModel
setClassNameId in interface TypedModelsetClassNameId in interface TrashVersionModelclassNameId - the class name ID of this trash versionpublic long getOriginalClassNameId()
public long getClassPK()
TrashVersionModel
getClassPK in interface AttachedModelgetClassPK in interface TrashVersionModelpublic void setClassPK(long classPK)
TrashVersionModel
setClassPK in interface AttachedModelsetClassPK in interface TrashVersionModelclassPK - the class p k of this trash versionpublic long getOriginalClassPK()
public String getTypeSettings()
TrashVersionModel
getTypeSettings in interface TrashVersionModelpublic void setTypeSettings(String typeSettings)
TrashVersionModel
setTypeSettings in interface TrashVersionModeltypeSettings - the type settings of this trash versionpublic int getStatus()
TrashVersionModel
getStatus in interface TrashVersionModelpublic void setStatus(int status)
TrashVersionModel
setStatus in interface TrashVersionModelstatus - the status of this trash versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<TrashVersion>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TrashVersionModelgetExpandoBridge in class BaseModelImpl<TrashVersion>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<TrashVersion>setExpandoBridgeAttributes in interface TrashVersionModelsetExpandoBridgeAttributes in class BaseModelImpl<TrashVersion>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public TrashVersion toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<TrashVersion>toEscapedModel in interface TrashVersionModeltoEscapedModel in class BaseModelImpl<TrashVersion>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<TrashVersion>clone in interface TrashVersionModelclone in class BaseModelImpl<TrashVersion>public int compareTo(TrashVersion trashVersion)
compareTo in interface TrashVersionModelcompareTo in interface Comparable<TrashVersion>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface TrashVersionModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<TrashVersion>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<TrashVersion>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<TrashVersion>resetOriginalValues in class BaseModelImpl<TrashVersion>public CacheModel<TrashVersion> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<TrashVersion>toCacheModel in interface TrashVersionModeltoCacheModel in class BaseModelImpl<TrashVersion>public String toString()
toString in interface TrashVersionModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<TrashVersion>toXmlString in interface TrashVersionModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||