Package | Description |
---|---|
de.innovationgate.wgaservices |
The Base Client API for using WGA Services Web Service
|
Modifier and Type | Method and Description |
---|---|
void |
WGACoreServices.activatePlugin(RemoteSession session,
PluginInfo pluginInfo)
activates the specified plugin
|
RemoteSession |
WGACoreServices.adminLogin(String user,
String pwd)
Logs in to the WGA server as WGA administrator.
|
ActionResult |
WGAServices.callAction(RemoteSession session,
String dbKey,
String actionID,
String executionContext,
List<Object> params,
Form form)
Calls a remote action on the WGA server.
|
Object |
ActionCaller.callAction(String id)
Call an action via ID without parameters
|
Object |
ActionCaller.callAction(String id,
Form form)
Call an action via ID, posting a TMLForm object
|
Object |
ActionCaller.callAction(String id,
List params)
Call an action via ID and with parameters
|
Object |
ActionCaller.callAction(String id,
List params,
Form form)
Call an action via ID with parameters and a posted TMLForm object
|
DataSource |
WGACoreServices.createContentStoreDump(RemoteSession session,
String dbKey,
boolean includeACL)
creates a content store dump of the given database
|
DataSource |
WGACoreServices.createContentStoreDump(RemoteSession session,
String dbKey,
boolean includeACL,
boolean includeSystemAreas)
creates a content store dump of the given database
|
static WGACoreServices |
ClientFactory.createCoreServiceClient(String wgaRootURL)
Creates a client for core services
|
static WGACoreServices |
ClientFactory.createCoreServiceClient(String wgaRootURL,
Map<String,Object> properties)
Creates a client for core services
|
WGACoreServices |
ClientFactoryService.createCoreServiceClient(String wgaRootURL,
Map<String,Object> properties)
Creates a client for core services
|
static WGACustomServices |
ClientFactory.createCustomServiceClient(String wgaRootURL)
Creates a client for custom services
|
static WGACustomServices |
ClientFactory.createCustomServiceClient(String wgaRootURL,
Map<String,Object> properties)
Creates a client for custom services
|
WGACustomServices |
ClientFactoryService.createCustomServiceClient(String wgaRootURL,
Map<String,Object> properties)
Creates a client for custom services
|
void |
WGACoreServices.createDatabase(RemoteSession session,
DatabaseServerInfo dbServerInfo,
String implClassName,
Map<String,String> options)
creates a content store on the given database server with the given name
this operation will only create the database and not modify the OpenWGA configuration
|
void |
WGACoreServices.deactivatePlugin(RemoteSession session,
PluginInfo pluginInfo)
deactivates the specified plugin
fails silently if the plugin is already disabled
|
void |
WGACoreServices.deleteFSDesignResource(RemoteSession session,
String path)
deletes the given design resource
|
DataSource |
WGACoreServices.downloadPlugin(RemoteSession session,
PluginInfo pluginInfo)
retrieves the plugin file of the specified plugin
|
static ClientFactoryService |
ClientFactory.findService(ClassLoader loader)
Finds a client factory service on a class loader
|
int |
WGAServices.getAccessLevel(RemoteSession session,
String dbKey)
Returns the access level of the current session for a given database
|
List<DatabaseInformation> |
WGACoreServices.getAvailableDatabases(RemoteSession session,
DatabaseServerInfo dbServerInfo,
String implClassName)
retrieves a list of available databases on given server with given type
|
List<String> |
WGACoreServices.getConnectedContentDatabases(RemoteSession session)
returns a list of dbkeys of current connected content databases
|
String |
WGACoreServices.getDesignPath(RemoteSession session,
String dbKey)
Returns the design path of the given database
'null' if database has no file system based design
|
List<PluginInfo> |
WGACoreServices.getPluginInformation(RemoteSession session)
returns information about currently installed plugins
|
DataSource |
WGACoreServices.getWGAConfiguration(RemoteSession session)
retrieves the current wga configuration
|
Version |
WGACoreServices.getWGAVersion(RemoteSession session)
returns the version of wga
|
void |
WGACoreServices.importContentStoreDump(RemoteSession session,
DataSource csDump,
String dbKey,
boolean includeACL)
imports the given content store dump in the database specified by dbKey
|
void |
WGACoreServices.importContentStoreDump(RemoteSession session,
DataSource csDump,
String dbKey,
boolean includeACL,
boolean includeSystemAreas)
imports the given content store dump in the database specified by dbKey
|
void |
WGACoreServices.initializeOverlay(RemoteSession session,
PluginInfo pluginInfo,
String designFolder)
performs an overlay initialization or update on the given plugin with the given design folder
|
void |
WGACoreServices.installPlugins(RemoteSession session,
List<DataSource> plugins)
installs the given list of plugin files
|
boolean |
WGACoreServices.isTMLScriptDebuggerEnabled(RemoteSession session)
returns the state of the tmlscript debugger
|
boolean |
WGACoreServices.isWebTMLCachingEnabled(RemoteSession session)
Returns the state of WebTML caching
|
RemoteSession |
WGAServices.login(String domain,
String user,
String pwd)
Logs in to the WGA server and returns an object that represents a remote database session.
|
void |
WGACoreServices.mkFSDesignDir(RemoteSession session,
String path)
creates the given design directory
|
List<DatabaseServerInfo> |
WGACoreServices.retrieveContentStoreDatabaseServers(RemoteSession session)
retrieves a list of available database servers of the current OpenWGA runtime
which are able to provide content stores
|
DataSource |
WGACoreServices.retrieveFSDesignResourceContent(RemoteSession session,
FSDesignResourceState state)
retrieves the content of the given file system design resource
|
List<FSDesignResourceState> |
WGACoreServices.retrieveFSDesignResourceState(RemoteSession session,
String path)
retrieves the file system design resource states for the given path
|
void |
WGACoreServices.setTMLScriptDebuggerEnabled(RemoteSession session,
boolean enabled)
enables or disables the tmlscript debugger
|
void |
WGACoreServices.setWebTMLCachingEnabled(RemoteSession session,
boolean enabled)
Enables or disables WebTML caching functionality globally
|
void |
WGACoreServices.updateFSDesignResource(RemoteSession session,
String path,
DataSource content,
long lastModified)
updates/ overwrites the given design resource with the new content
|
void |
WGACoreServices.updateWGAConfiguration(RemoteSession session,
DataSource wgaConfiguration)
update the current wga configuration
|