org.nakedobjects.plugins.html.task
Class AddItemToCollectionTask

java.lang.Object
  extended by org.nakedobjects.plugins.html.task.Task
      extended by org.nakedobjects.plugins.html.task.AddItemToCollectionTask

public class AddItemToCollectionTask
extends Task


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.html.task.Task
descriptions, error, errors, fieldSpecifications, id, initialState, maxLength, names, noLines, numberOfEntries, optional, readOnly, typicalLength, wraps
 
Constructor Summary
AddItemToCollectionTask(Context context, NakedObject target, OneToManyAssociation fld)
           
 
Method Summary
 void checkForValidity(Context context)
           
 void checkInstances(Context context, NakedObject[] objects)
           
 NakedObject completeTask(Context context, Page page)
           
 boolean isEditing()
           
 
Methods inherited from class org.nakedobjects.plugins.html.task.Task
debug, getDescription, getEntries, getEntryText, getError, getErrors, getFieldDescriptions, getId, getMaxLength, getName, getNames, getNoLines, getOptional, getOptions, getOptions, getReadOnly, getStep, getTarget, getTrail, getTypes, getTypicalLength, getWraps, init, nextStep, numberOfSteps, previousStep, setFromFields, simpleField
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddItemToCollectionTask

public AddItemToCollectionTask(Context context,
                               NakedObject target,
                               OneToManyAssociation fld)
Method Detail

checkForValidity

public void checkForValidity(Context context)
Specified by:
checkForValidity in class Task

checkInstances

public void checkInstances(Context context,
                           NakedObject[] objects)
Overrides:
checkInstances in class Task

completeTask

public NakedObject completeTask(Context context,
                                Page page)
Specified by:
completeTask in class Task

isEditing

public boolean isEditing()
Overrides:
isEditing in class Task


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