public interface FederationAdminMBean
Modifier and Type | Field and Description |
---|---|
static String |
OBJECT_NAME |
Modifier and Type | Method and Description |
---|---|
List<Service> |
allRegistryInfo() |
Map<String,Object> |
allRegistryMetacards()
Returns a Map of
RegistryPackageType objects as converted using RegistryPackageWebConverter List of node maps representing all registry entries can be found
in the returned map using the key 'nodes'. |
Map<String,Object> |
allRegistryMetacardsSummary()
Returns a Map of node maps representing all registry entries which can be found in the returned
map using the key 'nodes'.
|
String |
createLocalEntry(Map<String,Object> registryObjectMap)
Create a local entry in the registry catalog for the given object map.
|
String |
createLocalEntry(String base64EncodedXmlString)
Create a local entry in the registry catalog for the given string.
|
void |
deleteLocalEntry(List<String> ids)
Deletes a local entry in the registry catalog for each of the ids provided.
|
Map<String,Object> |
getLocalNodes()
Returns a Map of
RegistryPackageType objects as converted using RegistryPackageWebConverter List of node maps representing local registry entries can be found
in the returned map using the key 'nodes'. |
void |
nodeFilterProperties(Map<String,Object> properties)
Sets the properties associated with the registry filter/policy
|
void |
regenerateRegistrySources(List<String> ids)
Regenerates registry sources for the given registry-ids
|
Map<String,Object> |
registryMetacard(String registryId)
Returns a Map of
RegistryPackageType object as converted using RegistryPackageWebConverter A map of the registry node identified by the given registry id. |
boolean |
registryStatus(String servicePID) |
void |
updateLocalEntry(Map<String,Object> registryObjectMap)
Update a local entry in the registry catalog for the given object map.
|
static final String OBJECT_NAME
String createLocalEntry(Map<String,Object> registryObjectMap) throws FederationAdminException
RegistryPackageType
using the RegistryPackageWebConverter
. The
resulting RegistryPackageType
will be passed to FederationAdminService#addLocalEntry
to create the entry.RegistryObjectMap
- A map of the registry object to createFederationAdminException
- Passes exception thrown by FederationAdminServiceImplString createLocalEntry(String base64EncodedXmlString) throws FederationAdminException
base64EncodedXmlString
- Base64 encoded registry package xml.FederationAdminException
- If Base64 decoding of the string fails If the
RegistryTransformer can't convert the stream into a metacard Passes exceptions thrown by
FederationAdminServiceImplvoid updateLocalEntry(Map<String,Object> registryObjectMap) throws FederationAdminException
RegistryPackageType
using the RegistryPackageWebConverter
. The
resulting RegistryPackageType
will be passed to FederationAdminService#addLocalEntry
to update the entry.registryObjectMap
- A map of the registry object to updateFederationAdminException
- Passes exception thrown byFederationAdminServiceImplvoid deleteLocalEntry(List<String> ids) throws FederationAdminException
ids
- List of registry ids to be deletedFederationAdminException
- Passes exception thrown byFederationAdminServiceImplMap<String,Object> getLocalNodes() throws FederationAdminException
RegistryPackageType
objects as converted using RegistryPackageWebConverter
List of node maps representing local registry entries can be found
in the returned map using the key 'nodes'. Additional information about the nodes/registry is
also included in the map.FederationAdminException
- Passes exception thrown byFederationAdminServiceImplboolean registryStatus(String servicePID)
servicePID
- - The PID of the registry which will have the status checkedMap<String,Object> allRegistryMetacards()
RegistryPackageType
objects as converted using RegistryPackageWebConverter
List of node maps representing all registry entries can be found
in the returned map using the key 'nodes'. Additional information about the nodes/registry is
also included in the map.Map<String,Object> registryMetacard(String registryId)
RegistryPackageType
object as converted using RegistryPackageWebConverter
A map of the registry node identified by the given registry id.
Additional information about the node is also included in the map.registryId
- The registry id of the node to retrieve.Map<String,Object> allRegistryMetacardsSummary()
void regenerateRegistrySources(List<String> ids)
ids
- registry-ids to regenerateThis work is licensed under a Creative Commons Attribution 4.0 International License.