com.sap.workspaces

Interface IWorkspacesRuntime


public interface IWorkspacesRuntime

Enables retrieval of the services and navigation URLs of the enterprise workspaces screens


Method Summary
 INavigationTarget getNavigationTarget(TargetKey targetKey)
          Returns the navigation target for the specified key
<T extends IWorkspacesService>
T
getService(Class<T> interfaceClass)
          Returns an implementation of the specified service interface
<T extends IWorkspacesService>
T[]
getServices(Class<T> interfaceClass)
          Returns an array of existing implementations of the specified service interface, if the service interface has multiple implementations; similar to getService(Class)
 

Method Detail

getService

<T extends IWorkspacesService> T getService(Class<T> interfaceClass)
                                        throws WorkspacesRuntimeException
Returns an implementation of the specified service interface

Parameters:
interfaceClass - the interface of the requested service
Returns:
An implementation of the specified service
Throws:
WorkspacesRuntimeException - if the interface is not implemented

getServices

<T extends IWorkspacesService> T[] getServices(Class<T> interfaceClass)
                                           throws WorkspacesRuntimeException
Returns an array of existing implementations of the specified service interface, if the service interface has multiple implementations; similar to getService(Class)

Parameters:
interfaceClass - the interface of the requested service
Returns:
An array of implementations of the service interface
Throws:
WorkspacesRuntimeException

getNavigationTarget

INavigationTarget getNavigationTarget(TargetKey targetKey)
Returns the navigation target for the specified key

Parameters:
targetKey - the key of the requested navigation target
Returns:
The navigation target


Copyright 2013 SAP AG Complete Copyright Notice