org.broadleafcommerce.openadmin.server.service.artifact.upload
public class UploadAddOrUpdateController extends org.springframework.web.servlet.mvc.SimpleFormController
| Modifier and Type | Field and Description |
|---|---|
protected DynamicEntityService |
dynamicEntityRemoteService |
protected ExploitProtectionService |
exploitProtectionService |
protected Long |
maximumFileSizeInBytes |
DEFAULT_COMMAND_NAME| Constructor and Description |
|---|
UploadAddOrUpdateController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindMultipart(Map<String,List<org.springframework.web.multipart.MultipartFile>> multipartFiles,
org.springframework.beans.MutablePropertyValues mpvs) |
protected String |
buildErrorJSON(String errorString) |
protected String |
buildJSON(Entity entity) |
DynamicEntityService |
getDynamicEntityRemoteService() |
ExploitProtectionService |
getExploitProtectionService() |
Long |
getMaximumFileSizeInBytes() |
protected org.springframework.web.servlet.ModelAndView |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setDynamicEntityRemoteService(DynamicEntityService dynamicEntityRemoteService) |
void |
setExploitProtectionService(ExploitProtectionService exploitProtectionService) |
void |
setMaximumFileSizeInBytes(Long maximumFileSizeInBytes) |
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, onSubmit, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidationcurrentFormObject, formBackingObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewFormbindAndValidate, checkCommand, createBinder, createCommand, getBindingErrorProcessor, getCommandClass, getCommandName, getMessageCodesResolver, getPropertyEditorRegistrars, getValidator, getValidators, getWebBindingInitializer, initApplicationContext, initBinder, isValidateOnBinding, onBind, onBind, onBindAndValidate, prepareBinder, setBindingErrorProcessor, setCommandClass, setCommandName, setMessageCodesResolver, setPropertyEditorRegistrar, setPropertyEditorRegistrars, setValidateOnBinding, setValidator, setValidators, setWebBindingInitializer, suppressBinding, suppressValidation, suppressValidation, useDirectFieldAccesshandleRequest, isSynchronizeOnSession, setSynchronizeOnSessionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextprotected DynamicEntityService dynamicEntityRemoteService
protected ExploitProtectionService exploitProtectionService
protected Long maximumFileSizeInBytes
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractFormControllerExceptionprotected String buildJSON(Entity entity) throws ServiceException
ServiceExceptionprotected String buildErrorJSON(String errorString) throws ServiceException
ServiceExceptionprotected void bindMultipart(Map<String,List<org.springframework.web.multipart.MultipartFile>> multipartFiles, org.springframework.beans.MutablePropertyValues mpvs)
public DynamicEntityService getDynamicEntityRemoteService()
public void setDynamicEntityRemoteService(DynamicEntityService dynamicEntityRemoteService)
public Long getMaximumFileSizeInBytes()
public void setMaximumFileSizeInBytes(Long maximumFileSizeInBytes)
public ExploitProtectionService getExploitProtectionService()
public void setExploitProtectionService(ExploitProtectionService exploitProtectionService)
Copyright © 2015. All Rights Reserved.