Class PartitionResourceHistoryProvider
java.lang.Object
cern.nxcals.api.extraction.metadata.AbstractProvider<PartitionResourceHistory,PartitionResourceHistoryClient,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
cern.nxcals.api.extraction.metadata.PartitionResourceHistoryProvider
- All Implemented Interfaces:
PartitionResourceHistoryService,Queryable<PartitionResourceHistory,,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories> cern.nxcals.internal.extraction.metadata.InternalPartitionResourceHistoryService
public class PartitionResourceHistoryProvider
extends AbstractProvider<PartitionResourceHistory,PartitionResourceHistoryClient,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
implements cern.nxcals.internal.extraction.metadata.InternalPartitionResourceHistoryService
-
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 PartitionResourceHistoryfindById(long id) update(PartitionResourceHistory partitionResourceInfo) Updates an existing PartitionResourceHistory to the new values as in the parameter NOTE: this is a mutative method.Methods inherited from class cern.nxcals.api.extraction.metadata.AbstractProvider
findAll, findOne, getCache, validate
-
Method Details
-
findById
- Specified by:
findByIdin interfaceQueryable<PartitionResourceHistory,cern.nxcals.api.extraction.metadata.queries.PartitionResourceHistories>
-
create
Description copied from interface:PartitionResourceHistoryServiceCreates PartitionResourceHistory as in the parameter NOTE: this is a mutative method. It is not thread-safe or meant to be used in parallel- Specified by:
createin interfacePartitionResourceHistoryService- Parameters:
partitionResourceInfo- to be created- Returns:
- Created PartitionResourceHistory
-
update
Description copied from interface:PartitionResourceHistoryServiceUpdates 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- Specified by:
updatein interfacePartitionResourceHistoryService- Parameters:
partitionResourceInfo- to be updated- Returns:
- Updated PartitionResource
-
delete
public void delete(long partitionResourceInfoId) Description copied from interface:PartitionResourceHistoryServiceDeletes an existing PartitionResourceHistory- Specified by:
deletein interfacePartitionResourceHistoryService- Parameters:
partitionResourceInfoId- the id of the PartitionResourceInfo to be deleted
-