public class ListService extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ListService.I18nItem |
static class |
ListService.ListItem |
static class |
ListService.MapAllList |
static class |
ListService.OrderList |
Constructor and Description |
---|
ListService() |
Modifier and Type | Method and Description |
---|---|
void |
addList(String name,
Collection<String> list) |
void |
addList(String name,
List<IListItem> list) |
void |
clear() |
Map<String,List<IListItem>> |
getAllList(ContentContext ctx) |
Map<String,List<IListItem>> |
getAllListSorted(ContentContext ctx) |
static ListService |
getInstance(ContentContext ctx) |
List<IListItem> |
getList(ContentContext ctx,
String name) |
List<IListItem> |
getNavigationList(ContentContext ctx,
String name) |
static Map<String,String> |
listToStringMap(List<IListItem> list) |
public static ListService getInstance(ContentContext ctx)
public List<IListItem> getList(ContentContext ctx, String name) throws IOException, Exception
IOException
Exception
public List<IListItem> getNavigationList(ContentContext ctx, String name) throws Exception
Exception
public void addList(String name, Collection<String> list)
public Map<String,List<IListItem>> getAllList(ContentContext ctx)
public Map<String,List<IListItem>> getAllListSorted(ContentContext ctx)
public void clear()
Copyright © 2012-2018. All Rights Reserved.