org.broadleafcommerce.openadmin.server.service.artifact.upload
Class UploadAddOrUpdateController
java.lang.Object
org.springframework.context.support.ApplicationObjectSupport
org.springframework.web.context.support.WebApplicationObjectSupport
org.springframework.web.servlet.support.WebContentGenerator
org.springframework.web.servlet.mvc.AbstractController
org.springframework.web.servlet.mvc.BaseCommandController
org.springframework.web.servlet.mvc.AbstractFormController
org.springframework.web.servlet.mvc.SimpleFormController
org.broadleafcommerce.openadmin.server.service.artifact.upload.UploadAddOrUpdateController
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware, org.springframework.web.context.ServletContextAware, org.springframework.web.servlet.mvc.Controller
public class UploadAddOrUpdateController
- extends org.springframework.web.servlet.mvc.SimpleFormController
Created by jfischer
| Fields inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
DEFAULT_COMMAND_NAME |
| Fields inherited from class org.springframework.web.servlet.support.WebContentGenerator |
METHOD_GET, METHOD_HEAD, METHOD_POST |
| Fields inherited from class org.springframework.context.support.ApplicationObjectSupport |
logger |
| Methods inherited from class org.springframework.web.servlet.mvc.SimpleFormController |
doSubmitAction, getFormView, getSuccessView, isFormChangeRequest, isFormChangeRequest, onFormChange, onFormChange, onSubmit, onSubmit, onSubmit, processFormSubmission, referenceData, referenceData, setFormView, setSuccessView, showForm, showForm, suppressValidation |
| Methods inherited from class org.springframework.web.servlet.mvc.AbstractFormController |
currentFormObject, formBackingObject, getCommand, getErrorsForNewForm, getFormSessionAttributeName, getFormSessionAttributeName, handleInvalidSubmit, isBindOnNewForm, isFormSubmission, isSessionForm, onBindOnNewForm, onBindOnNewForm, setBindOnNewForm, setSessionForm, showForm, showForm, showNewForm |
| Methods inherited from class org.springframework.web.servlet.mvc.BaseCommandController |
bindAndValidate, 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, useDirectFieldAccess |
| Methods inherited from class org.springframework.web.servlet.mvc.AbstractController |
handleRequest, isSynchronizeOnSession, setSynchronizeOnSession |
| Methods inherited from class org.springframework.web.servlet.support.WebContentGenerator |
applyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isAlwaysMustRevalidate, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setAlwaysMustRevalidate, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeader |
| Methods inherited from class org.springframework.web.context.support.WebApplicationObjectSupport |
getServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContext |
| Methods inherited from class org.springframework.context.support.ApplicationObjectSupport |
getApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dynamicEntityRemoteService
protected DynamicEntityService dynamicEntityRemoteService
exploitProtectionService
protected ExploitProtectionService exploitProtectionService
maximumFileSizeInBytes
protected Long maximumFileSizeInBytes
UploadAddOrUpdateController
public UploadAddOrUpdateController()
handleRequestInternal
protected org.springframework.web.servlet.ModelAndView handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws Exception
- Overrides:
handleRequestInternal in class org.springframework.web.servlet.mvc.AbstractFormController
- Throws:
Exception
buildJSON
protected String buildJSON(Entity entity)
throws ServiceException
- Throws:
ServiceException
buildErrorJSON
protected String buildErrorJSON(String errorString)
throws ServiceException
- Throws:
ServiceException
bindMultipart
protected void bindMultipart(Map<String,List<org.springframework.web.multipart.MultipartFile>> multipartFiles,
org.springframework.beans.MutablePropertyValues mpvs)
getDynamicEntityRemoteService
public DynamicEntityService getDynamicEntityRemoteService()
setDynamicEntityRemoteService
public void setDynamicEntityRemoteService(DynamicEntityService dynamicEntityRemoteService)
getMaximumFileSizeInBytes
public Long getMaximumFileSizeInBytes()
setMaximumFileSizeInBytes
public void setMaximumFileSizeInBytes(Long maximumFileSizeInBytes)
getExploitProtectionService
public ExploitProtectionService getExploitProtectionService()
setExploitProtectionService
public void setExploitProtectionService(ExploitProtectionService exploitProtectionService)
Copyright © 2013. All Rights Reserved.