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, 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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.childOrganizationsattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.endDateattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.isHeadOfficeattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.isLegalEntityattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.nameattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.nameTypeattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.organizationParentattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.organizationTypeattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.startDateattribute defined at extensionpartyservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.tradingNameattribute defined at extensionpartyservices.Fields inherited from class de.hybris.platform.partyservices.model.PmPartyModel
CONTACTMEDIUMS, CREDITRATINGS, EXTERNALIDENTIFIERS, EXTERNALREFERENCES, ID, IDENTIFICATIONS, OTHERNAMES, PARTYCHARACTERISTICS, PARTYROLES, PRINCIPALS, STATUS, TAXEXEMPTIONCERTIFICATESFields inherited from class de.hybris.platform.core.model.ItemModel
_COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, 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 contextPmOrganizationModel(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 parametersPmOrganizationModel(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 TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.childOrganizationsattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.endDateattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.isHeadOfficeattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.isLegalEntityattribute defined at extensionpartyservices.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameTypeattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.organizationParentattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.organizationTypeattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.startDateattribute defined at extensionpartyservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.tradingNameattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.childOrganizationsattribute defined at extensionpartyservices.voidsetEndDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.endDateattribute defined at extensionpartyservices.voidsetIsHeadOffice(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.isHeadOfficeattribute defined at extensionpartyservices.voidsetIsLegalEntity(Boolean value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.isLegalEntityattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameattribute defined at extensionpartyservices.voidsetNameType(String value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameTypeattribute defined at extensionpartyservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.organizationParentattribute defined at extensionpartyservices.voidsetOrganizationType(String value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.organizationTypeattribute defined at extensionpartyservices.voidsetStartDate(Date value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.startDateattribute defined at extensionpartyservices.voidsetTradingName(String value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.tradingNameattribute defined at extensionpartyservices.Methods inherited from class de.hybris.platform.partyservices.model.PmPartyModel
getContactMediums, getCreditRatings, getExternalIdentifiers, getExternalReferences, getId, getIdentifications, getOtherNames, getPartyCharacteristics, getPartyRoles, getPrincipals, getStatus, getTaxExemptionCertificates, setContactMediums, setCreditRatings, setExternalIdentifiers, setExternalReferences, setId, setIdentifications, setOtherNames, setPartyCharacteristics, setPartyRoles, setPrincipals, setStatus, setTaxExemptionCertificatesMethods inherited from class de.hybris.platform.core.model.ItemModel
getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwnerMethods 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
-
Field Details
-
_TYPECODE
Deprecated, for removal: This API element is subject to removal in a future version.Generated model type code constant.- See Also:
-
STARTDATE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.startDateattribute defined at extensionpartyservices.- See Also:
-
ENDDATE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.endDateattribute defined at extensionpartyservices.- See Also:
-
ISHEADOFFICE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.isHeadOfficeattribute defined at extensionpartyservices.- See Also:
-
ISLEGALENTITY
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.isLegalEntityattribute defined at extensionpartyservices.- See Also:
-
TRADINGNAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.tradingNameattribute defined at extensionpartyservices.- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.nameattribute defined at extensionpartyservices.- See Also:
-
NAMETYPE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.nameTypeattribute defined at extensionpartyservices.- See Also:
-
ORGANIZATIONTYPE
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.organizationTypeattribute defined at extensionpartyservices.- See Also:
-
ORGANIZATIONPARENT
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.organizationParentattribute defined at extensionpartyservices.- See Also:
-
CHILDORGANIZATIONS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPmOrganization.childOrganizationsattribute defined at extensionpartyservices.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_id- initial attribute declared by typePmPartyat extensionpartyservices_partyRoles- initial attribute declared by typePmPartyat extensionpartyservices_principals- initial attribute declared by typePmPartyat extensionpartyservices_tradingName- initial attribute declared by typePmOrganizationat extensionpartyservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_id- initial attribute declared by typePmPartyat extensionpartyservices_owner- initial attribute declared by typeItemat extensioncore_partyRoles- initial attribute declared by typePmPartyat extensionpartyservices_principals- initial attribute declared by typePmPartyat extensionpartyservices_tradingName- initial attribute declared by typePmOrganizationat extensionpartyservices
-
-
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 thePmOrganization.childOrganizationsattribute defined at extensionpartyservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the childOrganizations - The child organizations
-
getEndDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.endDateattribute defined at extensionpartyservices.- Returns:
- the endDate - The end date of the organization
-
getIsHeadOffice
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.isHeadOfficeattribute defined at extensionpartyservices.- Returns:
- the isHeadOffice - Flag indicating if the organization is the head office
-
getIsLegalEntity
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.isLegalEntityattribute defined at extensionpartyservices.- Returns:
- the isLegalEntity - Flag indicating if the organization is a legal entity
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameattribute defined at extensionpartyservices.- Returns:
- the name - The name of the organization
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameattribute defined at extensionpartyservices.- 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
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.nameTypeattribute defined at extensionpartyservices.- 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 thePmOrganization.organizationParentattribute defined at extensionpartyservices.- Returns:
- the organizationParent - The parent organization
-
getOrganizationType
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.organizationTypeattribute defined at extensionpartyservices.- Returns:
- the organizationType - The type of the organization
-
getStartDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.startDateattribute defined at extensionpartyservices.- Returns:
- the startDate - The start date of the organization
-
getTradingName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePmOrganization.tradingNameattribute defined at extensionpartyservices.- 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 ofPmOrganization.childOrganizationsattribute defined at extensionpartyservices.- Parameters:
value- the childOrganizations - The child organizations
-
setEndDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.endDateattribute defined at extensionpartyservices.- Parameters:
value- the endDate - The end date of the organization
-
setIsHeadOffice
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.isHeadOfficeattribute defined at extensionpartyservices.- Parameters:
value- the isHeadOffice - Flag indicating if the organization is the head office
-
setIsLegalEntity
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.isLegalEntityattribute defined at extensionpartyservices.- Parameters:
value- the isLegalEntity - Flag indicating if the organization is a legal entity
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameattribute defined at extensionpartyservices.- Parameters:
value- the name - The name of the organization
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameattribute defined at extensionpartyservices.- Parameters:
value- the name - The name of the organizationloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setNameType
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.nameTypeattribute defined at extensionpartyservices.- 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 ofPmOrganization.organizationParentattribute defined at extensionpartyservices.- Parameters:
value- the organizationParent - The parent organization
-
setOrganizationType
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.organizationTypeattribute defined at extensionpartyservices.- Parameters:
value- the organizationType - The type of the organization
-
setStartDate
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.startDateattribute defined at extensionpartyservices.- Parameters:
value- the startDate - The start date of the organization
-
setTradingName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPmOrganization.tradingNameattribute defined at extensionpartyservices.- Parameters:
value- the tradingName - The trading name of the organization
-