public class ReverseLinkService extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ALL |
static List<String> |
LINK_TYPES |
static String |
NONE |
static String |
ONLY_FIRST |
static String |
ONLY_PREVIOUS_COMPONENT |
static String |
ONLY_THIS_PAGE |
Constructor and Description |
---|
ReverseLinkService() |
Modifier and Type | Method and Description |
---|---|
void |
clearCache() |
List<String> |
getAllTextName(ContentContext ctx,
MenuElement elem) |
Map<String,String> |
getDefinitions(ContentContext ctx) |
static ReverseLinkService |
getInstance(GlobalContext globalContext) |
Map<String,MenuElement> |
getReversedLinkCache(MenuElement elem) |
static void |
main(String[] args) |
String |
replaceLink(ContentContext ctx,
IContentVisualComponent comp,
String contentValue) |
public static final String NONE
public static final String ONLY_FIRST
public static final String ONLY_THIS_PAGE
public static final String ONLY_PREVIOUS_COMPONENT
public static final String ALL
public static ReverseLinkService getInstance(GlobalContext globalContext) throws ServiceException
ServiceException
public static void main(String[] args)
public void clearCache()
public List<String> getAllTextName(ContentContext ctx, MenuElement elem) throws Exception
Exception
public Map<String,MenuElement> getReversedLinkCache(MenuElement elem) throws Exception
Exception
public Map<String,String> getDefinitions(ContentContext ctx) throws Exception
Exception
public String replaceLink(ContentContext ctx, IContentVisualComponent comp, String contentValue) throws Exception
Exception
Copyright © 2012-2018. All Rights Reserved.