public interface OMRSCohortRegistryStore
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllRegistrations()
Remove the local and remote registrations from the cohort registry store since the local server has
unregistered from the cohort.
|
void |
close()
Flush all changes and close the registry store.
|
void |
removeLocalRegistration()
Remove details of the local registration from the cohort registry store.
|
void |
removeRemoteRegistration(String metadataCollectionId)
Remove details of the requested remote repository's registration from the store.
|
MemberRegistration |
retrieveLocalRegistration()
Retrieve details of the local registration from the cohort registry store.
|
MemberRegistration |
retrieveRemoteRegistration(String metadataCollectionId)
Return the registration information for a specific metadata repository, identified by its repository's
metadata collection Id.
|
List<MemberRegistration> |
retrieveRemoteRegistrations()
Return a list of all of the remote metadata repositories registered in the metadata repository cohort.
|
void |
saveLocalRegistration(MemberRegistration localRegistration)
Save the local registration to the cohort registry store.
|
void |
saveRemoteRegistration(MemberRegistration remoteRegistration)
Save details of a remote registration.
|
void saveLocalRegistration(MemberRegistration localRegistration)
localRegistration - details of the local repository's registration with the metadata cohort.MemberRegistration retrieveLocalRegistration()
void removeLocalRegistration()
void saveRemoteRegistration(MemberRegistration remoteRegistration)
remoteRegistration - details of a remote repository in the metadata repository cohort.List<MemberRegistration> retrieveRemoteRegistrations()
MemberRegistration retrieveRemoteRegistration(String metadataCollectionId)
metadataCollectionId - unique identifier for the repository's metadata collection.void removeRemoteRegistration(String metadataCollectionId)
metadataCollectionId - unique identifier for the repository's metadata collectionvoid clearAllRegistrations()
void close()
Copyright © 2018–2019 ODPi. All rights reserved.