fr.ifremer.wao.ui.pages
Class ObsDebSamplingPlan

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

@RequiresAuthentication(allowedPrograms=OBSDEB)
public class ObsDebSamplingPlan
extends Object


Constructor Summary
ObsDebSamplingPlan()
           
 
Method Summary
 boolean canEditSampleRow()
           
 String getBoatDescription()
           
 String[] getContextForBoat()
          Context for boats page for links on the name of a boat
protected  String[] getContextForBoatOrSubstitute(Boat boat)
           
 String[] getContextForBoats()
          Context for boats page for links to boats page in 'actions'
 String[] getContextForEditingSampleRow()
           
 String[] getContextForNewSampleRow()
           
 String[] getContextForSubstitute()
          Context for boats page for links on the name of a substitute boat
 DateFormat getDateFormat()
           
 org.apache.tapestry5.beaneditor.BeanModel<SampleRow> getObsdebSamplingPlanModel()
           
protected  ObservationType getObservationType()
           
 SampleRowDataSource getSampleRows()
           
 ImportEngine getSamplingPlanImportEngine()
           
 ServiceSampling getServiceSampling()
           
 boolean getShowImport()
           
 String getSubstituteDescription()
           
 Set<Boat> getSubstitutes()
           
 boolean isBoatSampled()
           
 void onActionFromDeleteSampleRow(String sampleRowId)
           
 Object onActionFromShowFilters()
           
 Object onActionFromShowImport()
           
 void onActionFromSwitchObservationType()
           
 org.apache.tapestry5.Block onSuccessFromImportForm()
           
protected  void setObservationType(ObservationType observationType)
           
 boolean showFieldWorkSamplingPlan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObsDebSamplingPlan

public ObsDebSamplingPlan()
Method Detail

getDateFormat

public DateFormat getDateFormat()

getServiceSampling

public ServiceSampling getServiceSampling()

getShowImport

@Log
public boolean getShowImport()

onActionFromShowFilters

@Log
public Object onActionFromShowFilters()

onSuccessFromImportForm

public org.apache.tapestry5.Block onSuccessFromImportForm()

getSamplingPlanImportEngine

public ImportEngine getSamplingPlanImportEngine()

onActionFromShowImport

@Log
public Object onActionFromShowImport()

setObservationType

protected void setObservationType(ObservationType observationType)

getObservationType

protected ObservationType getObservationType()

getContextForNewSampleRow

public String[] getContextForNewSampleRow()

showFieldWorkSamplingPlan

public boolean showFieldWorkSamplingPlan()

onActionFromSwitchObservationType

public void onActionFromSwitchObservationType()

getSampleRows

public SampleRowDataSource getSampleRows()

getObsdebSamplingPlanModel

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

getBoatDescription

public String getBoatDescription()

getSubstituteDescription

public String getSubstituteDescription()

getSubstitutes

public Set<Boat> getSubstitutes()

isBoatSampled

public boolean isBoatSampled()

getContextForBoatOrSubstitute

protected String[] getContextForBoatOrSubstitute(Boat boat)

getContextForBoat

public String[] getContextForBoat()
Context for boats page for links on the name of a boat


getContextForBoats

public String[] getContextForBoats()
Context for boats page for links to boats page in 'actions'


getContextForSubstitute

public String[] getContextForSubstitute()
Context for boats page for links on the name of a substitute boat


canEditSampleRow

public boolean canEditSampleRow()

onActionFromDeleteSampleRow

@Log
public void onActionFromDeleteSampleRow(String sampleRowId)
                                 throws WaoBusinessException
Throws:
WaoBusinessException

getContextForEditingSampleRow

public String[] getContextForEditingSampleRow()


Copyright © 2009-2011 Ifremer. All Rights Reserved.