fr.ifremer.suiviobsmer.ui.pages
Class SampleRowForm

java.lang.Object
  extended by fr.ifremer.suiviobsmer.ui.pages.SampleRowForm
All Implemented Interfaces:
SuiviObsmerPage

@IncludeStylesheet(value="context:css/sampling.css")
public class SampleRowForm
extends Object
implements SuiviObsmerPage

SampleRowForm Created: 26 nov. 2009

Version:
$Revision: 330 $ Mise a jour: $Date: 2010-02-05 15:04:29 +0100 (ven. 05 févr. 2010) $ par : $Author: fdesbois $
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()
           
 boolean isOnlyForAdmin()
           
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

isOnlyForAdmin

public boolean isOnlyForAdmin()
Specified by:
isOnlyForAdmin in interface SuiviObsmerPage

getProfessionSelectModel

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

Returns:
a GenericSelectModel
Throws:
SuiviObsmerException

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 SuiviObsmerException
Get the select model for FishingZone. The select contains all existing fishingZones.

Returns:
a GenericSelectModel
Throws:
SuiviObsmerException

getFishingZones

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

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

getProgramSelectModel

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

getPeriod

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

getSampleMonths

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

getDateFormat

public DateFormat getDateFormat()

getMonthStyle

public String getMonthStyle()

saveProgram

protected void saveProgram()
                    throws SuiviObsmerException
Throws:
SuiviObsmerException

getSampleRow

public SampleRow getSampleRow()
                       throws SuiviObsmerException
Throws:
SuiviObsmerException

getSampleRowLog

public SampleRowLog getSampleRowLog()
                             throws SuiviObsmerException
Throws:
SuiviObsmerException

getSampleRowModel

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

getCompanySelectModel

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

isCreateMode

public boolean isCreateMode()
                     throws SuiviObsmerException
Throws:
SuiviObsmerException


Copyright © 2009-2010 Ifremer. All Rights Reserved.