Class AbstractWorkflowEventSource

    • Constructor Detail

      • AbstractWorkflowEventSource

        public AbstractWorkflowEventSource​(String p_strGuid)
        Create an AbstractWorkflowEventSource.
        Parameters:
        p_strGuid - The GUID of the workflow event source.
        Throws:
        IllegalArgumentException - If the GUID parameter is null or if it does not represent a valid 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.
      • hasImpersonateUserGuid

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

        public String getImpersonateUserGuid()
        Get the impersonation user.
        Specified by:
        getImpersonateUserGuid in interface de.uplanet.lucy.server.workflow.IImpersonateUser
        Returns:
        TThe impersonation user, or null.
      • setImpersonateUserGuid

        public void setImpersonateUserGuid​(String p_strImpersonateUserGuid)
        Set the impersonation user.
        Specified by:
        setImpersonateUserGuid in interface de.uplanet.lucy.server.workflow.IImpersonateUser
        Parameters:
        p_strImpersonateUserGuid - This GUID of the impersonation user.
      • isRunWithLocalSystemPrivileges

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

        Default is true.

        Returns:
        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.

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