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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddException(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.voidsetMethod(PrivacyPolicyFeed.PpfMethod aMethod) Method to set the method. Methode um die Methode zu setzen.voidMethod 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:PrivacyPolicyFeedResponseMethod to get the list of errors if available.Liefert die Liste von Fehlern, falls vorhanden.- Specified by:
getExceptionsin interfacePrivacyPolicyFeedResponse- Returns:
-
getMethod
Description copied from interface:PrivacyPolicyFeedResponseMethod to get the method of the response.Methode um die Methode des Requests zu erhalten.- Specified by:
getMethodin interfacePrivacyPolicyFeedResponse- Returns:
- the
PrivacyPolicyFeed.PpfMethodwhich is set.diePrivacyPolicyFeed.PpfMethoddie gesetzt ist.
-
getStatus
Description copied from interface:PrivacyPolicyFeedResponseMethod to get the status of the Response.Methode um den Status der Antwort zu erhalten.- Specified by:
getStatusin interfacePrivacyPolicyFeedResponse- Returns:
-
the status as stringden Status als String
-
isStatusSuccess
Description copied from interface:PrivacyPolicyFeedResponseChecks whether the response contains a successful status.- Specified by:
isStatusSuccessin 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.
-