Interface BackgroundTaskModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<BackgroundTask>,com.liferay.portal.kernel.model.ClassedModel,Cloneable,Comparable<BackgroundTask>,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.MVCCModel,Serializable,com.liferay.portal.kernel.model.ShardedModel
- All Known Subinterfaces:
BackgroundTask
- All Known Implementing Classes:
BackgroundTaskWrapper
@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
The base model interface for the BackgroundTask service. Represents a row in the "BackgroundTask" database table, with each column mapped to a property of this class.
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.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the background task ID of this background task.longReturns the company ID of this background task.booleanReturns the completed of this background task.Returns the completion date of this background task.Returns the create date of this background task.longReturns the group ID of this background task.Returns the modified date of this background task.longReturns the mvcc version of this background task.getName()Returns the name of this background task.longReturns the primary key of this background task.Returns the servlet context names of this background task.intReturns the status of this background task.Returns the status message of this background task.Returns the task context map of this background task.Returns the task executor class name of this background task.longReturns the user ID of this background task.Returns the user name of this background task.Returns the user uuid of this background task.booleanReturnstrueif this background task is completed.voidsetBackgroundTaskId(long backgroundTaskId) Sets the background task ID of this background task.voidsetCompanyId(long companyId) Sets the company ID of this background task.voidsetCompleted(boolean completed) Sets whether this background task is completed.voidsetCompletionDate(Date completionDate) Sets the completion date of this background task.voidsetCreateDate(Date createDate) Sets the create date of this background task.voidsetGroupId(long groupId) Sets the group ID of this background task.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this background task.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this background task.voidSets the name of this background task.voidsetPrimaryKey(long primaryKey) Sets the primary key of this background task.voidsetServletContextNames(String servletContextNames) Sets the servlet context names of this background task.voidsetStatus(int status) Sets the status of this background task.voidsetStatusMessage(String statusMessage) Sets the status message of this background task.voidsetTaskContextMap(Map<String, Serializable> taskContextMap) Sets the task context map of this background task.voidsetTaskExecutorClassName(String taskExecutorClassName) Sets the task executor class name of this background task.voidsetUserId(long userId) Sets the user ID of this background task.voidsetUserName(String userName) Sets the user name of this background task.voidsetUserUuid(String userUuid) Sets the user uuid of this background task.default StringMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this background task.- Returns:
- the primary key of this background task
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this background task.- Parameters:
primaryKey- the primary key of this background task
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this background task.- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this background task
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this background task.- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this background task
-
getBackgroundTaskId
long getBackgroundTaskId()Returns the background task ID of this background task.- Returns:
- the background task ID of this background task
-
setBackgroundTaskId
void setBackgroundTaskId(long backgroundTaskId) Sets the background task ID of this background task.- Parameters:
backgroundTaskId- the background task ID of this background task
-
getGroupId
long getGroupId()Returns the group ID of this background task.- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this background task
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this background task.- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this background task
-
getCompanyId
long getCompanyId()Returns the company ID of this background task.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this background task
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this background task.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this background task
-
getUserId
long getUserId()Returns the user ID of this background task.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user ID of this background task
-
setUserId
void setUserId(long userId) Sets the user ID of this background task.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userId- the user ID of this background task
-
getUserUuid
String getUserUuid()Returns the user uuid of this background task.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user uuid of this background task
-
setUserUuid
Sets the user uuid of this background task.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userUuid- the user uuid of this background task
-
getUserName
Returns the user name of this background task.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the user name of this background task
-
setUserName
Sets the user name of this background task.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
userName- the user name of this background task
-
getCreateDate
Date getCreateDate()Returns the create date of this background task.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the create date of this background task
-
setCreateDate
Sets the create date of this background task.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
createDate- the create date of this background task
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this background task.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Returns:
- the modified date of this background task
-
setModifiedDate
Sets the modified date of this background task.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Parameters:
modifiedDate- the modified date of this background task
-
getName
Returns the name of this background task.- Returns:
- the name of this background task
-
setName
Sets the name of this background task.- Parameters:
name- the name of this background task
-
getServletContextNames
Returns the servlet context names of this background task.- Returns:
- the servlet context names of this background task
-
setServletContextNames
Sets the servlet context names of this background task.- Parameters:
servletContextNames- the servlet context names of this background task
-
getTaskExecutorClassName
Returns the task executor class name of this background task.- Returns:
- the task executor class name of this background task
-
setTaskExecutorClassName
Sets the task executor class name of this background task.- Parameters:
taskExecutorClassName- the task executor class name of this background task
-
getTaskContextMap
Map<String,Serializable> getTaskContextMap()Returns the task context map of this background task.- Returns:
- the task context map of this background task
-
setTaskContextMap
Sets the task context map of this background task.- Parameters:
taskContextMap- the task context map of this background task
-
getCompleted
boolean getCompleted()Returns the completed of this background task.- Returns:
- the completed of this background task
-
isCompleted
boolean isCompleted()Returnstrueif this background task is completed.- Returns:
trueif this background task is completed;falseotherwise
-
setCompleted
void setCompleted(boolean completed) Sets whether this background task is completed.- Parameters:
completed- the completed of this background task
-
getCompletionDate
Date getCompletionDate()Returns the completion date of this background task.- Returns:
- the completion date of this background task
-
setCompletionDate
Sets the completion date of this background task.- Parameters:
completionDate- the completion date of this background task
-
getStatus
int getStatus()Returns the status of this background task.- Returns:
- the status of this background task
-
setStatus
void setStatus(int status) Sets the status of this background task.- Parameters:
status- the status of this background task
-
getStatusMessage
Returns the status message of this background task.- Returns:
- the status message of this background task
-
setStatusMessage
Sets the status message of this background task.- Parameters:
statusMessage- the status message of this background task
-
cloneWithOriginalValues
BackgroundTask cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<BackgroundTask>
-
toXmlString
-