Interface AnyObjectWorkflowAdapter

    • Method Detail

      • create

        WorkflowResult<String> create​(AnyObjectCR anyObjectCR,
                                      String creator,
                                      String context)
        Create an anyObject.
        Parameters:
        anyObjectCR - anyObject to be created and whether to propagate it as active
        creator - username that requested this operation
        context - context information
        Returns:
        anyObject just created
      • update

        WorkflowResult<AnyObjectUR> update​(AnyObjectUR anyObjectUR,
                                           String updater,
                                           String context)
        Update an anyObject.
        Parameters:
        anyObjectUR - modification set to be performed
        updater - username that requested this operation
        context - context information
        Returns:
        anyObject just updated and propagations to be performed
      • delete

        void delete​(String anyObjectKey,
                    String eraser,
                    String context)
        Delete an anyObject.
        Parameters:
        anyObjectKey - anyObject to be deleted
        eraser - username that requested this operation
        context - context information