Package ca.uhn.fhir.jpa.partition
Class PartitionLookupSvcImpl
java.lang.Object
ca.uhn.fhir.jpa.partition.PartitionLookupSvcImpl
- All Implemented Interfaces:
IPartitionLookupSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createPartition
(PartitionEntity thePartition) void
deletePartition
(Integer thePartitionId) getPartitionById
(Integer thePartitionId) getPartitionByName
(String theName) void
start()
This is mostly here for unit test purposes.updatePartition
(PartitionEntity thePartition) static void
validatePartitionIdSupplied
(ca.uhn.fhir.context.FhirContext theFhirContext, Integer thePartitionId)
-
Constructor Details
-
PartitionLookupSvcImpl
public PartitionLookupSvcImpl()Constructor
-
-
Method Details
-
start
Description copied from interface:IPartitionLookupSvc
This is mostly here for unit test purposes. Regular code is not expected to call this method directly.- Specified by:
start
in interfaceIPartitionLookupSvc
-
getPartitionByName
- Specified by:
getPartitionByName
in interfaceIPartitionLookupSvc
-
getPartitionById
- Specified by:
getPartitionById
in interfaceIPartitionLookupSvc
-
clearCaches
- Specified by:
clearCaches
in interfaceIPartitionLookupSvc
-
createPartition
- Specified by:
createPartition
in interfaceIPartitionLookupSvc
-
updatePartition
- Specified by:
updatePartition
in interfaceIPartitionLookupSvc
-
deletePartition
- Specified by:
deletePartition
in interfaceIPartitionLookupSvc
-
listPartitions
- Specified by:
listPartitions
in interfaceIPartitionLookupSvc
-
validatePartitionIdSupplied
public static void validatePartitionIdSupplied(ca.uhn.fhir.context.FhirContext theFhirContext, Integer thePartitionId)
-