Class PartnerListEntryImpl
java.lang.Object
de.hybris.platform.sap.sapordermgmtbol.transaction.order.businessobject.impl.PartnerListEntryImpl
- All Implemented Interfaces:
PartnerListEntry,Serializable,Cloneable
An entry in the partner list, attached to a sales document
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreates a newPartnerListEntryobject.PartnerListEntryImpl(TechKey partnerGUID, String partnerId) Deprecated, for removal: This API element is subject to removal in a future version.This constructor is deprecated. -
Method Summary
Modifier and TypeMethodDescriptionclone()Performs a copy of the object.This method returns the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists.get the Id of the PartnerListEntryGet the TechKey of the PartnerListEntryvoidThis method sets the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists.voidsetPartnerId(String partnerId) Set the TechKey of the PartnerListEntryvoidsetPartnerTechKey(TechKey partnerGUID) Set the TechKey of the PartnerListEntry
-
Field Details
-
partnerGUID
Partner guid (in ERP case: like ID) -
partnerId
Partner ID -
handle
Handle
-
-
Constructor Details
-
PartnerListEntryImpl
public PartnerListEntryImpl()Creates a newPartnerListEntryobject. -
PartnerListEntryImpl
@Deprecated(since="ages", forRemoval=true) public PartnerListEntryImpl(TechKey partnerGUID, String partnerId) Deprecated, for removal: This API element is subject to removal in a future version.This constructor is deprecated.Creates a newPartnerListEntryobject.- Parameters:
partnerGUID- techkey of the business partnerpartnerId- id of the business partner
-
-
Method Details
-
getPartnerTechKey
Get the TechKey of the PartnerListEntry- Specified by:
getPartnerTechKeyin interfacePartnerListEntry- Returns:
- TechKey of entry
-
setPartnerTechKey
Set the TechKey of the PartnerListEntry- Specified by:
setPartnerTechKeyin interfacePartnerListEntry- Parameters:
partnerGUID- techkey of the business partner
-
getPartnerId
get the Id of the PartnerListEntry- Specified by:
getPartnerIdin interfacePartnerListEntry- Returns:
- id of entry
-
setPartnerId
Set the TechKey of the PartnerListEntry- Specified by:
setPartnerIdin interfacePartnerListEntry- Parameters:
partnerId- bp-id of the business partner
-
clone
Performs a copy of the object. -
getHandle
This method returns the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists. Therefore maybe the handle is needed to identify the object in back end return the handle of business object which is needed to identify the object in the back end, if the techkey still not exists- Specified by:
getHandlein interfacePartnerListEntry- Returns:
- string representing this entry
-
setHandle
This method sets the handle, as an alternative key for the business object, because at the creation point no techkey for the object exists. Therefore maybe the handle is needed to identify the object in back end- Specified by:
setHandlein interfacePartnerListEntry- Parameters:
handle- the handle of business object which identifies the object in the back end, if the techkey still not exists
-