SAP CC 1.0
API 4.2 (Core)

com.highdeal.pnr.hci
Class SearchTranslationRowsOp

java.lang.Object
  extended by com.highdeal.pnr.hci.SearchTranslationRowsOp
All Implemented Interfaces:
MessageOperation, XMLMarshallable

public class SearchTranslationRowsOp
extends java.lang.Object
implements MessageOperation

This operation allows to retrieve translation table rows from a charge condition in a given offer, at a given date. Translation rows are selected according to criteria defined in attributeDescription. If no criteria is defined, all applicable translation rows for the charge condition are returned.

See Also :
SearchTranslationRowsResult
Operation Failure Exception :
InvalidSearchException
ServerFailureException
Operation available with roles :
"csr" "marketing" "admin"


XML Schema Fragment
<xs:element name="searchTranslationRows">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="attributeDescription" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    <xs:attribute name="chargeConditionSubCode" type="xs:string" use="required"/>
    <xs:attribute name="rootOfferCode" type="xs:string" use="required"/>
    <xs:attribute name="tableCode" type="xs:string" use="required"/>
    <xs:attribute name="date" type="xs:dateTime" use="required"/>
    <xs:attribute name="maxSize" type="xs:integer" default="50"/>
  </xs:complexType>
 </xs:element>

Operation availability :
EditionAvailable On:
RaterUpdaterBackupGuiderChargerBulkLoaderBillingAssistantEZTaxer
Ratenoyesnononononono
Chargenoyesnononononono
Billnoyesnononononono
Fullnoyesnononononono

Field Summary
static java.lang.String OPERATION_NAME
           
 
Constructor Summary
SearchTranslationRowsOp()
          Builds an empty search translation rows operation.
 
Method Summary
 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 objects, the child represents the marshallable object to be added into the content tree.
 java.util.Vector<AttributeDescriptionModel> getAttributeDescriptions()
          Returns the list of AttributeDescriptionModel.
 java.lang.String getChargeConditionSubCode()
          Returns the charge condition subCode.
 java.util.Date getDate()
          Returns the date allowing to retrieve the right version of translation rows.
 int getMaxSize()
          Returns the max number of translation rows returned by the operation.
 java.lang.String getName()
          Gets the name.
 java.lang.String getRootOfferCode()
          Returns the code of the root offer.
 java.lang.String getTableCode()
          Returns the table code.
 void marshal(XMLOutputter output)
          Gives an XML representation of this object, and of its children.
 void setAttributes(XMLAttributes atts)
          Sets the attributes of the XML representation of the tag beeing processed.
 void setChargeConditionSubCode(java.lang.String chargeConditionSubCode)
          Sets the charge condition subCode.
 void setDate(java.util.Date date)
          Sets the date allowing to retrieve the right version of translation rows.
 void setMaxSize(int maxSize)
          Sets the max number of translation rows returned by the operation.
 void setRootOfferCode(java.lang.String rootOfferCode)
          Sets the code of the root offer.
 void setTableCode(java.lang.String tableCode)
          Sets the table code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_NAME

public static final java.lang.String OPERATION_NAME
See Also:
Constant Field Values
Constructor Detail

SearchTranslationRowsOp

public SearchTranslationRowsOp()
Builds an empty search translation rows operation.

Method Detail

getName

public java.lang.String getName()
Gets the name.

Specified by:
getName in interface MessageOperation
Returns:
"searchTranslationRows".

getChargeConditionSubCode

public java.lang.String getChargeConditionSubCode()
Returns the charge condition subCode.

Returns:
the charge condition subCode.
See Also:
setChargeConditionSubCode(String)

setChargeConditionSubCode

public void setChargeConditionSubCode(java.lang.String chargeConditionSubCode)
Sets the charge condition subCode.

Parameters:
chargeConditionSubCode -
See Also:
getChargeConditionSubCode()

getRootOfferCode

public java.lang.String getRootOfferCode()
Returns the code of the root offer.

Returns:
the root offer code.
See Also:
setRootOfferCode(String)

setRootOfferCode

public void setRootOfferCode(java.lang.String rootOfferCode)
Sets the code of the root offer.

Parameters:
rootOfferCode -
See Also:
getRootOfferCode()

getTableCode

public java.lang.String getTableCode()
Returns the table code.

Returns:
the table code.
See Also:
setTableCode(String)

setTableCode

public void setTableCode(java.lang.String tableCode)
Sets the table code.

Parameters:
tableCode -
See Also:
getTableCode()

getDate

public java.util.Date getDate()
Returns the date allowing to retrieve the right version of translation rows.

Returns:
the date allowing to retrieve the right version of translation rows.
See Also:
setDate(Date)

setDate

public void setDate(java.util.Date date)
Sets the date allowing to retrieve the right version of translation rows.

Parameters:
date -
See Also:
getDate()

getMaxSize

public int getMaxSize()
Returns the max number of translation rows returned by the operation.

Returns:
.
See Also:
setMaxSize(int)

setMaxSize

public void setMaxSize(int maxSize)
Sets the max number of translation rows returned by the operation.

Parameters:
maxSize -
See Also:
getMaxSize()

getAttributeDescriptions

public java.util.Vector<AttributeDescriptionModel> getAttributeDescriptions()
Returns the list of AttributeDescriptionModel.

Returns:
the list of AttributeDescriptionModel.

setAttributes

public void setAttributes(XMLAttributes atts)
Description copied from interface: XMLMarshallable
Sets the attributes of the XML representation of the tag beeing processed.

Specified by:
setAttributes in interface XMLMarshallable
Parameters:
atts - the XML attributes of the current tag.

addCharacterData

public void addCharacterData(java.lang.String cData)
Description copied from interface: XMLMarshallable
Adds character data to the content element.

Specified by:
addCharacterData in interface XMLMarshallable
Parameters:
cData - the character data to be added.

addChild

public void addChild(java.lang.String tagName,
                     XMLMarshallable child)
Description copied from interface: XMLMarshallable
Adds a child to the objects, the child represents the marshallable object to be added into the content tree.

Specified by:
addChild in interface XMLMarshallable
Parameters:
tagName - the name of tag for the child.
child - the child to be added.

marshal

public void marshal(XMLOutputter output)
Description copied from interface: XMLMarshallable
Gives an XML representation of this object, and of its children.

Specified by:
marshal in interface XMLMarshallable
Parameters:
output - the XML output to marshall the object into.

SAP CC 1.0
API 4.2 (Core)


API Reference - July 2009

SAP Convergent Charging 1.0 (build R4.2.1.35.0.0)
CONVERGENT CHARGING 4.2

(c) Copyright 2009 SAP AG. All rights reserved.