Package de.xima.fc.gui.model
Class PlaceholderLibrary
- java.lang.Object
-
- de.xima.fc.gui.model.PlaceholderLibrary
-
- All Implemented Interfaces:
IPlaceholderLibrary
,Serializable
public class PlaceholderLibrary extends Object implements IPlaceholderLibrary
Represents the set of placeholders available for selection in the placeholder dialog.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description PlaceholderLibrary()
A new placeholder library with the default static placeholders.
-
Method Summary
-
-
-
Method Detail
-
add
public void add(IPlaceholderGroup group, PlaceHolder placeholder)
- Specified by:
add
in interfaceIPlaceholderLibrary
-
addAll
public void addAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders)
- Specified by:
addAll
in interfaceIPlaceholderLibrary
-
addAll
public void addAll(Map<IPlaceholderGroup,Set<PlaceHolder>> placeholders)
- Specified by:
addAll
in interfaceIPlaceholderLibrary
-
clearAll
public void clearAll()
- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
clearAll
public void clearAll(Collection<IPlaceholderGroup> groups)
- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
clearAll
public void clearAll(IPlaceholderGroup group)
- Specified by:
clearAll
in interfaceIPlaceholderLibrary
-
createFormPlaceHoldersForItems
public Set<PlaceHolder> createFormPlaceHoldersForItems(Mandant client, Locale locale, Iterable<XItem> xItems, Iterable<FormVariable> variables)
-
getAll
public Iterable<org.apache.commons.lang3.tuple.Pair<IPlaceholderGroup,PlaceHolder>> getAll()
- Specified by:
getAll
in interfaceIPlaceholderLibrary
-
getAll
public Set<PlaceHolder> getAll(IPlaceholderGroup group)
- Specified by:
getAll
in interfaceIPlaceholderLibrary
-
getGroups
public Iterable<IPlaceholderGroup> getGroups()
- Specified by:
getGroups
in interfaceIPlaceholderLibrary
-
remove
public void remove(IPlaceholderGroup group, PlaceHolder placeholder)
- Specified by:
remove
in interfaceIPlaceholderLibrary
-
removeAll
public void removeAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders)
- Specified by:
removeAll
in interfaceIPlaceholderLibrary
-
replaceAll
public void replaceAll(IPlaceholderGroup group, Iterable<PlaceHolder> placeholders)
- Specified by:
replaceAll
in interfaceIPlaceholderLibrary
-
updateCounterPlaceholders
public void updateCounterPlaceholders(IEntityContext ec, Mandant client)
- 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
public void updateTemplatePlaceholders(IEntityContext ec, Mandant client)
- Specified by:
updateTemplatePlaceholders
in interfaceIPlaceholderLibrary
-
updateWorkflowActionResultPlaceholders
public void updateWorkflowActionResultPlaceholders(IEntityContext ec, Aktion action)
- Specified by:
updateWorkflowActionResultPlaceholders
in interfaceIPlaceholderLibrary
- Parameters:
ec
- Ignored parameter, can be null.action
- Ignored parameter, can be null.
-
-