fr.ifremer.suiviobsmer.ui.pages
Class Boats

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

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

Boats Created: 9 nov. 2009

Version:
$Revision: 248 $ Mise a jour: $Date: 2010-01-20 13:00:12 +0100 (mer., 20 janv. 2010) $ par : $Author: fdesbois $
Author:
fdesbois

Field Summary
protected static String GZIP_MIMETYPE
           
 
Constructor Summary
Boats()
           
 
Method Summary
 boolean canCreateNewContactFromElligibleBoat()
           
 boolean canCreateNewContactFromList()
           
 boolean canShowActiveBoatInfos()
           
 org.apache.tapestry5.Block getActiveBoatInfosBlock()
           
 BoatFilter getBoatFilter()
           
 BoatInfos getBoatInfos()
           
 String getBoatName()
           
 BoatDataSource getBoats()
           
 Company getCompany()
           
 CompanyBoatInfos getCompanyBoatInfos()
           
 GenericSelectModel<Company> getCompanySelectModel()
           
 DateFormat getDateFormat()
           
 String getElligibleRowClass()
           
 String getElligibleRowInfos()
          /////////////////////// FOR EACH ELLIGIBLEBOAT ROW /////////////////
 GenericSelectModel<FishingZone> getFishingZoneSelectModel()
           
 String getHiddenClass()
           
 String getlastContactClass()
           
 GenericSelectModel<Profession> getProfessionSelectModel()
           
 String getRowClass()
           
 SampleRow getSampleRow()
           
 GenericSelectModel<SampleRow> getSampleRowSelectModel()
           
 boolean hasActivityCalendar()
           
 boolean isActivityCalendarImportRun()
          /////////////////////// GLOBAL TO THE BLOCK ///////////////////////
 boolean isElligibleBoatCompanyActiveFalse()
           
 boolean isFiltersHidden()
           
 boolean isLogFileExists()
           
 boolean isOnlyForAdmin()
           
 boolean isSampleRowExists()
           
 org.apache.tapestry5.StreamResponse onActionFromShowActivityCalendarLogFile()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GZIP_MIMETYPE

protected static String GZIP_MIMETYPE
Constructor Detail

Boats

public Boats()
Method Detail

isOnlyForAdmin

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

isLogFileExists

public boolean isLogFileExists()

onActionFromShowActivityCalendarLogFile

public org.apache.tapestry5.StreamResponse onActionFromShowActivityCalendarLogFile()

getBoatFilter

public BoatFilter getBoatFilter()
                         throws SuiviObsmerException
Throws:
SuiviObsmerException

getSampleRow

public SampleRow getSampleRow()
                       throws SuiviObsmerException
Throws:
SuiviObsmerException

isSampleRowExists

public boolean isSampleRowExists()
                          throws SuiviObsmerException
Throws:
SuiviObsmerException

getSampleRowSelectModel

public GenericSelectModel<SampleRow> getSampleRowSelectModel()
                                                      throws SuiviObsmerException
Throws:
SuiviObsmerException

getProfessionSelectModel

public GenericSelectModel<Profession> getProfessionSelectModel()
                                                        throws SuiviObsmerException
Throws:
SuiviObsmerException

getFishingZoneSelectModel

public GenericSelectModel<FishingZone> getFishingZoneSelectModel()
                                                          throws SuiviObsmerException
Throws:
SuiviObsmerException

isFiltersHidden

public boolean isFiltersHidden()

getHiddenClass

public String getHiddenClass()

getBoats

public BoatDataSource getBoats()
                        throws SuiviObsmerException
Throws:
SuiviObsmerException

getRowClass

public String getRowClass()

getDateFormat

public DateFormat getDateFormat()

canCreateNewContactFromList

public boolean canCreateNewContactFromList()
                                    throws SuiviObsmerException
Throws:
SuiviObsmerException

isActivityCalendarImportRun

public boolean isActivityCalendarImportRun()
/////////////////////// GLOBAL TO THE BLOCK ///////////////////////


canShowActiveBoatInfos

public boolean canShowActiveBoatInfos()

getActiveBoatInfosBlock

public org.apache.tapestry5.Block getActiveBoatInfosBlock()

getCompany

public Company getCompany()
                   throws SuiviObsmerException
Throws:
SuiviObsmerException

getCompanySelectModel

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

getCompanyBoatInfos

public CompanyBoatInfos getCompanyBoatInfos()
                                     throws SuiviObsmerException
Throws:
SuiviObsmerException

getBoatName

public String getBoatName()
                   throws SuiviObsmerException
Throws:
SuiviObsmerException

getBoatInfos

public BoatInfos getBoatInfos()
                       throws SuiviObsmerException
Throws:
SuiviObsmerException

getlastContactClass

public String getlastContactClass()
                           throws SuiviObsmerException
Throws:
SuiviObsmerException

getElligibleRowInfos

public String getElligibleRowInfos()
/////////////////////// FOR EACH ELLIGIBLEBOAT ROW /////////////////


isElligibleBoatCompanyActiveFalse

public boolean isElligibleBoatCompanyActiveFalse()

canCreateNewContactFromElligibleBoat

public boolean canCreateNewContactFromElligibleBoat()
                                             throws SuiviObsmerException
Throws:
SuiviObsmerException

getElligibleRowClass

public String getElligibleRowClass()

hasActivityCalendar

public boolean hasActivityCalendar()
                            throws SuiviObsmerException
Throws:
SuiviObsmerException


Copyright © 2009-2010 Ifremer. All Rights Reserved.