Class WorkspaceStub
java.lang.Object
de.mid.innovator.m2msdk.model.workspace.WorkspaceStub
- All Implemented Interfaces:
WorkspaceInterface,Serializable,Remote
Stub class living on client side and always forwarding the calls to the server.
- Version:
- 11.3.1
- Author:
- jmback
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the conflicts.Get the displayed name for the workspace.What was the last user action?Get all variables and their values.Get the source work model.Gets the target work model.voidnewWorkModelSource(WorkModelInterface newModel) Take the given work model as new source work model.voidTake the old model again as the new souce work model.voidsetUseraction(UserAction action) Set the user action.voidsetVariable(String name, Object value) Set the value of a variable.
-
Constructor Details
-
WorkspaceStub
-
-
Method Details
-
getConflicts
Description copied from interface:WorkspaceInterfaceGets the conflicts.- Specified by:
getConflictsin interfaceWorkspaceInterface- Returns:
- Model of all conflicts.
- Throws:
M2MException- error occurredRemoteException
-
getLastUserAction
Description copied from interface:WorkspaceInterfaceWhat was the last user action?- Specified by:
getLastUserActionin interfaceWorkspaceInterface- Returns:
- user action
- Throws:
M2MException- error occurredRemoteException
-
getWorkModelSource
Description copied from interface:WorkspaceInterfaceGet the source work model.- Specified by:
getWorkModelSourcein interfaceWorkspaceInterface- Returns:
- The source work model
- Throws:
M2MException- error occurredRemoteException
-
getWorkModelTarget
Description copied from interface:WorkspaceInterfaceGets the target work model.- Specified by:
getWorkModelTargetin interfaceWorkspaceInterface- Returns:
- The target work model
- Throws:
M2MException- error occurredRemoteException
-
setUseraction
Description copied from interface:WorkspaceInterfaceSet the user action.- Specified by:
setUseractionin interfaceWorkspaceInterface- Parameters:
action- user action- Throws:
M2MException- error occurredRemoteException
-
getVariableMap
Description copied from interface:WorkspaceInterfaceGet all variables and their values.- Specified by:
getVariableMapin interfaceWorkspaceInterface- Returns:
- map of all variables and their values.
- Throws:
M2MException- error occurredRemoteException
-
setVariable
Description copied from interface:WorkspaceInterfaceSet the value of a variable. If a variable with this name already exists, its value is overwritten.- Specified by:
setVariablein interfaceWorkspaceInterface- Parameters:
name- name of the variablevalue- value of the variable- Throws:
M2MException- error occurredRemoteException
-
getDisplayName
Description copied from interface:WorkspaceInterfaceGet the displayed name for the workspace.- Specified by:
getDisplayNamein interfaceWorkspaceInterface- Returns:
- display name
- Throws:
RemoteException
-
newWorkModelSource
Description copied from interface:WorkspaceInterfaceTake the given work model as new source work model.- Specified by:
newWorkModelSourcein interfaceWorkspaceInterface- Parameters:
newModel-- Throws:
M2MExceptionRemoteException
-
oldWorkModelSource
Description copied from interface:WorkspaceInterfaceTake the old model again as the new souce work model.- Specified by:
oldWorkModelSourcein interfaceWorkspaceInterface- Throws:
M2MExceptionRemoteException
-