Class B2BUserGroupModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class B2BUserGroupModel
    extends UserGroupModel
    Generated model class for type B2BUserGroup first defined at extension b2bcommerce.
    See Also:
    Serialized Form
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _B2BUNIT2B2BUSERGROUPS

        public static final java.lang.String _B2BUNIT2B2BUSERGROUPS
        Generated relation code constant for relation B2BUnit2B2BUserGroups defining source attribute Unit in extension b2bcommerce.
        See Also:
        Constant Field Values
      • UNIT

        public static final java.lang.String UNIT
        Generated constant - Attribute key of B2BUserGroup.Unit attribute defined at extension b2bcommerce.
        See Also:
        Constant Field Values
      • PERMISSIONS

        public static final java.lang.String PERMISSIONS
        Generated constant - Attribute key of B2BUserGroup.Permissions attribute defined at extension b2bapprovalprocess.
        See Also:
        Constant Field Values
    • Constructor Detail

      • B2BUserGroupModel

        public B2BUserGroupModel()
        Generated constructor - Default constructor for generic creation.
      • B2BUserGroupModel

        public B2BUserGroupModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • B2BUserGroupModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BUserGroupModel​(B2BUnitModel _Unit,
                                 java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _Unit - initial attribute declared by type B2BUserGroup at extension b2bcommerce
        _uid - initial attribute declared by type Principal at extension core
      • B2BUserGroupModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public B2BUserGroupModel​(B2BUnitModel _Unit,
                                 ItemModel _owner,
                                 java.lang.String _uid)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _Unit - initial attribute declared by type B2BUserGroup at extension b2bcommerce
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type Principal at extension core
    • Method Detail

      • getPermissions

        @Accessor(qualifier="Permissions",
                  type=GETTER)
        public java.util.List<B2BPermissionModel> getPermissions()
        Generated method - Getter of the B2BUserGroup.Permissions attribute defined at extension b2bapprovalprocess. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the Permissions
      • getUnit

        @Accessor(qualifier="Unit",
                  type=GETTER)
        public B2BUnitModel getUnit()
        Generated method - Getter of the B2BUserGroup.Unit attribute defined at extension b2bcommerce.
        Returns:
        the Unit - The Parent B2BUnit
      • setPermissions

        @Accessor(qualifier="Permissions",
                  type=SETTER)
        public void setPermissions​(java.util.List<B2BPermissionModel> value)
        Generated method - Setter of B2BUserGroup.Permissions attribute defined at extension b2bapprovalprocess.
        Parameters:
        value - the Permissions
      • setUnit

        @Accessor(qualifier="Unit",
                  type=SETTER)
        public void setUnit​(B2BUnitModel value)
        Generated method - Setter of B2BUserGroup.Unit attribute defined at extension b2bcommerce.
        Parameters:
        value - the Unit - The Parent B2BUnit