Class AbstractGlobalWorkflowTimer

    • Constructor Detail

      • AbstractGlobalWorkflowTimer

        public AbstractGlobalWorkflowTimer​(String p_strGuid)
        Parameters:
        p_strGuid - The timer GUID.
    • Method Detail

      • getGuid

        public String getGuid()
        Description copied from interface: IWorkflowObject
        Get the GUID of this workflow object.

        Note: implementors must ensure that this is never null.

        Specified by:
        getGuid in interface IWorkflowObject
        Returns:
        The GUID of this workflow object
      • getWorkflow

        public de.uplanet.lucy.server.workflow.IWorkflow getWorkflow()
        Description copied from interface: INeedWorkflow
        Get the workflow this object belongs to.
        Specified by:
        getWorkflow in interface INeedWorkflow
        Returns:
        The workflow this object belongs to.
      • setWorkflow

        public void setWorkflow​(de.uplanet.lucy.server.workflow.IWorkflow p_wf)
        Description copied from interface: INeedWorkflow
        Set the workflow this object belongs to.
        Specified by:
        setWorkflow in interface INeedWorkflow
        Parameters:
        p_wf - The workflow this object belongs to.
      • getBeginTime

        public Date getBeginTime()
        Get the lower bound of the time interval, wherein the rules are valid.
        Returns:
        The lower bound of the time interval, wherein the rules are valid.
      • setBeginTime

        public void setBeginTime​(Date p_dtBegin)
        Set the lower bound of the time interval, wherein the rules are valid.
        Parameters:
        p_dtBegin - The lower bound of the time interval, wherein the rules are valid.
      • getEndTime

        public Date getEndTime()
        Get the upper bound of the time interval, wherein the rules are valid.
        Returns:
        The upper bound of the time interval, wherein the rules are valid.
      • setEndTime

        public void setEndTime​(Date p_dtEnd)
        Set the upper bound of the time interval, wherein the rules are valid.
        Parameters:
        p_dtEnd - The upper bound of the time interval, wherein the rules are valid, or null if no upper bound exists.
      • getRulesTimeZone

        public String getRulesTimeZone()
        Get the time zone used by this rules.
        Returns:
        The time zone.
      • setRulesTimeZone

        public void setRulesTimeZone​(String p_strTimeZone)
        Set the time zone used by this rules.
        Parameters:
        p_strTimeZone - The time zone.
      • getRules

        public List<String> getRules()
        Get the rules for this timer.

        Note: To make Spring happy, this method returns a reference to the internal list that holds the rules. This breaks proper encapsulation, so beware of modifying the returned list.

        Returns:
        The rules for this timer.
      • setRules

        public void setRules​(List<String> p_rules)
        Get the rules for this timer.
        Parameters:
        p_rules - The rules for this timer.
      • isTriggerOverdueTimer

        public boolean isTriggerOverdueTimer()
        This flag indicates if overdue timers should be triggered or not.
        Returns:
        true if overdue timers should be triggered, or false otherwise.
      • setTriggerOverdueTimer

        public void setTriggerOverdueTimer​(boolean p_bTriggerOverdueTimer)
        This flag indicates if overdue timers should be triggered or not.
        Parameters:
        p_bTriggerOverdueTimer - true if overdue timers should be triggered, or false otherwise.
      • hasImpersonateUserGuid

        public boolean hasImpersonateUserGuid()
        Check if this timer has an impersonation user.
        Specified by:
        hasImpersonateUserGuid in interface de.uplanet.lucy.server.workflow.IImpersonateUser
        Returns:
        true if this timer has an impersonation user, or false otherwise.
      • getImpersonateUserGuid

        public String getImpersonateUserGuid()
        Get this timer's impersonation user.
        Specified by:
        getImpersonateUserGuid in interface de.uplanet.lucy.server.workflow.IImpersonateUser
        Returns:
        This timer's impersonation user, or null.
      • setImpersonateUserGuid

        public void setImpersonateUserGuid​(String p_impersonateUserGuid)
        Set this timer's impersonation user.
        Specified by:
        setImpersonateUserGuid in interface de.uplanet.lucy.server.workflow.IImpersonateUser
        Parameters:
        p_impersonateUserGuid - This GUID of this timer's impersonation user.
      • getInitialSharedState

        public Map<String,​Object> getInitialSharedState()
        Get the initial shared state of this timer.
        Returns:
        The initial shared state of this timer, or null.
      • setInitialSharedState

        public void setInitialSharedState​(Map<String,​Object> p_initialSharedState)
        Set initial shared state of this timer.
        Parameters:
        p_initialSharedState - The initial shared state.