|
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<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 FormField 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 BackgroundTaskModel
public void setPrimaryKey(long primaryKey)
BackgroundTaskModel
setPrimaryKey
in interface BackgroundTaskModel
primaryKey
- the primary key of this background taskpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BackgroundTaskModel
getPrimaryKeyObj
in interface BaseModel<BackgroundTask>
getPrimaryKeyObj
in interface ClassedModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BackgroundTaskModel
setPrimaryKeyObj
in interface BaseModel<BackgroundTask>
setPrimaryKeyObj
in interface ClassedModel
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<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 BackgroundTaskModel
public void setBackgroundTaskId(long backgroundTaskId)
BackgroundTaskModel
setBackgroundTaskId
in interface BackgroundTaskModel
backgroundTaskId
- the background task ID of this background task@JSON public long getGroupId()
BackgroundTaskModel
getGroupId
in interface BackgroundTaskModel
getGroupId
in interface GroupedModel
public void setGroupId(long groupId)
BackgroundTaskModel
setGroupId
in interface BackgroundTaskModel
setGroupId
in interface GroupedModel
groupId
- the group ID of this background taskpublic long getOriginalGroupId()
@JSON public long getCompanyId()
BackgroundTaskModel
getCompanyId
in interface AuditedModel
getCompanyId
in interface BackgroundTaskModel
public void setCompanyId(long companyId)
BackgroundTaskModel
setCompanyId
in interface AuditedModel
setCompanyId
in interface BackgroundTaskModel
companyId
- the company ID of this background taskpublic long getOriginalCompanyId()
@JSON public long getUserId()
BackgroundTaskModel
getUserId
in interface AuditedModel
getUserId
in interface BackgroundTaskModel
public void setUserId(long userId)
BackgroundTaskModel
setUserId
in interface AuditedModel
setUserId
in interface BackgroundTaskModel
userId
- the user ID of this background taskpublic String getUserUuid() throws SystemException
BackgroundTaskModel
getUserUuid
in interface AuditedModel
getUserUuid
in interface BackgroundTaskModel
SystemException
- if a system exception occurredpublic void setUserUuid(String userUuid)
BackgroundTaskModel
setUserUuid
in interface AuditedModel
setUserUuid
in interface BackgroundTaskModel
userUuid
- the user uuid of this background task@JSON public String getUserName()
BackgroundTaskModel
getUserName
in interface AuditedModel
getUserName
in interface BackgroundTaskModel
public void setUserName(String userName)
BackgroundTaskModel
setUserName
in interface AuditedModel
setUserName
in interface BackgroundTaskModel
userName
- the user name of this background task@JSON public Date getCreateDate()
BackgroundTaskModel
getCreateDate
in interface AuditedModel
getCreateDate
in interface BackgroundTaskModel
public void setCreateDate(Date createDate)
BackgroundTaskModel
setCreateDate
in interface AuditedModel
setCreateDate
in interface BackgroundTaskModel
createDate
- the create date of this background task@JSON public Date getModifiedDate()
BackgroundTaskModel
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface BackgroundTaskModel
public void setModifiedDate(Date modifiedDate)
BackgroundTaskModel
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface BackgroundTaskModel
modifiedDate
- the modified date of this background task@JSON public String getName()
BackgroundTaskModel
getName
in interface BackgroundTaskModel
public void setName(String name)
BackgroundTaskModel
setName
in interface BackgroundTaskModel
name
- the name of this background taskpublic String getOriginalName()
@JSON public String getServletContextNames()
BackgroundTaskModel
getServletContextNames
in interface BackgroundTaskModel
public void setServletContextNames(String servletContextNames)
BackgroundTaskModel
setServletContextNames
in interface BackgroundTaskModel
servletContextNames
- the servlet context names of this background task@JSON public String getTaskExecutorClassName()
BackgroundTaskModel
getTaskExecutorClassName
in interface BackgroundTaskModel
public void setTaskExecutorClassName(String taskExecutorClassName)
BackgroundTaskModel
setTaskExecutorClassName
in interface BackgroundTaskModel
taskExecutorClassName
- the task executor class name of this background taskpublic String getOriginalTaskExecutorClassName()
@JSON public String getTaskContext()
BackgroundTaskModel
getTaskContext
in interface BackgroundTaskModel
public void setTaskContext(String taskContext)
BackgroundTaskModel
setTaskContext
in interface BackgroundTaskModel
taskContext
- the task context of this background task@JSON public boolean getCompleted()
BackgroundTaskModel
getCompleted
in interface BackgroundTaskModel
public boolean isCompleted()
BackgroundTaskModel
true
if this background task is completed.
isCompleted
in interface BackgroundTaskModel
true
if this background task is completed; false
otherwisepublic void setCompleted(boolean completed)
BackgroundTaskModel
setCompleted
in interface BackgroundTaskModel
completed
- the completed of this background taskpublic boolean getOriginalCompleted()
@JSON public Date getCompletionDate()
BackgroundTaskModel
getCompletionDate
in interface BackgroundTaskModel
public void setCompletionDate(Date completionDate)
BackgroundTaskModel
setCompletionDate
in interface BackgroundTaskModel
completionDate
- the completion date of this background task@JSON public int getStatus()
BackgroundTaskModel
getStatus
in interface BackgroundTaskModel
public void setStatus(int status)
BackgroundTaskModel
setStatus
in interface BackgroundTaskModel
status
- the status of this background taskpublic int getOriginalStatus()
@JSON public String getStatusMessage()
BackgroundTaskModel
getStatusMessage
in interface BackgroundTaskModel
public void setStatusMessage(String statusMessage)
BackgroundTaskModel
setStatusMessage
in interface BackgroundTaskModel
statusMessage
- the status message of this background taskpublic long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BackgroundTaskModel
getExpandoBridge
in interface BaseModel<BackgroundTask>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in class BaseModelImpl<BackgroundTask>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BackgroundTaskModel
setExpandoBridgeAttributes
in interface BaseModel<BackgroundTask>
setExpandoBridgeAttributes
in class BaseModelImpl<BackgroundTask>
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)
public BackgroundTask toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BackgroundTaskModel
toEscapedModel
in interface BaseModel<BackgroundTask>
toEscapedModel
in class BaseModelImpl<BackgroundTask>
AutoEscapeBeanHandler
public Object clone()
BaseModel
clone
in interface BackgroundTaskModel
clone
in interface BaseModel<BackgroundTask>
clone
in class BaseModelImpl<BackgroundTask>
public int compareTo(BackgroundTask backgroundTask)
compareTo
in interface BackgroundTaskModel
compareTo
in interface Comparable<BackgroundTask>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface BackgroundTaskModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<BackgroundTask>
resetOriginalValues
in class BaseModelImpl<BackgroundTask>
public CacheModel<BackgroundTask> toCacheModel()
BaseModel
toCacheModel
in interface BackgroundTaskModel
toCacheModel
in interface BaseModel<BackgroundTask>
toCacheModel
in class BaseModelImpl<BackgroundTask>
public String toString()
toString
in interface BackgroundTaskModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BackgroundTaskModel
toXmlString
in interface BaseModel<BackgroundTask>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |