fr.ifremer.wao.ui.pages
Class SampleRowForm

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

@RequiresAuthentication(allowedRoles=ADMIN,
                        readOnlyAllowed=false)
@Import(stylesheet="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()
           
 String getDcf5codes()
           
 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<SampleRow> 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()
           
 GenericSelectModel<TerrestrialLocation> getTerrestrialLocationSelectModel()
           
 boolean isCreateMode()
           
protected  void saveProgram()
           
 void setDcf5codes(String dcf5codes)
           
 boolean showObsVente()
           
 
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

showObsVente

public boolean showObsVente()

getProfessionSelectModel

public GenericSelectModel<SampleRow> 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

getDcf5codes

public String getDcf5codes()

setDcf5codes

public void setDcf5codes(String dcf5codes)

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

getTerrestrialLocationSelectModel

public GenericSelectModel<TerrestrialLocation> getTerrestrialLocationSelectModel()

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-2011 Ifremer. All Rights Reserved.