Package com.saperion.connector
Interface LegacyConnection
-
- All Known Subinterfaces:
SaClassicConnector
- All Known Implementing Classes:
SaClassicConnectorImpl
public interface LegacyConnection
Connection interface for extended DMS functionality- Author:
- jschwarz
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends java.io.Serializable>
Tinvoke(LegacyOperation<T> operation)
Invokes the givenOperation
on the server side.
-
-
-
Method Detail
-
invoke
<T extends java.io.Serializable> T invoke(LegacyOperation<T> operation) throws SaAuthenticationException, SaSystemException
Invokes the givenOperation
on the server side.- Type Parameters:
T
- The return type of the given operation- Parameters:
operation
- The operation to invoke. After invocation calling operation.getResult() will yield the same as the return of this call.- Returns:
- The result of the server side call of Operation.invoke()
- Throws:
SaAuthenticationException
- When the user is not correctly logged on, this may result from a session time outSaSystemException
- When an error occurred in the operation.
-
-