de.innovationgate.wgaservices
public interface WGACoreServices extends WGAServices
Modifier and Type | Method and Description |
---|---|
void |
activatePlugin(RemoteSession session,
PluginInfo pluginInfo)
activates the specified plugin
|
RemoteSession |
adminLogin(String user,
String pwd)
Logs in to the WGA server as WGA administrator.
|
DataSource |
createContentStoreDump(RemoteSession session,
String dbKey,
boolean includeACL)
creates a content store dump of the given database
|
DataSource |
createContentStoreDump(RemoteSession session,
String dbKey,
boolean includeACL,
boolean includeSystemAreas)
creates a content store dump of the given database
|
void |
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 |
deactivatePlugin(RemoteSession session,
PluginInfo pluginInfo)
deactivates the specified plugin
fails silently if the plugin is already disabled
|
void |
deleteFSDesignResource(RemoteSession session,
String path)
deletes the given design resource
|
DataSource |
downloadPlugin(RemoteSession session,
PluginInfo pluginInfo)
retrieves the plugin file of the specified plugin
|
List<DatabaseInformation> |
getAvailableDatabases(RemoteSession session,
DatabaseServerInfo dbServerInfo,
String implClassName)
retrieves a list of available databases on given server with given type
|
List<String> |
getConnectedContentDatabases(RemoteSession session)
returns a list of dbkeys of current connected content databases
|
String |
getDesignPath(RemoteSession session,
String dbKey)
Returns the design path of the given database
'null' if database has no file system based design
|
List<PluginInfo> |
getPluginInformation(RemoteSession session)
returns information about currently installed plugins
|
DataSource |
getWGAConfiguration(RemoteSession session)
retrieves the current wga configuration
|
Version |
getWGAVersion(RemoteSession session)
returns the version of wga
|
void |
importContentStoreDump(RemoteSession session,
DataSource csDump,
String dbKey,
boolean includeACL)
imports the given content store dump in the database specified by dbKey
|
void |
importContentStoreDump(RemoteSession session,
DataSource csDump,
String dbKey,
boolean includeACL,
boolean includeSystemAreas)
imports the given content store dump in the database specified by dbKey
|
void |
initializeOverlay(RemoteSession session,
PluginInfo pluginInfo,
String designFolder)
performs an overlay initialization or update on the given plugin with the given design folder
|
void |
installPlugins(RemoteSession session,
List<DataSource> plugins)
installs the given list of plugin files
|
boolean |
isTMLScriptDebuggerEnabled(RemoteSession session)
returns the state of the tmlscript debugger
|
boolean |
isWebTMLCachingEnabled(RemoteSession session)
Returns the state of WebTML caching
|
void |
mkFSDesignDir(RemoteSession session,
String path)
creates the given design directory
|
List<DatabaseServerInfo> |
retrieveContentStoreDatabaseServers(RemoteSession session)
retrieves a list of available database servers of the current OpenWGA runtime
which are able to provide content stores
|
DataSource |
retrieveFSDesignResourceContent(RemoteSession session,
FSDesignResourceState state)
retrieves the content of the given file system design resource
|
List<FSDesignResourceState> |
retrieveFSDesignResourceState(RemoteSession session,
String path)
retrieves the file system design resource states for the given path
|
void |
setTMLScriptDebuggerEnabled(RemoteSession session,
boolean enabled)
enables or disables the tmlscript debugger
|
void |
setWebTMLCachingEnabled(RemoteSession session,
boolean enabled)
Enables or disables WebTML caching functionality globally
|
void |
updateFSDesignResource(RemoteSession session,
String path,
DataSource content,
long lastModified)
updates/ overwrites the given design resource with the new content
|
void |
updateWGAConfiguration(RemoteSession session,
DataSource wgaConfiguration)
update the current wga configuration
|
callAction, getAccessLevel, login
RemoteSession adminLogin(String user, String pwd) throws WGAServiceException
user
- The administrator userpwd
- The administrator passwordWGAServiceException
String getDesignPath(RemoteSession session, String dbKey) throws WGAServiceException
session
- The session to usedbKey
- The dbkeyWGAServiceException
void installPlugins(RemoteSession session, List<DataSource> plugins) throws WGAServiceException
session
- plugins
- WGAServiceException
List<FSDesignResourceState> retrieveFSDesignResourceState(RemoteSession session, String path) throws WGAServiceException
session
- path
- - a '/' separated path rooted at the default FSDesignProvider rootWGAServiceException
DataSource retrieveFSDesignResourceContent(RemoteSession session, FSDesignResourceState state) throws WGAServiceException
session
- state
- WGAServiceException
void updateFSDesignResource(RemoteSession session, String path, DataSource content, long lastModified) throws WGAServiceException
session
- path
- content
- WGAServiceException
void deleteFSDesignResource(RemoteSession session, String path) throws WGAServiceException
session
- path
- WGAServiceException
void mkFSDesignDir(RemoteSession session, String path) throws WGAServiceException
session
- path
- WGAServiceException
DataSource getWGAConfiguration(RemoteSession session) throws WGAServiceException
session
- WGAServiceException
void updateWGAConfiguration(RemoteSession session, DataSource wgaConfiguration) throws WGAServiceException
session
- WGAServiceException
List<DatabaseServerInfo> retrieveContentStoreDatabaseServers(RemoteSession session) throws WGAServiceException
session
- WGAServiceException
void createDatabase(RemoteSession session, DatabaseServerInfo dbServerInfo, String implClassName, Map<String,String> options) throws WGAServiceException
session
- dbServerInfo
- implClassName
- options
- WGAServiceException
void importContentStoreDump(RemoteSession session, DataSource csDump, String dbKey, boolean includeACL) throws WGAServiceException
session
- dbKey
- WGAServiceException
DataSource createContentStoreDump(RemoteSession session, String dbKey, boolean includeACL) throws WGAServiceException
session
- dbKey
- includeACL
- WGAServiceException
void importContentStoreDump(RemoteSession session, DataSource csDump, String dbKey, boolean includeACL, boolean includeSystemAreas) throws WGAServiceException
session
- dbKey
- includeACL
- includeSystemAreas
- WGAServiceException
DataSource createContentStoreDump(RemoteSession session, String dbKey, boolean includeACL, boolean includeSystemAreas) throws WGAServiceException
session
- dbKey
- includeACL
- includeSystemAreas
- WGAServiceException
List<DatabaseInformation> getAvailableDatabases(RemoteSession session, DatabaseServerInfo dbServerInfo, String implClassName) throws WGAServiceException
session
- dbServerInfo
- implClassName
- WGAServiceException
List<PluginInfo> getPluginInformation(RemoteSession session) throws WGAServiceException
session
- WGAServiceException
Version getWGAVersion(RemoteSession session) throws WGAServiceException
session
- WGAServiceException
DataSource downloadPlugin(RemoteSession session, PluginInfo pluginInfo) throws WGAServiceException
session
- pluginInfo
- WGAServiceException
void activatePlugin(RemoteSession session, PluginInfo pluginInfo) throws WGAServiceException
session
- pluginInfo
- WGAServiceException
void deactivatePlugin(RemoteSession session, PluginInfo pluginInfo) throws WGAServiceException
session
- pluginInfo
- WGAServiceException
List<String> getConnectedContentDatabases(RemoteSession session) throws WGAServiceException
session
- WGAServiceException
void initializeOverlay(RemoteSession session, PluginInfo pluginInfo, String designFolder) throws WGAServiceException
session
- pluginInfo
- designFolder
- WGAServiceException
void setTMLScriptDebuggerEnabled(RemoteSession session, boolean enabled) throws WGAServiceException
enabled
- WGAServiceException
boolean isTMLScriptDebuggerEnabled(RemoteSession session) throws WGAServiceException
WGAServiceException
void setWebTMLCachingEnabled(RemoteSession session, boolean enabled) throws WGAServiceException
session
- enabled
- WGAServiceException
boolean isWebTMLCachingEnabled(RemoteSession session) throws WGAServiceException
session
- WGAServiceException