Package org.chenile.query.model
Class AllowedActionInfo
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,
String>
Specifies the metadata for the actions that are allowed for this entity.
For example, label represents the english label for the action that can be displayed in the front end
The link provides the link to the URL that needs to be called if the action is clicked name is the internal name of the action
isCombinable indicates if this action can be invoked in combination for multiple entities.
For example, an Order entity may have a "ship" action that allows multiple orders to be shipped together.
But the Order entity may have an edit action that is not combinable. It wont be possible to edit multiple orders at the same time.
For example, label represents the english label for the action that can be displayed in the front end
The link provides the link to the URL that needs to be called if the action is clicked name is the internal name of the action
isCombinable indicates if this action can be invoked in combination for multiple entities.
For example, an Order entity may have a "ship" action that allows multiple orders to be shipped together.
But the Order entity may have an edit action that is not combinable. It wont be possible to edit multiple orders at the same time.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
-
Constructor Summary
ConstructorDescriptionAllowedActionInfo
(String name, String link, String label, boolean isCombinable) -
Method Summary
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Field Details
-
label
-
link
-
name
-
isCombinable
public boolean isCombinable
-
-
Constructor Details
-
AllowedActionInfo
-
AllowedActionInfo
public AllowedActionInfo()
-