|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.BackgroundTaskWrapper
@ProviderType public class BackgroundTaskWrapper
This class is a wrapper for BackgroundTask.
BackgroundTask,
Serialized Form| Constructor Summary | |
|---|---|
BackgroundTaskWrapper(BackgroundTask backgroundTask)
|
|
| Method Summary | |
|---|---|
Folder |
addAttachmentsFolder()
|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(BackgroundTask backgroundTask)
|
boolean |
equals(Object obj)
|
List<FileEntry> |
getAttachmentsFileEntries()
|
List<FileEntry> |
getAttachmentsFileEntries(int start,
int end)
|
int |
getAttachmentsFileEntriesCount()
|
long |
getAttachmentsFolderId()
|
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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 |
getStatusLabel()
|
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. |
BackgroundTask |
getWrappedBackgroundTask()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
BackgroundTask |
getWrappedModel()
|
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 |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isInProgress()
|
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BackgroundTaskWrapper(BackgroundTask backgroundTask)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<BackgroundTask>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<BackgroundTask>
public Folder addAttachmentsFolder()
throws PortalException
addAttachmentsFolder in interface BackgroundTaskPortalExceptionpublic Object clone()
BaseModel
clone in interface BackgroundTaskModelclone in interface BaseModel<BackgroundTask>clone in class Objectpublic int compareTo(BackgroundTask backgroundTask)
compareTo in interface BackgroundTaskModelcompareTo in interface Comparable<BackgroundTask>public List<FileEntry> getAttachmentsFileEntries()
getAttachmentsFileEntries in interface BackgroundTask
public List<FileEntry> getAttachmentsFileEntries(int start,
int end)
getAttachmentsFileEntries in interface BackgroundTaskpublic int getAttachmentsFileEntriesCount()
getAttachmentsFileEntriesCount in interface BackgroundTaskpublic long getAttachmentsFolderId()
getAttachmentsFolderId in interface BackgroundTaskpublic long getBackgroundTaskId()
getBackgroundTaskId in interface BackgroundTaskModelpublic long getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface BackgroundTaskModelpublic boolean getCompleted()
getCompleted in interface BackgroundTaskModelpublic Date getCompletionDate()
getCompletionDate in interface BackgroundTaskModelpublic Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface BackgroundTaskModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BackgroundTaskModelgetExpandoBridge in interface BaseModel<BackgroundTask>getExpandoBridge in interface ClassedModelpublic long getGroupId()
getGroupId in interface BackgroundTaskModelgetGroupId in interface GroupedModelpublic Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface BackgroundTaskModelpublic long getMvccVersion()
getMvccVersion in interface BackgroundTaskModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface BackgroundTaskModelpublic long getPrimaryKey()
getPrimaryKey in interface BackgroundTaskModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BackgroundTaskModelgetPrimaryKeyObj in interface BaseModel<BackgroundTask>getPrimaryKeyObj in interface ClassedModelpublic String getServletContextNames()
getServletContextNames in interface BackgroundTaskModelpublic int getStatus()
getStatus in interface BackgroundTaskModelpublic String getStatusLabel()
getStatusLabel in interface BackgroundTaskpublic String getStatusMessage()
getStatusMessage in interface BackgroundTaskModelpublic Map<String,Serializable> getTaskContextMap()
getTaskContextMap in interface BackgroundTaskModelpublic String getTaskExecutorClassName()
getTaskExecutorClassName in interface BackgroundTaskModelpublic long getUserId()
getUserId in interface AuditedModelgetUserId in interface BackgroundTaskModelpublic String getUserName()
getUserName in interface AuditedModelgetUserName in interface BackgroundTaskModelpublic String getUserUuid()
getUserUuid in interface AuditedModelgetUserUuid in interface BackgroundTaskModelpublic int hashCode()
hashCode in interface BackgroundTaskModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BackgroundTaskModelisCachedModel in interface BaseModel<BackgroundTask>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isCompleted()
true if this background task is completed.
isCompleted in interface BackgroundTaskModeltrue if this background task is completed; false otherwisepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BackgroundTaskModelisEscapedModel in interface BaseModel<BackgroundTask>true if this model instance is escaped;
false otherwisepublic boolean isInProgress()
isInProgress in interface BackgroundTaskpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BackgroundTaskModelisNew in interface BaseModel<BackgroundTask>true if this model instance does not yet exist in
the database; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setBackgroundTaskId(long backgroundTaskId)
setBackgroundTaskId in interface BackgroundTaskModelbackgroundTaskId - the background task ID of this background taskpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BackgroundTaskModelsetCachedModel in interface BaseModel<BackgroundTask>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface BackgroundTaskModelcompanyId - the company ID of this background taskpublic void setCompleted(boolean completed)
setCompleted in interface BackgroundTaskModelcompleted - the completed of this background taskpublic void setCompletionDate(Date completionDate)
setCompletionDate in interface BackgroundTaskModelcompletionDate - the completion date of this background taskpublic void setCreateDate(Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface BackgroundTaskModelcreateDate - the create date of this background taskpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BackgroundTaskModelsetExpandoBridgeAttributes in interface BaseModel<BackgroundTask>public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BackgroundTaskModelsetExpandoBridgeAttributes in interface BaseModel<BackgroundTask>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BackgroundTaskModelsetExpandoBridgeAttributes in interface BaseModel<BackgroundTask>serviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public void setGroupId(long groupId)
setGroupId in interface BackgroundTaskModelsetGroupId in interface GroupedModelgroupId - the group ID of this background taskpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface BackgroundTaskModelmodifiedDate - the modified date of this background taskpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface BackgroundTaskModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this background taskpublic void setName(String name)
setName in interface BackgroundTaskModelname - the name of this background taskpublic void setNew(boolean n)
BaseModel
setNew in interface BackgroundTaskModelsetNew in interface BaseModel<BackgroundTask>n - whether this model instance does not yet exist in the databasepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface BackgroundTaskModelprimaryKey - the primary key of this background taskpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BackgroundTaskModelsetPrimaryKeyObj in interface BaseModel<BackgroundTask>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instancepublic void setServletContextNames(String servletContextNames)
setServletContextNames in interface BackgroundTaskModelservletContextNames - the servlet context names of this background taskpublic void setStatus(int status)
setStatus in interface BackgroundTaskModelstatus - the status of this background taskpublic void setStatusMessage(String statusMessage)
setStatusMessage in interface BackgroundTaskModelstatusMessage - the status message of this background taskpublic void setTaskContextMap(Map<String,Serializable> taskContextMap)
setTaskContextMap in interface BackgroundTaskModeltaskContextMap - the task context map of this background taskpublic void setTaskExecutorClassName(String taskExecutorClassName)
setTaskExecutorClassName in interface BackgroundTaskModeltaskExecutorClassName - the task executor class name of this background taskpublic void setUserId(long userId)
setUserId in interface AuditedModelsetUserId in interface BackgroundTaskModeluserId - the user ID of this background taskpublic void setUserName(String userName)
setUserName in interface AuditedModelsetUserName in interface BackgroundTaskModeluserName - the user name of this background taskpublic void setUserUuid(String userUuid)
setUserUuid in interface AuditedModelsetUserUuid in interface BackgroundTaskModeluserUuid - the user uuid of this background taskpublic CacheModel<BackgroundTask> toCacheModel()
BaseModel
toCacheModel in interface BackgroundTaskModeltoCacheModel in interface BaseModel<BackgroundTask>public BackgroundTask toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BackgroundTaskModeltoEscapedModel in interface BaseModel<BackgroundTask>AutoEscapeBeanHandlerpublic String toString()
toString in interface BackgroundTaskModeltoString in class Objectpublic BackgroundTask toUnescapedModel()
toUnescapedModel in interface BackgroundTaskModeltoUnescapedModel in interface BaseModel<BackgroundTask>public String toXmlString()
BaseModel
toXmlString in interface BackgroundTaskModeltoXmlString in interface BaseModel<BackgroundTask>public boolean equals(Object obj)
equals in class Object@Deprecated public BackgroundTask getWrappedBackgroundTask()
getWrappedModel()
public BackgroundTask getWrappedModel()
getWrappedModel in interface ModelWrapper<BackgroundTask>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<BackgroundTask>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<BackgroundTask>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues 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 | |||||||||