Package com.highdeal.pnr.hci
Class GetCurrentReratingSessionStatusResult
java.lang.Object
com.highdeal.pnr.hci.GetCurrentReratingSessionStatusResult
- All Implemented Interfaces:
OperationResult,XMLMarshallable
This class gives the possibility to retrieve the result of a
Get Current Rerating Session Status operation;
If no rerating session is in progress, the result of the last rerating session is returned.Operation Request
GetCurrentReratingSessionStatusOp XML API for HCI
The XML APIs specify the following XSD fragment:
XSD Fragment
<xs:element name="getCurrentReratingSessionStatusResult">
<xs:complexType>
<xs:attribute name="reratingLockCode" type="xs:string"/>
<xs:attribute name="inProgress" type="xs:boolean"/>
<xs:attribute name="batchGroupReratedCount" type="xs:integer"/>
<xs:attribute name="batchGroupToRerateCount" type="xs:integer"/>
<xs:attribute name="batchGroupReratedDaysCount" type="xs:integer"/>
<xs:attribute name="batchGroupDaysToRerateCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionLockedCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionLockErrorCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionUnlockedCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionUnlockErrorCount" type="xs:integer"/>
<xs:attribute name="batchGroupSubscriptionToRerateCount" type="xs:integer"/>
<xs:attribute name="subscriptionErrorCount" type="xs:integer"/>
<xs:attribute name="subscriptionToRerateCount" type="xs:integer"/>
<xs:attribute name="adaptedSubscriptionCount" type="xs:integer"/>
</xs:complexType>
</xs:element>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe name of the marshallable result: "getCurrentReratingSessionStatusResult" -
Constructor Summary
ConstructorsConstructorDescriptionBuilds an empty operation result.GetCurrentReratingSessionStatusResult(String lockCode, boolean inProgress, int batchGroupToRerateCount, int batchGroupReratedCount, int subscriptionToRerateCount, int adaptedSubscriptionCount, int batchGroupReratedDaysCount, int batchGroupDaysToRerateCount, int batchGroupSubscriptionLockedCount, int batchGroupSubscriptionLockErrorCount, int batchGroupSubscriptionUnlockedCount, int batchGroupSubscriptionUnlockErrorCount, int batchGroupSubscriptionToRerateCount, int subscriptionErrorCount) Builds a result with all its details. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacterData(String cData) Adds character data to the content element.voidaddChild(String tagName, XMLMarshallable child) Adds a child to the object, thechildrepresenting the marshallable object which must be added to the element.intintintintintintintintintintGets 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 isnull.intintbooleanvoidmarshal(XMLOutputter output) Gives an XML representation of this object, including its children.voidsetAdaptedSubscriptionCount(int adaptedSubscriptionCount) voidsetAttributes(XMLAttributes atts) Sets the attributes of the XML representation of the element being processed.voidsetBatchGroupDaysToRerateCount(int batchGroupDaysToRerateCount) voidsetBatchGroupReratedCount(int batchGroupReratedCount) voidsetBatchGroupReratedDaysCount(int batchGroupReratedDaysCount) voidsetBatchGroupSubscriptionLockedCount(int batchGroupSubscriptionLockedCount) voidsetBatchGroupSubscriptionLockErrorCount(int batchGroupSubscriptionLockErrorCount) voidsetBatchGroupSubscriptionToRerateCount(int batchGroupSubscriptionToRerateCount) voidsetBatchGroupSubscriptionUnlockedCount(int batchGroupSubscriptionUnlockedCount) voidsetBatchGroupSubscriptionUnlockErrorCount(int batchGroupSubscriptionUnlockErrorCount) voidsetBatchGroupToRerateCount(int batchGroupToRerateCount) voidsetInProgress(boolean inProgress) voidsetReratingLockCode(String reratingLockCode) voidsetSubscriptionErrorCount(int subscriptionErrorCount) voidsetSubscriptionToRerateCount(int subscriptionToRerateCount)
-
Field Details
-
RESULT_NAME
The name of the marshallable result: "getCurrentReratingSessionStatusResult"- See Also:
-
-
Constructor Details
-
GetCurrentReratingSessionStatusResult
public GetCurrentReratingSessionStatusResult()Builds an empty operation result. -
GetCurrentReratingSessionStatusResult
public GetCurrentReratingSessionStatusResult(String lockCode, boolean inProgress, int batchGroupToRerateCount, int batchGroupReratedCount, int subscriptionToRerateCount, int adaptedSubscriptionCount, int batchGroupReratedDaysCount, int batchGroupDaysToRerateCount, int batchGroupSubscriptionLockedCount, int batchGroupSubscriptionLockErrorCount, int batchGroupSubscriptionUnlockedCount, int batchGroupSubscriptionUnlockErrorCount, int batchGroupSubscriptionToRerateCount, int subscriptionErrorCount) Builds a result with all its details.- Parameters:
lockCode- The rerating lock codeinProgress- The state of the rerating sessionbatchGroupReratedCount- The count of batch groups that have been reratedbatchGroupToRerateCount- The count of batch groups that must be reratedsubscriptionToRerateCount- The count of subscriptions that must be reratedadaptedSubscriptionCount- The count of subscriptions for which restoration date have been adapted.batchGroupReratedDaysCount- The count of days rerated in the current batch groupbatchGroupDaysToRerateCount- The count of days to rerate in the current batch groupbatchGroupSubscriptionLockedCount- The count of subscription locked in the current batch groupbatchGroupSubscriptionLockErrorCount- The count of subscription in error during the lock phase in the current batch groupbatchGroupSubscriptionUnlockedCount- The count of subscription locked in the current batch groupbatchGroupSubscriptionUnlockErrorCount- The count of subscription in error during the unlock phase in the current batch groupbatchGroupSubscriptionToRerateCount- The count of subscription to rerate in the current batch groupsubscriptionErrorCount- The total count of subscriptions in error
-
-
Method Details
-
getOperandReference
Description copied from interface:OperationResultGets 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 isnull.- Specified by:
getOperandReferencein interfaceOperationResult- Returns:
- The operand reference of the operation result
-
getReratingLockCode
- Returns:
- The reratingLockCode
-
setReratingLockCode
- Parameters:
reratingLockCode- The reratingLockCode to set
-
isInProgress
public boolean isInProgress()- Returns:
trueif a rerating session is in progress, false otherwise.
-
setInProgress
public void setInProgress(boolean inProgress) - Parameters:
inProgress- The inProgress to set
-
getBatchGroupReratedCount
public int getBatchGroupReratedCount()- Returns:
- The batchGroupReratedCount
-
setBatchGroupReratedCount
public void setBatchGroupReratedCount(int batchGroupReratedCount) - Parameters:
batchGroupReratedCount- The batchGroupReratedCount to set
-
getBatchGroupToRerateCount
public int getBatchGroupToRerateCount()- Returns:
- The batchGroupToRerateCount
-
setBatchGroupToRerateCount
public void setBatchGroupToRerateCount(int batchGroupToRerateCount) - Parameters:
batchGroupToRerateCount- The batchGroupToRerateCount to set
-
getSubscriptionToRerateCount
public int getSubscriptionToRerateCount()- Returns:
- The subscriptionToRerateCount
-
setSubscriptionToRerateCount
public void setSubscriptionToRerateCount(int subscriptionToRerateCount) - Parameters:
subscriptionToRerateCount- The subscriptionToRerateCount to set
-
getAdaptedSubscriptionCount
public int getAdaptedSubscriptionCount()- Returns:
- the adaptedSubscriptionCount
-
setAdaptedSubscriptionCount
public void setAdaptedSubscriptionCount(int adaptedSubscriptionCount) - Parameters:
adaptedSubscriptionCount- The adaptedSubscriptionCount to set
-
getBatchGroupReratedDaysCount
public int getBatchGroupReratedDaysCount()- Returns:
- The batchGroupReratedDaysCount
-
setBatchGroupReratedDaysCount
public void setBatchGroupReratedDaysCount(int batchGroupReratedDaysCount) - Parameters:
batchGroupReratedDaysCount- The batchGroupReratedDaysCount to set
-
getBatchGroupDaysToRerateCount
public int getBatchGroupDaysToRerateCount()- Returns:
- The batchGroupDaysToRerateCount
-
setBatchGroupDaysToRerateCount
public void setBatchGroupDaysToRerateCount(int batchGroupDaysToRerateCount) - Parameters:
batchGroupDaysToRerateCount- The batchGroupDaysToRerateCount to set
-
getBatchGroupSubscriptionLockedCount
public int getBatchGroupSubscriptionLockedCount()- Returns:
- The batchGroupSubscriptionLockedCount
-
setBatchGroupSubscriptionLockedCount
public void setBatchGroupSubscriptionLockedCount(int batchGroupSubscriptionLockedCount) - Parameters:
batchGroupSubscriptionLockedCount- The batchGroupSubscriptionLockedCount to set
-
getBatchGroupSubscriptionLockErrorCount
public int getBatchGroupSubscriptionLockErrorCount()- Returns:
- The batchGroupSubscriptionLockErrorCount
-
setBatchGroupSubscriptionLockErrorCount
public void setBatchGroupSubscriptionLockErrorCount(int batchGroupSubscriptionLockErrorCount) - Parameters:
batchGroupSubscriptionLockErrorCount- The batchGroupSubscriptionLockErrorCount to set
-
getBatchGroupSubscriptionUnlockedCount
public int getBatchGroupSubscriptionUnlockedCount()- Returns:
- The batchGroupSubscriptionUnlockedCount
-
setBatchGroupSubscriptionUnlockedCount
public void setBatchGroupSubscriptionUnlockedCount(int batchGroupSubscriptionUnlockedCount) - Parameters:
batchGroupSubscriptionUnlockedCount- The batchGroupSubscriptionUnlockedCount to set
-
getBatchGroupSubscriptionUnlockErrorCount
public int getBatchGroupSubscriptionUnlockErrorCount()- Returns:
- The batchGroupSubscriptionUnlockErrorCount
-
setBatchGroupSubscriptionUnlockErrorCount
public void setBatchGroupSubscriptionUnlockErrorCount(int batchGroupSubscriptionUnlockErrorCount) - Parameters:
batchGroupSubscriptionUnlockErrorCount- The batchGroupSubscriptionUnlockErrorCount to set
-
getBatchGroupSubscriptionToRerateCount
public int getBatchGroupSubscriptionToRerateCount()- Returns:
- The batchGroupSubscriptionToRerateCount
-
setBatchGroupSubscriptionToRerateCount
public void setBatchGroupSubscriptionToRerateCount(int batchGroupSubscriptionToRerateCount) - Parameters:
batchGroupSubscriptionToRerateCount- The batchGroupSubscriptionToRerateCount to set
-
getSubscriptionErrorCount
public int getSubscriptionErrorCount()- Returns:
- The subscriptionErrorCount
-
setSubscriptionErrorCount
public void setSubscriptionErrorCount(int subscriptionErrorCount) - Parameters:
subscriptionErrorCount- The subscriptionErrorCount to set
-
setAttributes
Description copied from interface:XMLMarshallableSets the attributes of the XML representation of the element being processed.- Specified by:
setAttributesin interfaceXMLMarshallable- Parameters:
atts- TheXML attributesof the current element
-
addCharacterData
Description copied from interface:XMLMarshallableAdds character data to the content element.- Specified by:
addCharacterDatain interfaceXMLMarshallable- Parameters:
cData- The character data to be added
-
addChild
Description copied from interface:XMLMarshallableAdds a child to the object, thechildrepresenting the marshallable object which must be added to the element.- Specified by:
addChildin interfaceXMLMarshallable- Parameters:
tagName- The name of tag for the childchild- The child to be added
-
marshal
Description copied from interface:XMLMarshallableGives an XML representation of this object, including its children.- Specified by:
marshalin interfaceXMLMarshallable- Parameters:
output- TheXML outputto marshal the object into
-