@Deprecated public class DynamicCategoryNodePopulator extends Object
CatalogTreeModelPopulator| Modifier and Type | Field and Description |
|---|---|
static String |
CTX_MAX_DEPTH
Deprecated.
|
static int |
ZERO_DEPTH
Deprecated.
|
| Constructor and Description |
|---|
DynamicCategoryNodePopulator()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected DynamicNode |
createDynamicNode(DynamicNode parent,
ItemModel data,
String label,
CockpitContext ctx)
Deprecated.
|
protected <T extends ItemModel> |
createDynamicNodes(Collection<T> objects,
Function<T,String> labelProvider,
DynamicNode parent)
Deprecated.
|
protected String |
creteDynamicNodeId(NavigationNode parent,
String postFix)
Deprecated.
|
protected String |
getCatalogLabel(CatalogModel catalog)
Deprecated.
|
CatalogService |
getCatalogService()
Deprecated.
|
protected String |
getCatalogVersionLabel(CatalogVersionModel catalogVersionModel)
Deprecated.
|
protected String |
getCategoryLabel(CategoryModel categoryModel)
Deprecated.
|
List<NavigationNode> |
getChildren(NavigationNode parent)
Deprecated.
|
LabelService |
getLabelService()
Deprecated.
|
protected Integer |
getMaxDepthOrNull(CockpitContext ctx)
Deprecated.
|
PermissionFacade |
getPermissionFacade()
Deprecated.
|
protected boolean |
isMaxDepthReached(DynamicNode parent)
Deprecated.
|
void |
setCatalogService(CatalogService catalogService)
Deprecated.
|
void |
setLabelService(LabelService labelService)
Deprecated.
|
void |
setPermissionFacade(PermissionFacade permissionFacade)
Deprecated.
|
public static final String CTX_MAX_DEPTH
public static final int ZERO_DEPTH
public List<NavigationNode> getChildren(NavigationNode parent)
protected <T extends ItemModel> List<NavigationNode> createDynamicNodes(Collection<T> objects, Function<T,String> labelProvider, DynamicNode parent)
protected DynamicNode createDynamicNode(DynamicNode parent,
ItemModel data,
String label,
CockpitContext ctx)
protected String getCatalogLabel(CatalogModel catalog)
protected String getCatalogVersionLabel(CatalogVersionModel catalogVersionModel)
protected String getCategoryLabel(CategoryModel categoryModel)
protected boolean isMaxDepthReached(DynamicNode parent)
protected Integer getMaxDepthOrNull(CockpitContext ctx)
protected String creteDynamicNodeId(NavigationNode parent, String postFix)
public void setCatalogService(CatalogService catalogService)
public void setPermissionFacade(PermissionFacade permissionFacade)
public void setLabelService(LabelService labelService)
public CatalogService getCatalogService()
public PermissionFacade getPermissionFacade()
public LabelService getLabelService()
Copyright © 2017 SAP SE. All Rights Reserved.