Class WebMenuAdministration
- java.lang.Object
-
- de.uplanet.lucy.server.auxiliaries.menu.WebMenuAdministration
-
@VelocityCallable("singleton") public final class WebMenuAdministration extends Object
-
-
Constructor Summary
Constructors Constructor Description WebMenuAdministration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
changeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
Exception
changeNode(de.uplanet.jdbc.JdbcConnection p_conn, Map<String,String> p_names, String p_strGuid)
Changing a menu-nodeException
deleteMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strGuid)
Deleting a menu-nodeList<PageInfo>
getContentPages(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid)
String
getLinkParamV5(String p_strLink, int p_lIdx)
List<String>
getMenuLanguages()
Get List of configured languagesString
getSearchLink(de.uplanet.jdbc.JdbcConnection p_conn, String p_strRecId, String p_strAppGuid, String p_strTargetGuid)
Exception
insertAppendCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
Exception
insertAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
Appending a new menu-nodeException
insertBeforeCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strNewMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
Exception
insertBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
Inserting a new menu-nodeboolean
isCms(String p_strAppGuid)
boolean
isContentPublished(de.uplanet.jdbc.JdbcConnection p_conn, String p_strGuid, String p_strAppGuid)
isContentPublishedException
moveAppendCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
Exception
moveAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
Appending a menu-nodeException
moveBeforeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strDescMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
Exception
moveBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
Moving a menu-node
-
-
-
Method Detail
-
getMenuLanguages
public List<String> getMenuLanguages()
Get List of configured languages- Returns:
- List of configured languages
-
isCms
public boolean isCms(String p_strAppGuid)
-
getSearchLink
public String getSearchLink(de.uplanet.jdbc.JdbcConnection p_conn, String p_strRecId, String p_strAppGuid, String p_strTargetGuid)
-
isContentPublished
public boolean isContentPublished(de.uplanet.jdbc.JdbcConnection p_conn, String p_strGuid, String p_strAppGuid)
isContentPublished- Parameters:
p_conn
- JdbcConnectionp_strGuid
- Guid of menuitem- Returns:
- true, if menuitem present
-
getContentPages
public List<PageInfo> getContentPages(de.uplanet.jdbc.JdbcConnection p_conn, String p_strAppGuid)
-
insertBeforeMenuNode
public Exception insertBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
Inserting a new menu-node- Parameters:
p_conn
- JdbcConnectionp_strSubmenuGuid
- Guid of descending menuitemp_strLink
- String with link to the new articlep_names
- Map with Name / Language-Idp_strNewGuid
- Guid of new Menuitem- Returns:
- Exception, if occurred.
-
insertBeforeCmsMenuNode
public Exception insertBeforeCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strNewMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
-
insertAppendMenuNode
public Exception insertAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strNewGuid)
Appending a new menu-node- Parameters:
p_conn
- JdbcConnectionp_strSubmenuGuid
- Guid of parent menuitemp_strLink
- String with link to the new articlep_names
- Map with Name / Language-Idp_strNewGuid
- Guid of new menuitem- Returns:
- Exception, if occurred.
-
insertAppendCmsMenuNode
public Exception insertAppendCmsMenuNode(de.uplanet.lucy.server.IDatabaseProcessingContext p_ctx, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
-
moveBeforeMenuNode
public Exception moveBeforeMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
Moving a menu-node- Parameters:
p_conn
- JdbcConnectionp_strSubmenuGuid
- Guid of descending menuitemp_strLink
- String with link to the new articlep_names
- Map with Name / Language-Idp_strGuid
- Guid of Menuitem- Returns:
- Exception, if occurred
-
moveBeforeCmsMenuNode
public Exception moveBeforeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strDescMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
-
moveAppendMenuNode
public Exception moveAppendMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strSubmenuGuid, String p_strLink, Map<String,String> p_names, String p_strGuid)
Appending a menu-node- Parameters:
p_conn
- JdbcConnectionp_strSubmenuGuid
- Guid of parent menuitemp_strLink
- String with link to the new articlep_names
- Map with Name / Language-Idp_strGuid
- Guid of Menuitem- Returns:
- Exception, if occurred.
-
moveAppendCmsMenuNode
public Exception moveAppendCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strParentMenuGuid, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
-
changeNode
public Exception changeNode(de.uplanet.jdbc.JdbcConnection p_conn, Map<String,String> p_names, String p_strGuid)
Changing a menu-node- Parameters:
p_conn
- JdbcConnectionp_names
- Map with Name / Language-Idp_strGuid
- Guid of Menuitem- Returns:
- Exception, if occurred.
-
changeCmsMenuNode
public Exception changeCmsMenuNode(de.uplanet.jdbc.JdbcConnection p_conn, String p_strMenuGuid, Map<String,String> p_names, String p_strAppGuid, String p_strCmsPageGuid, String p_strTrgtViewPageGuid, String p_strDefLang, Map<String,String> p_langRecIds, Date p_dtValidityStart, Date p_dtValidityEnd, boolean p_bFallbackDefaultLanguage)
-
-