Interface LegacyConnection

  • All Known Subinterfaces:
    SaClassicConnector
    All Known Implementing Classes:
    SaClassicConnectorImpl

    public interface LegacyConnection
    Connection interface for extended DMS functionality
    Author:
    jschwarz
    • Method Detail

      • invoke

        <T extends java.io.Serializable> T invoke​(LegacyOperation<T> operation)
                                           throws SaAuthenticationException,
                                                  SaSystemException
        Invokes the given Operation 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 out
        SaSystemException - When an error occurred in the operation.