fr.ifremer.wao.ui.pages
Class ContactForm

java.lang.Object
  extended by fr.ifremer.wao.ui.pages.ContactForm

@RequiresAuthentication(allowedRoles={ADMIN,COORDINATOR,OBSERVER},
                        readOnlyAllowed=false)
@Import(stylesheet={"context:css/common.css","context:css/contactForm.css"},
        library="context:js/contactForm.js")
public class ContactForm
extends Object

In this page, user will be able to edit a contact. Fields depends on right level and validations.


Constructor Summary
ContactForm()
           
 
Method Summary
protected  void addSendEmailScript()
           
 boolean canEditDataReliability()
           
 String getBoatDescription()
          INFORMATIONS
 Contact getContact()
           
 List<ContactStateMotif> getContactStateMotives()
           
 org.apache.tapestry5.SelectModel getContactStateSelectModel()
           
 DateFormat getDateFormat()
           
 DateFormat getDateTimeFormat()
           
 String getDateTimeFormatPattern()
           
 String getLabelForEnum(Enum value)
           
 String getMammalsInfoBoxStyle()
           
 DateFormat getMonthYearFormat()
           
 List<ObsDebCode> getObsDebCodes()
           
 org.apache.tapestry5.SelectModel getObservationTypeSelectModel()
           
 List<WaoUser> getObservers()
           
 List<TerrestrialLocation> getTerrestrialLocations()
           
 org.apache.tapestry5.Block getViewOrEditObservationReport()
           
 org.apache.tapestry5.Block getViewOrEditObservers()
           
 void onSelectedFromRevertContact()
           
 void onSelectedFromSaveContact()
           
 void setContactId(String contactId)
           
 boolean showDataReliability()
          ADMIN FIELDS
 boolean showSecondaryObservers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContactForm

public ContactForm()
Method Detail

getDateTimeFormatPattern

public String getDateTimeFormatPattern()

getDateTimeFormat

public DateFormat getDateTimeFormat()

getDateFormat

public DateFormat getDateFormat()

getMonthYearFormat

public DateFormat getMonthYearFormat()

addSendEmailScript

protected void addSendEmailScript()

setContactId

public void setContactId(String contactId)

getContact

@Log
public Contact getContact()

getBoatDescription

public String getBoatDescription()
INFORMATIONS


getViewOrEditObservers

public org.apache.tapestry5.Block getViewOrEditObservers()

getObservers

public List<WaoUser> getObservers()

showSecondaryObservers

public boolean showSecondaryObservers()

getViewOrEditObservationReport

public org.apache.tapestry5.Block getViewOrEditObservationReport()

getObservationTypeSelectModel

public org.apache.tapestry5.SelectModel getObservationTypeSelectModel()

getTerrestrialLocations

public List<TerrestrialLocation> getTerrestrialLocations()

getObsDebCodes

public List<ObsDebCode> getObsDebCodes()

getContactStateSelectModel

public org.apache.tapestry5.SelectModel getContactStateSelectModel()

getContactStateMotives

public List<ContactStateMotif> getContactStateMotives()

showDataReliability

public boolean showDataReliability()
ADMIN FIELDS


canEditDataReliability

public boolean canEditDataReliability()

onSelectedFromRevertContact

@Log
public void onSelectedFromRevertContact()

onSelectedFromSaveContact

@Log
public void onSelectedFromSaveContact()

getLabelForEnum

public String getLabelForEnum(Enum value)

getMammalsInfoBoxStyle

public String getMammalsInfoBoxStyle()


Copyright © 2009-2012 Ifremer. All Rights Reserved.