|
Liferay 6.2-ce-ga5 | |||||||||
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. |
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. |
String |
getTaskContext()
Returns the task context 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 |
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 |
setTaskContext(String taskContext)
Sets the task context 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, 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 getBackgroundTaskId()
void setBackgroundTaskId(long backgroundTaskId)
backgroundTaskId
- the background task ID of this background tasklong getGroupId()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this background tasklong getCompanyId()
getCompanyId
in interface AuditedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
companyId
- the company ID of this background tasklong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this background taskString getUserUuid() throws SystemException
getUserUuid
in interface AuditedModel
SystemException
- if a system exception occurredvoid setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this background task@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this background taskDate getCreateDate()
getCreateDate
in interface AuditedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
createDate
- the create date of this background taskDate getModifiedDate()
getModifiedDate
in interface AuditedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
modifiedDate
- 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 task@AutoEscape String getTaskContext()
void setTaskContext(String taskContext)
taskContext
- the task context 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()
BaseModel
true
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()
BaseModel
true
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 cacheEntityCache
boolean isEscapedModel()
BaseModel
true
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 ClassedModel
void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<BackgroundTask>
setPrimaryKeyObj
in interface ClassedModel
primaryKeyObj
- the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<BackgroundTask>
getExpandoBridge
in interface ClassedModel
void 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 Object
CacheModel<BackgroundTask> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<BackgroundTask>
BackgroundTask toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<BackgroundTask>
AutoEscapeBeanHandler
BackgroundTask toUnescapedModel()
toUnescapedModel
in interface BaseModel<BackgroundTask>
String toString()
toString
in class Object
String toXmlString()
BaseModel
toXmlString
in interface BaseModel<BackgroundTask>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |