com.ideo.sweetdev.business.controller.menu
Class MenuBusinessControllerProxy

java.lang.Object
  extended bycom.ideo.sweetdev.core.facade.AbstractProxy
      extended bycom.ideo.sweetdev.business.controller.menu.MenuBusinessControllerProxy
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, IBusinessController, IController, IMenuBusinessController

public class MenuBusinessControllerProxy
extends AbstractProxy
implements IMenuBusinessController, org.apache.avalon.framework.configuration.Configurable

Generated Proxy

 

Field Summary
 
Fields inherited from class com.ideo.sweetdev.core.facade.AbstractProxy
ERROR_UNSPECIFIED_FILE_LOCATION, ERROR_UNSPECIFIED_RESSOURCE_NAME, m_broker
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration config)
           
static MenuBusinessControllerProxy getInstance()
           
 MenuBean getMenu(IUser _user, java.lang.String _nameMenu)
          Get the entire menu model of the given user.
 MenuBean updateMenu(MenuBean _menu, IUser _user, java.lang.String _nameMenu)
          Update recursively a menu and its children by applying jurisdiction rules.
 
Methods inherited from class com.ideo.sweetdev.core.facade.AbstractProxy
callEvent, callEvent, getEventName, getFileLocation, setEventName, setFileLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MenuBusinessControllerProxy getInstance()
Returns:
MenuBusinessControllerProxy

getMenu

public MenuBean getMenu(IUser _user,
                        java.lang.String _nameMenu)
                 throws TechnicalException
Description copied from interface: IMenuBusinessController
Get the entire menu model of the given user.

Specified by:
getMenu in interface IMenuBusinessController
Throws:
TechnicalException
Parameters:
_user - IUser
_nameMenu - String
Returns:
MenuBean
See Also:
IMenuBusinessController.getMenu(com.ideo.sweetdev.core.user.IUser, java.lang.String)

updateMenu

public MenuBean updateMenu(MenuBean _menu,
                           IUser _user,
                           java.lang.String _nameMenu)
                    throws TechnicalException
Description copied from interface: IMenuBusinessController
Update recursively a menu and its children by applying jurisdiction rules. Menu items linked to a non authorized page according to user's jurisdiction are removed from the menu model.

Specified by:
updateMenu in interface IMenuBusinessController
Throws:
TechnicalException
Parameters:
_menu - MenuBean
_user - IUser
_nameMenu - Menu name
See Also:
IMenuBusinessController.updateMenu(com.ideo.sweetdev.data.controller.menu.bean.MenuBean, com.ideo.sweetdev.core.user.IUser, java.lang.String)

configure

public void configure(org.apache.avalon.framework.configuration.Configuration config)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(org.apache.avalon.framework.configuration.Configuration)