Class PrPartyModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.partyroleservices.model.PrPartyModel
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PrIndividualModel,PrOrganizationModel
Deprecated, for removal: This API element is subject to removal in a future version.
Generated model class for type PrParty first defined at extension partyroleservices.
Party.
- 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 ofPrParty.externalIdentifiersattribute defined at extensionpartyroleservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.idattribute defined at extensionpartyroleservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.nameattribute defined at extensionpartyroleservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.partyRolesattribute defined at extensionpartyroleservices.static final StringDeprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.principalsattribute defined at extensionpartyroleservices.Fields 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.PrPartyModel(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 contextPrPartyModel(String _id, ItemModel _owner, Set<PrPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersPrPartyModel(String _id, Set<PrPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals) 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 thePrParty.externalIdentifiersattribute defined at extensionpartyroleservices.getId()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.idattribute defined at extensionpartyroleservices.getName()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.nameattribute defined at extensionpartyroleservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.nameattribute defined at extensionpartyroleservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.partyRolesattribute defined at extensionpartyroleservices.Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.principalsattribute defined at extensionpartyroleservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.externalIdentifiersattribute defined at extensionpartyroleservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.idattribute defined at extensionpartyroleservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.nameattribute defined at extensionpartyroleservices.voidDeprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.nameattribute defined at extensionpartyroleservices.voidsetPartyRoles(Set<PrPartyRoleModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.partyRolesattribute defined at extensionpartyroleservices.voidsetPrincipals(Set<PrincipalModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.principalsattribute defined at extensionpartyroleservices.Methods 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:
-
ID
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.idattribute defined at extensionpartyroleservices.- See Also:
-
NAME
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.nameattribute defined at extensionpartyroleservices.- See Also:
-
EXTERNALIDENTIFIERS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.externalIdentifiersattribute defined at extensionpartyroleservices.- See Also:
-
PARTYROLES
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.partyRolesattribute defined at extensionpartyroleservices.- See Also:
-
PRINCIPALS
Deprecated, for removal: This API element is subject to removal in a future version.Generated constant - Attribute key ofPrParty.principalsattribute defined at extensionpartyroleservices.- See Also:
-
-
Constructor Details
-
PrPartyModel
public PrPartyModel()Deprecated, for removal: This API element is subject to removal in a future version.Generated constructor - Default constructor for generic creation. -
PrPartyModel
public PrPartyModel(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
-
PrPartyModel
@Deprecated(since="4.1.1", forRemoval=true) public PrPartyModel(String _id, Set<PrPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals) 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 typePrPartyat extensionpartyroleservices_partyRoles- initial attribute declared by typePrPartyat extensionpartyroleservices_principals- initial attribute declared by typePrPartyat extensionpartyroleservices
-
PrPartyModel
@Deprecated(since="4.1.1", forRemoval=true) public PrPartyModel(String _id, ItemModel _owner, Set<PrPartyRoleModel> _partyRoles, Set<PrincipalModel> _principals) 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 typePrPartyat extensionpartyroleservices_owner- initial attribute declared by typeItemat extensioncore_partyRoles- initial attribute declared by typePrPartyat extensionpartyroleservices_principals- initial attribute declared by typePrPartyat extensionpartyroleservices
-
-
Method Details
-
getExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=GETTER) public List<TuaExternalIdentifierModel> getExternalIdentifiers()Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.externalIdentifiersattribute defined at extensionpartyroleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the externalIdentifiers
-
getId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.idattribute defined at extensionpartyroleservices.- Returns:
- the id
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.nameattribute defined at extensionpartyroleservices.- Returns:
- the name
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.nameattribute defined at extensionpartyroleservices.- Parameters:
loc- the value localization key- Returns:
- the name
- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
getPartyRoles
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.partyRolesattribute defined at extensionpartyroleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the partyRoles - The roles of the party
-
getPrincipals
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Getter of thePrParty.principalsattribute defined at extensionpartyroleservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the principals - The principals of the party
-
setExternalIdentifiers
@Accessor(qualifier="externalIdentifiers", type=SETTER) public void setExternalIdentifiers(List<TuaExternalIdentifierModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.externalIdentifiersattribute defined at extensionpartyroleservices.- Parameters:
value- the externalIdentifiers
-
setId
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.idattribute defined at extensionpartyroleservices.- Parameters:
value- the id
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.nameattribute defined at extensionpartyroleservices.- Parameters:
value- the name
-
setName
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.nameattribute defined at extensionpartyroleservices.- Parameters:
value- the nameloc- the value localization key- Throws:
IllegalArgumentException- if localization key cannot be mapped to data language
-
setPartyRoles
@Accessor(qualifier="partyRoles", type=SETTER) public void setPartyRoles(Set<PrPartyRoleModel> value) Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.partyRolesattribute defined at extensionpartyroleservices.- Parameters:
value- the partyRoles - The roles of the party
-
setPrincipals
Deprecated, for removal: This API element is subject to removal in a future version.Generated method - Setter ofPrParty.principalsattribute defined at extensionpartyroleservices.- Parameters:
value- the principals - The principals of the party
-