Class UILinkItemsUtils
- java.lang.Object
-
- com.jalios.jcms.uicomponent.linkitems.UILinkItemsUtils
-
public class UILinkItemsUtils extends java.lang.Object
Utils to retrieve a collection ofUILinkItem
based on a prop prefix- Since:
- jcms-10.0.7
-
-
Constructor Summary
Constructors Constructor Description UILinkItemsUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Set<UILinkItem>
getLinkItems(java.lang.Class dataClass, java.lang.Class stopClass, java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
Returns a set ofUILinkItem
by searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop thestatic java.util.Set<UILinkItem>
getLinkItems(java.lang.Class dataClass, java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
Returns a set ofUILinkItem
by searching for the given dataClass and prefix, and searching for this class superclass links The stop class is available to stop thestatic java.util.Set<UILinkItem>
getLinkItems(java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
-
-
-
Method Detail
-
getLinkItems
public static java.util.Set<UILinkItem> getLinkItems(java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
- Parameters:
prefix
- the property prefixworkspace
- the contextWorkspace
member
- the loggedMember
jcmsContext
- theJcmsJspContext
data
- the targetData
- Returns:
- a set of
UILinkItem
that accepts to be displayed depending on context - Since:
- jcms-10.0.7
-
getLinkItems
public static java.util.Set<UILinkItem> getLinkItems(java.lang.Class dataClass, java.lang.Class stopClass, java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
Returns a set ofUILinkItem
by 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 contextWorkspace
member
- the loggedMember
jcmsContext
- theJcmsJspContext
data
- the targetData
- Returns:
- a set of
UILinkItem
that accepts to be displayed depending on context - Since:
- jcms-10.0.7
-
getLinkItems
public static java.util.Set<UILinkItem> getLinkItems(java.lang.Class dataClass, java.lang.String prefix, Workspace workspace, Member member, JcmsJspContext jcmsContext, Data data)
Returns a set ofUILinkItem
by 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 contextWorkspace
member
- the loggedMember
jcmsContext
- theJcmsJspContext
data
- the targetData
- Returns:
- a set of
UILinkItem
that accepts to be displayed depending on context - Since:
- jcms-10.0.7
-
-