org.nakedobjects.remoting.exchange
Class ClearAssociationRequest
java.lang.Object
org.nakedobjects.remoting.exchange.RequestAbstract
org.nakedobjects.remoting.exchange.ClearAssociationRequest
- All Implemented Interfaces:
- Encodable, Request
public class ClearAssociationRequest
- extends RequestAbstract
REVIEW: should we split? the OTMA will need to specify the associate to remove, but the OTOA should not need to provide the associate to clear.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearAssociationRequest
public ClearAssociationRequest(AuthenticationSession session,
java.lang.String fieldIdentifier,
IdentityData target,
IdentityData associate)
ClearAssociationRequest
public ClearAssociationRequest(DataInputExtended input)
throws java.io.IOException
- Throws:
java.io.IOException
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
getFieldIdentifier
public java.lang.String getFieldIdentifier()
getTarget
public IdentityData getTarget()
getAssociate
public IdentityData getAssociate()
execute
public void execute(ServerFacade serverFacade)
Sets a response of a ClearAssociationResponse.
getResponse
public ClearAssociationResponse getResponse()
- Downcasts.
- Specified by:
getResponse in interface Request- Overrides:
getResponse in class RequestAbstract
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.