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
 IWorkspacesService getService(Class interfaceClass)
          Returns an implementation of the specified service interface
 IWorkspacesService[] getServices(Class 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

IWorkspacesService getService(Class 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

IWorkspacesService[] getServices(Class 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 service implementations
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 2011 SAP AG Complete Copyright Notice