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 TypeMethodDescriptioncreate(PartitionResource partitionResource) Creates PartitionResource as in the parameter NOTE: this is a mutative method.voiddelete(long partitionResourceId) Deletes an existing PartitionResourceupdate(PartitionResource partitionResource) Updates an existing PartitionResource to the new values as in the parameter NOTE: this is a mutative method.
-
Method Details
-
create
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
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
-