com.ingenta.clownbike
Class EditSelectItemTaskStep

java.lang.Object
  extended byTaskStepDataImpl
      extended bycom.ingenta.clownbike.SimpleTaskStep
          extended bycom.ingenta.clownbike.EditSelectItemTaskStep
All Implemented Interfaces:
TaskStep

public class EditSelectItemTaskStep
extends SimpleTaskStep

See Also:
Serialized Form

Constructor Summary
EditSelectItemTaskStep()
           
 
Method Summary
 void completed(DatabaseTransaction transaction)
          Completes the step.
 void doGet(DatabaseTransaction transaction, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Called when the step needs to be viewed.
protected  java.util.List findAll(DatabaseTransaction transaction)
           
protected  java.lang.Object findById(DatabaseTransaction transaction, java.lang.Integer id)
           
 void started(DatabaseTransaction transaction)
          Starts the step.
protected  void updateAttributes(DatabaseTransaction transaction, java.lang.Object item)
           
 
Methods inherited from class com.ingenta.clownbike.SimpleTaskStep
doPost, getTask, setTask
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditSelectItemTaskStep

public EditSelectItemTaskStep()
Method Detail

started

public void started(DatabaseTransaction transaction)
             throws DatabaseException,
                    TaskException
Description copied from interface: TaskStep
Starts the step. A step may be restarted any number of times. If the step has been completed then both the start and the completed dates are reset. Zero or more of a task's may be active at any one time.

Specified by:
started in interface TaskStep
Overrides:
started in class SimpleTaskStep
Throws:
DatabaseException
TaskException

completed

public void completed(DatabaseTransaction transaction)
               throws DatabaseException,
                      TaskException
Description copied from interface: TaskStep
Completes the step. A step may be completed any number of times but must be started before each completion. Throws an illegal state expection if the step is inactive.

Specified by:
completed in interface TaskStep
Overrides:
completed in class SimpleTaskStep
Throws:
DatabaseException
TaskException

doGet

public void doGet(DatabaseTransaction transaction,
                  javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws DatabaseException,
                  TaskException
Description copied from interface: TaskStep
Called when the step needs to be viewed. Nothing needs to be done is the template handles everything. However, this method typically sets one or more attributes on the request for use by the template.

Specified by:
doGet in interface TaskStep
Overrides:
doGet in class SimpleTaskStep
Throws:
DatabaseException
TaskException

findAll

protected java.util.List findAll(DatabaseTransaction transaction)
                          throws DatabaseException,
                                 TaskException
Throws:
DatabaseException
TaskException

findById

protected java.lang.Object findById(DatabaseTransaction transaction,
                                    java.lang.Integer id)
                             throws DatabaseException,
                                    TaskException
Throws:
DatabaseException
TaskException

updateAttributes

protected void updateAttributes(DatabaseTransaction transaction,
                                java.lang.Object item)
                         throws DatabaseException,
                                TaskException
Throws:
DatabaseException
TaskException