Class GeneratedUserRestriction

    • Field Detail

      • USERS

        public static final java.lang.String USERS
        Qualifier of the UserRestriction.users attribute
        See Also:
        Constant Field Values
      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedUserRestriction

        public GeneratedUserRestriction()
    • Method Detail

      • getUsers

        public java.util.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 java.util.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,
                             java.util.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​(java.util.Collection<Principal> value)
        Generated method - Setter of the UserRestriction.users attribute.
        Parameters:
        value - the users - the principals the given voucher is valid for.