public class DispatchTriggerWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DispatchTrigger> implements DispatchTrigger, com.liferay.portal.kernel.model.ModelWrapper<DispatchTrigger>
This class is a wrapper for DispatchTrigger
.
DispatchTrigger
,
Serialized FormDISPATCH_TRIGGER_ID_ACCESSOR
Constructor and Description |
---|
DispatchTriggerWrapper(DispatchTrigger 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.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getDispatchTaskSettingsUnicodeProperties() |
DispatchTaskStatus |
getDispatchTaskStatus() |
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.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
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.
|
java.util.Date |
getNextFireDate() |
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 |
persist() |
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 |
setDispatchTaskSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties) |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
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.
|
protected DispatchTriggerWrapper |
wrap(DispatchTrigger dispatchTrigger) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public DispatchTriggerWrapper(DispatchTrigger dispatchTrigger)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
public DispatchTrigger cloneWithOriginalValues()
cloneWithOriginalValues
in interface DispatchTriggerModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
public boolean getActive()
getActive
in interface DispatchTriggerModel
public long getCompanyId()
getCompanyId
in interface DispatchTriggerModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public java.util.Date getCreateDate()
getCreateDate
in interface DispatchTriggerModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getCronExpression()
getCronExpression
in interface DispatchTriggerModel
public int getDispatchTaskClusterMode()
getDispatchTaskClusterMode
in interface DispatchTriggerModel
public java.lang.String getDispatchTaskExecutorType()
getDispatchTaskExecutorType
in interface DispatchTriggerModel
public java.lang.String getDispatchTaskSettings()
getDispatchTaskSettings
in interface DispatchTriggerModel
public com.liferay.portal.kernel.util.UnicodeProperties getDispatchTaskSettingsUnicodeProperties()
getDispatchTaskSettingsUnicodeProperties
in interface DispatchTrigger
public DispatchTaskStatus getDispatchTaskStatus()
getDispatchTaskStatus
in interface DispatchTrigger
public long getDispatchTriggerId()
getDispatchTriggerId
in interface DispatchTriggerModel
public java.util.Date getEndDate()
getEndDate
in interface DispatchTriggerModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface DispatchTriggerModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
public long getMvccVersion()
getMvccVersion
in interface DispatchTriggerModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface DispatchTriggerModel
public java.util.Date getNextFireDate()
getNextFireDate
in interface DispatchTrigger
public boolean getOverlapAllowed()
getOverlapAllowed
in interface DispatchTriggerModel
public long getPrimaryKey()
getPrimaryKey
in interface DispatchTriggerModel
public java.util.Date getStartDate()
getStartDate
in interface DispatchTriggerModel
public boolean getSystem()
getSystem
in interface DispatchTriggerModel
public long getUserId()
getUserId
in interface DispatchTriggerModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface DispatchTriggerModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface DispatchTriggerModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public boolean isActive()
true
if this dispatch trigger is active.isActive
in interface DispatchTriggerModel
true
if this dispatch trigger is active; false
otherwisepublic boolean isOverlapAllowed()
true
if this dispatch trigger is overlap allowed.isOverlapAllowed
in interface DispatchTriggerModel
true
if this dispatch trigger is overlap allowed; false
otherwisepublic boolean isSystem()
true
if this dispatch trigger is system.isSystem
in interface DispatchTriggerModel
true
if this dispatch trigger is system; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setActive(boolean active)
setActive
in interface DispatchTriggerModel
active
- the active of this dispatch triggerpublic void setCompanyId(long companyId)
setCompanyId
in interface DispatchTriggerModel
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 triggerpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface DispatchTriggerModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
createDate
- the create date of this dispatch triggerpublic void setCronExpression(java.lang.String cronExpression)
setCronExpression
in interface DispatchTriggerModel
cronExpression
- the cron expression of this dispatch triggerpublic void setDispatchTaskClusterMode(int dispatchTaskClusterMode)
setDispatchTaskClusterMode
in interface DispatchTriggerModel
dispatchTaskClusterMode
- the dispatch task cluster mode of this dispatch triggerpublic void setDispatchTaskExecutorType(java.lang.String dispatchTaskExecutorType)
setDispatchTaskExecutorType
in interface DispatchTriggerModel
dispatchTaskExecutorType
- the dispatch task executor type of this dispatch triggerpublic void setDispatchTaskSettings(java.lang.String dispatchTaskSettings)
setDispatchTaskSettings
in interface DispatchTriggerModel
dispatchTaskSettings
- the dispatch task settings of this dispatch triggerpublic void setDispatchTaskSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties)
setDispatchTaskSettingsUnicodeProperties
in interface DispatchTrigger
public void setDispatchTriggerId(long dispatchTriggerId)
setDispatchTriggerId
in interface DispatchTriggerModel
dispatchTriggerId
- the dispatch trigger ID of this dispatch triggerpublic void setEndDate(java.util.Date endDate)
setEndDate
in interface DispatchTriggerModel
endDate
- the end date of this dispatch triggerpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface DispatchTriggerModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
modifiedDate
- the modified date of this dispatch triggerpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface DispatchTriggerModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this dispatch triggerpublic void setName(java.lang.String name)
setName
in interface DispatchTriggerModel
name
- the name of this dispatch triggerpublic void setOverlapAllowed(boolean overlapAllowed)
setOverlapAllowed
in interface DispatchTriggerModel
overlapAllowed
- the overlap allowed of this dispatch triggerpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface DispatchTriggerModel
primaryKey
- the primary key of this dispatch triggerpublic void setStartDate(java.util.Date startDate)
setStartDate
in interface DispatchTriggerModel
startDate
- the start date of this dispatch triggerpublic void setSystem(boolean system)
setSystem
in interface DispatchTriggerModel
system
- the system of this dispatch triggerpublic void setUserId(long userId)
setUserId
in interface DispatchTriggerModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this dispatch triggerpublic void setUserName(java.lang.String userName)
setUserName
in interface DispatchTriggerModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this dispatch triggerpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface DispatchTriggerModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this dispatch triggerprotected DispatchTriggerWrapper wrap(DispatchTrigger dispatchTrigger)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DispatchTrigger>