@ProviderType public interface DispatchTriggerModel extends com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.dispatch.model.impl.DispatchTriggerModelImpl
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.dispatch.model.impl.DispatchTriggerImpl
.
DispatchTrigger
Modifier and Type | Method and Description |
---|---|
DispatchTrigger |
cloneWithOriginalValues() |
boolean |
getActive()
Returns the active of this dispatch trigger.
|
long |
getCompanyId()
Returns the company ID of this dispatch trigger.
|
java.util.Date |
getCreateDate()
Returns the create date of this dispatch trigger.
|
java.lang.String |
getCronExpression()
Returns the cron expression of this dispatch trigger.
|
int |
getDispatchTaskClusterMode()
Returns the dispatch task cluster mode of this dispatch trigger.
|
java.lang.String |
getDispatchTaskExecutorType()
Returns the dispatch task executor type of this dispatch trigger.
|
java.lang.String |
getDispatchTaskSettings()
Returns the dispatch task settings of this dispatch trigger.
|
long |
getDispatchTriggerId()
Returns the dispatch trigger ID of this dispatch trigger.
|
java.util.Date |
getEndDate()
Returns the end date of this dispatch trigger.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this dispatch trigger.
|
long |
getMvccVersion()
Returns the mvcc version of this dispatch trigger.
|
java.lang.String |
getName()
Returns the name of this dispatch trigger.
|
boolean |
getOverlapAllowed()
Returns the overlap allowed of this dispatch trigger.
|
long |
getPrimaryKey()
Returns the primary key of this dispatch trigger.
|
java.util.Date |
getStartDate()
Returns the start date of this dispatch trigger.
|
boolean |
getSystem()
Returns the system of this dispatch trigger.
|
long |
getUserId()
Returns the user ID of this dispatch trigger.
|
java.lang.String |
getUserName()
Returns the user name of this dispatch trigger.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this dispatch trigger.
|
boolean |
isActive()
Returns
true if this dispatch trigger is active. |
boolean |
isOverlapAllowed()
Returns
true if this dispatch trigger is overlap allowed. |
boolean |
isSystem()
Returns
true if this dispatch trigger is system. |
void |
setActive(boolean active)
Sets whether this dispatch trigger is active.
|
void |
setCompanyId(long companyId)
Sets the company ID of this dispatch trigger.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this dispatch trigger.
|
void |
setCronExpression(java.lang.String cronExpression)
Sets the cron expression of this dispatch trigger.
|
void |
setDispatchTaskClusterMode(int dispatchTaskClusterMode)
Sets the dispatch task cluster mode of this dispatch trigger.
|
void |
setDispatchTaskExecutorType(java.lang.String dispatchTaskExecutorType)
Sets the dispatch task executor type of this dispatch trigger.
|
void |
setDispatchTaskSettings(java.lang.String dispatchTaskSettings)
Sets the dispatch task settings of this dispatch trigger.
|
void |
setDispatchTriggerId(long dispatchTriggerId)
Sets the dispatch trigger ID of this dispatch trigger.
|
void |
setEndDate(java.util.Date endDate)
Sets the end date of this dispatch trigger.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this dispatch trigger.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this dispatch trigger.
|
void |
setName(java.lang.String name)
Sets the name of this dispatch trigger.
|
void |
setOverlapAllowed(boolean overlapAllowed)
Sets whether this dispatch trigger is overlap allowed.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this dispatch trigger.
|
void |
setStartDate(java.util.Date startDate)
Sets the start date of this dispatch trigger.
|
void |
setSystem(boolean system)
Sets whether this dispatch trigger is system.
|
void |
setUserId(long userId)
Sets the user ID of this dispatch trigger.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this dispatch trigger.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this dispatch trigger.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey
- the primary key of this dispatch triggerlong getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this dispatch triggerlong getDispatchTriggerId()
void setDispatchTriggerId(long dispatchTriggerId)
dispatchTriggerId
- the dispatch trigger ID of this dispatch triggerlong getCompanyId()
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
void setCompanyId(long companyId)
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this dispatch triggerlong getUserId()
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserId(long userId)
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this dispatch triggerjava.lang.String getUserUuid()
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this dispatch trigger@AutoEscape java.lang.String getUserName()
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
void setUserName(java.lang.String userName)
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this dispatch triggerjava.util.Date getCreateDate()
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setCreateDate(java.util.Date createDate)
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this dispatch triggerjava.util.Date getModifiedDate()
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this dispatch triggerboolean getActive()
boolean isActive()
true
if this dispatch trigger is active.true
if this dispatch trigger is active; false
otherwisevoid setActive(boolean active)
active
- the active of this dispatch trigger@AutoEscape java.lang.String getCronExpression()
void setCronExpression(java.lang.String cronExpression)
cronExpression
- the cron expression of this dispatch triggerint getDispatchTaskClusterMode()
void setDispatchTaskClusterMode(int dispatchTaskClusterMode)
dispatchTaskClusterMode
- the dispatch task cluster mode of this dispatch trigger@AutoEscape java.lang.String getDispatchTaskExecutorType()
void setDispatchTaskExecutorType(java.lang.String dispatchTaskExecutorType)
dispatchTaskExecutorType
- the dispatch task executor type of this dispatch trigger@AutoEscape java.lang.String getDispatchTaskSettings()
void setDispatchTaskSettings(java.lang.String dispatchTaskSettings)
dispatchTaskSettings
- the dispatch task settings of this dispatch triggerjava.util.Date getEndDate()
void setEndDate(java.util.Date endDate)
endDate
- the end date of this dispatch trigger@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name
- the name of this dispatch triggerboolean getOverlapAllowed()
boolean isOverlapAllowed()
true
if this dispatch trigger is overlap allowed.true
if this dispatch trigger is overlap allowed; false
otherwisevoid setOverlapAllowed(boolean overlapAllowed)
overlapAllowed
- the overlap allowed of this dispatch triggerjava.util.Date getStartDate()
void setStartDate(java.util.Date startDate)
startDate
- the start date of this dispatch triggerboolean getSystem()
boolean isSystem()
true
if this dispatch trigger is system.true
if this dispatch trigger is system; false
otherwisevoid setSystem(boolean system)
system
- the system of this dispatch triggerDispatchTrigger cloneWithOriginalValues()
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>