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 Summary

    Modifier and Type
    Method
    Description
    create(PartitionResource partitionResource)
    Creates PartitionResource as in the parameter NOTE: this is a mutative method.
    void
    delete(long partitionResourceId)
    Deletes an existing PartitionResource
    update(PartitionResource partitionResource)
    Updates an existing PartitionResource to the new values as in the parameter NOTE: this is a mutative method.

    Methods inherited from interface cern.nxcals.api.extraction.metadata.Queryable

    findAll, findById, findOne
  • Method Details

    • 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