T - public class ContentController<T> extends BasicController
env, logger, messageSource, request, session| Constructor and Description |
|---|
ContentController() |
| Modifier and Type | Method and Description |
|---|---|
protected ResultObject<FlexObject> |
getExceptionFlexObjectResult(FlexObject object,
Exception ex)
Gets WindnTrees compliant data and error message response object containing
record flex Object and exception.
|
protected ResultList<T> |
getExceptionListResult(List<T> listData,
Exception ex)
Gets WindnTrees compliant data and exception error message response object,
containing list of objects and exception.
|
protected ResultObject<T> |
getExceptionObjectResult(T objectForm,
Exception ex)
Gets WindnTrees compliant data and error message response object containing
record Object and exception.
|
protected ResultList<T> |
getExceptionPageResult(org.springframework.data.domain.Page<T> pagedData,
Exception ex)
Gets WindnTrees compliant data and error message response object containing
list wise (paged) objects and exception.
|
protected org.springframework.http.HttpEntity<FlexObject> |
getHttpExceptionFlexObjectResult(FlexObject object,
Exception ex)
Gets WindnTrees compliant data and error message HTTP response object containing
record flex Object and exception.
|
protected org.springframework.http.HttpEntity<ResultList> |
getHttpExceptionListResult(List<T> listData,
Exception ex)
Gets WindnTrees compliant data and errors HTTP response object containing
list of objects and exception.
|
protected org.springframework.http.HttpEntity<ResultObject> |
getHttpExceptionObjectResult(T objectForm,
Exception ex)
Gets WindnTrees compliant data and error message HTTP response object containing
record Object and exception.
|
protected org.springframework.http.HttpEntity<ResultList> |
getHttpExceptionPageResult(org.springframework.data.domain.Page<T> pagedData,
Exception ex)
Gets WindnTrees compliant data and error message HTTP response object containing
list wise (paged) objects and exception.
|
protected org.springframework.http.HttpEntity<ResultObject> |
getHttpFlexObjectResult(FlexObject object,
List<org.springframework.validation.ObjectError> errors,
boolean localeEnabled)
Gets WindnTrees compliant data and error message HTTP response object containing
record flex Object and list of errors.
|
protected org.springframework.http.HttpEntity<ResultList> |
getHttpListResult(List<T> listData,
List<org.springframework.validation.ObjectError> errors,
boolean localeEnabled)
Gets WindnTrees compliant data and errors HTTP response object containing
list of objects and errors.
|
protected org.springframework.http.HttpEntity<ResultObject> |
getHttpObjectResult(T objectForm,
List<org.springframework.validation.ObjectError> errors,
boolean localeEnabled)
Gets WindnTrees compliant data and error message HTTP response object containing
record Object and list of errors.
|
protected org.springframework.http.HttpEntity<ResultList> |
getHttpPagedResult(org.springframework.data.domain.Page<T> pagedData,
List<org.springframework.validation.ObjectError> errors,
boolean localeEnabled)
Gets WindnTrees compliant data and error message HTTP response object containing
list wise (paged) objects and errors.
|
protected ArrayList<org.springframework.validation.ObjectError> |
getStandardErrorLocaleMessage()
Gets standard error message(s) list response.
|
protected ArrayList<org.springframework.validation.ObjectError> |
getValidationLocaleMessages(List<org.springframework.validation.ObjectError> errors)
Gets validation message(s) list response.
|
getFolderPath, getHtmlResponseHeaders, getLocale, getResponseHeaders, getStandardErrMessage, getStandardExceptionMessage, getStandardOkMessage, getValidationLocaleMessage, getWebAppProperties, getWelcomeMessageprotected ArrayList<org.springframework.validation.ObjectError> getStandardErrorLocaleMessage()
protected ArrayList<org.springframework.validation.ObjectError> getValidationLocaleMessages(List<org.springframework.validation.ObjectError> errors)
errors - protected org.springframework.http.HttpEntity<ResultList> getHttpListResult(List<T> listData, List<org.springframework.validation.ObjectError> errors, boolean localeEnabled)
listData - errors - localeEnabled - protected ResultList<T> getExceptionListResult(List<T> listData, Exception ex)
listData - ex - protected org.springframework.http.HttpEntity<ResultList> getHttpExceptionListResult(List<T> listData, Exception ex)
listData - ex - protected org.springframework.http.HttpEntity<ResultList> getHttpPagedResult(org.springframework.data.domain.Page<T> pagedData, List<org.springframework.validation.ObjectError> errors, boolean localeEnabled)
pagedData - errors - localeEnabled - protected ResultList<T> getExceptionPageResult(org.springframework.data.domain.Page<T> pagedData, Exception ex)
pagedData - ex - protected org.springframework.http.HttpEntity<ResultList> getHttpExceptionPageResult(org.springframework.data.domain.Page<T> pagedData, Exception ex)
pagedData - ex - protected org.springframework.http.HttpEntity<ResultObject> getHttpObjectResult(T objectForm, List<org.springframework.validation.ObjectError> errors, boolean localeEnabled)
objectForm - errors - localeEnabled - protected ResultObject<T> getExceptionObjectResult(T objectForm, Exception ex)
objectForm - ex - protected org.springframework.http.HttpEntity<ResultObject> getHttpExceptionObjectResult(T objectForm, Exception ex)
objectForm - ex - protected org.springframework.http.HttpEntity<ResultObject> getHttpFlexObjectResult(FlexObject object, List<org.springframework.validation.ObjectError> errors, boolean localeEnabled)
object - errors - localeEnabled - protected ResultObject<FlexObject> getExceptionFlexObjectResult(FlexObject object, Exception ex)
object - ex - protected org.springframework.http.HttpEntity<FlexObject> getHttpExceptionFlexObjectResult(FlexObject object, Exception ex)
object - ex - Copyright © 2018. All rights reserved.