|
Liferay 6.2-ce-ga5 | |||||||||
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
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 FormField 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 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 |
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()
|
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 |
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 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 long CLASSNAMEID_COLUMN_BITMASK
public static long CLASSPK_COLUMN_BITMASK
public static long ENTRYID_COLUMN_BITMASK
public static long VERSIONID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public TrashVersionModelImpl()
Method Detail |
---|
public long getPrimaryKey()
TrashVersionModel
getPrimaryKey
in interface TrashVersionModel
public void setPrimaryKey(long primaryKey)
TrashVersionModel
setPrimaryKey
in interface TrashVersionModel
primaryKey
- the primary key of this trash versionpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<TrashVersion>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TrashVersionModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<TrashVersion>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface TrashVersionModel
primaryKeyObj
- the primary key of this model instancepublic Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public 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 TrashVersionModel
public void setVersionId(long versionId)
TrashVersionModel
setVersionId
in interface TrashVersionModel
versionId
- the version ID of this trash versionpublic long getEntryId()
TrashVersionModel
getEntryId
in interface TrashVersionModel
public void setEntryId(long entryId)
TrashVersionModel
setEntryId
in interface TrashVersionModel
entryId
- the entry ID of this trash versionpublic long getOriginalEntryId()
public String getClassName()
TrashVersionModel
getClassName
in interface TypedModel
getClassName
in interface TrashVersionModel
public void setClassName(String className)
setClassName
in interface TrashVersionModel
public long getClassNameId()
TrashVersionModel
getClassNameId
in interface TypedModel
getClassNameId
in interface TrashVersionModel
public void setClassNameId(long classNameId)
TrashVersionModel
setClassNameId
in interface TypedModel
setClassNameId
in interface TrashVersionModel
classNameId
- the class name ID of this trash versionpublic long getOriginalClassNameId()
public long getClassPK()
TrashVersionModel
getClassPK
in interface AttachedModel
getClassPK
in interface TrashVersionModel
public void setClassPK(long classPK)
TrashVersionModel
setClassPK
in interface AttachedModel
setClassPK
in interface TrashVersionModel
classPK
- the class p k of this trash versionpublic long getOriginalClassPK()
public String getTypeSettings()
TrashVersionModel
getTypeSettings
in interface TrashVersionModel
public void setTypeSettings(String typeSettings)
TrashVersionModel
setTypeSettings
in interface TrashVersionModel
typeSettings
- the type settings of this trash versionpublic int getStatus()
TrashVersionModel
getStatus
in interface TrashVersionModel
public void setStatus(int status)
TrashVersionModel
setStatus
in interface TrashVersionModel
status
- the status of this trash versionpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<TrashVersion>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface TrashVersionModel
getExpandoBridge
in class BaseModelImpl<TrashVersion>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<TrashVersion>
setExpandoBridgeAttributes
in interface TrashVersionModel
setExpandoBridgeAttributes
in class BaseModelImpl<TrashVersion>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public TrashVersion toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<TrashVersion>
toEscapedModel
in interface TrashVersionModel
toEscapedModel
in class BaseModelImpl<TrashVersion>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<TrashVersion>
clone
in interface TrashVersionModel
clone
in class BaseModelImpl<TrashVersion>
public int compareTo(TrashVersion trashVersion)
compareTo
in interface TrashVersionModel
compareTo
in interface Comparable<TrashVersion>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface TrashVersionModel
hashCode
in class Object
public 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 TrashVersionModel
toCacheModel
in class BaseModelImpl<TrashVersion>
public String toString()
toString
in interface TrashVersionModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<TrashVersion>
toXmlString
in interface TrashVersionModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |