Klasse AbstractWorkflowEventSource

java.lang.Object
de.uplanet.lucy.server.workflow.eventsource.AbstractWorkflowEventSource
Alle implementierten Schnittstellen:
IActivatableWorkflowObject, de.uplanet.lucy.server.workflow.IImpersonateUser, INamedWorkflowObject, INeedWorkflow, IWorkflowEventSource, IWorkflowObject, Serializable
Bekannte direkte Unterklassen:
AbstractSingleThreadedWorkflowEventSource

public abstract class AbstractWorkflowEventSource extends Object implements IWorkflowEventSource, INamedWorkflowObject, INeedWorkflow, de.uplanet.lucy.server.workflow.IImpersonateUser
This event source base class provides the ability to create events in an impersonated thread context.
Siehe auch:
  • Konstruktordetails

    • AbstractWorkflowEventSource

      public AbstractWorkflowEventSource(String p_strGuid)
      Create an AbstractWorkflowEventSource.
      Parameter:
      p_strGuid - The GUID of the workflow event source.
      Löst aus:
      IllegalArgumentException - If the GUID parameter is null or if it does not represent a valid GUID.
  • Methodendetails

    • getGuid

      public String getGuid()
      Beschreibung aus Schnittstelle kopiert: IWorkflowObject
      Get the GUID of this workflow object.

      Note: implementors must ensure that this is never null.

      Angegeben von:
      getGuid in Schnittstelle IWorkflowObject
      Gibt zurück:
      The GUID of this workflow object
    • isActive

      public boolean isActive()
      Beschreibung aus Schnittstelle kopiert: IActivatableWorkflowObject
      Check if this workflow object is active or inactive.
      Angegeben von:
      isActive in Schnittstelle IActivatableWorkflowObject
      Angegeben von:
      isActive in Schnittstelle IWorkflowEventSource
      Gibt zurück:
      The activation state of this workflow object.
    • setActive

      public void setActive(boolean p_bActive)
      Beschreibung aus Schnittstelle kopiert: IActivatableWorkflowObject
      Set this workflow object active or inactive.
      Angegeben von:
      setActive in Schnittstelle IActivatableWorkflowObject
      Angegeben von:
      setActive in Schnittstelle IWorkflowEventSource
      Parameter:
      p_bActive - The new activation state to be set.
    • getName

      public String getName()
      Beschreibung aus Schnittstelle kopiert: INamedWorkflowObject
      Get the name of the workflow object.
      Angegeben von:
      getName in Schnittstelle INamedWorkflowObject
      Gibt zurück:
      The name of the workflow object.
    • setName

      public void setName(String p_strName)
      Beschreibung aus Schnittstelle kopiert: INamedWorkflowObject
      Set the name of the workflow object.
      Angegeben von:
      setName in Schnittstelle INamedWorkflowObject
      Parameter:
      p_strName - The name of the workflow object.
    • getWorkflow

      public de.uplanet.lucy.server.workflow.IWorkflow getWorkflow()
      Beschreibung aus Schnittstelle kopiert: INeedWorkflow
      Get the workflow this object belongs to.
      Angegeben von:
      getWorkflow in Schnittstelle INeedWorkflow
      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: INeedWorkflow
      Set the workflow this object belongs to.
      Angegeben von:
      setWorkflow in Schnittstelle INeedWorkflow
      Parameter:
      p_wf - The workflow this object belongs to.
    • hasImpersonateUserGuid

      public boolean hasImpersonateUserGuid()
      Check if this event source has an impersonation user.
      Angegeben von:
      hasImpersonateUserGuid in Schnittstelle de.uplanet.lucy.server.workflow.IImpersonateUser
      Gibt zurück:
      true if this event source has an impersonation user, or false otherwise.
    • getImpersonateUserGuid

      public String getImpersonateUserGuid()
      Get the impersonation user.
      Angegeben von:
      getImpersonateUserGuid in Schnittstelle de.uplanet.lucy.server.workflow.IImpersonateUser
      Gibt zurück:
      TThe impersonation user, or null.
    • setImpersonateUserGuid

      public void setImpersonateUserGuid(String p_strImpersonateUserGuid)
      Set the impersonation user.
      Angegeben von:
      setImpersonateUserGuid in Schnittstelle de.uplanet.lucy.server.workflow.IImpersonateUser
      Parameter:
      p_strImpersonateUserGuid - This GUID of the impersonation user.
    • isRunWithLocalSystemPrivileges

      public boolean isRunWithLocalSystemPrivileges()
      Run impersonated code with local system privileges.

      Default is true.

      Gibt zurück:
      true if impersonated code is run with local system privileges, or false otherwise.
    • setRunWithLocalSystemPrivileges

      public void setRunWithLocalSystemPrivileges(boolean p_bRunWithLocalSystemPrivileges)
      Run impersonated code with local system privileges.

      Default is true.

      Parameter:
      p_bRunWithLocalSystemPrivileges - true if impersonated code should be run with local system privileges, or false otherwise.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object