cgl.narada.wsinfra.wsr
Interface WsrNodeUtils

All Known Implementing Classes:
WsrNodeUtilsImpl

public interface WsrNodeUtils

This is a utility class which faciliates the retrieval of elements pertaining to WSR that reside in the SOAP enevelope.


Method Summary
 String getGroupExpiryTime(EnvelopeDocument envelopeDocument)
          Retrieves Group Expiry Time element from the Header of the SOAP Message
 String getGroupId(EnvelopeDocument envelopeDocument)
          Retrieves GroupId Element from the Header of the SOAP message
 String getGroupMaxIdleDuration(EnvelopeDocument envelopeDocument)
          Retrieves Group Max Idle Duration element from the Header of the SOAP Message
 String getLastMessage(EnvelopeDocument envelopeDocument)
          Retrieves last Message element from the Header of the SOAP Message
 String getMessageExchangePattern(EnvelopeDocument envelopeDocument)
          Retrieves Message Exchange Pattern from the Header of the SOAP Message
 String getMExpiryTime(EnvelopeDocument envelopeDocument)
          Retrieves Message Expiry Time element from the Header of the SOAP Message
 PollRequestDocument getPollRequestDocument(EnvelopeDocument envelopeDocument)
          Retrieves PollRequest Element from the Header of the SOAP message.
 String getReplyTo(EnvelopeDocument envelopeDocument)
          Retrieves replyTo element from the Header of the SOAP Message
 RequestDocument getRequestDocument(EnvelopeDocument envelopeDocument)
          Retrieves Request element from the Header of the SOAP message
 ResponseDocument getResponseDocument(EnvelopeDocument envelopeDocument)
          Retrieves Response Element from the Header of the SOAP message.
 String getRPattern(EnvelopeDocument envelopeDocument)
          Retrieves Reply Pattern element from the Header of the Soap Message
 boolean hasGroupId(RequestDocument requestDocument)
          Checks whether GroupId Attribure to MessageId Element exists or not
 boolean hasMessageExpiryTimeElement(RequestDocument requestDocument)
          Checks whether ExpiryTime element exists or not
 boolean hasMessageIDElement(RequestDocument requestDocument)
          Checks whether MessageID element exists or not
 boolean hasRefToMessageIdsElement(PollRequestDocument pollRequestDocument)
          Checks whether RefToMessageIds element exists or not
 boolean hasReplyPatternElement(RequestDocument requestDocument)
          Checks whether ReplyPattern element exists or not
 

Method Detail

getRequestDocument

public RequestDocument getRequestDocument(EnvelopeDocument envelopeDocument)
                                   throws WsFaultException
Retrieves Request element from the Header of the SOAP message

Throws:
WsFaultException

getPollRequestDocument

public PollRequestDocument getPollRequestDocument(EnvelopeDocument envelopeDocument)
                                           throws WsFaultException
Retrieves PollRequest Element from the Header of the SOAP message.

Throws:
WsFaultException

getResponseDocument

public ResponseDocument getResponseDocument(EnvelopeDocument envelopeDocument)
                                     throws WsFaultException
Retrieves Response Element from the Header of the SOAP message.

Throws:
WsFaultException

getGroupId

public String getGroupId(EnvelopeDocument envelopeDocument)
                  throws WsFaultException
Retrieves GroupId Element from the Header of the SOAP message

Throws:
WsFaultException

getMessageExchangePattern

public String getMessageExchangePattern(EnvelopeDocument envelopeDocument)
                                 throws WsFaultException
Retrieves Message Exchange Pattern from the Header of the SOAP Message

Throws:
WsFaultException

getGroupExpiryTime

public String getGroupExpiryTime(EnvelopeDocument envelopeDocument)
                          throws WsFaultException
Retrieves Group Expiry Time element from the Header of the SOAP Message

Throws:
WsFaultException

getGroupMaxIdleDuration

public String getGroupMaxIdleDuration(EnvelopeDocument envelopeDocument)
                               throws WsFaultException
Retrieves Group Max Idle Duration element from the Header of the SOAP Message

Throws:
WsFaultException

getMExpiryTime

public String getMExpiryTime(EnvelopeDocument envelopeDocument)
                      throws WsFaultException
Retrieves Message Expiry Time element from the Header of the SOAP Message

Throws:
WsFaultException

getRPattern

public String getRPattern(EnvelopeDocument envelopeDocument)
                   throws WsFaultException
Retrieves Reply Pattern element from the Header of the Soap Message

Throws:
WsFaultException

getLastMessage

public String getLastMessage(EnvelopeDocument envelopeDocument)
                      throws WsFaultException
Retrieves last Message element from the Header of the SOAP Message

Throws:
WsFaultException

getReplyTo

public String getReplyTo(EnvelopeDocument envelopeDocument)
                  throws WsFaultException
Retrieves replyTo element from the Header of the SOAP Message

Throws:
WsFaultException

hasMessageIDElement

public boolean hasMessageIDElement(RequestDocument requestDocument)
Checks whether MessageID element exists or not


hasGroupId

public boolean hasGroupId(RequestDocument requestDocument)
Checks whether GroupId Attribure to MessageId Element exists or not


hasMessageExpiryTimeElement

public boolean hasMessageExpiryTimeElement(RequestDocument requestDocument)
Checks whether ExpiryTime element exists or not


hasReplyPatternElement

public boolean hasReplyPatternElement(RequestDocument requestDocument)
Checks whether ReplyPattern element exists or not


hasRefToMessageIdsElement

public boolean hasRefToMessageIdsElement(PollRequestDocument pollRequestDocument)
Checks whether RefToMessageIds element exists or not