Interface ProvenanceAuthorizableFactory


public interface ProvenanceAuthorizableFactory
  • Method Details

    • createLocalDataAuthorizable

      Authorizable createLocalDataAuthorizable(String componentId)
      Generates an Authorizable object for the Data of the component with the given ID. This includes provenance data and queue's on outgoing relationships.
      Parameters:
      componentId - the ID of the component to which the Data belongs
      Returns:
      the Authorizable that can be use to authorize access to provenance events
      Throws:
      ResourceNotFoundException - if no component can be found with the given ID
    • createRemoteDataAuthorizable

      Authorizable createRemoteDataAuthorizable(String remoteGroupPortId)
      Generates an Authorizable object for the Data of the remote group port with the given ID.
      Parameters:
      remoteGroupPortId - the ID of the remote group port to which the data belongs
      Returns:
      the Authorizable that can be used to authorize access to provenance events
      Throws:
      ResourceNotFoundException - if no component can be found with the given ID
    • createProvenanceDataAuthorizable

      Authorizable createProvenanceDataAuthorizable(String componentId)
      Generates an Authorizable object for the Provenance Data of the component with the given ID.
      Parameters:
      componentId - the ID of the component to which the Data belongs
      Returns:
      the Authorizable that can be use to authorize access to provenance events
      Throws:
      ResourceNotFoundException - if no component can be found with the given ID