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 TypeMethodDescriptionvoidadd(IPlaceholderGroup group, PlaceHolder placeholder) voidaddAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) voidaddAll(Map<IPlaceholderGroup, Set<PlaceHolder>> placeholders) voidclearAll()voidclearAll(IPlaceholderGroup group) voidclearAll(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) voidremove(IPlaceholderGroup group, PlaceHolder placeholder) voidremoveAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) voidreplaceAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders) voidupdateCounterPlaceholders(IEntityContext ec, Mandant client) voidupdateDesignerPlaceholders(Map<IPlaceholderGroup, Set<PlaceHolder>> designerPlaceholders) voidupdateFormPlaceholders(IEntityContext ec, Mandant client, Locale locale, PlaceholderContextModel model) voidupdateTemplatePlaceholders(IEntityContext ec, Mandant client) void
-
Constructor Details
-
PlaceholderLibrary
public PlaceholderLibrary()A new placeholder library with the default static placeholders.
-
-
Method Details
-
add
- Specified by:
addin interfaceIPlaceholderLibrary
-
addAll
- Specified by:
addAllin interfaceIPlaceholderLibrary
-
addAll
- Specified by:
addAllin interfaceIPlaceholderLibrary
-
clearAll
public void clearAll()- Specified by:
clearAllin interfaceIPlaceholderLibrary
-
clearAll
- Specified by:
clearAllin interfaceIPlaceholderLibrary
-
clearAll
- Specified by:
clearAllin interfaceIPlaceholderLibrary
-
createFormPlaceHoldersForItems
public Set<PlaceHolder> createFormPlaceHoldersForItems(Mandant client, Locale locale, Iterable<XItem> xItems, Iterable<FormVariable> variables) -
getAll
- Specified by:
getAllin interfaceIPlaceholderLibrary
-
getAll
- Specified by:
getAllin interfaceIPlaceholderLibrary
-
getGroups
- Specified by:
getGroupsin interfaceIPlaceholderLibrary
-
remove
- Specified by:
removein interfaceIPlaceholderLibrary
-
removeAll
- Specified by:
removeAllin interfaceIPlaceholderLibrary
-
replaceAll
- Specified by:
replaceAllin interfaceIPlaceholderLibrary
-
updateCounterPlaceholders
- Specified by:
updateCounterPlaceholdersin interfaceIPlaceholderLibrary
-
updateDesignerPlaceholders
public void updateDesignerPlaceholders(Map<IPlaceholderGroup, Set<PlaceHolder>> designerPlaceholders) -
updateFormPlaceholders
public void updateFormPlaceholders(IEntityContext ec, Mandant client, Locale locale, PlaceholderContextModel model) - Specified by:
updateFormPlaceholdersin interfaceIPlaceholderLibrary
-
updateTemplatePlaceholders
- Specified by:
updateTemplatePlaceholdersin interfaceIPlaceholderLibrary
-
updateWorkflowActionResultPlaceholders
- Specified by:
updateWorkflowActionResultPlaceholdersin interfaceIPlaceholderLibrary- Parameters:
ec- Ignored parameter, can be null.action- Ignored parameter, can be null.
-
createSystemPlaceholders
-