fr.ifremer.wao.ui.pages
Class SamplingPlan
java.lang.Object
fr.ifremer.wao.ui.pages.SamplingPlan
@RequiresAuthentication(allowedPrograms={OBSMER,OBSVENTE})
@Import(stylesheet="context:css/sampling.css")
public class SamplingPlan- extends Object
SampingPlan
Created: 9 nov. 2009
- Author:
- fdesbois
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SamplingPlan
public SamplingPlan()
getServiceSampling
public ServiceSampling getServiceSampling()
isFiltersVisible
public boolean isFiltersVisible()
- FILTERS
getPeriod
public org.nuiton.util.PeriodDates getPeriod()
getFilter
public SamplingFilter getFilter()
getDcf5CodeDescription
public String getDcf5CodeDescription()
getRow
public SampleRow getRow()
setRow
public void setRow(SampleRow row)
getData
public List<SampleRow> getData()
throws WaoException
- Return List of SampleRow from suiviobsmer-business
- Returns:
- List of SampleRow
- Throws:
WaoException
getMonths
public List<Date> getMonths()
isFacadeChanged
@Log
public boolean isFacadeChanged()
isSectorChanged
@Log
public boolean isSectorChanged()
getCompanyName
public String getCompanyName()
isCurrentMonth
public boolean isCurrentMonth()
getNbTidesExpected
public Integer getNbTidesExpected()
getFishingZones
public String getFishingZones()
getNbTidesReal
public Integer getNbTidesReal()
hasNbTidesReal
public boolean hasNbTidesReal()
canDisplayTidesReal
public boolean canDisplayTidesReal()
getTotalPercentage
public String getTotalPercentage()
getNumberFormat
public NumberFormat getNumberFormat()
getPercentFormat
public NumberFormat getPercentFormat()
setTotalsForMonths
protected void setTotalsForMonths()
- Set totalExpectedForMonths, totalRealForMonths, highTotalExpected and
highTotalReal values.
getTotalExpectedForMonth
public Integer getTotalExpectedForMonth()
getTotalRealForMonth
public Integer getTotalRealForMonth()
getRatioForMonth
public String getRatioForMonth()
getHighTotalExpected
public Integer getHighTotalExpected()
getHighTotalReal
public Integer getHighTotalReal()
getHighTotalRatio
public String getHighTotalRatio()
getObservationTimesInDaysForRow
public org.apache.commons.lang3.tuple.Pair<Double,Long> getObservationTimesInDaysForRow()
getObservationTimesInDaysForRowLeft
public Double getObservationTimesInDaysForRowLeft()
getObservationTimesInDaysForRowRight
public Long getObservationTimesInDaysForRowRight()
getRealTidesClassForObservationTimesInDays
public String getRealTidesClassForObservationTimesInDays()
getObservationTimesInDaysTotals
public org.apache.commons.lang3.tuple.Pair<Double,Long> getObservationTimesInDaysTotals()
getObservationTimesInDaysTotalPlanned
public Double getObservationTimesInDaysTotalPlanned()
getObservationTimesInDaysTotalActual
public Long getObservationTimesInDaysTotalActual()
getRealTidesClassForObservationTimesInDaysTotalActual
public String getRealTidesClassForObservationTimesInDaysTotalActual()
getRowComment
public String getRowComment()
getNbColumnsForProfession
public int getNbColumnsForProfession()
getNbColumnsForMonths
public int getNbColumnsForMonths()
getNbColumnsForOther
public int getNbColumnsForOther()
getNbColumnsTotal
public int getNbColumnsTotal()
getMainClass
public String getMainClass()
getRealTidesClass
public String getRealTidesClass()
getRealTidesClassForTotal
public String getRealTidesClassForTotal()
getMonthCurrentClass
public String getMonthCurrentClass()
getDateFormat
public DateFormat getDateFormat()
setSelectedRowId
public void setSelectedRowId(String selectedRowId)
getRowClasses
public String getRowClasses()
canEditSampleRow
public boolean canEditSampleRow()
- Can edit the sampleRow. Only for admin with no readOnly rights.
- Returns:
- true if the sampleRow can be edited.
isRowNotFinished
public boolean isRowNotFinished()
isRowModified
public boolean isRowModified()
getContextForEditingSampleRow
public String[] getContextForEditingSampleRow()
getContextForBoats
public String[] getContextForBoats()
Copyright © 2009-2012 Ifremer. All Rights Reserved.