|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.wao.ui.base.AbstractFilteredPage
fr.ifremer.wao.ui.pages.Boats
@IncludeStylesheet(value="context:css/boats.css") public class Boats
Boats Created: 9 nov. 2009
| Field Summary | |
|---|---|
protected static String |
GZIP_MIMETYPE
|
| Constructor Summary | |
|---|---|
Boats()
|
|
| Method Summary | |
|---|---|
boolean |
canCreateNewContactFromElligibleBoat()
|
boolean |
canCreateNewContactFromList()
|
boolean |
canDisplay()
No restriction to display this page. |
boolean |
canEditBoatInfos()
Only user with no readOnly rights can edit BoatInfos. |
boolean |
canImportReferentials()
|
org.apache.tapestry5.Block |
getActiveBoatInfosBlock()
|
Date |
getBoardingFromDate()
Date for calculate boardings done for the selected boat. |
BoatFilter |
getBoatFilter()
|
BoatInfos |
getBoatInfos()
|
BoatDataSource |
getBoats()
Get dataSource which contains current boats to show on the page. |
Boat |
getBoatSelected()
Used to get the selected boat. |
Integer |
getBoatSelectedImmatriculation()
|
GenericSelectModel<Company> |
getCompanies()
Retrieve companies select model for admin user. |
Company |
getCompany()
Get the current company. |
CompanyBoatInfos |
getCompanyBoatInfos()
|
DateFormat |
getDateFormat()
|
String |
getElligibleRowInfos()
/////////////////////// FOR EACH ELLIGIBLEBOAT ROW ///////////////// |
String |
getElligibleRowStyle()
|
SamplingFilter |
getFilter()
Filters to apply on boats list. |
String |
getHiddenStyle()
|
String |
getlastContactStyle()
Get CSS style class to apply on lastContact depends on its state. |
String |
getRowStyle()
Initialized row CSS style depends on selection in the list. |
SampleRow |
getSampleRow()
Retrieve sampleRow from business with id from url context. |
boolean |
hasActivityCalendar()
|
void |
initialize()
Need to be call in setupRender of the page which inherits this abstract class. |
boolean |
isActivityCalendarImportRun()
|
protected boolean |
isAvailableDataForFiltersOnly()
Used to show only active company and observers. |
boolean |
isElligibleBoatCompanyActiveFalse()
|
boolean |
isFiltersHidden()
|
boolean |
isLogAccessFileExists()
|
boolean |
isLogFileExists()
|
boolean |
isSampleRowExists()
|
org.apache.tapestry5.StreamResponse |
onActionFromShowActivityCalendarLogAccessFile()
|
org.apache.tapestry5.StreamResponse |
onActionFromShowActivityCalendarLogFile()
|
void |
onSelectedFromSearch()
EVENT_SELECTED :: search sumit button for filtersForm. |
void |
setBoardingFromDate(Date boardingFromDate)
Used by Tapestry to set the boardingFromDate from calculateBoardings form. |
void |
setBoatSelectedImmatriculation(Integer boatSelectedImmatriculation)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String GZIP_MIMETYPE
| Constructor Detail |
|---|
public Boats()
| Method Detail |
|---|
public boolean canDisplay()
public void initialize()
AbstractFilteredPage
initialize in interface WaoPageinitialize in class AbstractFilteredPagepublic Integer getBoatSelectedImmatriculation()
public void setBoatSelectedImmatriculation(Integer boatSelectedImmatriculation)
public boolean canImportReferentials()
public boolean isLogFileExists()
public boolean isLogAccessFileExists()
public org.apache.tapestry5.StreamResponse onActionFromShowActivityCalendarLogFile()
public org.apache.tapestry5.StreamResponse onActionFromShowActivityCalendarLogAccessFile()
public SamplingFilter getFilter()
throws WaoException
getFilter in class AbstractFilteredPageWaoExceptionAbstractFilteredPage
public BoatFilter getBoatFilter()
throws WaoException
WaoExceptionprotected boolean isAvailableDataForFiltersOnly()
AbstractFilteredPage
isAvailableDataForFiltersOnly in class AbstractFilteredPage
public SampleRow getSampleRow()
throws WaoException
WaoException
public boolean isSampleRowExists()
throws WaoException
WaoExceptionpublic boolean isFiltersHidden()
public String getHiddenStyle()
public void onSelectedFromSearch()
throws WaoException
onSelectedFromSearch in class AbstractFilteredPageWaoException - for business errorsAbstractFilteredPage.onSelectedFromSearch()
public BoatDataSource getBoats()
throws WaoException
WaoExceptionBoatDataSourcepublic String getRowStyle()
public DateFormat getDateFormat()
public boolean canCreateNewContactFromList()
throws WaoException
WaoExceptionpublic boolean isActivityCalendarImportRun()
public org.apache.tapestry5.Block getActiveBoatInfosBlock()
public CompanyBoatInfos getCompanyBoatInfos()
throws WaoException
WaoException
public GenericSelectModel<Company> getCompanies()
throws WaoException
WaoException
public Company getCompany()
throws WaoException
WaoException
public Boat getBoatSelected()
throws WaoException
WaoExceptionpublic Date getBoardingFromDate()
public void setBoardingFromDate(Date boardingFromDate)
boardingFromDate - used to calculate boardings done on the selected boat
public BoatInfos getBoatInfos()
throws WaoException
WaoException
public String getlastContactStyle()
throws WaoException
WaoExceptionBusinessUtils.getContactStyle(Contact, boolean)public String getElligibleRowInfos()
public boolean isElligibleBoatCompanyActiveFalse()
public boolean canCreateNewContactFromElligibleBoat()
throws WaoException
WaoExceptionpublic String getElligibleRowStyle()
public boolean canEditBoatInfos()
public boolean hasActivityCalendar()
throws WaoException
WaoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||