com.ibm.di.plugin.pwstore.itim.policy
Interface PolicyServiceResponse

All Superinterfaces:
PolicyServiceMessage

public interface PolicyServiceResponse
extends PolicyServiceMessage

Policy Service response message type.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.ibm.di.plugin.pwstore.itim.policy.PolicyServiceMessage
PolicyServiceMessage.ServiceOp
 
Method Summary
 PolicyServiceRequest getRequest()
          The request to which this repsonse has been received.
 String getResponseMessage()
          The response descriptive text from ITIM.
 boolean isSuccess()
          Test if this response represents a successful
 boolean isValid()
          Test if the response format and mandatory data are present and correct.
 
Methods inherited from interface com.ibm.di.plugin.pwstore.itim.policy.PolicyServiceMessage
getMessageData, getOperation
 

Method Detail

getRequest

PolicyServiceRequest getRequest()
The request to which this repsonse has been received. Use for correlation purposes.

Returns:
The original request message instance.

isSuccess

boolean isSuccess()
Test if this response represents a successful

Returns:
true if response indicates success.

getResponseMessage

String getResponseMessage()
The response descriptive text from ITIM.

Returns:
The text string if one was present in the response, null otherwise.

isValid

boolean isValid()
Test if the response format and mandatory data are present and correct.

Returns:
true if message is valid.