Class ShareNavigation
java.lang.Object
de.uplanet.lucy.server.auxiliaries.share.menu.ShareNavigation
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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.intinsertUserProfile(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.intremoveUserProfile(de.uplanet.lucy.server.businesslogic.IBusinessLogicProcessingContext p_ctx) Remove record from the profile table.intupdateUserProfileNew(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:
trueif removal was successful,falseotherwise.
-
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-trueif the position should be updated with a new menu navigation item,falseotherwise.p_iNoOfEntries- Number of visible entries.- Returns:
0if nothing has been inserted or1if 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-trueif the position should be updated with a new menu navigation item,falseotherwise.p_iNoOfEntries- Number of visible entries.- Returns:
trueif updating was successful,falseotherwise.
-
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.
-