Class DeleteNamedOperationHandler

    • Constructor Detail

      • DeleteNamedOperationHandler

        public DeleteNamedOperationHandler​(String suffixNamedOperationCacheName)
      • DeleteNamedOperationHandler

        public DeleteNamedOperationHandler​(NamedOperationCache cache)
    • Method Detail

      • getSuffixCacheName

        public String getSuffixCacheName()
      • doOperation

        public Void doOperation​(DeleteNamedOperation operation,
                                Context context,
                                Store store)
                         throws OperationException
        Deletes a NamedOperation from the cache specified in the Operations Declarations file (assuming the user has write privileges on the specified NamedOperation). The user needs only to provide the name of the operation they want to delete.
        Specified by:
        doOperation in interface OperationHandler<DeleteNamedOperation>
        Parameters:
        operation - the Operation to be executed
        context - the operation chain context, containing the user who executed the operation
        store - the Store the operation should be run on
        Returns:
        null (as output of this operation is void)
        Throws:
        OperationException - thrown if the user doesn't have permission to delete the NamedOperation