Interface PartitionResourceService

  • All Superinterfaces:
    Queryable<PartitionResource,​cern.nxcals.api.extraction.metadata.queries.PartitionResources>

    public interface PartitionResourceService
    extends Queryable<PartitionResource,​cern.nxcals.api.extraction.metadata.queries.PartitionResources>
    • Method Detail

      • create

        PartitionResource create​(PartitionResource partitionResource)
        Creates PartitionResource as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
        Parameters:
        partitionResource - to be created
        Returns:
        Created PartitionResource
      • update

        PartitionResource update​(PartitionResource partitionResource)
        Updates an existing PartitionResource to the new values as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel
        Parameters:
        partitionResource - to be updated
        Returns:
        Updated PartitionResource
      • delete

        void delete​(long partitionResourceId)
        Deletes an existing PartitionResource
        Parameters:
        partitionResourceId - the id of the PartitionResource to be deleted