Class DispatchTriggerWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DispatchTrigger>
com.liferay.dispatch.model.DispatchTriggerWrapper
All Implemented Interfaces:
DispatchTrigger, DispatchTriggerModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<DispatchTrigger>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<DispatchTrigger>

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.

See Also:
Generated:
  • Constructor Details

    • DispatchTriggerWrapper

      public DispatchTriggerWrapper(DispatchTrigger dispatchTrigger)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
    • cloneWithOriginalValues

      public DispatchTrigger cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DispatchTrigger>
      Specified by:
      cloneWithOriginalValues in interface DispatchTriggerModel
    • getActive

      public boolean getActive()
      Returns the active of this dispatch trigger.
      Specified by:
      getActive in interface DispatchTriggerModel
      Returns:
      the active of this dispatch trigger
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this dispatch trigger.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface DispatchTriggerModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this dispatch trigger
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this dispatch trigger.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface DispatchTriggerModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this dispatch trigger
    • getCronExpression

      public String getCronExpression()
      Returns the cron expression of this dispatch trigger.
      Specified by:
      getCronExpression in interface DispatchTriggerModel
      Returns:
      the cron expression of this dispatch trigger
    • getDispatchTaskClusterMode

      public int getDispatchTaskClusterMode()
      Returns the dispatch task cluster mode of this dispatch trigger.
      Specified by:
      getDispatchTaskClusterMode in interface DispatchTriggerModel
      Returns:
      the dispatch task cluster mode of this dispatch trigger
    • getDispatchTaskExecutorType

      public String getDispatchTaskExecutorType()
      Returns the dispatch task executor type of this dispatch trigger.
      Specified by:
      getDispatchTaskExecutorType in interface DispatchTriggerModel
      Returns:
      the dispatch task executor type of this dispatch trigger
    • getDispatchTaskSettings

      public String getDispatchTaskSettings()
      Returns the dispatch task settings of this dispatch trigger.
      Specified by:
      getDispatchTaskSettings in interface DispatchTriggerModel
      Returns:
      the dispatch task settings of this dispatch trigger
    • getDispatchTaskSettingsUnicodeProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getDispatchTaskSettingsUnicodeProperties()
      Specified by:
      getDispatchTaskSettingsUnicodeProperties in interface DispatchTrigger
    • getDispatchTaskStatus

      public DispatchTaskStatus getDispatchTaskStatus()
      Specified by:
      getDispatchTaskStatus in interface DispatchTrigger
    • getDispatchTriggerId

      public long getDispatchTriggerId()
      Returns the dispatch trigger ID of this dispatch trigger.
      Specified by:
      getDispatchTriggerId in interface DispatchTriggerModel
      Returns:
      the dispatch trigger ID of this dispatch trigger
    • getEndDate

      public Date getEndDate()
      Returns the end date of this dispatch trigger.
      Specified by:
      getEndDate in interface DispatchTriggerModel
      Returns:
      the end date of this dispatch trigger
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this dispatch trigger.
      Specified by:
      getExternalReferenceCode in interface DispatchTriggerModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this dispatch trigger
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this dispatch trigger.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface DispatchTriggerModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this dispatch trigger
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this dispatch trigger.
      Specified by:
      getMvccVersion in interface DispatchTriggerModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this dispatch trigger
    • getName

      public String getName()
      Returns the name of this dispatch trigger.
      Specified by:
      getName in interface DispatchTriggerModel
      Returns:
      the name of this dispatch trigger
    • getNextFireDate

      public Date getNextFireDate()
      Specified by:
      getNextFireDate in interface DispatchTrigger
    • getOverlapAllowed

      public boolean getOverlapAllowed()
      Returns the overlap allowed of this dispatch trigger.
      Specified by:
      getOverlapAllowed in interface DispatchTriggerModel
      Returns:
      the overlap allowed of this dispatch trigger
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this dispatch trigger.
      Specified by:
      getPrimaryKey in interface DispatchTriggerModel
      Returns:
      the primary key of this dispatch trigger
    • getStartDate

      public Date getStartDate()
      Returns the start date of this dispatch trigger.
      Specified by:
      getStartDate in interface DispatchTriggerModel
      Returns:
      the start date of this dispatch trigger
    • getSystem

      public boolean getSystem()
      Returns the system of this dispatch trigger.
      Specified by:
      getSystem in interface DispatchTriggerModel
      Returns:
      the system of this dispatch trigger
    • getTimeZoneEndDate

      public Date getTimeZoneEndDate()
      Specified by:
      getTimeZoneEndDate in interface DispatchTrigger
    • getTimeZoneId

      public String getTimeZoneId()
      Returns the time zone ID of this dispatch trigger.
      Specified by:
      getTimeZoneId in interface DispatchTriggerModel
      Returns:
      the time zone ID of this dispatch trigger
    • getTimeZoneStartDate

      public Date getTimeZoneStartDate()
      Specified by:
      getTimeZoneStartDate in interface DispatchTrigger
    • getUserId

      public long getUserId()
      Returns the user ID of this dispatch trigger.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface DispatchTriggerModel
      Returns:
      the user ID of this dispatch trigger
    • getUserName

      public String getUserName()
      Returns the user name of this dispatch trigger.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface DispatchTriggerModel
      Returns:
      the user name of this dispatch trigger
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this dispatch trigger.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface DispatchTriggerModel
      Returns:
      the user uuid of this dispatch trigger
    • getUuid

      public String getUuid()
      Returns the uuid of this dispatch trigger.
      Specified by:
      getUuid in interface DispatchTriggerModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this dispatch trigger
    • isActive

      public boolean isActive()
      Returns true if this dispatch trigger is active.
      Specified by:
      isActive in interface DispatchTriggerModel
      Returns:
      true if this dispatch trigger is active; false otherwise
    • isOverlapAllowed

      public boolean isOverlapAllowed()
      Returns true if this dispatch trigger is overlap allowed.
      Specified by:
      isOverlapAllowed in interface DispatchTriggerModel
      Returns:
      true if this dispatch trigger is overlap allowed; false otherwise
    • isSystem

      public boolean isSystem()
      Returns true if this dispatch trigger is system.
      Specified by:
      isSystem in interface DispatchTriggerModel
      Returns:
      true if this dispatch trigger is system; false otherwise
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setActive

      public void setActive(boolean active)
      Sets whether this dispatch trigger is active.
      Specified by:
      setActive in interface DispatchTriggerModel
      Parameters:
      active - the active of this dispatch trigger
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this dispatch trigger.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface DispatchTriggerModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this dispatch trigger
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this dispatch trigger.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface DispatchTriggerModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this dispatch trigger
    • setCronExpression

      public void setCronExpression(String cronExpression)
      Sets the cron expression of this dispatch trigger.
      Specified by:
      setCronExpression in interface DispatchTriggerModel
      Parameters:
      cronExpression - the cron expression of this dispatch trigger
    • setDispatchTaskClusterMode

      public void setDispatchTaskClusterMode(int dispatchTaskClusterMode)
      Sets the dispatch task cluster mode of this dispatch trigger.
      Specified by:
      setDispatchTaskClusterMode in interface DispatchTriggerModel
      Parameters:
      dispatchTaskClusterMode - the dispatch task cluster mode of this dispatch trigger
    • setDispatchTaskExecutorType

      public void setDispatchTaskExecutorType(String dispatchTaskExecutorType)
      Sets the dispatch task executor type of this dispatch trigger.
      Specified by:
      setDispatchTaskExecutorType in interface DispatchTriggerModel
      Parameters:
      dispatchTaskExecutorType - the dispatch task executor type of this dispatch trigger
    • setDispatchTaskSettings

      public void setDispatchTaskSettings(String dispatchTaskSettings)
      Sets the dispatch task settings of this dispatch trigger.
      Specified by:
      setDispatchTaskSettings in interface DispatchTriggerModel
      Parameters:
      dispatchTaskSettings - the dispatch task settings of this dispatch trigger
    • setDispatchTaskSettingsUnicodeProperties

      public void setDispatchTaskSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties dispatchTaskSettingsUnicodeProperties)
      Specified by:
      setDispatchTaskSettingsUnicodeProperties in interface DispatchTrigger
    • setDispatchTriggerId

      public void setDispatchTriggerId(long dispatchTriggerId)
      Sets the dispatch trigger ID of this dispatch trigger.
      Specified by:
      setDispatchTriggerId in interface DispatchTriggerModel
      Parameters:
      dispatchTriggerId - the dispatch trigger ID of this dispatch trigger
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the end date of this dispatch trigger.
      Specified by:
      setEndDate in interface DispatchTriggerModel
      Parameters:
      endDate - the end date of this dispatch trigger
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this dispatch trigger.
      Specified by:
      setExternalReferenceCode in interface DispatchTriggerModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this dispatch trigger
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this dispatch trigger.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface DispatchTriggerModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this dispatch trigger
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this dispatch trigger.
      Specified by:
      setMvccVersion in interface DispatchTriggerModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this dispatch trigger
    • setName

      public void setName(String name)
      Sets the name of this dispatch trigger.
      Specified by:
      setName in interface DispatchTriggerModel
      Parameters:
      name - the name of this dispatch trigger
    • setOverlapAllowed

      public void setOverlapAllowed(boolean overlapAllowed)
      Sets whether this dispatch trigger is overlap allowed.
      Specified by:
      setOverlapAllowed in interface DispatchTriggerModel
      Parameters:
      overlapAllowed - the overlap allowed of this dispatch trigger
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this dispatch trigger.
      Specified by:
      setPrimaryKey in interface DispatchTriggerModel
      Parameters:
      primaryKey - the primary key of this dispatch trigger
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the start date of this dispatch trigger.
      Specified by:
      setStartDate in interface DispatchTriggerModel
      Parameters:
      startDate - the start date of this dispatch trigger
    • setSystem

      public void setSystem(boolean system)
      Sets whether this dispatch trigger is system.
      Specified by:
      setSystem in interface DispatchTriggerModel
      Parameters:
      system - the system of this dispatch trigger
    • setTimeZoneId

      public void setTimeZoneId(String timeZoneId)
      Sets the time zone ID of this dispatch trigger.
      Specified by:
      setTimeZoneId in interface DispatchTriggerModel
      Parameters:
      timeZoneId - the time zone ID of this dispatch trigger
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this dispatch trigger.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface DispatchTriggerModel
      Parameters:
      userId - the user ID of this dispatch trigger
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this dispatch trigger.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface DispatchTriggerModel
      Parameters:
      userName - the user name of this dispatch trigger
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this dispatch trigger.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface DispatchTriggerModel
      Parameters:
      userUuid - the user uuid of this dispatch trigger
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this dispatch trigger.
      Specified by:
      setUuid in interface DispatchTriggerModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this dispatch trigger
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface DispatchTriggerModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected DispatchTriggerWrapper wrap(DispatchTrigger dispatchTrigger)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DispatchTrigger>