public class CatalogEntryFacadeClient extends AbstractCatalogFacadeClient
This class provides common methods to the base catalog entry facade that this and other utility classes can use. This class also provides a set of convenient Java API to represent particular base catalog entry operation. This set of Java API also includes APIs for Web based requests to transform the name value pair request into the appropriate request documents.
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CHANGE_VERB_ACTION_CHANGE
The change verb constant to represents the action of Change.
|
static java.lang.String | PROCESS_VERB_ACTION_ADD
The process verb constant to represents the action of Add.
|
static java.lang.String | PROCESS_VERB_ACTION_CREATE
The process verb constant to represents the action of Create.
|
static java.lang.String | PROCESS_VERB_ACTION_DELETE
The process verb constant to represents the action of Delete.
|
Constructor and Description |
---|
CatalogEntryFacadeClient()
This method creates an instance of the client to communicate with the Base Catalog Entry facade.
|
CatalogEntryFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
This method creates an instance of the client to communicate with the Base Catalog Entry facade.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map | addCatalogEntryAssociation(java.util.Map parameters)
This method is used to add catalog entry merchandising associations to one or many catalog entries.
|
java.util.Map | addCatalogEntryKitComponent(java.util.Map parameters)
This method is called to add one or many catalog entry kit components to one or many catalog entries.
|
java.util.Map | addCatalogEntryParent(java.util.Map parameters)
This method adds a Parent to catalog entries.
|
RespondCatalogEntryDataAreaType | addCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers)
This method builds and sends the request for adding the parent catalog group of products.
|
protected CatalogDescriptionType[] | buildCatalogEntryDescriptionDataObject(java.util.Map parameters, int anNumOfCatEntryDescs)
This methods build a list of CatalogDescriptionType objects from the input parameter parameters.
|
protected CatalogEntryIdentifierType[] | buildCatalogEntryIdentifierDataObject(java.util.Map parameters)
This methods build a list of CatalogEntryIdentiferType objects from the input parameter parameters.
|
protected KitComponentType[] | buildCatalogEntryKitComponentDataObject(java.util.Map parameters)
This method will build an array of KitComponentTypes.
|
AssociationType[] | buildCatalogEntryMerchandisingAssociationDataObject(CatalogEntryIdentifierType[] associationIdentifiers, java.util.Map parameters) |
protected CatalogGroupIdentifierType[] | buildCatalogGroupIdentifierDataObject(java.util.Map parameters)
This methods build a list of CatalogGroupIdentiferType objects from the input parameter parameters.
|
protected CatalogEntryIdentifierType[] | buildParentCatalogEntryIdentifierDataObject(java.util.Map parameters)
This methods build a list of CatalogGroupIdentiferType objects from the input parameter parameters.
|
protected CatalogGroupIdentifierType[] | buildParentCatalogGroupIdentifierDataObject(java.util.Map parameters)
This methods build a list of CatalogGroupIdentiferType objects from the input parameter parameters.
|
protected UnitPriceType[] | buildUnitPriceDataObject(java.util.Map parameters, int anNumOfCatEntryDescs)
This methods build a list of CatalogDescriptionType objects from the input parameter parameters.
|
RespondCatalogEntryDataAreaType | changeCatalogEntry(java.lang.String[] action, CatalogEntryType[] catEntries, java.lang.String[] expression)
This method changes the catalog entry.
|
RespondCatalogEntryDataAreaType | changeCatalogEntryAssociation(CatalogEntryIdentifierType[] parentIdentifiers, AssociationType[] associations, java.lang.String action)
This method updates the catalog entry merchandising associations.
|
java.util.Map | changeCatalogEntryAssociation(java.util.Map parameters)
This method is used to change the merchandising associations of a catalog entry.
|
java.util.Map | changeCatalogEntryAssociation(java.util.Map parameters, java.lang.String action)
Creates a CatalogEntry Association Object with the given input parameters.
|
java.util.Map | changeCatalogEntryKitComponent(java.util.Map parameters)
Use this method to change one or many catalog entry kit components.
|
java.util.Map | changeCatalogEntryKitComponent(java.util.Map parameters, java.lang.String action)
Creates a CatalogEntry Association Object with the given input parameters.
|
RespondCatalogEntryDataAreaType | changeCatalogEntryKitComponents(CatalogEntryIdentifierType[] catEntryIdentifiers, KitComponentType[] kitComponents, java.lang.String[] catenttypes, java.lang.String action)
This method updates the catalog entry kit components.
|
AcknowledgeCatalogEntryDataAreaType | createCatalogEntry(java.util.List catalogEntryList)
This method builds and sends the request to create catalog entries.
|
java.util.Map | createCatalogEntry(java.util.Map parameters)
Creates a CatalogEntryType object with the given input parameters
Sample code to use the API: |
java.util.Map | createCatalogEntryAssociation(java.util.Map parameters)
Creates a CatalogEntry Association Object with the given input parameters.
|
java.util.Map | createCatalogEntryAttributes(java.util.Map parameters)
This method will create attributes for a catalog entry with the given input parameters.
|
protected CatalogEntryType | createCatalogEntryDataObject(CatalogEntryIdentifierType catEntryId)
This method creates an instance of CatalogEntryType object with the given catalog entry id.
|
protected ChangeCatalogEntryType | createChangeCatalogEntryDataObject()
This method creates an instance of ChangeCatalogEntryType object.
|
GetCatalogEntryType | createGetCatalogEntry()
Returns a new instance of the GetBaseCatalogEntryType object.
|
protected ProcessCatalogEntryType | createProcessCatalogEntryDataObject()
This method creates an instance of ProcessCatalogEntryType object.
|
java.util.Map | createSKU(java.util.Map parameters)
This method create SKUs.
|
AcknowledgeCatalogEntryDataAreaType | deleteCatalogEntry(java.util.List catalogEntryList)
This method builds and sends the request to delete catalog entries.
|
java.util.Map | deleteCatalogEntry(java.util.Map parameters)
Deletes a CatalogEntryType object with the given input parameters
|
java.util.Map | deleteCatalogEntryAssociation(java.util.Map parameters)
This method is used to delete a catalog entry merchandising association.
|
java.util.Map | deleteCatalogEntryAttributes(java.util.Map parameters)
This method will delete attributes for a catalog entry with the given input parameters.
|
java.util.Map | deleteCatalogEntryKitComponent(java.util.Map parameters)
Use this method to delete one or many catalog entry kit components of one or many catalog entries.
|
java.util.Map | deleteCatalogEntryParent(java.util.Map parameters)
This method builds and sends the request for deleting the parent of a catalog entry.
|
ShowCatalogEntryDataAreaType | getCatalogEntry(GetType getVerb)
This method returns the ShowCatalogEntryDataAreaType when issuing the specified get expression to fetch base catalog entry.
|
java.util.List | getCatalogEntry(java.lang.String expressionLanguage, java.lang.String expression)
This method returns a list of base catalog entries based on the expression specified.
|
java.util.Hashtable | getCatalogEntryWithPaging(java.lang.String expressionLanguage, java.lang.String expression, java.lang.String maxItems, java.lang.String refId, java.lang.String startNum)
This method provides support for paging.
|
java.util.Hashtable | getCatalogGroupWithPaging(java.lang.String expressionLanguage, java.lang.String expression, java.lang.String maxItems, java.lang.String refId, java.lang.String startNum)
This method provides support for paging.
|
protected java.lang.String | getXPathForCatalogEntryDescription(CatalogEntryType catalogEntryDataObjet, CatalogDescriptionType catalogEntryDescriptionDataObject, int i)
This returns the XPath for updating the catalog entry description.
|
protected java.lang.String | getXPathForCatalogEntryKitComponent(CatalogEntryType catalogEntryDataObject, KitComponentType catalogEntryKitComponentDataObject, int i)
This returns the XPath for updating the catalog entry kit components.
|
protected java.lang.String | getXPathForCatalogEntryMerchandisingAssociations(CatalogEntryType catalogEntryDataObject, AssociationType catalogEntryAssociationDataObject, int i)
This returns the XPath for updating the catalog entry merchandising associations.
|
protected void | populateResponse(java.util.Map response, java.lang.String actionName, RespondCatalogEntryDataAreaType respondCatalogEntryDataArea)
The customer can extend this method to retrieve more information from the RespondCatalogEntry
|
AcknowledgeCatalogEntryDataAreaType | processCatalogEntry(java.lang.String[] actionArray, CatalogEntryType[] catentries, java.lang.String[] strXPaths)
This method processes the catalog entry.
|
java.util.Map | removeCatalogEntryChild(java.util.Map parameters)
Removes child of CatalogEntry
|
protected java.lang.String[] | resolveParameter(java.util.Map parameters, java.lang.String key)
This method resolves parameters from the input Map
|
RespondCatalogEntryDataAreaType | updateCatalogEntry(CatalogEntryIdentifierType[] catEntIds)
This method builds and sends the request for updating the products.
|
java.util.Map | updateCatalogEntry(java.util.Map parameters)
This method updates the catalog entries.
|
java.util.Map | updateCatalogEntryAttributes(java.util.Map parameters)
This method will update attributes for a catalog entry with the given input parameters.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryDescription(CatalogEntryIdentifierType[] catEntryIds, CatalogDescriptionType[] catEntryDescs)
This method updates the catalog entry descriptions.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryDescription(CatalogEntryIdentifierType catEntryId, CatalogDescriptionType[] catEntryDescs)
This method updates the catalog entry descriptions.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryDescription(CatalogEntryType[] catEntries)
This method updates multiple catalog entry descriptions of a single catalog entry.
|
java.util.Map | updateCatalogEntryDescription(java.util.Map parameters)
Update the catalog entry description.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryFulfillmentProperties(CatalogEntryIdentifierType[] catEntryId, CatalogEntryFulfillmentPropertiesType[] catalogFulfill)
This method updates the catalog entry fulfillment properties.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryListPrice(CatalogEntryIdentifierType[] catEntryIds, UnitPriceType[] catEntryListPrices)
This method updates the catalog entry list prices.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryListPrice(CatalogEntryIdentifierType catEntryId, UnitPriceType[] catEntryListPrices)
This method updates the catalog entry descriptions.
|
java.util.Map | updateCatalogEntryListPrice(java.util.Map parameters)
This method updates the list price of the catalog entries.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryNavigationRel(CatalogEntryType[] catalogEntriesWithChildren, java.lang.String[] actions)
This method builds the request for updating the display sequence of a catalog entry to catalog entry relationship.
|
java.util.Map | updateCatalogEntryParent(java.util.Map parameters)
This method updates the Parent of catalog entries.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatEntry(CatalogEntryIdentifierType[] catEntIds, CatalogEntryIdentifierType[] parentCatEntryIdentfiers)
This method builds and sends the request for updating the parent catalog group of products.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatentry(CatalogEntryIdentifierType[] childCatEntIds, CatalogEntryIdentifierType[] parentCatentryIdentfiers, java.lang.String[] actions)
This method builds and sends the request for updating the parent catalog group of products.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatEntry(CatalogEntryIdentifierType catEntryId, CatalogEntryIdentifierType parentCatentryIdentfier)
This method builds and sends the request for updating the parent catalog group of a product.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers)
This method builds and sends the request for updating the parent catalog group of products.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers, java.lang.String[] actions)
This method builds and sends the request for updating the parent catalog group of products.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType catEntryId, CatalogGroupIdentifierType parentCatGrpIdentfier)
This method builds and sends the request for updating the parent catalog group of a product.
|
RespondCatalogEntryDataAreaType | updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType catEntryId, CatalogGroupIdentifierType parentCatGrpIdentfier, java.lang.String action)
This method builds and sends the request for updating the parent catalog group of a product.
|
java.util.Map | updateDynamicKitPreConfiguration(java.util.Map parameters)
Updates the dynamic kit preconfiguration with the given input parameters.
|
java.util.Map | updateSKUParent(java.util.Map parameters)
Update the SKU to Product relationship.
|
public static final java.lang.String CHANGE_VERB_ACTION_CHANGE
public static final java.lang.String PROCESS_VERB_ACTION_ADD
public static final java.lang.String PROCESS_VERB_ACTION_CREATE
public static final java.lang.String PROCESS_VERB_ACTION_DELETE
public CatalogEntryFacadeClient()
public CatalogEntryFacadeClient(BusinessContextType businessContext, javax.security.auth.callback.CallbackHandler callbackHandler)
public RespondCatalogEntryDataAreaType changeCatalogEntry(java.lang.String[] action, CatalogEntryType[] catEntries, java.lang.String[] expression) throws CatalogEntryException
protected ChangeCatalogEntryType createChangeCatalogEntryDataObject()
protected ProcessCatalogEntryType createProcessCatalogEntryDataObject()
protected CatalogEntryType createCatalogEntryDataObject(CatalogEntryIdentifierType catEntryId)
public RespondCatalogEntryDataAreaType updateCatalogEntryDescription(CatalogEntryIdentifierType catEntryId, CatalogDescriptionType[] catEntryDescs) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryFulfillmentProperties(CatalogEntryIdentifierType[] catEntryId, CatalogEntryFulfillmentPropertiesType[] catalogFulfill) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryListPrice(CatalogEntryIdentifierType catEntryId, UnitPriceType[] catEntryListPrices) throws CatalogEntryException
protected java.lang.String getXPathForCatalogEntryDescription(CatalogEntryType catalogEntryDataObjet, CatalogDescriptionType catalogEntryDescriptionDataObject, int i)
protected java.lang.String getXPathForCatalogEntryKitComponent(CatalogEntryType catalogEntryDataObject, KitComponentType catalogEntryKitComponentDataObject, int i)
protected java.lang.String getXPathForCatalogEntryMerchandisingAssociations(CatalogEntryType catalogEntryDataObject, AssociationType catalogEntryAssociationDataObject, int i)
public RespondCatalogEntryDataAreaType updateCatalogEntryDescription(CatalogEntryIdentifierType[] catEntryIds, CatalogDescriptionType[] catEntryDescs) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryListPrice(CatalogEntryIdentifierType[] catEntryIds, UnitPriceType[] catEntryListPrices) throws CatalogEntryException
public RespondCatalogEntryDataAreaType changeCatalogEntryKitComponents(CatalogEntryIdentifierType[] catEntryIdentifiers, KitComponentType[] kitComponents, java.lang.String[] catenttypes, java.lang.String action) throws CatalogEntryException
protected void populateResponse(java.util.Map response, java.lang.String actionName, RespondCatalogEntryDataAreaType respondCatalogEntryDataArea) throws CatalogEntryException
public java.util.Map createCatalogEntry(java.util.Map parameters)
Map parameters = new HashMap(); parameters.put("catentryId", new String[] { "-10001", "-10002" }); parameters.put("partnumber", new String[] { "AB-12345", "CD-45678" }); CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext,null); Map response = client.createCatalogEntry(parameters); String[] outCatEntryIds = (String[]) response.get("catentryId");
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. catenttypeId: The name of Catentry Type attribute. parentCategoryId: The name of the Catalog entry's Immediate Parent's Unique ID.
public java.util.Map createSKU(java.util.Map parameters)
Map parameters = new HashMap(); parameters.put("catentryId", new String[] { "-10001", "-10002" }); parameters.put("partnumber", new String[] { "AB-12345", "CD-45678" }); CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext,null); Map response = client.createSKU(parameters); String[] outCatEntryIds = (String[]) response.get("catentryId");
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. catenttypeId: The name of Catentry Type attribute. buyable: The name of the buyable attribute.
public java.util.Map updateCatalogEntryDescription(java.util.Map parameters) throws CatalogEntryException
Map parameters = new HashMap(); parameters.put("catentryId", new String[] { "-10001", "-10002" }); parameters.put("partnumber", new String[] { "AB-12345", "CD-45678" }); parameters.put("languageId", new String[] { "-1", "-1" }); parameters.put("name", new String[] { "Kevlar Brake Pads", "'Titanium Brake Pads" }); parameters.put("sDesc", new String[] { "Kevlar Brake Pads", "'Titanium Brake Pads" }); parameters.put("lDesc", new String[] { "Kevlar Brake Pads. Comes with a 2 year or 40,000 km warranty.", "'Titanium Brake Pads. Suitable for all car and truck makes." }); parameters.put("tImage", new String[] { "img/imageFile1_t.jpg", "img/imageFile2_t.jpg" }); parameters.put("fImage", new String[] { "img/imageFile1_f.jpg", "img/imageFile2_f.jpg" }); parameters.put("keyword", new String[] { "Brake Pads", "Brake Pads" }); CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext, null); Map response = client.updateCatalogEntryDescription(parameters); String[] outCatEntryIds = (String[]) response.get("catentryId");
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. languageId: The langeuage ids to be used to update the descriptions. name: The name to be updated for the given catalog entry description. sDesc: The short description to be updated for the given catalog entry description. lDesc : The long description to be updated for the given catalog entry description. tImage: The thumbnail image to be updated for the given catalog entry description. fImage: The full image to be updated for the given catalog entry description. keyword: The keyword value can be used for search.
public java.util.Map createCatalogEntryAssociation(java.util.Map parameters) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. assocPartNumber: The name of association part number. associationId: The name of association Id. quantity: The name of the merchandising association quantity. sequence: The name of the merchandising association sequence. name: The name of the merchandising association.
public java.util.Map addCatalogEntryAssociation(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
public java.util.Map changeCatalogEntryAssociation(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
public AcknowledgeCatalogEntryDataAreaType deleteCatalogEntry(java.util.List catalogEntryList) throws CatalogEntryException
public java.util.Map deleteCatalogEntry(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated.
public java.util.Map deleteCatalogEntryAssociation(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
public java.util.Map changeCatalogEntryAssociation(java.util.Map parameters, java.lang.String action) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. assocPartNumber: The name of association part number. associationId: The name of association Id.
public RespondCatalogEntryDataAreaType changeCatalogEntryAssociation(CatalogEntryIdentifierType[] parentIdentifiers, AssociationType[] associations, java.lang.String action) throws CatalogEntryException
public AssociationType[] buildCatalogEntryMerchandisingAssociationDataObject(CatalogEntryIdentifierType[] associationIdentifiers, java.util.Map parameters)
quantity: The name of the merchandising association quantity. sequence: The name of the merchandising association sequence. name: The name of the merchandising association. associationId: The name of association Id.
public java.util.Map addCatalogEntryKitComponent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. parentCatentryId: The name of the Catalogentry's Immediate Parent's Unique ID. catenttypeId: The name of Catentry Type attribute. quantity: The name of quantity. sequence: The name of sequence.
public java.util.Map changeCatalogEntryKitComponent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. parentCatentryId: The name of the Catalogentry's Immediate Parent's Unique ID. catenttypeId: The name of Catentry Type attribute. quantity: The name of quantity. sequence: The name of sequence.
public java.util.Map deleteCatalogEntryKitComponent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
public java.util.Map changeCatalogEntryKitComponent(java.util.Map parameters, java.lang.String action) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. parentCatentryId: The name of the Catalogentry's Immediate Parent's Unique ID. catenttypeId: The name of Catentry Type attribute. quantity: The name of quantity. sequence: The name of sequence.
public java.util.Map removeCatalogEntryChild(java.util.Map parameters) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated.
public java.util.Map updateCatalogEntryListPrice(java.util.Map parameters) throws CatalogEntryException
Map parameters = new HashMap(); parameters.put("catentryId", new String[] { "-10001", "-10002" }); parameters.put("partnumber", new String[] { "AB-12345", "CD-45678" }); parameters.put("listprice", new String[] { 100, 200 }); CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext, null); Map response = client.updateCatalogEntryListPrice(parameters); String[] outCatEntryIds = (String[]) response.get("catentryId");
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. listprice: The name of the List Price attribute. listpriceCurrency: The name of the Currency attribute of the List Price.
public java.util.Map createCatalogEntryAttributes(java.util.Map parameters) throws CatalogEntryException
Map parameters = new HashMap(); parameters.put("catentryId", new String[] { "-10001", "-10002" }); parameters.put("partnumber", new String[] { "AB-12345", "CD-45678" }); parameters.put("attrName", new String[] { "color" }); parameters.put("attrDataType", new String[] { "string" }); CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext,null); Map response = client.updateCatalogEntryDescription(parameters); String[] outCatEntryIds = (String[]) response.get("catentryId");
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. attrName: The name of attribute. attrUsage: The name of Usage of attribute. attrDataType: The data type of the attribute. attrDisplaySequence : The display sequence of the attribute. attrDescription: The description of the attribute.
public java.util.Map updateCatalogEntryAttributes(java.util.Map parameters) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. attrName: The name of attribute. attrUsage: The name of Usage of attribute. attrDataType: The data type of the attribute. attrDisplaySequence : The display sequence of the attribute. attrDescription: The description of the attribute.
public java.util.Map deleteCatalogEntryAttributes(java.util.Map parameters) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. attrName: The name of attribute. attrUsage: The name of Usage of attribute. attrDataType: The data type of the attribute. attrDisplaySequence : The display sequence of the attribute. attrDescription: The description of the attribute.
protected java.lang.String[] resolveParameter(java.util.Map parameters, java.lang.String key) throws CatalogEntryException
protected CatalogEntryIdentifierType[] buildCatalogEntryIdentifierDataObject(java.util.Map parameters) throws CatalogEntryException
catentryId : This is of type String[]. The internal reference ids of the catalog entries. partnumber: This is of type String[]. The external reference ids of the catalog entries.
protected CatalogGroupIdentifierType[] buildCatalogGroupIdentifierDataObject(java.util.Map parameters) throws CatalogEntryException
catentryId : This is of type String[]. The internal reference ids of the catalog groups. identifier: This is of type String[]. The external reference ids of the catalog groups.
protected KitComponentType[] buildCatalogEntryKitComponentDataObject(java.util.Map parameters) throws CatalogEntryException
catenttypeId: The name of Catentry Type attribute. quantity: The name of quantity. sequence: The name of sequence.
protected CatalogDescriptionType[] buildCatalogEntryDescriptionDataObject(java.util.Map parameters, int anNumOfCatEntryDescs) throws CatalogEntryException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. languageId: The langeuage ids to be used to update the descriptions. name: The name to be updated for the given catalog entry description. sDesc: The short description to be updated for the given catalog entry description. lDesc : The long description to be updated for the given catalog entry description. tImage: The thumbnail image to be updated for the given catalog entry description. fImage: The full image to be updated for the given catalog entry description. keyword: The keyword value can be used for search.
protected UnitPriceType[] buildUnitPriceDataObject(java.util.Map parameters, int anNumOfCatEntryDescs) throws CatalogEntryException
listprice: The name of the List Price attribute. listpriceCurrency: The name of the Currency attribute of the List Price.
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers) throws CatalogEntryException
public RespondCatalogEntryDataAreaType addCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntry(CatalogEntryIdentifierType[] catEntIds) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType catEntryId, CatalogGroupIdentifierType parentCatGrpIdentfier) throws CatalogEntryException
public AcknowledgeCatalogEntryDataAreaType createCatalogEntry(java.util.List catalogEntryList) throws CatalogEntryException
public AcknowledgeCatalogEntryDataAreaType processCatalogEntry(java.lang.String[] actionArray, CatalogEntryType[] catentries, java.lang.String[] strXPaths) throws CatalogEntryException
public java.util.Map updateCatalogEntry(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext, null);Map response = client.updateCatalogEntry(parameters); String[] outCatEntryIds = (String[]) response.get("catEntryId");
protected CatalogGroupIdentifierType[] buildParentCatalogGroupIdentifierDataObject(java.util.Map parameters) throws CatalogEntryException
parentCategoryId: The name of the Catalog entry's Immediate Parent's Unique ID.
protected CatalogEntryIdentifierType[] buildParentCatalogEntryIdentifierDataObject(java.util.Map parameters) throws CatalogEntryException
catGroupId : This is of type String[]. The internal reference ids of the catalog groups. partnumber: This is of type String[]. The external reference ids of the catalog groups.
public java.util.Map updateCatalogEntryParent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext, null);Map response = client.updateCatalogEntryParent(parameters); String[] outCatEntryIds = (String[]) response.get("catEntryId");
public java.util.Map addCatalogEntryParent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
CatalogEntryFacadeClient client = new CatalogEntryFacadeClient(businessContext, null);Map response = client.updateCatalogEntryParent(parameters); String[] outCatEntryIds = (String[]) response.get("catEntryId");
public java.util.Map updateSKUParent(java.util.Map parameters)
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. parentCategoryId: The name of the Catalog entry's Immediate Parent's Unique ID.
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatEntry(CatalogEntryIdentifierType[] catEntIds, CatalogEntryIdentifierType[] parentCatEntryIdentfiers) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatEntry(CatalogEntryIdentifierType catEntryId, CatalogEntryIdentifierType parentCatentryIdentfier) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatentry(CatalogEntryIdentifierType[] childCatEntIds, CatalogEntryIdentifierType[] parentCatentryIdentfiers, java.lang.String[] actions) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryNavigationRel(CatalogEntryType[] catalogEntriesWithChildren, java.lang.String[] actions) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType[] catEntIds, CatalogGroupIdentifierType[] parentCatGrpIdentfiers, java.lang.String[] actions) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryParentCatGroup(CatalogEntryIdentifierType catEntryId, CatalogGroupIdentifierType parentCatGrpIdentfier, java.lang.String action) throws CatalogEntryException
public java.util.Map deleteCatalogEntryParent(java.util.Map parameters) throws AbstractBusinessObjectDocumentException
catentryId : The internal reference ids of the catalog entries to be updated. partnumber: The external reference ids of the catalog entries to be updated. parentCategoryId: The name of the Catalog entry's Immediate Parent's Unique ID.
public GetCatalogEntryType createGetCatalogEntry()
public ShowCatalogEntryDataAreaType getCatalogEntry(GetType getVerb) throws CatalogEntryException
public java.util.List getCatalogEntry(java.lang.String expressionLanguage, java.lang.String expression) throws CatalogEntryException
public java.util.Hashtable getCatalogEntryWithPaging(java.lang.String expressionLanguage, java.lang.String expression, java.lang.String maxItems, java.lang.String refId, java.lang.String startNum) throws CatalogEntryException
public RespondCatalogEntryDataAreaType updateCatalogEntryDescription(CatalogEntryType[] catEntries) throws CatalogEntryException
public java.util.Hashtable getCatalogGroupWithPaging(java.lang.String expressionLanguage, java.lang.String expression, java.lang.String maxItems, java.lang.String refId, java.lang.String startNum) throws CatalogGroupException
public java.util.Map updateDynamicKitPreConfiguration(java.util.Map parameters) throws CatalogEntryException, ECException, CatalogApplicationException
catentryId : The internal reference id of the catalog entry to be updated. ConfigXML: The dynamic kit preconfiguration XML which is generated by the Sterling Configurator.