Interface PartitionResourceHistoryService
- All Superinterfaces:
Queryable<PartitionResourceHistory,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
- All Known Implementing Classes:
PartitionResourceHistoryProvider
public interface PartitionResourceHistoryService
extends Queryable<PartitionResourceHistory,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
-
Method Summary
Modifier and TypeMethodDescriptioncreate(PartitionResourceHistory partitionResourceInfo) Creates PartitionResourceHistory as in the parameter NOTE: this is a mutative method.voiddelete(long partitionResourceInfoId) Deletes an existing PartitionResourceHistoryupdate(PartitionResourceHistory partitionResourceInfo) Updates an existing PartitionResourceHistory to the new values as in the parameter NOTE: this is a mutative method.
-
Method Details
-
create
Creates PartitionResourceHistory as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel- Parameters:
partitionResourceInfo- to be created- Returns:
- Created PartitionResourceHistory
-
update
Updates an existing PartitionResourceHistory 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:
partitionResourceInfo- to be updated- Returns:
- Updated PartitionResource
-
delete
void delete(long partitionResourceInfoId) Deletes an existing PartitionResourceHistory- Parameters:
partitionResourceInfoId- the id of the PartitionResourceInfo to be deleted
-