|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface BackgroundTaskModel
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 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| Method Summary | |
|---|---|
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. |
Date |
getCompletionDate()
Returns the completion date of this background task. |
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. |
Date |
getModifiedDate()
Returns the modified date of this background task. |
long |
getMvccVersion()
Returns the mvcc version of this background task. |
String |
getName()
Returns the name of this background task. |
long |
getPrimaryKey()
Returns the primary key of this background task. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
String |
getServletContextNames()
Returns the servlet context names of this background task. |
int |
getStatus()
Returns the status of this background task. |
String |
getStatusMessage()
Returns the status message of this background task. |
Map<String,Serializable> |
getTaskContextMap()
Returns the task context map of this background task. |
String |
getTaskExecutorClassName()
Returns the task executor class name of this background task. |
long |
getUserId()
Returns the user ID of this background task. |
String |
getUserName()
Returns the user name of this background task. |
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(Date completionDate)
Sets the completion date of this background task. |
void |
setCreateDate(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(Date modifiedDate)
Sets the modified date of this background task. |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this background task. |
void |
setName(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(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setServletContextNames(String servletContextNames)
Sets the servlet context names of this background task. |
void |
setStatus(int status)
Sets the status of this background task. |
void |
setStatusMessage(String statusMessage)
Sets the status message of this background task. |
void |
setTaskContextMap(Map<String,Serializable> taskContextMap)
Sets the task context map of this background task. |
void |
setTaskExecutorClassName(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(String userName)
Sets the user name of this background task. |
void |
setUserUuid(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. |
String |
toString()
|
BackgroundTask |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long 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 taskString getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this background task@AutoEscape String getUserName()
getUserName in interface AuditedModelvoid setUserName(String userName)
setUserName in interface AuditedModeluserName - the user name of this background taskDate getCreateDate()
getCreateDate in interface AuditedModelvoid setCreateDate(Date createDate)
setCreateDate in interface AuditedModelcreateDate - the create date of this background taskDate getModifiedDate()
getModifiedDate in interface AuditedModelvoid setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelmodifiedDate - the modified date of this background task@AutoEscape String getName()
void setName(String name)
name - the name of this background task@AutoEscape String getServletContextNames()
void setServletContextNames(String servletContextNames)
servletContextNames - the servlet context names of this background task@AutoEscape String getTaskExecutorClassName()
void setTaskExecutorClassName(String taskExecutorClassName)
taskExecutorClassName - the task executor class name of this background taskMap<String,Serializable> getTaskContextMap()
void setTaskContextMap(Map<String,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 taskDate getCompletionDate()
void setCompletionDate(Date completionDate)
completionDate - the completion date of this background taskint getStatus()
void setStatus(int status)
status - the status of this background task@AutoEscape String getStatusMessage()
void setStatusMessage(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)
BaseModel
setNew 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)
BaseModel
setCachedModel 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 otherwiseSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<BackgroundTask>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<BackgroundTask>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge 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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<BackgroundTask>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<BackgroundTask>int compareTo(BackgroundTask backgroundTask)
compareTo in interface Comparable<BackgroundTask>int hashCode()
hashCode in class ObjectCacheModel<BackgroundTask> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<BackgroundTask>BackgroundTask toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<BackgroundTask>AutoEscapeBeanHandlerBackgroundTask toUnescapedModel()
toUnescapedModel in interface BaseModel<BackgroundTask>String toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<BackgroundTask>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||