org.nakedobjects.remoting.exchange
Class OidForServiceRequest

java.lang.Object
  extended by org.nakedobjects.remoting.exchange.RequestAbstract
      extended by org.nakedobjects.remoting.exchange.OidForServiceRequest
All Implemented Interfaces:
Encodable, Request

public class OidForServiceRequest
extends RequestAbstract


Field Summary
 
Fields inherited from class org.nakedobjects.remoting.exchange.RequestAbstract
response, session
 
Constructor Summary
OidForServiceRequest()
          provided for serialization only!
OidForServiceRequest(AuthenticationSession session, java.lang.String id)
           
OidForServiceRequest(DataInputExtended input)
           
 
Method Summary
 void encode(DataOutputExtended output)
           
 void execute(ServerFacade serverFacade)
          Sets a response of a simple Boolean.
 OidForServiceResponse getResponse()
          Downcasts.
 java.lang.String getServiceId()
           
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.remoting.exchange.RequestAbstract
getId, getSession, setResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OidForServiceRequest

public OidForServiceRequest()
provided for serialization only!


OidForServiceRequest

public OidForServiceRequest(AuthenticationSession session,
                            java.lang.String id)

OidForServiceRequest

public OidForServiceRequest(DataInputExtended input)
                     throws java.io.IOException
Throws:
java.io.IOException
Method Detail

encode

public void encode(DataOutputExtended output)
            throws java.io.IOException
Specified by:
encode in interface Encodable
Overrides:
encode in class RequestAbstract
Throws:
java.io.IOException

getServiceId

public java.lang.String getServiceId()

execute

public void execute(ServerFacade serverFacade)
Sets a response of a simple Boolean.


getResponse

public OidForServiceResponse getResponse()
Downcasts.

Specified by:
getResponse in interface Request
Overrides:
getResponse in class RequestAbstract

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.