Interface PartitionResourceInfoService
-
- All Superinterfaces:
Queryable<PartitionResourceInformation,cern.nxcals.api.extraction.metadata.queries.PartitionResourceInformations>
- All Known Implementing Classes:
PartitionResourceInfoProvider
public interface PartitionResourceInfoService extends Queryable<PartitionResourceInformation,cern.nxcals.api.extraction.metadata.queries.PartitionResourceInformations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionResourceInformation
create(PartitionResourceInformation partitionResourceInfo)
Creates PartitionResourceInformation as in the parameter NOTE: this is a mutative method.void
delete(long partitionResourceInfoId)
Deletes an existing PartitionResourceInformationPartitionResourceInformation
update(PartitionResourceInformation partitionResourceInfo)
Updates an existing PartitionResourceInformation to the new values as in the parameter NOTE: this is a mutative method.
-
-
-
Method Detail
-
create
PartitionResourceInformation create(PartitionResourceInformation partitionResourceInfo)
Creates PartitionResourceInformation 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 PartitionResourceInformation
-
update
PartitionResourceInformation update(PartitionResourceInformation partitionResourceInfo)
Updates an existing PartitionResourceInformation 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 PartitionResourceInformation- Parameters:
partitionResourceInfoId
- the id of the PartitionResourceInfo to be deleted
-
-