public class UserRestrictionModel extends RestrictionModel
AbstractItemModel.NewModelContextFactory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
_TYPECODE
Generated model type code constant.
|
static java.lang.String |
USERS
Generated constant - Attribute key of
UserRestriction.users attribute defined at extension voucher. |
_VOUCHERRESTRICTIONSRELATION, DESCRIPTION, POSITIVE, RESTRICTIONTYPE, VIOLATIONMESSAGE, VOUCHER, VOUCHERPOS_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDLANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY| Constructor and Description |
|---|
UserRestrictionModel()
Generated constructor - Default constructor for generic creation.
|
UserRestrictionModel(java.util.Collection<PrincipalModel> _users,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
UserRestrictionModel(ItemModel _owner,
java.util.Collection<PrincipalModel> _users,
VoucherModel _voucher)
Deprecated.
since 4.1.1 Please use the default constructor without parameters
|
UserRestrictionModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<PrincipalModel> |
getUsers()
Generated method - Getter of the
UserRestriction.users attribute defined at extension voucher. |
void |
setUsers(java.util.Collection<PrincipalModel> value)
Generated method - Setter of
UserRestriction.users attribute defined at extension voucher. |
getDescription, getDescription, getPositive, getRestrictionType, getRestrictionType, getViolationMessage, getViolationMessage, getVoucher, setDescription, setDescription, setPositive, setViolationMessage, setViolationMessage, setVouchergetComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerequals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplacepublic static final java.lang.String _TYPECODE
public static final java.lang.String USERS
UserRestriction.users attribute defined at extension voucher.public UserRestrictionModel()
public UserRestrictionModel(ItemModelContext ctx)
ctx - the model context to be injected, must not be null@Deprecated public UserRestrictionModel(java.util.Collection<PrincipalModel> _users, VoucherModel _voucher)
_users - initial attribute declared by type UserRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Deprecated public UserRestrictionModel(ItemModel _owner, java.util.Collection<PrincipalModel> _users, VoucherModel _voucher)
_owner - initial attribute declared by type Item at extension core_users - initial attribute declared by type UserRestriction at extension voucher_voucher - initial attribute declared by type Restriction at extension voucher@Accessor(qualifier="users", type=GETTER) public java.util.Collection<PrincipalModel> getUsers()
UserRestriction.users attribute defined at extension voucher.
Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.@Accessor(qualifier="users", type=SETTER) public void setUsers(java.util.Collection<PrincipalModel> value)
UserRestriction.users attribute defined at extension voucher.value - the users - the principals the given voucher is valid for.Copyright © 2018 SAP SE. All Rights Reserved.