| Package | Description |
|---|---|
| windntrees |
| Modifier and Type | Method and Description |
|---|---|
protected ResultObject<FlexObject> |
ContentController.getExceptionFlexObjectResult(FlexObject object,
Exception ex)
Gets WindnTrees compliant data and error message response object containing
record flex Object and exception.
|
protected ResultObject<T> |
ContentController.getExceptionObjectResult(T objectForm,
Exception ex)
Gets WindnTrees compliant data and error message response object containing
record Object and exception.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.create(T objectForm,
org.springframework.validation.Errors errors)
Saves new content object and return WindnTrees compliant HTTP response content object.
|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.createContent(T objectForm,
org.springframework.web.multipart.MultipartFile file,
org.springframework.validation.Errors errors)
Saves new content object and file and return WindnTrees compliant HTTP response content object.
|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.delete(String key)
Deletes content object based on provided key and return WindnTrees compliant HTTP response content object.
|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.delete(T objectForm,
org.springframework.validation.Errors errors)
Deletes content object and return WindnTrees compliant HTTP response content object.
|
protected org.springframework.http.HttpEntity<ResultObject> |
ContentController.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<ResultObject> |
ContentController.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<ResultObject> |
ContentController.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.
|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.update(T objectForm,
org.springframework.validation.Errors errors)
Saves existing content object and return WindnTrees compliant HTTP response content object.
|
org.springframework.http.HttpEntity<ResultObject> |
CRUDController.updateContent(T objectForm,
org.springframework.web.multipart.MultipartFile file,
org.springframework.validation.Errors errors)
Saves existing content object and file and return WindnTrees compliant HTTP response content object.
|
Copyright © 2018. All rights reserved.