Interface PolicyServiceResponse
-
- All Superinterfaces:
PolicyServiceMessage
- All Known Implementing Classes:
ITIMPolicyServiceResponseImpl
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PolicyServiceRequest
getRequest()
The request to which this repsonse has been received.java.lang.String
getResponseMessage()
The response descriptive text from ITIM.boolean
isSuccess()
Test if this response represents a successfulboolean
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
java.lang.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.
-
-