Class EmployeeModel

    • Field Detail

      • _TYPECODE

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

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

        public static final java.lang.String ORGANIZATIONROLES
        Generated constant - Attribute key of Employee.organizationRoles attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • UNIT

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

        public static final java.lang.String TICKETSTORES
        Generated constant - Attribute key of Employee.ticketstores attribute defined at extension ticketsystem.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EmployeeModel

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

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

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmployeeModel​(boolean _loginDisabled,
                             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:
        _loginDisabled - initial attribute declared by type User at extension core
        _uid - initial attribute declared by type Principal at extension core
      • EmployeeModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public EmployeeModel​(java.util.Collection<CustomerReviewModel> _customerReviews,
                             boolean _loginDisabled,
                             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:
        _customerReviews - initial attribute declared by type User at extension customerreview
        _loginDisabled - initial attribute declared by type User at extension core
        _owner - initial attribute declared by type Item at extension core
        _uid - initial attribute declared by type Principal at extension core
    • Method Detail

      • getOrganizationRoles

        @Accessor(qualifier="organizationRoles",
                  type=GETTER)
        public java.util.Collection<PrincipalGroupModel> getOrganizationRoles()
        Generated method - Getter of the Employee.organizationRoles dynamic attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the organizationRoles - OrganizationRoles will only have organization related roles as its members
      • getTicketstores

        @Accessor(qualifier="ticketstores",
                  type=GETTER)
        public java.util.List<BaseStoreModel> getTicketstores()
        Generated method - Getter of the Employee.ticketstores attribute defined at extension ticketsystem. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the ticketstores
      • setTicketstores

        @Accessor(qualifier="ticketstores",
                  type=SETTER)
        public void setTicketstores​(java.util.List<BaseStoreModel> value)
        Generated method - Setter of Employee.ticketstores attribute defined at extension ticketsystem.
        Parameters:
        value - the ticketstores