Package com.avoka.tm.util
Class SpaceUtils
java.lang.Object
com.avoka.tm.util.SpaceUtils
Provides space utils for fluent API classes.
- Since:
- 19.11.0
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetFormErrorPath(jakarta.servlet.http.HttpServletRequest request) Return the URL path to the Form Error page in the context of the requests Space.static StringgetNotAuthorizedPath(jakarta.servlet.http.HttpServletRequest request) Return the URL path to the Not Authorised page in the context of the requests Space.static SpacegetSpace(jakarta.servlet.http.HttpServletRequest request) Returns a space VO for the portal associated with the given request.
- 
Constructor Details- 
SpaceUtilspublic SpaceUtils()
 
- 
- 
Method Details- 
getNotAuthorizedPathReturn the URL path to the Not Authorised page in the context of the requests Space.- Parameters:
- request- (required)
- Returns:
- the full URL of the Not Authorised page.
 
- 
getSpaceReturns a space VO for the portal associated with the given request.- Parameters:
- request- (required)
- Returns:
- Space VO for given request or null if one isn't found.
 
- 
getFormErrorPathReturn the URL path to the Form Error page in the context of the requests Space.- Parameters:
- request- (required)
- Returns:
- the full URL of the Error page.
 
 
-