Class AllowedActionInfo

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,String>
org.chenile.query.model.AllowedActionInfo
All Implemented Interfaces:
Serializable, Cloneable, Map<String,String>

public class AllowedActionInfo extends HashMap<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.
See Also:
  • Field Details

    • label

      public String label
    • name

      public String name
    • isCombinable

      public boolean isCombinable
  • Constructor Details

    • AllowedActionInfo

      public AllowedActionInfo(String name, String link, String label, boolean isCombinable)
    • AllowedActionInfo

      public AllowedActionInfo()