@ProviderType public interface BackgroundTaskModel extends com.liferay.portal.kernel.model.BaseModel<BackgroundTask>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.portal.background.task.model.impl.BackgroundTaskModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.background.task.model.impl.BackgroundTaskImpl
.
BackgroundTask
,
com.liferay.portal.background.task.model.impl.BackgroundTaskImpl
,
com.liferay.portal.background.task.model.impl.BackgroundTaskModelImpl
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
compareTo(BackgroundTask backgroundTask) |
long |
getBackgroundTaskId()
Returns the background task ID of this background task.
|
long |
getCompanyId()
Returns the company ID of this background task.
|
boolean |
getCompleted()
Returns the completed of this background task.
|
java.util.Date |
getCompletionDate()
Returns the completion date of this background task.
|
java.util.Date |
getCreateDate()
Returns the create date of this background task.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this background task.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this background task.
|
long |
getMvccVersion()
Returns the mvcc version of this background task.
|
java.lang.String |
getName()
Returns the name of this background task.
|
long |
getPrimaryKey()
Returns the primary key of this background task.
|
java.io.Serializable |
getPrimaryKeyObj() |
java.lang.String |
getServletContextNames()
Returns the servlet context names of this background task.
|
int |
getStatus()
Returns the status of this background task.
|
java.lang.String |
getStatusMessage()
Returns the status message of this background task.
|
java.util.Map<java.lang.String,java.io.Serializable> |
getTaskContextMap()
Returns the task context map of this background task.
|
java.lang.String |
getTaskExecutorClassName()
Returns the task executor class name of this background task.
|
long |
getUserId()
Returns the user ID of this background task.
|
java.lang.String |
getUserName()
Returns the user name of this background task.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this background task.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isCompleted()
Returns
true if this background task is completed. |
boolean |
isEscapedModel() |
boolean |
isNew() |
void |
setBackgroundTaskId(long backgroundTaskId)
Sets the background task ID of this background task.
|
void |
setCachedModel(boolean cachedModel) |
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(java.util.Date completionDate)
Sets the completion date of this background task.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this background task.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this background task.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this background task.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this background task.
|
void |
setName(java.lang.String name)
Sets the name of this background task.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this background task.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setServletContextNames(java.lang.String servletContextNames)
Sets the servlet context names of this background task.
|
void |
setStatus(int status)
Sets the status of this background task.
|
void |
setStatusMessage(java.lang.String statusMessage)
Sets the status message of this background task.
|
void |
setTaskContextMap(java.util.Map<java.lang.String,java.io.Serializable> taskContextMap)
Sets the task context map of this background task.
|
void |
setTaskExecutorClassName(java.lang.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(java.lang.String userName)
Sets the user name of this background task.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this background task.
|
com.liferay.portal.kernel.model.CacheModel<BackgroundTask> |
toCacheModel() |
BackgroundTask |
toEscapedModel() |
java.lang.String |
toString() |
BackgroundTask |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this background tasklong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this background tasklong getBackgroundTaskId()
void setBackgroundTaskId(long backgroundTaskId)
backgroundTaskId
- the background task ID of this background tasklong getGroupId()
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
void setGroupId(long groupId)
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this background tasklong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this background tasklong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this background taskjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this background task@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this background taskjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this background taskjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this background task@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this background task@AutoEscape java.lang.String getServletContextNames()
void setServletContextNames(java.lang.String servletContextNames)
servletContextNames
- the servlet context names of this background task@AutoEscape java.lang.String getTaskExecutorClassName()
void setTaskExecutorClassName(java.lang.String taskExecutorClassName)
taskExecutorClassName
- the task executor class name of this background taskjava.util.Map<java.lang.String,java.io.Serializable> getTaskContextMap()
void setTaskContextMap(java.util.Map<java.lang.String,java.io.Serializable> taskContextMap)
taskContextMap
- the task context map of this background taskboolean getCompleted()
boolean isCompleted()
true
if this background task is completed.true
if this background task is completed; false
otherwisevoid setCompleted(boolean completed)
completed
- the completed of this background taskjava.util.Date getCompletionDate()
void setCompletionDate(java.util.Date completionDate)
completionDate
- the completion date of this background taskint getStatus()
void setStatus(int status)
status
- the status of this background task@AutoEscape java.lang.String getStatusMessage()
void setStatusMessage(java.lang.String statusMessage)
statusMessage
- the status message of this background taskboolean isNew()
isNew
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
void setNew(boolean n)
setNew
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
boolean isCachedModel()
isCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
void setCachedModel(boolean cachedModel)
setCachedModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
boolean isEscapedModel()
isEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
getPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
setPrimaryKeyObj
in interface com.liferay.portal.kernel.model.ClassedModel
com.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
getExpandoBridge
in interface com.liferay.portal.kernel.model.ClassedModel
void setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
java.lang.Object clone()
clone
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
int compareTo(BackgroundTask backgroundTask)
compareTo
in interface java.lang.Comparable<BackgroundTask>
int hashCode()
hashCode
in class java.lang.Object
com.liferay.portal.kernel.model.CacheModel<BackgroundTask> toCacheModel()
toCacheModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
BackgroundTask toEscapedModel()
toEscapedModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
BackgroundTask toUnescapedModel()
toUnescapedModel
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>
java.lang.String toString()
toString
in class java.lang.Object
java.lang.String toXmlString()
toXmlString
in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>