@JSON(strict=true)
public class BackgroundTaskModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>
implements com.liferay.portal.model.BackgroundTaskModel
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| Modifier and Type | Field and Description |
|---|---|
static boolean |
COLUMN_BITMASK_ENABLED |
static long |
COMPANYID_COLUMN_BITMASK |
static long |
COMPLETED_COLUMN_BITMASK |
static long |
CREATEDATE_COLUMN_BITMASK |
static java.lang.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 java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static long |
STATUS_COLUMN_BITMASK |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static long |
TASKEXECUTORCLASSNAME_COLUMN_BITMASK |
static java.lang.String |
TX_MANAGER |
| Constructor and Description |
|---|
BackgroundTaskModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portal.model.BackgroundTask backgroundTask) |
boolean |
equals(java.lang.Object obj) |
long |
getBackgroundTaskId() |
long |
getColumnBitmask() |
long |
getCompanyId() |
boolean |
getCompleted() |
java.util.Date |
getCompletionDate() |
java.util.Date |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
java.lang.String |
getName() |
long |
getOriginalCompanyId() |
boolean |
getOriginalCompleted() |
long |
getOriginalGroupId() |
java.lang.String |
getOriginalName() |
int |
getOriginalStatus() |
java.lang.String |
getOriginalTaskExecutorClassName() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getServletContextNames() |
int |
getStatus() |
java.lang.String |
getStatusMessage() |
java.lang.String |
getTaskContext() |
java.lang.String |
getTaskExecutorClassName() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
isCompleted() |
void |
resetOriginalValues() |
void |
setBackgroundTaskId(long backgroundTaskId) |
void |
setCompanyId(long companyId) |
void |
setCompleted(boolean completed) |
void |
setCompletionDate(java.util.Date completionDate) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setName(java.lang.String name) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setServletContextNames(java.lang.String servletContextNames) |
void |
setStatus(int status) |
void |
setStatusMessage(java.lang.String statusMessage) |
void |
setTaskContext(java.lang.String taskContext) |
void |
setTaskExecutorClassName(java.lang.String taskExecutorClassName) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.model.CacheModel<com.liferay.portal.model.BackgroundTask> |
toCacheModel() |
com.liferay.portal.model.BackgroundTask |
toEscapedModel() |
static com.liferay.portal.model.BackgroundTask |
toModel(com.liferay.portal.model.BackgroundTaskSoap soapModel)
Converts the soap model instance into a normal model instance.
|
static java.util.List<com.liferay.portal.model.BackgroundTask> |
toModels(com.liferay.portal.model.BackgroundTaskSoap[] soapModels)
Converts the soap model instances into normal model instances.
|
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.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
public static com.liferay.portal.model.BackgroundTask toModel(com.liferay.portal.model.BackgroundTaskSoap soapModel)
soapModel - the soap model instance to convertpublic static java.util.List<com.liferay.portal.model.BackgroundTask> toModels(com.liferay.portal.model.BackgroundTaskSoap[] soapModels)
soapModels - the soap model instances to convertpublic long getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.model.BackgroundTaskModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.model.BackgroundTaskModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BackgroundTaskModelgetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BackgroundTaskModelsetPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>@JSON public long getBackgroundTaskId()
getBackgroundTaskId in interface com.liferay.portal.model.BackgroundTaskModelpublic void setBackgroundTaskId(long backgroundTaskId)
setBackgroundTaskId in interface com.liferay.portal.model.BackgroundTaskModel@JSON public long getGroupId()
getGroupId in interface com.liferay.portal.model.BackgroundTaskModelgetGroupId in interface com.liferay.portal.model.GroupedModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.model.BackgroundTaskModelsetGroupId in interface com.liferay.portal.model.GroupedModelpublic long getOriginalGroupId()
@JSON public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portal.model.BackgroundTaskModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portal.model.BackgroundTaskModelpublic long getOriginalCompanyId()
@JSON public long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portal.model.BackgroundTaskModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portal.model.BackgroundTaskModelpublic java.lang.String getUserUuid()
throws com.liferay.portal.kernel.exception.SystemException
getUserUuid in interface com.liferay.portal.model.AuditedModelgetUserUuid in interface com.liferay.portal.model.BackgroundTaskModelcom.liferay.portal.kernel.exception.SystemExceptionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AuditedModelsetUserUuid in interface com.liferay.portal.model.BackgroundTaskModel@JSON public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portal.model.BackgroundTaskModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portal.model.BackgroundTaskModel@JSON public java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portal.model.BackgroundTaskModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portal.model.BackgroundTaskModel@JSON public java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portal.model.BackgroundTaskModelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portal.model.BackgroundTaskModel@JSON public java.lang.String getName()
getName in interface com.liferay.portal.model.BackgroundTaskModelpublic void setName(java.lang.String name)
setName in interface com.liferay.portal.model.BackgroundTaskModelpublic java.lang.String getOriginalName()
@JSON public java.lang.String getServletContextNames()
getServletContextNames in interface com.liferay.portal.model.BackgroundTaskModelpublic void setServletContextNames(java.lang.String servletContextNames)
setServletContextNames in interface com.liferay.portal.model.BackgroundTaskModel@JSON public java.lang.String getTaskExecutorClassName()
getTaskExecutorClassName in interface com.liferay.portal.model.BackgroundTaskModelpublic void setTaskExecutorClassName(java.lang.String taskExecutorClassName)
setTaskExecutorClassName in interface com.liferay.portal.model.BackgroundTaskModelpublic java.lang.String getOriginalTaskExecutorClassName()
@JSON public java.lang.String getTaskContext()
getTaskContext in interface com.liferay.portal.model.BackgroundTaskModelpublic void setTaskContext(java.lang.String taskContext)
setTaskContext in interface com.liferay.portal.model.BackgroundTaskModel@JSON public boolean getCompleted()
getCompleted in interface com.liferay.portal.model.BackgroundTaskModelpublic boolean isCompleted()
isCompleted in interface com.liferay.portal.model.BackgroundTaskModelpublic void setCompleted(boolean completed)
setCompleted in interface com.liferay.portal.model.BackgroundTaskModelpublic boolean getOriginalCompleted()
@JSON public java.util.Date getCompletionDate()
getCompletionDate in interface com.liferay.portal.model.BackgroundTaskModelpublic void setCompletionDate(java.util.Date completionDate)
setCompletionDate in interface com.liferay.portal.model.BackgroundTaskModel@JSON public int getStatus()
getStatus in interface com.liferay.portal.model.BackgroundTaskModelpublic void setStatus(int status)
setStatus in interface com.liferay.portal.model.BackgroundTaskModelpublic int getOriginalStatus()
@JSON public java.lang.String getStatusMessage()
getStatusMessage in interface com.liferay.portal.model.BackgroundTaskModelpublic void setStatusMessage(java.lang.String statusMessage)
setStatusMessage in interface com.liferay.portal.model.BackgroundTaskModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BackgroundTaskModelgetExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BackgroundTaskModelsetExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>setExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public com.liferay.portal.model.BackgroundTask toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BackgroundTaskModeltoEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>toEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BackgroundTaskModelclone in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>clone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public int compareTo(com.liferay.portal.model.BackgroundTask backgroundTask)
compareTo in interface com.liferay.portal.model.BackgroundTaskModelcompareTo in interface java.lang.Comparable<com.liferay.portal.model.BackgroundTask>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portal.model.BackgroundTaskModelhashCode in class java.lang.Objectpublic void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public com.liferay.portal.model.CacheModel<com.liferay.portal.model.BackgroundTask> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BackgroundTaskModeltoCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>toCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portal.model.BackgroundTask>public java.lang.String toString()
toString in interface com.liferay.portal.model.BackgroundTaskModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BackgroundTaskModeltoXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portal.model.BackgroundTask>