org.objectweb.telosys.service
Interface ScreenService

All Known Implementing Classes:
StandardScreenService

public interface ScreenService

The ScreenService interface


Method Summary
 View execute(ScreenSession screenSession, ServiceRequest serviceRequest, ServiceResponse serviceResponse)
          Executes the service
 java.lang.String getName()
          Returns the name of the service
 java.lang.String getRenderer()
          Returns the renderer associated with the service (or null if none)
 java.lang.String getSessionKey()
          Returns the session key (or null if none)
 void init(java.lang.String sServiceName, java.lang.String sRenderer, java.lang.String sSessionKey)
          Initializes the service instance (just after creation)
 

Method Detail

init

public void init(java.lang.String sServiceName,
                 java.lang.String sRenderer,
                 java.lang.String sSessionKey)
Initializes the service instance (just after creation)

Parameters:
sServiceName - the name of the service
sRenderer - the renderer associated with the service (or null if none)
sSessionKey - the session key to use for result storage (or null if no storage)

execute

public View execute(ScreenSession screenSession,
                    ServiceRequest serviceRequest,
                    ServiceResponse serviceResponse)
             throws TelosysException
Executes the service

Parameters:
screenSession - the user's screen session
serviceRequest - the service request instance
serviceResponse - the service response instance
Returns:
Throws:
TelosysException

getRenderer

public java.lang.String getRenderer()
Returns the renderer associated with the service (or null if none)

Returns:

getName

public java.lang.String getName()
Returns the name of the service

Returns:

getSessionKey

public java.lang.String getSessionKey()
Returns the session key (or null if none)

Returns: