Class PrivacyPolicyFeedResponseImpl
java.lang.Object
org.projecthusky.communication.ch.ppq.impl.PrivacyPolicyFeedResponseImpl
- All Implemented Interfaces:
PrivacyPolicyFeedResponse
Class implementing the corresponding interface for PrivacyPolicyFeed.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addException
(Exception aException) Method to add a exception to the list of exceptions. Methode um ein Fehler der Liste von Fehlern hinzuzufügen.Method to get the list of errors if available. Liefert die Liste von Fehlern, falls vorhanden.Method to get the method of the response. Methode um die Methode des Requests zu erhalten.Method to get the status of the Response. Methode um den Status der Antwort zu erhalten.Checks whether the response contains a successful status.void
setMethod
(PrivacyPolicyFeed.PpfMethod aMethod) Method to set the method. Methode um die Methode zu setzen.void
Method to set the status of the Response. Methode um den Status der Antwort zu setzen.
-
Field Details
-
FAILURE
- See Also:
-
SUCCESS
- See Also:
-
-
Constructor Details
-
PrivacyPolicyFeedResponseImpl
protected PrivacyPolicyFeedResponseImpl()
-
-
Method Details
-
addException
Method to add a exception to the list of exceptions.Methode um ein Fehler der Liste von Fehlern hinzuzufügen.- Parameters:
aException
-
-
getExceptions
Description copied from interface:PrivacyPolicyFeedResponse
Method to get the list of errors if available.Liefert die Liste von Fehlern, falls vorhanden.- Specified by:
getExceptions
in interfacePrivacyPolicyFeedResponse
- Returns:
-
getMethod
Description copied from interface:PrivacyPolicyFeedResponse
Method to get the method of the response.Methode um die Methode des Requests zu erhalten.- Specified by:
getMethod
in interfacePrivacyPolicyFeedResponse
- Returns:
- the
PrivacyPolicyFeed.PpfMethod
which is set.diePrivacyPolicyFeed.PpfMethod
die gesetzt ist.
-
getStatus
Description copied from interface:PrivacyPolicyFeedResponse
Method to get the status of the Response.Methode um den Status der Antwort zu erhalten.- Specified by:
getStatus
in interfacePrivacyPolicyFeedResponse
- Returns:
-
the status as stringden Status als String
-
isStatusSuccess
Description copied from interface:PrivacyPolicyFeedResponse
Checks whether the response contains a successful status.- Specified by:
isStatusSuccess
in interfacePrivacyPolicyFeedResponse
- Returns:
- True in case of success. False in case of failure
-
setMethod
Method to set the method.Methode um die Methode zu setzen.- Parameters:
aMethod
-the method to be set.der Method der gesetzt werden soll.
-
setStatus
Method to set the status of the Response.Methode um den Status der Antwort zu setzen.- Parameters:
aStatus
-the status to be set.der Status der gesetzt werden soll.
-