Class BaseLiveIntegrationAddIn
- Namespace
- Dynamicweb.Ecommerce.Integration
- Assembly
- Dynamicweb.Ecommerce.dll
The class BaseLiveIntegrationAddIn represents base class for Live Integration Add-ins.
[AddInName("Base Class for Live Integration Add-in")]
[AddInIgnore(true)]
public abstract class BaseLiveIntegrationAddIn : ConfigurableAddIn
- Inheritance
-
BaseLiveIntegrationAddIn
- Inherited Members
Remarks
Inherit from this class for managing settings in DW backend
Properties
SecurityKey
The security key.
[AddInParameter("Security key")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public virtual string SecurityKey { get; set; }
Property Value
WebServiceURI
The web service Uri
[AddInParameter("Web service URL")]
[AddInParameterEditor(typeof(TextParameterEditor), "inputClass=NewUIinput;")]
public virtual string WebServiceURI { get; set; }
Property Value
Methods
CreateParameterNode(Type, string, string)
Create the add-in parameter node with the name and value.
protected static XElement CreateParameterNode(Type parameterType, string name, string value)
Parameters
Returns
- XElement
- Xml Node suitable for use in Dynamicweb.Extensibility.AddInSelector
GetSupportedCustomerCenterIntegrationCalls()
Returns a list of strings that the integration supports for the Integration Customer Center module
public virtual List<string> GetSupportedCustomerCenterIntegrationCalls()
Returns
IsWebServiceConnectionAvailable()
Check if the web service is available for the live integration
public abstract bool IsWebServiceConnectionAvailable()
Returns
LoadSettings()
Load add-in configuration settings
public abstract string LoadSettings()
Returns
- string
- Add-in settings in the Xml format
Remarks
The Xml format must be suitable for use in Dynamicweb.Extensibility.AddInSelector
RetrieveItemDetailsFromRemoteSystem(Template, string, User, string)
Adds the relevant details data for the specified item id to the template, after it has been retrieved from the remote system
public virtual Template RetrieveItemDetailsFromRemoteSystem(Template template, string callType, User user, string itemId)
Parameters
Returns
RetrieveItemsListFromRemoteSystem(Template, string, User, int, int, ref int)
Adds the relevant list of data to the template, after it has been retrieved from the remote system
public virtual Template RetrieveItemsListFromRemoteSystem(Template template, string callType, User user, int pageSize, int pageIndex, ref int totalItemsCount)
Parameters
Returns
RetrievePDF(IRequest, IResponse)
public virtual void RetrievePDF(IRequest httpRequest, IResponse httpResponse)
Parameters
SaveSettings()
Save Add-in configuration settings
public abstract void SaveSettings()