Klasse AbstractGlobalWorkflowTimer
java.lang.Object
de.uplanet.lucy.server.workflow.timer.AbstractGlobalWorkflowTimer
- Alle implementierten Schnittstellen:
IActivatableWorkflowObject,de.uplanet.lucy.server.workflow.IImpersonateUser,INamedWorkflowObject,INeedWorkflow,IWorkflowEventSource,IWorkflowObject,IWorkflowTimer,Serializable
- Bekannte direkte Unterklassen:
AbstractGlobalMultiEventWorkflowTimer,GlobalWorkflowTimer
public abstract class AbstractGlobalWorkflowTimer
extends Object
implements IWorkflowTimer, INamedWorkflowObject, INeedWorkflow, de.uplanet.lucy.server.workflow.IImpersonateUser
- Siehe auch:
-
Feldübersicht
Von Schnittstelle geerbte Felder de.uplanet.lucy.server.workflow.IWorkflowObject
GUID_COMPARATOR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the lower bound of the time interval, wherein the rules are valid.Get the upper bound of the time interval, wherein the rules are valid.getGuid()Get the GUID of this workflow object.Get this timer's impersonation user.Get the initial shared state of this timer.getName()Get the name of the workflow object.getRules()Get the rules for this timer.Get the time zone used by this rules.de.uplanet.lucy.server.workflow.IWorkflowGet the workflow this object belongs to.booleanCheck if this timer has an impersonation user.booleanisActive()Check if this workflow object is active or inactive.booleanThis flag indicates if overdue timers should be triggered or not.voidsetActive(boolean p_bActive) Set this workflow object active or inactive.voidsetBeginTime(Date p_dtBegin) Set the lower bound of the time interval, wherein the rules are valid.voidsetEndTime(Date p_dtEnd) Set the upper bound of the time interval, wherein the rules are valid.voidsetImpersonateUserGuid(String p_impersonateUserGuid) Set this timer's impersonation user.voidsetInitialSharedState(Map<String, Object> p_initialSharedState) Set initial shared state of this timer.voidSet the name of the workflow object.voidGet the rules for this timer.voidsetRulesTimeZone(String p_strTimeZone) Set the time zone used by this rules.voidsetTriggerOverdueTimer(boolean p_bTriggerOverdueTimer) This flag indicates if overdue timers should be triggered or not.voidsetWorkflow(de.uplanet.lucy.server.workflow.IWorkflow p_wf) Set the workflow this object belongs to.
-
Konstruktordetails
-
AbstractGlobalWorkflowTimer
- Parameter:
p_strGuid- The timer GUID.
-
-
Methodendetails
-
getGuid
Beschreibung aus Schnittstelle kopiert:IWorkflowObjectGet the GUID of this workflow object.Note: implementors must ensure that this is never
null.- Angegeben von:
getGuidin SchnittstelleIWorkflowObject- Gibt zurück:
- The GUID of this workflow object
-
isActive
public boolean isActive()Beschreibung aus Schnittstelle kopiert:IActivatableWorkflowObjectCheck if this workflow object is active or inactive.- Angegeben von:
isActivein SchnittstelleIActivatableWorkflowObject- Angegeben von:
isActivein SchnittstelleIWorkflowEventSource- Gibt zurück:
- The activation state of this workflow object.
-
setActive
public void setActive(boolean p_bActive) Beschreibung aus Schnittstelle kopiert:IActivatableWorkflowObjectSet this workflow object active or inactive.- Angegeben von:
setActivein SchnittstelleIActivatableWorkflowObject- Angegeben von:
setActivein SchnittstelleIWorkflowEventSource- Parameter:
p_bActive- The new activation state to be set.
-
getName
Beschreibung aus Schnittstelle kopiert:INamedWorkflowObjectGet the name of the workflow object.- Angegeben von:
getNamein SchnittstelleINamedWorkflowObject- Gibt zurück:
- The name of the workflow object.
-
setName
Beschreibung aus Schnittstelle kopiert:INamedWorkflowObjectSet the name of the workflow object.- Angegeben von:
setNamein SchnittstelleINamedWorkflowObject- Parameter:
p_strName- The name of the workflow object.
-
getWorkflow
public de.uplanet.lucy.server.workflow.IWorkflow getWorkflow()Beschreibung aus Schnittstelle kopiert:INeedWorkflowGet the workflow this object belongs to.- Angegeben von:
getWorkflowin SchnittstelleINeedWorkflow- Gibt zurück:
- The workflow this object belongs to.
-
setWorkflow
public void setWorkflow(de.uplanet.lucy.server.workflow.IWorkflow p_wf) Beschreibung aus Schnittstelle kopiert:INeedWorkflowSet the workflow this object belongs to.- Angegeben von:
setWorkflowin SchnittstelleINeedWorkflow- Parameter:
p_wf- The workflow this object belongs to.
-
getBeginTime
Get the lower bound of the time interval, wherein the rules are valid.- Gibt zurück:
- The lower bound of the time interval, wherein the rules are valid.
-
setBeginTime
Set the lower bound of the time interval, wherein the rules are valid.- Parameter:
p_dtBegin- The lower bound of the time interval, wherein the rules are valid.
-
getEndTime
Get the upper bound of the time interval, wherein the rules are valid.- Gibt zurück:
- The upper bound of the time interval, wherein the rules are valid.
-
setEndTime
Set the upper bound of the time interval, wherein the rules are valid.- Parameter:
p_dtEnd- The upper bound of the time interval, wherein the rules are valid, ornullif no upper bound exists.
-
getRulesTimeZone
Get the time zone used by this rules.- Gibt zurück:
- The time zone.
-
setRulesTimeZone
Set the time zone used by this rules.- Parameter:
p_strTimeZone- The time zone.
-
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.
- Gibt zurück:
- The rules for this timer.
-
setRules
Get the rules for this timer.- Parameter:
p_rules- The rules for this timer.
-
isTriggerOverdueTimer
public boolean isTriggerOverdueTimer()This flag indicates if overdue timers should be triggered or not.- Gibt zurück:
trueif overdue timers should be triggered, orfalseotherwise.
-
setTriggerOverdueTimer
public void setTriggerOverdueTimer(boolean p_bTriggerOverdueTimer) This flag indicates if overdue timers should be triggered or not.- Parameter:
p_bTriggerOverdueTimer-trueif overdue timers should be triggered, orfalseotherwise.
-
hasImpersonateUserGuid
public boolean hasImpersonateUserGuid()Check if this timer has an impersonation user.- Angegeben von:
hasImpersonateUserGuidin Schnittstellede.uplanet.lucy.server.workflow.IImpersonateUser- Gibt zurück:
trueif this timer has an impersonation user, orfalseotherwise.
-
getImpersonateUserGuid
Get this timer's impersonation user.- Angegeben von:
getImpersonateUserGuidin Schnittstellede.uplanet.lucy.server.workflow.IImpersonateUser- Gibt zurück:
- This timer's impersonation user, or
null.
-
setImpersonateUserGuid
Set this timer's impersonation user.- Angegeben von:
setImpersonateUserGuidin Schnittstellede.uplanet.lucy.server.workflow.IImpersonateUser- Parameter:
p_impersonateUserGuid- This GUID of this timer's impersonation user.
-