de.innovationgate.wgaservices
public interface WGAServices
Modifier and Type | Method and Description |
---|---|
ActionResult |
callAction(RemoteSession session,
String dbKey,
String actionID,
String executionContext,
List<Object> params,
Form form)
Calls a remote action on the WGA server.
|
int |
getAccessLevel(RemoteSession session,
String dbKey)
Returns the access level of the current session for a given database
|
RemoteSession |
login(String domain,
String user,
String pwd)
Logs in to the WGA server and returns an object that represents a remote database session.
|
RemoteSession login(String domain, String user, String pwd) throws WGAServiceException
domain
- The WGA domain to log in touser
- The login userpwd
- The login passwordWGAServiceException
ActionResult callAction(RemoteSession session, String dbKey, String actionID, String executionContext, List<Object> params, Form form) throws WGAServiceException
ActionCaller
instead.session
- The session to usedbKey
- Key of the database that contains the sessionactionID
- ID of the action to callexecutionContext
- Context expression specifying the execution context of the actionparams
- Action parameters. First element in the list becomes tmlparam1 and so on.form
- TMLForm object to post with the action.WGAServiceException
int getAccessLevel(RemoteSession session, String dbKey) throws WGAServiceException
session
- The session to usedbKey
- The databaseWGAServiceException