Class GeneratedUserRestriction

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

public abstract class GeneratedUserRestriction extends Restriction
Generated class for type UserRestriction.
See Also:
  • Field Details

  • Constructor Details

    • GeneratedUserRestriction

      public GeneratedUserRestriction()
  • Method Details

    • getDefaultAttributeModes

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

      public Collection<Principal> getUsers(SessionContext ctx)
      Generated method - Getter of the UserRestriction.users attribute.
      Returns:
      the users - the principals the given voucher is valid for.
    • getUsers

      public Collection<Principal> getUsers()
      Generated method - Getter of the UserRestriction.users attribute.
      Returns:
      the users - the principals the given voucher is valid for.
    • setUsers

      public void setUsers(SessionContext ctx, Collection<Principal> value)
      Generated method - Setter of the UserRestriction.users attribute.
      Parameters:
      value - the users - the principals the given voucher is valid for.
    • setUsers

      public void setUsers(Collection<Principal> value)
      Generated method - Setter of the UserRestriction.users attribute.
      Parameters:
      value - the users - the principals the given voucher is valid for.