fr.ifremer.wao.ui.pages
Class SamplingPlan
java.lang.Object
fr.ifremer.wao.ui.base.AbstractFilteredPage
fr.ifremer.wao.ui.pages.SamplingPlan
@RequiresAuthentication
@IncludeStylesheet(value="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, getFacadeSelectModel, getObserverSelectModel, getProgramSelectModel, getSampleRowSelectModel, getSectorSelectModel, initCompanyFilter, initSelectFilters, isEdited, onProvideCompletionsFromBoatName, onSelectedFromRefreshByCompany, onSelectedFromRefreshByFacade, onSelectedFromRefreshByProgram, onSelectedFromRefreshBySector, onSelectedFromSearch, resetCompanySelect, resetFacadeSelect, resetSampleRowSelect, resetSectorSelect |
| 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()
onProvideCompletionsFromCodeDCF5
public String[] onProvideCompletionsFromCodeDCF5(String input)
throws WaoException
- Throws:
WaoException
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()
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()
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()
Copyright © 2009-2010 Ifremer. All Rights Reserved.