|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.impl.BaseModelImpl<TrashEntry> com.liferay.portlet.trash.model.impl.TrashEntryModelImpl
@JSON(strict=true) 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 FormField 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 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()
|
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 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 COMPANYID_COLUMN_BITMASK
public static long CREATEDATE_COLUMN_BITMASK
public static 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 TrashEntryModel
public void setPrimaryKey(long primaryKey)
TrashEntryModel
setPrimaryKey
in interface TrashEntryModel
primaryKey
- the primary key of this trash entrypublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<TrashEntry>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface TrashEntryModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<TrashEntry>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface TrashEntryModel
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<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 TrashEntryModel
public void setEntryId(long entryId)
TrashEntryModel
setEntryId
in interface TrashEntryModel
entryId
- the entry ID of this trash entry@JSON public long getGroupId()
TrashEntryModel
getGroupId
in interface TrashEntryModel
public void setGroupId(long groupId)
TrashEntryModel
setGroupId
in interface TrashEntryModel
groupId
- the group ID of this trash entrypublic long getOriginalGroupId()
@JSON public long getCompanyId()
TrashEntryModel
getCompanyId
in interface TrashEntryModel
public void setCompanyId(long companyId)
TrashEntryModel
setCompanyId
in interface TrashEntryModel
companyId
- the company ID of this trash entrypublic long getOriginalCompanyId()
@JSON public long getUserId()
TrashEntryModel
getUserId
in interface TrashEntryModel
public void setUserId(long userId)
TrashEntryModel
setUserId
in interface TrashEntryModel
userId
- the user ID of this trash entrypublic String getUserUuid() throws SystemException
TrashEntryModel
getUserUuid
in interface TrashEntryModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
TrashEntryModel
setUserUuid
in interface TrashEntryModel
userUuid
- the user uuid of this trash entry@JSON public String getUserName()
TrashEntryModel
getUserName
in interface TrashEntryModel
public void setUserName(String userName)
TrashEntryModel
setUserName
in interface TrashEntryModel
userName
- the user name of this trash entry@JSON public Date getCreateDate()
TrashEntryModel
getCreateDate
in interface TrashEntryModel
public void setCreateDate(Date createDate)
TrashEntryModel
setCreateDate
in interface TrashEntryModel
createDate
- the create date of this trash entrypublic Date getOriginalCreateDate()
public String getClassName()
TrashEntryModel
getClassName
in interface TypedModel
getClassName
in interface TrashEntryModel
public void setClassName(String className)
setClassName
in interface TrashEntryModel
@JSON public long getClassNameId()
TrashEntryModel
getClassNameId
in interface TypedModel
getClassNameId
in interface TrashEntryModel
public void setClassNameId(long classNameId)
TrashEntryModel
setClassNameId
in interface TypedModel
setClassNameId
in interface TrashEntryModel
classNameId
- the class name ID of this trash entrypublic long getOriginalClassNameId()
@JSON public long getClassPK()
TrashEntryModel
getClassPK
in interface AttachedModel
getClassPK
in interface TrashEntryModel
public void setClassPK(long classPK)
TrashEntryModel
setClassPK
in interface AttachedModel
setClassPK
in interface TrashEntryModel
classPK
- the class p k of this trash entrypublic long getOriginalClassPK()
@JSON public long getSystemEventSetKey()
TrashEntryModel
getSystemEventSetKey
in interface TrashEntryModel
public void setSystemEventSetKey(long systemEventSetKey)
TrashEntryModel
setSystemEventSetKey
in interface TrashEntryModel
systemEventSetKey
- the system event set key of this trash entry@JSON public String getTypeSettings()
TrashEntryModel
getTypeSettings
in interface TrashEntryModel
public void setTypeSettings(String typeSettings)
TrashEntryModel
setTypeSettings
in interface TrashEntryModel
typeSettings
- the type settings of this trash entry@JSON public int getStatus()
TrashEntryModel
getStatus
in interface TrashEntryModel
public void setStatus(int status)
TrashEntryModel
setStatus
in interface TrashEntryModel
status
- the status of this trash entrypublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<TrashEntry>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface TrashEntryModel
getExpandoBridge
in class BaseModelImpl<TrashEntry>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<TrashEntry>
setExpandoBridgeAttributes
in interface TrashEntryModel
setExpandoBridgeAttributes
in class BaseModelImpl<TrashEntry>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public TrashEntry toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<TrashEntry>
toEscapedModel
in interface TrashEntryModel
toEscapedModel
in class BaseModelImpl<TrashEntry>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BaseModel<TrashEntry>
clone
in interface TrashEntryModel
clone
in class BaseModelImpl<TrashEntry>
public int compareTo(TrashEntry trashEntry)
compareTo
in interface TrashEntryModel
compareTo
in interface Comparable<TrashEntry>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface TrashEntryModel
hashCode
in class Object
public 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 TrashEntryModel
toCacheModel
in class BaseModelImpl<TrashEntry>
public String toString()
toString
in interface TrashEntryModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<TrashEntry>
toXmlString
in interface TrashEntryModel
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |