Class GeneratedGroupRestriction

All Implemented Interfaces:
Serializable, Comparable
Direct Known Subclasses:
GroupRestriction

public abstract class GeneratedGroupRestriction extends AbstractRestriction
Generated class for type CMSUserGroupRestriction.
See Also:
  • Field Details

    • INCLUDESUBGROUPS

      public static final String INCLUDESUBGROUPS
      Qualifier of the CMSUserGroupRestriction.includeSubgroups attribute
      See Also:
    • USERGROUPS

      public static final String USERGROUPS
      Qualifier of the CMSUserGroupRestriction.userGroups attribute
      See Also:
    • USERGROUPSFORRESTRICTION_SRC_ORDERED

      protected static String USERGROUPSFORRESTRICTION_SRC_ORDERED
      Relation ordering override parameter constants for UserGroupsForRestriction from ((cms2))
    • USERGROUPSFORRESTRICTION_TGT_ORDERED

      protected static String USERGROUPSFORRESTRICTION_TGT_ORDERED
    • USERGROUPSFORRESTRICTION_MARKMODIFIED

      protected static String USERGROUPSFORRESTRICTION_MARKMODIFIED
      Relation disable markmodifed parameter constants for UserGroupsForRestriction from ((cms2))
    • DEFAULT_INITIAL_ATTRIBUTES

      protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
  • Constructor Details

    • GeneratedGroupRestriction

      public GeneratedGroupRestriction()
  • Method Details

    • getDefaultAttributeModes

      protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
      Overrides:
      getDefaultAttributeModes in class GeneratedAbstractRestriction
    • isIncludeSubgroups

      public Boolean isIncludeSubgroups(SessionContext ctx)
      Generated method - Getter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Returns:
      the includeSubgroups
    • isIncludeSubgroups

      public Boolean isIncludeSubgroups()
      Generated method - Getter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Returns:
      the includeSubgroups
    • isIncludeSubgroupsAsPrimitive

      public boolean isIncludeSubgroupsAsPrimitive(SessionContext ctx)
      Generated method - Getter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Returns:
      the includeSubgroups
    • isIncludeSubgroupsAsPrimitive

      public boolean isIncludeSubgroupsAsPrimitive()
      Generated method - Getter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Returns:
      the includeSubgroups
    • setIncludeSubgroups

      public void setIncludeSubgroups(SessionContext ctx, Boolean value)
      Generated method - Setter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Parameters:
      value - the includeSubgroups
    • setIncludeSubgroups

      public void setIncludeSubgroups(Boolean value)
      Generated method - Setter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Parameters:
      value - the includeSubgroups
    • setIncludeSubgroups

      public void setIncludeSubgroups(SessionContext ctx, boolean value)
      Generated method - Setter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Parameters:
      value - the includeSubgroups
    • setIncludeSubgroups

      public void setIncludeSubgroups(boolean value)
      Generated method - Setter of the CMSUserGroupRestriction.includeSubgroups attribute.
      Parameters:
      value - the includeSubgroups
    • isMarkModifiedDisabled

      @Deprecated(since="2105", forRemoval=true) public boolean isMarkModifiedDisabled(Item referencedItem)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      isMarkModifiedDisabled in class GeneratedAbstractRestriction
    • getUserGroups

      public Collection<UserGroup> getUserGroups(SessionContext ctx)
      Generated method - Getter of the CMSUserGroupRestriction.userGroups attribute.
      Returns:
      the userGroups
    • getUserGroups

      public Collection<UserGroup> getUserGroups()
      Generated method - Getter of the CMSUserGroupRestriction.userGroups attribute.
      Returns:
      the userGroups
    • getUserGroupsCount

      public long getUserGroupsCount(SessionContext ctx)
    • getUserGroupsCount

      public long getUserGroupsCount()
    • setUserGroups

      public void setUserGroups(SessionContext ctx, Collection<UserGroup> value)
      Generated method - Setter of the CMSUserGroupRestriction.userGroups attribute.
      Parameters:
      value - the userGroups
    • setUserGroups

      public void setUserGroups(Collection<UserGroup> value)
      Generated method - Setter of the CMSUserGroupRestriction.userGroups attribute.
      Parameters:
      value - the userGroups
    • addToUserGroups

      public void addToUserGroups(SessionContext ctx, UserGroup value)
      Generated method - Adds value to userGroups.
      Parameters:
      value - the item to add to userGroups
    • addToUserGroups

      public void addToUserGroups(UserGroup value)
      Generated method - Adds value to userGroups.
      Parameters:
      value - the item to add to userGroups
    • removeFromUserGroups

      public void removeFromUserGroups(SessionContext ctx, UserGroup value)
      Generated method - Removes value from userGroups.
      Parameters:
      value - the item to remove from userGroups
    • removeFromUserGroups

      public void removeFromUserGroups(UserGroup value)
      Generated method - Removes value from userGroups.
      Parameters:
      value - the item to remove from userGroups