|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SynchronizationManagerRemote
Method Summary | |
---|---|
ExportReport |
exportAllSubsystems(Subject subject)
This exports the configuration data of all supported subsystems in RHQ. |
ImportConfigurationDefinition |
getImportConfigurationDefinition(String synchronizerClass)
Returns the configuration definition of the import for synchronizer of given type. |
List<ImportConfigurationDefinition> |
getImportConfigurationDefinitionOfAllSynchronizers()
Returns the configuration definitions of all known importers. |
ImportReport |
importAllSubsystems(Subject subject,
byte[] exportFile,
List<ImportConfiguration> importerConfigurations)
Imports everything from the export file. |
void |
validate(Subject subject,
byte[] exportFile)
|
Method Detail |
---|
ExportReport exportAllSubsystems(Subject subject)
The returned report contains the data bytes themselves as well as a map of messages and notes produced by the different subsystem exporters so that the caller of this method is able to determine possible problems of the export file without needing to deserialize and read it (the same messages are also included in the export data).
The export data is a zipped XML.
The export requires the user to have Permission.MANAGE_INVENTORY
permission.
subject
- the logged in user
void validate(Subject subject, byte[] exportFile) throws org.rhq.enterprise.server.sync.ValidationException
org.rhq.enterprise.server.sync.ValidationException
ImportConfigurationDefinition getImportConfigurationDefinition(String synchronizerClass)
synchronizerClass
-
List<ImportConfigurationDefinition> getImportConfigurationDefinitionOfAllSynchronizers()
ImportReport importAllSubsystems(Subject subject, byte[] exportFile, List<ImportConfiguration> importerConfigurations) throws org.rhq.enterprise.server.sync.ValidationException, org.rhq.enterprise.server.sync.ImportException
subject
- the authenticated userexportFile
- the contents of the export fileimporterConfigurations
- the configurations of individual importers to be used when importing or null
if the default configurations should be used for all the importers.
org.rhq.enterprise.server.sync.ValidationException
org.rhq.enterprise.server.sync.ImportException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |