Package de.xima.fc.gui.model
Class PlaceholderLibrary
java.lang.Object
de.xima.fc.gui.model.PlaceholderLibrary
- All Implemented Interfaces:
IPlaceholderLibrary
,Serializable
Represents the set of placeholders available for selection in the placeholder dialog.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Field Summary
Fields inherited from interface de.xima.fc.gui.interfaces.IPlaceholderLibrary
GROUP_APPOINTMENT, GROUP_ATTACHMENT, GROUP_COUNTER, GROUP_FORM, GROUP_SYSTEM, GROUP_TEMPLATE, GROUP_USER_CURRENT, GROUP_USER_INITIAL, GROUP_USER_LAST, GROUP_WORKFLOW_ACTION_RESULT, GROUP_WORKFLOW_TRIGGER_RESULT
-
Constructor Summary
ConstructorsConstructorDescriptionA new placeholder library with the default static placeholders. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IPlaceholderGroup group, PlaceHolder placeholder) void
addAll
(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) void
addAll
(Map<IPlaceholderGroup, Set<PlaceHolder>> placeholders) void
clearAll()
void
clearAll
(IPlaceholderGroup group) void
clearAll
(Collection<IPlaceholderGroup> groups) createFormPlaceHoldersForItems
(Mandant client, Locale locale, Iterable<XItem> xItems, Iterable<FormVariable> variables) static Set<PlaceHolder>
createSystemPlaceholders
(Locale clientLocale) Iterable<org.apache.commons.lang3.tuple.Pair<IPlaceholderGroup,
PlaceHolder>> getAll()
getAll
(IPlaceholderGroup group) void
remove
(IPlaceholderGroup group, PlaceHolder placeholder) void
removeAll
(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) void
replaceAll
(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) void
updateCounterPlaceholders
(IEntityContext ec, Mandant client) void
updateDesignerPlaceholders
(Map<IPlaceholderGroup, Set<PlaceHolder>> designerPlaceholders) void
updateFormPlaceholders
(IEntityContext ec, Mandant client, Locale locale, PlaceholderContextModel model) void
updateTemplatePlaceholders
(IEntityContext ec, Mandant client) void
-
Constructor Details
-
PlaceholderLibrary
public PlaceholderLibrary()A new placeholder library with the default static placeholders.
-
-
Method Details
-
add
- Specified by:
add
in interfaceIPlaceholderLibrary
-
addAll
- Specified by:
addAll
in interfaceIPlaceholderLibrary
-
addAll
- Specified by:
addAll
in interfaceIPlaceholderLibrary
-
clearAll
public void clearAll()- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
clearAll
- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
clearAll
- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
createFormPlaceHoldersForItems
public Set<PlaceHolder> createFormPlaceHoldersForItems(Mandant client, Locale locale, Iterable<XItem> xItems, Iterable<FormVariable> variables) -
getAll
- Specified by:
getAll
in interfaceIPlaceholderLibrary
-
getAll
- Specified by:
getAll
in interfaceIPlaceholderLibrary
-
getGroups
- Specified by:
getGroups
in interfaceIPlaceholderLibrary
-
remove
- Specified by:
remove
in interfaceIPlaceholderLibrary
-
removeAll
- Specified by:
removeAll
in interfaceIPlaceholderLibrary
-
replaceAll
- Specified by:
replaceAll
in interfaceIPlaceholderLibrary
-
updateCounterPlaceholders
- Specified by:
updateCounterPlaceholders
in interfaceIPlaceholderLibrary
-
updateDesignerPlaceholders
public void updateDesignerPlaceholders(Map<IPlaceholderGroup, Set<PlaceHolder>> designerPlaceholders) -
updateFormPlaceholders
public void updateFormPlaceholders(IEntityContext ec, Mandant client, Locale locale, PlaceholderContextModel model) - Specified by:
updateFormPlaceholders
in interfaceIPlaceholderLibrary
-
updateTemplatePlaceholders
- Specified by:
updateTemplatePlaceholders
in interfaceIPlaceholderLibrary
-
updateWorkflowActionResultPlaceholders
- Specified by:
updateWorkflowActionResultPlaceholders
in interfaceIPlaceholderLibrary
- Parameters:
ec
- Ignored parameter, can be null.action
- Ignored parameter, can be null.
-
createSystemPlaceholders
-