Package ca.uhn.fhir.jpa.partition
Interface IPartitionLookupSvc
- All Known Implementing Classes:
PartitionLookupSvcImpl
public interface IPartitionLookupSvc
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPartition
(PartitionEntity thePartition) void
deletePartition
(Integer thePartitionId) getPartitionById
(Integer theId) getPartitionByName
(String theName) void
start()
This is mostly here for unit test purposes.updatePartition
(PartitionEntity thePartition)
-
Method Details
-
start
void start()This is mostly here for unit test purposes. Regular code is not expected to call this method directly. -
getPartitionByName
@Nullable PartitionEntity getPartitionByName(String theName) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException - Throws:
ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
- If the name is not known
-
getPartitionById
PartitionEntity getPartitionById(Integer theId) throws ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException - Throws:
ca.uhn.fhir.rest.server.exceptions.ResourceNotFoundException
- If the ID is not known
-
clearCaches
void clearCaches() -
createPartition
-
updatePartition
-
deletePartition
-
listPartitions
-