public class PreferencesHandler extends Object
This class contains handlers for managing preferences.
| Constructor and Description |
|---|
PreferencesHandler() |
| Modifier and Type | Method and Description |
|---|---|
static void |
normalizeTagViewId(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler normalizes the given tagViewId.
|
static void |
removeTag(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler provides a way to remove tags.
|
static void |
saveTagInformation(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler should be used whenever you want to add a Tag to a
page.
|
static void |
searchTags(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler provides a way to search for tags.
|
public static void saveTagInformation(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler should be used whenever you want to add a Tag to a page. If the exact same Tag is added twice, it will be ignored. If "user" is not specified the current principal user will be used for this value.
public static void searchTags(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler provides a way to search for tags. All 3 properties are optional. If none are specified, all tags will be returned. If more than one are specified, tags matching all specified criteria will be returned.
public static void removeTag(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler provides a way to remove tags. If the user is not specified, the current "principal user" will be used.
public static void normalizeTagViewId(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This handler normalizes the given tagViewId. This is required in order to ensure tagViewId's are compared the same way every time.
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.