Class ModelPermGroup

  • All Implemented Interfaces:
    java.io.Serializable

    public class ModelPermGroup
    extends java.lang.Object
    implements java.io.Serializable
    Service Permission Group Model Class
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String PERM_JOIN_AND  
      static java.lang.String PERM_JOIN_OR  
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelPermGroup()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​java.lang.Object> evalPermissions​(DispatchContext dctx, java.util.Map<java.lang.String,​? extends java.lang.Object> context)
      Eval permissions map.
      java.util.List<ModelPermission> getPermissions()
      Gets permissions.
      void setJoinType​(java.lang.String joinType)
      Sets join type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ModelPermGroup

        public ModelPermGroup()
    • Method Detail

      • setJoinType

        public void setJoinType​(java.lang.String joinType)
        Sets join type.
        Parameters:
        joinType - the join type
      • getPermissions

        public java.util.List<ModelPermission> getPermissions()
        Gets permissions.
        Returns:
        the permissions
      • evalPermissions

        public java.util.Map<java.lang.String,​java.lang.Object> evalPermissions​(DispatchContext dctx,
                                                                                      java.util.Map<java.lang.String,​? extends java.lang.Object> context)
        Eval permissions map.
        Parameters:
        dctx - the dctx
        context - the context
        Returns:
        the map