Class PmOrganizationModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.partyservices.model.PmPartyModel
de.hybris.platform.partyservices.model.PmOrganizationModel
All Implemented Interfaces:
Serializable

@Deprecated(since="2208", forRemoval=true) public class PmOrganizationModel extends PmPartyModel
Deprecated, for removal: This API element is subject to removal in a future version.
Generated model class for type PmOrganization first defined at extension partyservices.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated model type code constant.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.childOrganizations attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.endDate attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.isHeadOffice attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.isLegalEntity attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.name attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.nameType attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.organizationParent attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.organizationType attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.startDate attribute defined at extension partyservices.
    static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constant - Attribute key of PmOrganization.tradingName attribute defined at extension partyservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constructor - Default constructor for generic creation.
    PmOrganizationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated constructor - Default constructor for creation with existing context
    PmOrganizationModel(String _id, ItemModel _owner, Set<PmPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals, String _tradingName)
    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
    PmOrganizationModel(String _id, Set<PmPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals, String _tradingName)
    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
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.childOrganizations attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.endDate attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.isHeadOffice attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.isLegalEntity attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.name attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.name attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.nameType attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.organizationParent attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.organizationType attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.startDate attribute defined at extension partyservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Getter of the PmOrganization.tradingName attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.childOrganizations attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.endDate attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.isHeadOffice attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.isLegalEntity attribute defined at extension partyservices.
    void
    setName(String value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.name attribute defined at extension partyservices.
    void
    setName(String value, Locale loc)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.name attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.nameType attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.organizationParent attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.organizationType attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.startDate attribute defined at extension partyservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Generated method - Setter of PmOrganization.tradingName attribute defined at extension partyservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    equals, 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, writeReplace

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • _TYPECODE

      public static final String _TYPECODE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated model type code constant.
      See Also:
    • STARTDATE

      public static final String STARTDATE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.startDate attribute defined at extension partyservices.
      See Also:
    • ENDDATE

      public static final String ENDDATE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.endDate attribute defined at extension partyservices.
      See Also:
    • ISHEADOFFICE

      public static final String ISHEADOFFICE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.isHeadOffice attribute defined at extension partyservices.
      See Also:
    • ISLEGALENTITY

      public static final String ISLEGALENTITY
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.isLegalEntity attribute defined at extension partyservices.
      See Also:
    • TRADINGNAME

      public static final String TRADINGNAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.tradingName attribute defined at extension partyservices.
      See Also:
    • NAME

      public static final String NAME
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.name attribute defined at extension partyservices.
      See Also:
    • NAMETYPE

      public static final String NAMETYPE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.nameType attribute defined at extension partyservices.
      See Also:
    • ORGANIZATIONTYPE

      public static final String ORGANIZATIONTYPE
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.organizationType attribute defined at extension partyservices.
      See Also:
    • ORGANIZATIONPARENT

      public static final String ORGANIZATIONPARENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.organizationParent attribute defined at extension partyservices.
      See Also:
    • CHILDORGANIZATIONS

      public static final String CHILDORGANIZATIONS
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constant - Attribute key of PmOrganization.childOrganizations attribute defined at extension partyservices.
      See Also:
  • Constructor Details

    • PmOrganizationModel

      public PmOrganizationModel()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constructor - Default constructor for generic creation.
    • PmOrganizationModel

      public PmOrganizationModel(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated constructor - Default constructor for creation with existing context
      Parameters:
      ctx - the model context to be injected, must not be null
    • PmOrganizationModel

      @Deprecated(since="4.1.1", forRemoval=true) public PmOrganizationModel(String _id, Set<PmPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals, String _tradingName)
      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:
      _id - initial attribute declared by type PmParty at extension partyservices
      _partyRoles - initial attribute declared by type PmParty at extension partyservices
      _principals - initial attribute declared by type PmParty at extension partyservices
      _tradingName - initial attribute declared by type PmOrganization at extension partyservices
    • PmOrganizationModel

      @Deprecated(since="4.1.1", forRemoval=true) public PmOrganizationModel(String _id, ItemModel _owner, Set<PmPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals, String _tradingName)
      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:
      _id - initial attribute declared by type PmParty at extension partyservices
      _owner - initial attribute declared by type Item at extension core
      _partyRoles - initial attribute declared by type PmParty at extension partyservices
      _principals - initial attribute declared by type PmParty at extension partyservices
      _tradingName - initial attribute declared by type PmOrganization at extension partyservices
  • Method Details

    • getChildOrganizations

      @Accessor(qualifier="childOrganizations", type=GETTER) public Set<PmOrganizationRelationshipModel> getChildOrganizations()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.childOrganizations attribute defined at extension partyservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
      Returns:
      the childOrganizations - The child organizations
    • getEndDate

      @Accessor(qualifier="endDate", type=GETTER) public Date getEndDate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.endDate attribute defined at extension partyservices.
      Returns:
      the endDate - The end date of the organization
    • getIsHeadOffice

      @Accessor(qualifier="isHeadOffice", type=GETTER) public Boolean getIsHeadOffice()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.isHeadOffice attribute defined at extension partyservices.
      Returns:
      the isHeadOffice - Flag indicating if the organization is the head office
    • getIsLegalEntity

      @Accessor(qualifier="isLegalEntity", type=GETTER) public Boolean getIsLegalEntity()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.isLegalEntity attribute defined at extension partyservices.
      Returns:
      the isLegalEntity - Flag indicating if the organization is a legal entity
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.name attribute defined at extension partyservices.
      Returns:
      the name - The name of the organization
    • getName

      @Accessor(qualifier="name", type=GETTER) public String getName(Locale loc)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.name attribute defined at extension partyservices.
      Parameters:
      loc - the value localization key
      Returns:
      the name - The name of the organization
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • getNameType

      @Accessor(qualifier="nameType", type=GETTER) public String getNameType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.nameType attribute defined at extension partyservices.
      Returns:
      the nameType - The name type of the organization
    • getOrganizationParent

      @Accessor(qualifier="organizationParent", type=GETTER) public PmOrganizationRelationshipModel getOrganizationParent()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.organizationParent attribute defined at extension partyservices.
      Returns:
      the organizationParent - The parent organization
    • getOrganizationType

      @Accessor(qualifier="organizationType", type=GETTER) public String getOrganizationType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.organizationType attribute defined at extension partyservices.
      Returns:
      the organizationType - The type of the organization
    • getStartDate

      @Accessor(qualifier="startDate", type=GETTER) public Date getStartDate()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.startDate attribute defined at extension partyservices.
      Returns:
      the startDate - The start date of the organization
    • getTradingName

      @Accessor(qualifier="tradingName", type=GETTER) public String getTradingName()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Getter of the PmOrganization.tradingName attribute defined at extension partyservices.
      Returns:
      the tradingName - The trading name of the organization
    • setChildOrganizations

      @Accessor(qualifier="childOrganizations", type=SETTER) public void setChildOrganizations(Set<PmOrganizationRelationshipModel> value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.childOrganizations attribute defined at extension partyservices.
      Parameters:
      value - the childOrganizations - The child organizations
    • setEndDate

      @Accessor(qualifier="endDate", type=SETTER) public void setEndDate(Date value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.endDate attribute defined at extension partyservices.
      Parameters:
      value - the endDate - The end date of the organization
    • setIsHeadOffice

      @Accessor(qualifier="isHeadOffice", type=SETTER) public void setIsHeadOffice(Boolean value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.isHeadOffice attribute defined at extension partyservices.
      Parameters:
      value - the isHeadOffice - Flag indicating if the organization is the head office
    • setIsLegalEntity

      @Accessor(qualifier="isLegalEntity", type=SETTER) public void setIsLegalEntity(Boolean value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.isLegalEntity attribute defined at extension partyservices.
      Parameters:
      value - the isLegalEntity - Flag indicating if the organization is a legal entity
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.name attribute defined at extension partyservices.
      Parameters:
      value - the name - The name of the organization
    • setName

      @Accessor(qualifier="name", type=SETTER) public void setName(String value, Locale loc)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.name attribute defined at extension partyservices.
      Parameters:
      value - the name - The name of the organization
      loc - the value localization key
      Throws:
      IllegalArgumentException - if localization key cannot be mapped to data language
    • setNameType

      @Accessor(qualifier="nameType", type=SETTER) public void setNameType(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.nameType attribute defined at extension partyservices.
      Parameters:
      value - the nameType - The name type of the organization
    • setOrganizationParent

      @Accessor(qualifier="organizationParent", type=SETTER) public void setOrganizationParent(PmOrganizationRelationshipModel value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.organizationParent attribute defined at extension partyservices.
      Parameters:
      value - the organizationParent - The parent organization
    • setOrganizationType

      @Accessor(qualifier="organizationType", type=SETTER) public void setOrganizationType(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.organizationType attribute defined at extension partyservices.
      Parameters:
      value - the organizationType - The type of the organization
    • setStartDate

      @Accessor(qualifier="startDate", type=SETTER) public void setStartDate(Date value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.startDate attribute defined at extension partyservices.
      Parameters:
      value - the startDate - The start date of the organization
    • setTradingName

      @Accessor(qualifier="tradingName", type=SETTER) public void setTradingName(String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Generated method - Setter of PmOrganization.tradingName attribute defined at extension partyservices.
      Parameters:
      value - the tradingName - The trading name of the organization