Class UILinkItemsUtils
java.lang.Object
com.jalios.jcms.uicomponent.linkitems.UILinkItemsUtils
Utils to retrieve a collection of
UILinkItem based on a prop prefix- Since:
- jcms-10.0.7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<UILinkItem> getLinkItems(Class dataClass, Class stopClass, String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data) Returns a set ofUILinkItemby searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop thestatic Set<UILinkItem> getLinkItems(Class dataClass, String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data) Returns a set ofUILinkItemby searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop thestatic Set<UILinkItem> getLinkItems(String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
-
Constructor Details
-
UILinkItemsUtils
public UILinkItemsUtils()
-
-
Method Details
-
getLinkItems
public static Set<UILinkItem> getLinkItems(String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data) - Parameters:
prefix- the property prefixworkspace- the contextWorkspacemember- the loggedMemberjcmsContext- theJcmsJspContextdata- the targetData- Returns:
- a set of
UILinkItemthat accepts to be displayed depending on context - Since:
- jcms-10.0.7
-
getLinkItems
public static Set<UILinkItem> getLinkItems(Class dataClass, Class stopClass, String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data) Returns a set ofUILinkItemby searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop the- Parameters:
dataClass- the data class to add the data class as a suffix of given prefixstopClass- the class to stop the recursion (When reaching this class by recursion using superclass, the property won't be searched on this one)prefix- the property prefixworkspace- the contextWorkspacemember- the loggedMemberjcmsContext- theJcmsJspContextdata- the targetData- Returns:
- a set of
UILinkItemthat accepts to be displayed depending on context - Since:
- jcms-10.0.7
-
getLinkItems
public static Set<UILinkItem> getLinkItems(Class dataClass, String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data) Returns a set ofUILinkItemby searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop the- Parameters:
dataClass- the data class to add the data class as a suffix of given prefixprefix- the property prefixworkspace- the contextWorkspacemember- the loggedMemberjcmsContext- theJcmsJspContextdata- the targetData- Returns:
- a set of
UILinkItemthat accepts to be displayed depending on context - Since:
- jcms-10.0.7
-