@ProviderType public interface BackgroundTaskModel extends BaseModel<BackgroundTask>, GroupedModel, MVCCModel
This interface and its corresponding implementation BackgroundTaskModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in BackgroundTaskImpl.
BackgroundTask,
BackgroundTaskImpl,
BackgroundTaskModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
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.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
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()
Returns the primary key of this model instance.
|
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()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isCompleted()
Returns
true if this background task is completed. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
setBackgroundTaskId(long backgroundTaskId)
Sets the background task ID of this background task.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
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(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
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 |
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)
Sets whether this model instance does not yet exist in the database.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this background task.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
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.
|
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. |
java.lang.String |
toString() |
BackgroundTask |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributesgetModelClass, getModelClassNamelong getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this background tasklong getMvccVersion()
getMvccVersion in interface MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface 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 GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this background tasklong getCompanyId()
getCompanyId in interface AuditedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelcompanyId - the company ID of this background tasklong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this background taskjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this background task@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this background taskjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this background taskjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface 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 taskboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<BackgroundTask>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModelsetNew in interface BaseModel<BackgroundTask>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<BackgroundTask>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<BackgroundTask>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<BackgroundTask>true if this model instance is escaped;
false otherwisejava.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<BackgroundTask>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<BackgroundTask>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<BackgroundTask>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<BackgroundTask>void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<BackgroundTask>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<BackgroundTask>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)java.lang.Object clone()
BaseModelclone in interface BaseModel<BackgroundTask>int compareTo(BackgroundTask backgroundTask)
compareTo in interface java.lang.Comparable<BackgroundTask>int hashCode()
hashCode in class java.lang.ObjectCacheModel<BackgroundTask> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<BackgroundTask>BackgroundTask toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<BackgroundTask>AutoEscapeBeanHandlerBackgroundTask toUnescapedModel()
toUnescapedModel in interface BaseModel<BackgroundTask>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<BackgroundTask>