Class ShareNavigation

java.lang.Object
de.uplanet.lucy.server.auxiliaries.share.menu.ShareNavigation

@VelocityCallable("singleton") public final class ShareNavigation extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
    ShareNavigation(de.uplanet.lucy.server.auxiliaries.share.menu.IAccessControl p_accessControl, de.uplanet.lucy.server.auxiliaries.share.menu.IMenuFactory p_menuFactory, de.uplanet.lucy.server.auxiliaries.share.menu.IMenuItemFactory p_menuItemFactory, de.uplanet.lucy.server.auxiliaries.share.menu.IUserProfileDao p_userProfileDao)
    Constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<de.uplanet.lucy.server.auxiliaries.share.menu.ITreeItem<de.uplanet.lucy.server.auxiliaries.share.menu.VcSuite,de.uplanet.lucy.server.auxiliaries.share.menu.VcMenu>>
    getApplicationSuiteEntries(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strLang)
     
    List<de.uplanet.lucy.server.auxiliaries.share.menu.VcMenu>
    getEntries(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strLang, int p_iNoOfEntries)
    Get entries for navigation.
    int
    insertUserProfile(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strAppGuid, String p_strTargetPageGuid, int p_iNewPosition, int p_iOldPosition, boolean p_bUpdatePosition, int p_iNoOfEntries)
    First insertion of record into the profile table.
    int
    removeUserProfile(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx)
    Remove record from the profile table.
    int
    updateUserProfileNew(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strAppGuid, String p_strTargetPageGuid, int p_iNewPosition, int p_iOldPosition, boolean p_bUpdatePosition, int p_iNoOfEntries)
    Update of the profile table.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ShareNavigation

      public ShareNavigation()
      Default constructor.
    • ShareNavigation

      public ShareNavigation(de.uplanet.lucy.server.auxiliaries.share.menu.IAccessControl p_accessControl, de.uplanet.lucy.server.auxiliaries.share.menu.IMenuFactory p_menuFactory, de.uplanet.lucy.server.auxiliaries.share.menu.IMenuItemFactory p_menuItemFactory, de.uplanet.lucy.server.auxiliaries.share.menu.IUserProfileDao p_userProfileDao)
      Constructor.
      Parameters:
      p_accessControl - The access control instance.
      p_menuFactory - The menu factory to create menu instances.
      p_menuItemFactory - The menu item factory.
  • Method Details

    • removeUserProfile

      public int removeUserProfile(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx)
      Remove record from the profile table.
      Parameters:
      p_ctx - The processing context.
      Returns:
      true if removal was successful, false otherwise.
    • insertUserProfile

      public int insertUserProfile(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strAppGuid, String p_strTargetPageGuid, int p_iNewPosition, int p_iOldPosition, boolean p_bUpdatePosition, int p_iNoOfEntries)
      First insertion of record into the profile table.
      Parameters:
      p_ctx - The processing context.
      p_strAppGuid - The application GUID of the menu navigation item to store.
      p_strTargetPageGuid - The target page GUID of the menu navigation item to store.
      p_iNewPosition - The new position of the menu navigation item.
      p_iOldPosition - The old position of the menu navigation item.
      p_bUpdatePosition - true if the position should be updated with a new menu navigation item, false otherwise.
      p_iNoOfEntries - Number of visible entries.
      Returns:
      0 if nothing has been inserted or 1 if one row has been inserted.
    • updateUserProfileNew

      public int updateUserProfileNew(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strAppGuid, String p_strTargetPageGuid, int p_iNewPosition, int p_iOldPosition, boolean p_bUpdatePosition, int p_iNoOfEntries)
      Update of the profile table.
      Parameters:
      p_ctx - The processing context.
      p_strAppGuid - The application GUID of the menu navigation item to store.
      p_strTargetPageGuid - The target page GUID of the menu navigation item to store.
      p_iNewPosition - The new position of the menu navigation item.
      p_iOldPosition - The old position of the menu navigation item.
      p_bUpdatePosition - true if the position should be updated with a new menu navigation item, false otherwise.
      p_iNoOfEntries - Number of visible entries.
      Returns:
      true if updating was successful, false otherwise.
    • getApplicationSuiteEntries

      public List<de.uplanet.lucy.server.auxiliaries.share.menu.ITreeItem<de.uplanet.lucy.server.auxiliaries.share.menu.VcSuite,de.uplanet.lucy.server.auxiliaries.share.menu.VcMenu>> getApplicationSuiteEntries(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strLang)
    • getEntries

      public List<de.uplanet.lucy.server.auxiliaries.share.menu.VcMenu> getEntries(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx, String p_strLang, int p_iNoOfEntries)
      Get entries for navigation.
      Parameters:
      p_ctx - The processing context.
      p_strLang - The language used.
      p_iNoOfEntries - Number of visible entries.