fr.ifremer.wao.ui.pages
Class SampleRowForm

java.lang.Object
  extended by fr.ifremer.wao.ui.pages.SampleRowForm

@RequiresAuthentication(value=ADMIN,
                        readOnlyAllowed=false)
@IncludeStylesheet(value="context:css/sampling.css")
public class SampleRowForm
extends Object

SampleRowForm Created: 26 nov. 2009

Author:
fdesbois

Constructor Summary
SampleRowForm()
           
 
Method Summary
 GenericSelectModel<Company> getCompanySelectModel()
           
 DateFormat getDateFormat()
           
 List<FishingZone> getFishingZones()
          Get the list of FishingZones from the SampleRow.
 GenericSelectModel<FishingZone> getFishingZoneSelectModel()
          Get the select model for FishingZone.
 String getMonthStyle()
           
 org.nuiton.util.PeriodDates getPeriod()
           
 org.apache.tapestry5.beaneditor.BeanModel<Profession> getProfessionModel()
          Get the Profession model for BeanDisplay component.
 GenericSelectModel<Profession> getProfessionSelectModel()
          Get SelectModel for profession input Select.
 org.apache.tapestry5.SelectModel getProgramSelectModel()
           
 List<SampleMonth> getSampleMonths()
           
 SampleRow getSampleRow()
           
 SampleRowLog getSampleRowLog()
           
 org.apache.tapestry5.beaneditor.BeanModel<SampleRow> getSampleRowModel()
           
 boolean isCreateMode()
           
protected  void saveProgram()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleRowForm

public SampleRowForm()
Method Detail

getProfessionSelectModel

public GenericSelectModel<Profession> getProfessionSelectModel()
                                                        throws WaoException
Get SelectModel for profession input Select. The select contains all existing professions.

Returns:
a GenericSelectModel
Throws:
WaoException

getProfessionModel

public org.apache.tapestry5.beaneditor.BeanModel<Profession> getProfessionModel()
Get the Profession model for BeanDisplay component.

Returns:
a BeanModel

getFishingZoneSelectModel

public GenericSelectModel<FishingZone> getFishingZoneSelectModel()
                                                          throws WaoException
Get the select model for FishingZone. The select contains all existing fishingZones.

Returns:
a GenericSelectModel
Throws:
WaoException

getFishingZones

public List<FishingZone> getFishingZones()
                                  throws WaoException
Get the list of FishingZones from the SampleRow.

Returns:
a List of FishingZone linked with the SampleRow
Throws:
WaoException

getProgramSelectModel

public org.apache.tapestry5.SelectModel getProgramSelectModel()
                                                       throws WaoException
Throws:
WaoException

getPeriod

public org.nuiton.util.PeriodDates getPeriod()
                                      throws WaoException
Throws:
WaoException

getSampleMonths

public List<SampleMonth> getSampleMonths()
                                  throws WaoException
Throws:
WaoException

getDateFormat

public DateFormat getDateFormat()

getMonthStyle

public String getMonthStyle()

saveProgram

protected void saveProgram()
                    throws WaoException
Throws:
WaoException

getSampleRow

public SampleRow getSampleRow()
                       throws WaoException
Throws:
WaoException

getSampleRowLog

public SampleRowLog getSampleRowLog()
                             throws WaoException
Throws:
WaoException

getSampleRowModel

public org.apache.tapestry5.beaneditor.BeanModel<SampleRow> getSampleRowModel()

getCompanySelectModel

public GenericSelectModel<Company> getCompanySelectModel()
                                                  throws WaoException
Throws:
WaoException

isCreateMode

public boolean isCreateMode()
                     throws WaoException
Throws:
WaoException


Copyright © 2009-2010 Ifremer. All Rights Reserved.