public class SearchExportableItemTemplateNamesResult extends java.lang.Object implements OperationResult
SearchExportableItemTemplateNamesOp operation. SearchExportableItemTemplateNamesOp The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="searchExportableItemTemplateNamesResult">
<xs:complexType>
<xs:sequence>
<xs:element ref="externalSystem" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="externalSystem">
<xs:complexType>
<xs:sequence>
<xs:element ref="template" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="code" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="template">
<xs:complexType>
<xs:attribute name="code" type="xs:string"/>
<xs:attribute name="description" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTERNAL_SYSTEM_NAME
The XML tag for an external system.
|
static java.lang.String |
RESULT_NAME
The XML tag for the result.
|
static java.lang.String |
TEMPLATE_NAME
The XML tag for the name/description of an exportable item template.
|
| Constructor and Description |
|---|
SearchExportableItemTemplateNamesResult()
Builds an empty SearchExportableItemTemplateNamesResult.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCharacterData(java.lang.String cData)
Adds character data to the content element.
|
void |
addChild(java.lang.String tagName,
XMLMarshallable child)
Adds a child to the object, the
child representing
the marshallable object which must be added to the element. |
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getExportableItemTemplateNames()
Gets the map of exportable item names by external system code.
|
java.util.Map<java.lang.String,java.util.List<com.highdeal.util.Pair<java.lang.String,java.lang.String>>> |
getExportableItemTemplates()
Gets the map of template names and descriptions by external system code.
|
java.lang.String |
getOperandReference()
Gets the code or the reference (if no code exists) that identifies the operand of the operation request;
If the operation is not auditable, the operand reference is
null. |
java.util.List<java.lang.String> |
getTemplateNamesFromExternalSystemCode(java.lang.String externalSystemCode)
Gets the list of template names from an externalSystem code.
|
void |
marshal(XMLOutputter output)
Gives an XML representation of this object, including its children.
|
void |
setAttributes(XMLAttributes atts)
Sets the attributes of the XML representation of the element being
processed.
|
void |
setExportableItemTemplateNames(java.util.Map<java.lang.String,java.util.List<java.lang.String>> templateNamesMap)
Sets the map of exportable item names by external system code.
|
void |
setExportableItemTemplates(java.util.Map<java.lang.String,java.util.List<com.highdeal.util.Pair<java.lang.String,java.lang.String>>> templateMap)
Sets the map of template names and descriptions by external system code.
|
public static final java.lang.String RESULT_NAME
public static final java.lang.String EXTERNAL_SYSTEM_NAME
public static final java.lang.String TEMPLATE_NAME
public SearchExportableItemTemplateNamesResult()
public java.util.Map<java.lang.String,java.util.List<com.highdeal.util.Pair<java.lang.String,java.lang.String>>> getExportableItemTemplates()
public void setExportableItemTemplates(java.util.Map<java.lang.String,java.util.List<com.highdeal.util.Pair<java.lang.String,java.lang.String>>> templateMap)
templateMap - the map of template names and descriptions by external system codepublic java.util.List<java.lang.String> getTemplateNamesFromExternalSystemCode(java.lang.String externalSystemCode)
externalSystemCode - an external system codestringpublic java.util.Map<java.lang.String,java.util.List<java.lang.String>> getExportableItemTemplateNames()
public void setExportableItemTemplateNames(java.util.Map<java.lang.String,java.util.List<java.lang.String>> templateNamesMap)
templateNamesMap - the map of exportable item names by external system codepublic void marshal(XMLOutputter output)
XMLMarshallablemarshal in interface XMLMarshallableoutput - The XML output to marshal the object intopublic void addChild(java.lang.String tagName,
XMLMarshallable child)
XMLMarshallablechild representing
the marshallable object which must be added to the element.addChild in interface XMLMarshallabletagName - The name of tag for the childchild - The child to be addedpublic void setAttributes(XMLAttributes atts)
XMLMarshallablesetAttributes in interface XMLMarshallableatts - The XML attributes of the current elementpublic void addCharacterData(java.lang.String cData)
XMLMarshallableaddCharacterData in interface XMLMarshallablecData - The character data to be addedpublic java.lang.String getOperandReference()
OperationResultnull.getOperandReference in interface OperationResult