org.nakedobjects.plugins.html.request
Class ForwardRequest

java.lang.Object
  extended by org.nakedobjects.plugins.html.request.ForwardRequest
All Implemented Interfaces:
Request

public class ForwardRequest
extends java.lang.Object
implements Request


Field Summary
 
Fields inherited from interface org.nakedobjects.plugins.html.request.Request
COLLECTION_COMMAND, EDIT_COMMAND, FIELD_COLLECTION_COMMAND, LOGON_COMMAND, OBJECT_COMMAND, SERVICE_COMMAND, TASK_COMMAND
 
Method Summary
static Request editObject(java.lang.String objectId)
           
 void forward(Request forwardedRequest)
           
 java.lang.String getActionId()
           
 java.lang.String getButtonName()
          Name of the button pressed on the form.
 java.lang.String getElementId()
          The element within a collection.
 java.lang.String getFieldEntry(int i)
          The users entry into a field on the form.
 Request getForward()
           
 java.lang.String getName()
           
 java.lang.String getObjectId()
           
 java.lang.String getProperty()
          Name of a property within an object.
 java.lang.String getRequestType()
          Name of the request.
 java.lang.String getTaskId()
           
static Request listCollection(java.lang.String collectionId)
           
static Request logon()
           
static Request task(Task task)
           
static Request taskComplete()
           
 java.lang.String toString()
           
static ForwardRequest viewObject(java.lang.String objectId)
           
static Request viewObject(java.lang.String objectId, java.lang.String collectionField)
           
static Request viewService(java.lang.String objectId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

editObject

public static Request editObject(java.lang.String objectId)

listCollection

public static Request listCollection(java.lang.String collectionId)

viewObject

public static ForwardRequest viewObject(java.lang.String objectId)

viewObject

public static Request viewObject(java.lang.String objectId,
                                 java.lang.String collectionField)

viewService

public static Request viewService(java.lang.String objectId)

task

public static Request task(Task task)

taskComplete

public static Request taskComplete()

forward

public void forward(Request forwardedRequest)
Specified by:
forward in interface Request

getActionId

public java.lang.String getActionId()
Specified by:
getActionId in interface Request

getElementId

public java.lang.String getElementId()
Description copied from interface: Request
The element within a collection.

Specified by:
getElementId in interface Request

getName

public java.lang.String getName()
Specified by:
getName in interface Request

getRequestType

public java.lang.String getRequestType()
Description copied from interface: Request
Name of the request. See the constants defined in this class.

Specified by:
getRequestType in interface Request

getButtonName

public java.lang.String getButtonName()
Description copied from interface: Request
Name of the button pressed on the form.

Specified by:
getButtonName in interface Request

getProperty

public java.lang.String getProperty()
Description copied from interface: Request
Name of a property within an object.

Specified by:
getProperty in interface Request

getFieldEntry

public java.lang.String getFieldEntry(int i)
Description copied from interface: Request
The users entry into a field on the form.

Specified by:
getFieldEntry in interface Request

getTaskId

public java.lang.String getTaskId()
Specified by:
getTaskId in interface Request

getForward

public Request getForward()
Specified by:
getForward in interface Request

getObjectId

public java.lang.String getObjectId()
Specified by:
getObjectId in interface Request

toString

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

logon

public static Request logon()


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