| java.lang.Object com.ivata.groupware.business.BusinessLogic com.ivata.groupware.navigation.NavigationImpl
NavigationImpl | public class NavigationImpl extends BusinessLogic implements Navigation(Code) | | Lets you access the menues and folders in the system and generally get
around.
since: 2002-05-07 author: Colin MacLeod author: colin.macleod@ivata.com version: $Revision: 1.2 $ |
Constructor Summary | |
public | NavigationImpl(QueryPersistenceManager persistenceManager) Construct and initialize the navigation implementation. |
NavigationImpl | public NavigationImpl(QueryPersistenceManager persistenceManager)(Code) | | Construct and initialize the navigation implementation.
Parameters: persistenceManager - persistence manager used to store/retrieve dataobjects. |
addMenuItem | public void addMenuItem(SecuritySession securitySession, MenuItemDO menuItem) throws SystemException(Code) | | Add a new menu item, with no image associated with it initially.
Parameters: userName - the user for whom to insert the new menu item, ornull if everyone should see it. Parameters: menuId - the unique identifier of the menu into which the new itemwill be inserted. Parameters: text - human-readable english language text for the menu item.Should be unique within the menu it is in though this is not enforcedserver-side. Parameters: URL - the URL the new menu item links to. |
amendMenuItem | public void amendMenuItem(SecuritySession securitySession, MenuItemDO menuItem) throws SystemException(Code) | | changes a menu item, if it belongs to the given user
Parameters: menuItemId - the unique identifier of the menu item to change. Parameters: text - human-readable english language text for the menu item.Should be unique within the menu it is in though this is not enforcedserver-side. Parameters: URL - the URL the new menu item links to. Parameters: userName - the user for whom the menu item should belong |
findMenues | public Collection findMenues(SecuritySession securitySession) throws SystemException(Code) | | Find all the menues for a given user.
Parameters: userName - the user to search for a Collection Containing all the user's menues, asinstances of com.ivata.groupware.menu.MenuDO MenuDO See Also: com.ivata.groupware.menu.MenuDOHome.findByUserName(String sUserName) throws: EJBException - if there is a FinderException callingMenuDOHome.findByUserName throws: EJBException - if there is a NamingException settinglooking up the MenuHome |
removeMenuItem | public void removeMenuItem(SecuritySession securitySession, String menuItemId) throws SystemException(Code) | | removes a menu item, if it belongs to the given user
Parameters: menuItemId - the unique identifier of the menu item to remove. Parameters: userName - the user for whom the menu item should belong |
|
|