|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<BackgroundTask>
com.liferay.portal.model.impl.BackgroundTaskModelImpl
@JSON(strict=true) public class BackgroundTaskModelImpl
The base model implementation for the BackgroundTask service. Represents a row in the "BackgroundTask" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface BackgroundTaskModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in BackgroundTaskImpl.
BackgroundTaskImpl,
BackgroundTask,
BackgroundTaskModel,
Serialized Form| Field Summary | |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static long |
COMPLETED_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 long |
NAME_COLUMN_BITMASK
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static String |
SESSION_FACTORY
|
static long |
STATUS_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static long |
TASKEXECUTORCLASSNAME_COLUMN_BITMASK
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
BackgroundTaskModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(BackgroundTask backgroundTask)
|
boolean |
equals(Object obj)
|
long |
getBackgroundTaskId()
Returns the background task ID of this background task. |
long |
getColumnBitmask()
|
long |
getCompanyId()
Returns the company ID of this background task. |
boolean |
getCompleted()
Returns the completed of this background task. |
Date |
getCompletionDate()
Returns the completion date of this background task. |
Date |
getCreateDate()
Returns the create date of this background task. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
long |
getGroupId()
Returns the group ID of this background task. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date of this background task. |
String |
getName()
Returns the name of this background task. |
long |
getOriginalCompanyId()
|
boolean |
getOriginalCompleted()
|
long |
getOriginalGroupId()
|
String |
getOriginalName()
|
int |
getOriginalStatus()
|
String |
getOriginalTaskExecutorClassName()
|
long |
getPrimaryKey()
Returns the primary key of this background task. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getServletContextNames()
Returns the servlet context names of this background task. |
int |
getStatus()
Returns the status of this background task. |
String |
getStatusMessage()
Returns the status message of this background task. |
String |
getTaskContext()
Returns the task context of this background task. |
String |
getTaskExecutorClassName()
Returns the task executor class name of this background task. |
long |
getUserId()
Returns the user ID of this background task. |
String |
getUserName()
Returns the user name of this background task. |
String |
getUserUuid()
Returns the user uuid of this background task. |
int |
hashCode()
|
boolean |
isCompleted()
Returns true if this background task is completed. |
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setBackgroundTaskId(long backgroundTaskId)
Sets the background task ID of this background task. |
void |
setCompanyId(long companyId)
Sets the company ID of this background task. |
void |
setCompleted(boolean completed)
Sets whether this background task is completed. |
void |
setCompletionDate(Date completionDate)
Sets the completion date of this background task. |
void |
setCreateDate(Date createDate)
Sets the create date of this background task. |
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 background task. |
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this background task. |
void |
setName(String name)
Sets the name of this background task. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this background task. |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setServletContextNames(String servletContextNames)
Sets the servlet context names of this background task. |
void |
setStatus(int status)
Sets the status of this background task. |
void |
setStatusMessage(String statusMessage)
Sets the status message of this background task. |
void |
setTaskContext(String taskContext)
Sets the task context of this background task. |
void |
setTaskExecutorClassName(String taskExecutorClassName)
Sets the task executor class name of this background task. |
void |
setUserId(long userId)
Sets the user ID of this background task. |
void |
setUserName(String userName)
Sets the user name of this background task. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this background task. |
CacheModel<BackgroundTask> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
BackgroundTask |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
static BackgroundTask |
toModel(BackgroundTaskSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<BackgroundTask> |
toModels(BackgroundTaskSoap[] 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.portal.model.BackgroundTaskModel |
|---|
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 COMPANYID_COLUMN_BITMASK
public static long COMPLETED_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long NAME_COLUMN_BITMASK
public static long STATUS_COLUMN_BITMASK
public static long TASKEXECUTORCLASSNAME_COLUMN_BITMASK
public static long CREATEDATE_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public BackgroundTaskModelImpl()
| Method Detail |
|---|
public static BackgroundTask toModel(BackgroundTaskSoap soapModel)
soapModel - the soap model instance to convert
public static List<BackgroundTask> toModels(BackgroundTaskSoap[] soapModels)
soapModels - the soap model instances to convert
public long getPrimaryKey()
BackgroundTaskModel
getPrimaryKey in interface BackgroundTaskModelpublic void setPrimaryKey(long primaryKey)
BackgroundTaskModel
setPrimaryKey in interface BackgroundTaskModelprimaryKey - the primary key of this background taskpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BackgroundTaskModelgetPrimaryKeyObj in interface BaseModel<BackgroundTask>getPrimaryKeyObj in interface ClassedModelpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BackgroundTaskModelsetPrimaryKeyObj in interface BaseModel<BackgroundTask>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - 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<BackgroundTask>getModelAttributes in class BaseModelImpl<BackgroundTask>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<BackgroundTask>setModelAttributes in class BaseModelImpl<BackgroundTask>@JSON public long getBackgroundTaskId()
BackgroundTaskModel
getBackgroundTaskId in interface BackgroundTaskModelpublic void setBackgroundTaskId(long backgroundTaskId)
BackgroundTaskModel
setBackgroundTaskId in interface BackgroundTaskModelbackgroundTaskId - the background task ID of this background task@JSON public long getGroupId()
BackgroundTaskModel
getGroupId in interface BackgroundTaskModelgetGroupId in interface GroupedModelpublic void setGroupId(long groupId)
BackgroundTaskModel
setGroupId in interface BackgroundTaskModelsetGroupId in interface GroupedModelgroupId - the group ID of this background taskpublic long getOriginalGroupId()
@JSON public long getCompanyId()
BackgroundTaskModel
getCompanyId in interface AuditedModelgetCompanyId in interface BackgroundTaskModelpublic void setCompanyId(long companyId)
BackgroundTaskModel
setCompanyId in interface AuditedModelsetCompanyId in interface BackgroundTaskModelcompanyId - the company ID of this background taskpublic long getOriginalCompanyId()
@JSON public long getUserId()
BackgroundTaskModel
getUserId in interface AuditedModelgetUserId in interface BackgroundTaskModelpublic void setUserId(long userId)
BackgroundTaskModel
setUserId in interface AuditedModelsetUserId in interface BackgroundTaskModeluserId - the user ID of this background task
public String getUserUuid()
throws SystemException
BackgroundTaskModel
getUserUuid in interface AuditedModelgetUserUuid in interface BackgroundTaskModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
BackgroundTaskModel
setUserUuid in interface AuditedModelsetUserUuid in interface BackgroundTaskModeluserUuid - the user uuid of this background task@JSON public String getUserName()
BackgroundTaskModel
getUserName in interface AuditedModelgetUserName in interface BackgroundTaskModelpublic void setUserName(String userName)
BackgroundTaskModel
setUserName in interface AuditedModelsetUserName in interface BackgroundTaskModeluserName - the user name of this background task@JSON public Date getCreateDate()
BackgroundTaskModel
getCreateDate in interface AuditedModelgetCreateDate in interface BackgroundTaskModelpublic void setCreateDate(Date createDate)
BackgroundTaskModel
setCreateDate in interface AuditedModelsetCreateDate in interface BackgroundTaskModelcreateDate - the create date of this background task@JSON public Date getModifiedDate()
BackgroundTaskModel
getModifiedDate in interface AuditedModelgetModifiedDate in interface BackgroundTaskModelpublic void setModifiedDate(Date modifiedDate)
BackgroundTaskModel
setModifiedDate in interface AuditedModelsetModifiedDate in interface BackgroundTaskModelmodifiedDate - the modified date of this background task@JSON public String getName()
BackgroundTaskModel
getName in interface BackgroundTaskModelpublic void setName(String name)
BackgroundTaskModel
setName in interface BackgroundTaskModelname - the name of this background taskpublic String getOriginalName()
@JSON public String getServletContextNames()
BackgroundTaskModel
getServletContextNames in interface BackgroundTaskModelpublic void setServletContextNames(String servletContextNames)
BackgroundTaskModel
setServletContextNames in interface BackgroundTaskModelservletContextNames - the servlet context names of this background task@JSON public String getTaskExecutorClassName()
BackgroundTaskModel
getTaskExecutorClassName in interface BackgroundTaskModelpublic void setTaskExecutorClassName(String taskExecutorClassName)
BackgroundTaskModel
setTaskExecutorClassName in interface BackgroundTaskModeltaskExecutorClassName - the task executor class name of this background taskpublic String getOriginalTaskExecutorClassName()
@JSON public String getTaskContext()
BackgroundTaskModel
getTaskContext in interface BackgroundTaskModelpublic void setTaskContext(String taskContext)
BackgroundTaskModel
setTaskContext in interface BackgroundTaskModeltaskContext - the task context of this background task@JSON public boolean getCompleted()
BackgroundTaskModel
getCompleted in interface BackgroundTaskModelpublic boolean isCompleted()
BackgroundTaskModeltrue if this background task is completed.
isCompleted in interface BackgroundTaskModeltrue if this background task is completed; false otherwisepublic void setCompleted(boolean completed)
BackgroundTaskModel
setCompleted in interface BackgroundTaskModelcompleted - the completed of this background taskpublic boolean getOriginalCompleted()
@JSON public Date getCompletionDate()
BackgroundTaskModel
getCompletionDate in interface BackgroundTaskModelpublic void setCompletionDate(Date completionDate)
BackgroundTaskModel
setCompletionDate in interface BackgroundTaskModelcompletionDate - the completion date of this background task@JSON public int getStatus()
BackgroundTaskModel
getStatus in interface BackgroundTaskModelpublic void setStatus(int status)
BackgroundTaskModel
setStatus in interface BackgroundTaskModelstatus - the status of this background taskpublic int getOriginalStatus()
@JSON public String getStatusMessage()
BackgroundTaskModel
getStatusMessage in interface BackgroundTaskModelpublic void setStatusMessage(String statusMessage)
BackgroundTaskModel
setStatusMessage in interface BackgroundTaskModelstatusMessage - the status message of this background taskpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BackgroundTaskModelgetExpandoBridge in interface BaseModel<BackgroundTask>getExpandoBridge in interface ClassedModelgetExpandoBridge in class BaseModelImpl<BackgroundTask>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BackgroundTaskModelsetExpandoBridgeAttributes in interface BaseModel<BackgroundTask>setExpandoBridgeAttributes in class BaseModelImpl<BackgroundTask>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public BackgroundTask toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BackgroundTaskModeltoEscapedModel in interface BaseModel<BackgroundTask>toEscapedModel in class BaseModelImpl<BackgroundTask>AutoEscapeBeanHandlerpublic Object clone()
BaseModel
clone in interface BackgroundTaskModelclone in interface BaseModel<BackgroundTask>clone in class BaseModelImpl<BackgroundTask>public int compareTo(BackgroundTask backgroundTask)
compareTo in interface BackgroundTaskModelcompareTo in interface Comparable<BackgroundTask>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface BackgroundTaskModelhashCode in class Objectpublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<BackgroundTask>resetOriginalValues in class BaseModelImpl<BackgroundTask>public CacheModel<BackgroundTask> toCacheModel()
BaseModel
toCacheModel in interface BackgroundTaskModeltoCacheModel in interface BaseModel<BackgroundTask>toCacheModel in class BaseModelImpl<BackgroundTask>public String toString()
toString in interface BackgroundTaskModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BackgroundTaskModeltoXmlString in interface BaseModel<BackgroundTask>
|
Liferay 6.2.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||