Interface IProcessingWrapper

    • Method Detail

      • wrapFor

        void wrapFor​(Aktion action)
        Wraps the action and its processing
        Parameters:
        action - Aktion to wrap processing for
      • unwrap

        <T> T unwrap​(Class<T> clazz)
        Unwraps the wrapped processing for the given class and returns it
        Type Parameters:
        T - Type to unrwap to
        Parameters:
        clazz - Class to unwrap for
        Returns:
        unwrapped processing
      • isWrapperFor

        boolean isWrapperFor​(Class<?> clazz)
        Determines whether or not this instance is a wrapper for the given class
        Parameters:
        clazz - Class to check
        Returns:
        true if the wrapped processing is assignable from the given class
      • getTemplateUUID

        String getTemplateUUID()
        Gets the template UUID that may be needed for processing
        Returns:
        String UUID of Textbaustein
      • setTemplateUUID

        void setTemplateUUID​(String templateUUID)
        Sets the template UUID that may be needed for processing
        Parameters:
        templateUUID - String UUID of Textbaustein
      • getResourceUuid

        String getResourceUuid()
        Gets the resource UUID that may be needed for processing
        Returns:
        String UUID of the resource
      • setResourceUuid

        void setResourceUuid​(String uuid)
        Sets the resource UUID that may be needed for processing
        Parameters:
        uuid - String UUID of the resource
      • getResourceUri

        String getResourceUri()
        Gets the resource URI that may be needed for processing
        Returns:
        String URI of the resource
      • setResourceUri

        void setResourceUri​(String uri)
        Sets the resource URI that may be needed for processing
        Parameters:
        uri - String URI of the resource
      • getResourceType

        ERessourcenTyp getResourceType()
        Gets the type of the resource that may be needed for processing
        Returns:
        ERessourcenTyp resource type
      • getStateUUID

        String getStateUUID()
        Gets the UUID of the state that this processing is depending on
        Returns:
        String UUID of the state that this processing is depending on
      • setStateUUID

        void setStateUUID​(String uuid)
        Sets the UUID of the state that this processing is depending on
        Parameters:
        uuid - String UUID of the state that this processing is depending on
      • setActionUUIDs

        void setActionUUIDs​(List<String> uuids)
        Sets the UUIDs of the actions that will be consumed by this action
        Parameters:
        uuids - List of Aktion.getUUID()s
      • getActionUUID

        String getActionUUID()
        Gets the UUID of the action that will be consumed by this action
        Returns:
        Aktion.getUUID()
      • setActionUUID

        void setActionUUID​(String uuid)
        Sets the UUID of the action that will be consumed by this action
        Parameters:
        uuid - Aktion.getUUID()
      • getDbConnectionId

        long getDbConnectionId()
        Returns:
        Long ID of the DB connection used by this action
      • getUploadElements

        List<String> getUploadElements()
        Returns:
        List of upload elements used by this action
      • setUploadElements

        void setUploadElements​(List<String> uploadElements)
        Sets the list of upload elements that should be used by this action
        Parameters:
        uploadElements - List of upload elements
      • isAttachToFormRecord

        boolean isAttachToFormRecord()
        Returns:
        Boolean whether or not files should be attached to the form record
      • setAttachToFormRecord

        void setAttachToFormRecord​(boolean attachToFormRecord)
        Sets whether or not files should be attached to the form record
        Parameters:
        attachToFormRecord - Boolean
      • getPostfachId

        long getPostfachId()
        Returns:
        Long the inbox id being used by this action
      • getPluginClass

        Class<?> getPluginClass​(Mandant client)
      • getParameters

        List<org.json.JSONObject> getParameters()
      • setParameters

        void setParameters​(List<org.json.JSONObject> parameters)
      • getTextbausteinId

        @Deprecated
        long getTextbausteinId()
        Deprecated.
      • getStatusId

        @Deprecated
        long getStatusId()
        Deprecated.
      • getSourceAktionId

        @Deprecated
        long getSourceAktionId()
        Deprecated.
      • setSourceAktionId

        @Deprecated
        void setSourceAktionId​(long sourceAktionId)
        Deprecated.