import "archive_xmlstore_if.idl";
Classes | |
exception | MalformedURI |
exception | NotFound |
Public Member Functions | |
void | init (in string password) raises (ArchiveInternalError) |
void | reinit (in string password) raises (ArchiveInternalError) |
void | remove (in URI identifier, in boolean deep) raises (NotFound,MalformedURI,ArchiveInternalError) |
void | cleanTestArea () raises (ArchiveInternalError) |
string | config (in string name) |
void | close (in string password) raises (ArchiveInternalError) |
This interface contains advanced methods not to be used in normal circumstances.
void xmlstore::Administrative::cleanTestArea | ( | ) | raises (ArchiveInternalError) |
Removes all entities whose UniqueIdentifiers belong to the test area. The test area is defined in the Archive configuration file and is by default anything between uid://0000000000000000/X00000000 and uid://0000000000000063/Xffffffff.
void xmlstore::Administrative::close | ( | in string | password | ) | raises (ArchiveInternalError) |
Shuts down the Archive. Internal Archive use only, not for other subsystems! Password must be provided to avoid abuse by other subsystems
string xmlstore::Administrative::config | ( | in string | name | ) |
Returns configuration from the archive properties file
void xmlstore::Administrative::init | ( | in string | password | ) | raises (ArchiveInternalError) |
tests whether database backend is alive and xmlStore functional. can be called without calling init() before. Commented out because the ping() method now comes from IF ArchivePingableResource Initialize Archive (XML store). Must be called by Archive master component only! Password must be provided to avoid abuse by other subsystems
void xmlstore::Administrative::reinit | ( | in string | password | ) | raises (ArchiveInternalError) |
Re-Initialize Archive (XML store). Adapts to changes eg. in config file. Not to be used by other subsystems than Archive. Password must be provided to avoid abuse by other subsystems
void xmlstore::Administrative::remove | ( | in URI | identifier, | |
in boolean | deep | |||
) | raises (NotFound,MalformedURI,ArchiveInternalError) |
Physically removes an entity. This operation is irrecoverable, in contrast to delete in the Operational interface.