Class PortalScopeWrapper
java.lang.Object
com.aquima.interactions.framework.util.PortalScopeWrapper
Helper class for easy portal scope attribute value retrieval.
- Since:
- 8.4
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsConstructorDescriptionPortalScopeWrapper
(IPortalScope scope) Construct a PortalScopeWrapper that retieved its values from the provided portal scope -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String key) This method returns a value for the requested key.This method returns a value for the requested key.This method returns a String value for the requested key.getStringAttribute
(String key) This method returns a String value for the requested key.
-
Constructor Details
-
PortalScopeWrapper
Construct a PortalScopeWrapper that retieved its values from the provided portal scope- Parameters:
scope
- May not be null.
-
-
Method Details
-
getRequiredStringAttribute
This method returns a String value for the requested key.- Parameters:
key
- The requested key.- Returns:
- The String value, never null or empty
-
getStringAttribute
This method returns a String value for the requested key.- Parameters:
key
- The requested key.- Returns:
- The String value, may be null or empty
-
getRequiredAttribute
This method returns a value for the requested key.- Parameters:
key
- The requested key.- Returns:
- The value, never null
-
getAttribute
This method returns a value for the requested key.- Parameters:
key
- The requested key.- Returns:
- The value, may be null
-