Class EmployeeModel

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TestEmployeeModel, VendorUserModel

public class EmployeeModel extends UserModel
Generated model class for type Employee first defined at extension core.
See Also:
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _B2BUNIT2EMPLOYEE

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

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

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

      public static final String TICKETSTORES
      Generated constant - Attribute key of Employee.ticketstores attribute defined at extension ticketsystem.
      See Also:
  • Constructor Details

    • 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, 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(Collection<CustomerReviewModel> _customerReviews, boolean _loginDisabled, ItemModel _owner, 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 Details

    • getOrganizationRoles

      @Accessor(qualifier="organizationRoles", type=GETTER) public 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 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(List<BaseStoreModel> value)
      Generated method - Setter of Employee.ticketstores attribute defined at extension ticketsystem.
      Parameters:
      value - the ticketstores