fr.ifremer.wao.ui.pages
Class SamplingPlan
java.lang.Object
fr.ifremer.wao.ui.base.AbstractFilteredPage
fr.ifremer.wao.ui.pages.SamplingPlan
@RequiresAuthentication
@Import(stylesheet="context:css/sampling.css")
public class SamplingPlan
- extends AbstractFilteredPage
SampingPlan
Created: 9 nov. 2009
- Author:
- fdesbois
| Methods inherited from class fr.ifremer.wao.ui.base.AbstractFilteredPage |
getCompanySelectModel, getDcfGearSelectModel, getDcfSpeciesSelectModel, getFacadeSelectModel, getObserverSelectModel, getProgramSelectModel, getSampleRowSelectModel, getSectorSelectModel, getTerrestrialDistrictSelectModel, initCompanyFilter, initSelectFilters, isEdited, onProvideCompletionsFromBoatName, onSelectedFromAddSampleRowCode, onSelectedFromRefreshByCompany, onSelectedFromRefreshByFacade, onSelectedFromRefreshByProgram, onSelectedFromRefreshBySector, onSelectedFromRemoveSampleRowCode, onSelectedFromSearch, resetCompanySelect, resetFacadeSelect, resetSampleRowSelect, resetSectorSelect, updateLocation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SamplingPlan
public SamplingPlan()
getPeriod
public org.nuiton.util.PeriodDates getPeriod()
getFilter
public SamplingFilter getFilter()
throws WaoException
- Specified by:
getFilter in class AbstractFilteredPage
- Throws:
WaoException
isAvailableDataForFiltersOnly
protected boolean isAvailableDataForFiltersOnly()
- Description copied from class:
AbstractFilteredPage
- Used to show only active company and observers.
- Specified by:
isAvailableDataForFiltersOnly in class AbstractFilteredPage
- Returns:
- true if only active users will be showed, false otherwise
isFiltersVisible
public boolean isFiltersVisible()
getDcf5CodeDescription
public String getDcf5CodeDescription()
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
public boolean isFacadeChanged()
isSectorChanged
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()
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()
getRowComment
public String getRowComment()
getNbColumnsForProfession
public int getNbColumnsForProfession()
getNbColumnsForMonths
public int getNbColumnsForMonths()
getNbColumnsForOther
public int getNbColumnsForOther()
getNbColumnsTotal
public int getNbColumnsTotal()
getMainClass
public String getMainClass()
getParityClass
public String getParityClass()
getActionsClass
public String getActionsClass()
getRealTidesClass
public String getRealTidesClass()
getRealTidesClassForTotal
public String getRealTidesClassForTotal()
getMonthCurrentClass
public String getMonthCurrentClass()
getDateFormat
public DateFormat getDateFormat()
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()
Copyright © 2009-2011 Ifremer. All Rights Reserved.