|
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<TrashEntry>
com.liferay.portlet.trash.model.impl.TrashEntryModelImpl
@JSON(strict=true) @ProviderType public class TrashEntryModelImpl
The base model implementation for the TrashEntry service. Represents a row in the "TrashEntry" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface TrashEntryModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in TrashEntryImpl.
TrashEntryImpl,
TrashEntry,
TrashEntryModel,
Serialized Form| Field Summary | |
|---|---|
static long |
CLASSNAMEID_COLUMN_BITMASK
|
static long |
CLASSPK_COLUMN_BITMASK
|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static long |
CREATEDATE_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
GROUPID_COLUMN_BITMASK
|
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
|
| Constructor Summary | |
|---|---|
TrashEntryModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(TrashEntry trashEntry)
|
boolean |
equals(Object obj)
|
String |
getClassName()
Returns the fully qualified class name of this trash entry. |
long |
getClassNameId()
Returns the class name ID of this trash entry. |
long |
getClassPK()
Returns the class p k of this trash entry. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this trash entry. |
Date |
getCreateDate()
Returns the create date of this trash entry. |
long |
getEntryId()
Returns the entry ID of this trash entry. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this trash entry. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getOriginalClassNameId()
|
long |
getOriginalClassPK()
|
long |
getOriginalCompanyId()
|
Date |
getOriginalCreateDate()
|
long |
getOriginalGroupId()
|
long |
getPrimaryKey()
Returns the primary key of this trash entry. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getStatus()
Returns the status of this trash entry. |
long |
getSystemEventSetKey()
Returns the system event set key of this trash entry. |
String |
getTypeSettings()
Returns the type settings of this trash entry. |
long |
getUserId()
Returns the user ID of this trash entry. |
String |
getUserName()
Returns the user name of this trash entry. |
String |
getUserUuid()
Returns the user uuid of this trash entry. |
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 entry. |
void |
setClassPK(long classPK)
Sets the class p k of this trash entry. |
void |
setCompanyId(long companyId)
Sets the company ID of this trash entry. |
void |
setCreateDate(Date createDate)
Sets the create date of this trash entry. |
void |
setEntryId(long entryId)
Sets the entry ID of this trash entry. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group ID of this trash entry. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this trash entry. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setStatus(int status)
Sets the status of this trash entry. |
void |
setSystemEventSetKey(long systemEventSetKey)
Sets the system event set key of this trash entry. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this trash entry. |
void |
setUserId(long userId)
Sets the user ID of this trash entry. |
void |
setUserName(String userName)
Sets the user name of this trash entry. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this trash entry. |
CacheModel<TrashEntry> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
TrashEntry |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static TrashEntry |
toModel(TrashEntrySoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<TrashEntry> |
toModels(TrashEntrySoap[] soapModels)
Converts the soap model instances into normal model instances. |
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.TrashEntryModel |
|---|
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 COMPANYID_COLUMN_BITMASK
public static final long CREATEDATE_COLUMN_BITMASK
public static final long GROUPID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public TrashEntryModelImpl()
| Method Detail |
|---|
public static TrashEntry toModel(TrashEntrySoap soapModel)
soapModel - the soap model instance to convert
public static List<TrashEntry> toModels(TrashEntrySoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
TrashEntryModel
getPrimaryKey in interface TrashEntryModelpublic void setPrimaryKey(long primaryKey)
TrashEntryModel
setPrimaryKey in interface TrashEntryModelprimaryKey - the primary key of this trash entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<TrashEntry>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface TrashEntryModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<TrashEntry>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface TrashEntryModelprimaryKeyObj - 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<TrashEntry>getModelAttributes in class BaseModelImpl<TrashEntry>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<TrashEntry>setModelAttributes in class BaseModelImpl<TrashEntry>@JSON public long getEntryId()
TrashEntryModel
getEntryId in interface TrashEntryModelpublic void setEntryId(long entryId)
TrashEntryModel
setEntryId in interface TrashEntryModelentryId - the entry ID of this trash entry@JSON public long getGroupId()
TrashEntryModel
getGroupId in interface TrashEntryModelpublic void setGroupId(long groupId)
TrashEntryModel
setGroupId in interface TrashEntryModelgroupId - the group ID of this trash entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
TrashEntryModel
getCompanyId in interface ShardedModelgetCompanyId in interface TrashEntryModelpublic void setCompanyId(long companyId)
TrashEntryModel
setCompanyId in interface ShardedModelsetCompanyId in interface TrashEntryModelcompanyId - the company ID of this trash entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
TrashEntryModel
getUserId in interface TrashEntryModelpublic void setUserId(long userId)
TrashEntryModel
setUserId in interface TrashEntryModeluserId - the user ID of this trash entrypublic String getUserUuid()
TrashEntryModel
getUserUuid in interface TrashEntryModelpublic void setUserUuid(String userUuid)
TrashEntryModel
setUserUuid in interface TrashEntryModeluserUuid - the user uuid of this trash entry@JSON public String getUserName()
TrashEntryModel
getUserName in interface TrashEntryModelpublic void setUserName(String userName)
TrashEntryModel
setUserName in interface TrashEntryModeluserName - the user name of this trash entry@JSON public Date getCreateDate()
TrashEntryModel
getCreateDate in interface TrashEntryModelpublic void setCreateDate(Date createDate)
TrashEntryModel
setCreateDate in interface TrashEntryModelcreateDate - the create date of this trash entrypublic Date getOriginalCreateDate()
public String getClassName()
TrashEntryModel
getClassName in interface TypedModelgetClassName in interface TrashEntryModelpublic void setClassName(String className)
setClassName in interface TrashEntryModel@JSON public long getClassNameId()
TrashEntryModel
getClassNameId in interface TypedModelgetClassNameId in interface TrashEntryModelpublic void setClassNameId(long classNameId)
TrashEntryModel
setClassNameId in interface TypedModelsetClassNameId in interface TrashEntryModelclassNameId - the class name ID of this trash entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
TrashEntryModel
getClassPK in interface AttachedModelgetClassPK in interface TrashEntryModelpublic void setClassPK(long classPK)
TrashEntryModel
setClassPK in interface AttachedModelsetClassPK in interface TrashEntryModelclassPK - the class p k of this trash entrypublic long getOriginalClassPK()
@JSON public long getSystemEventSetKey()
TrashEntryModel
getSystemEventSetKey in interface TrashEntryModelpublic void setSystemEventSetKey(long systemEventSetKey)
TrashEntryModel
setSystemEventSetKey in interface TrashEntryModelsystemEventSetKey - the system event set key of this trash entry@JSON public String getTypeSettings()
TrashEntryModel
getTypeSettings in interface TrashEntryModelpublic void setTypeSettings(String typeSettings)
TrashEntryModel
setTypeSettings in interface TrashEntryModeltypeSettings - the type settings of this trash entry@JSON public int getStatus()
TrashEntryModel
getStatus in interface TrashEntryModelpublic void setStatus(int status)
TrashEntryModel
setStatus in interface TrashEntryModelstatus - the status of this trash entrypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<TrashEntry>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface TrashEntryModelgetExpandoBridge in class BaseModelImpl<TrashEntry>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<TrashEntry>setExpandoBridgeAttributes in interface TrashEntryModelsetExpandoBridgeAttributes in class BaseModelImpl<TrashEntry>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public TrashEntry toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<TrashEntry>toEscapedModel in interface TrashEntryModeltoEscapedModel in class BaseModelImpl<TrashEntry>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BaseModel<TrashEntry>clone in interface TrashEntryModelclone in class BaseModelImpl<TrashEntry>public int compareTo(TrashEntry trashEntry)
compareTo in interface TrashEntryModelcompareTo in interface Comparable<TrashEntry>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface TrashEntryModelhashCode in class Objectpublic boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<TrashEntry>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<TrashEntry>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<TrashEntry>resetOriginalValues in class BaseModelImpl<TrashEntry>public CacheModel<TrashEntry> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<TrashEntry>toCacheModel in interface TrashEntryModeltoCacheModel in class BaseModelImpl<TrashEntry>public String toString()
toString in interface TrashEntryModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<TrashEntry>toXmlString in interface TrashEntryModel
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||