@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| Modifier and Type | Method and Description |
|---|---|
BackgroundTask |
cloneWithOriginalValues() |
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.
|
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.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.
|
boolean |
isCompleted()
Returns
true if this background task is completed. |
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(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 |
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 |
setPrimaryKey(long primaryKey)
Sets the primary key of this background task.
|
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.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this background tasklong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - 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.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this background tasklong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this background tasklong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this background taskjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this background task@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this background taskjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this background taskjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - 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 taskBackgroundTask cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<BackgroundTask>