Class ShareNavigation
java.lang.Object
de.uplanet.lucy.server.auxiliaries.share.menu.ShareNavigation
-
Constructor Summary
ConstructorDescriptionDefault 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 TypeMethodDescriptionList
<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.
-
Constructor Details
-
ShareNavigation
public ShareNavigation()Default constructor.
-
-
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 or1
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
-
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.
-