fr.ifremer.wao.ui.pages
Class Administration

java.lang.Object
  extended by fr.ifremer.wao.ui.pages.Administration
All Implemented Interfaces:
WaoPage

@IncludeStylesheet(value="context:css/administration.css")
public class Administration
extends Object
implements WaoPage

Administration Created: 9 nov. 2009

Author:
fdesbois

Constructor Summary
Administration()
           
 
Method Summary
 boolean canDisplay()
          The access to the page is only for admin with no readOnly right.
 List<Company> getCompanies()
          FORMS
 GenericSelectModel<Company> getCompaniesSelectModel()
           
 Company getCompany()
           
 WaoUser getUser()
           
 GenericSelectModel<WaoUser> getUsersSelectModel()
           
 void initialize()
          Used to initialize data in renderer of Layout component
 boolean isUsersAvailable()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Administration

public Administration()
Method Detail

canDisplay

public boolean canDisplay()
The access to the page is only for admin with no readOnly right.

Specified by:
canDisplay in interface WaoPage
Returns:
true if the Administration page can be displayed in Layout

initialize

public void initialize()
Description copied from interface: WaoPage
Used to initialize data in renderer of Layout component

Specified by:
initialize in interface WaoPage

getCompanies

public List<Company> getCompanies()
                           throws WaoException
FORMS

Throws:
WaoException

getCompaniesSelectModel

public GenericSelectModel<Company> getCompaniesSelectModel()
                                                    throws WaoException
Throws:
WaoException

getCompany

public Company getCompany()
                   throws WaoException
Throws:
WaoException

isUsersAvailable

public boolean isUsersAvailable()
                         throws WaoException
Throws:
WaoException

getUsersSelectModel

@Log
public GenericSelectModel<WaoUser> getUsersSelectModel()
                                                throws WaoException
Throws:
WaoException

getUser

@Log
public WaoUser getUser()
                throws WaoException
Throws:
WaoException


Copyright © 2009-2010 Ifremer. All Rights Reserved.