org.shept.org.springframework.web.servlet.mvc.delegation.component
public abstract class AbstractEditingComponent extends AbstractPersistenceComponent
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.validation.Validator[] |
validators |
dao, DATA_ACCESS_ERROR, DATA_INTEGRITY_ERROR, enableDaoTransactions, enableDelete, enableSave, OPTIMISTIC_LOCKING_ERROR, reloadOnCancel, transactionManagerANCHOR_PREFIX| Constructor and Description |
|---|
AbstractEditingComponent() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.servlet.ModelAndView |
doActionInternal(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
protected abstract org.springframework.web.servlet.ModelAndView |
doCancel(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
protected abstract org.springframework.web.servlet.ModelAndView |
doDelete(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
protected abstract org.springframework.web.servlet.ModelAndView |
doSave(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
protected String |
getCustomDeleteTransaction(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
protected String |
getCustomSaveTransaction(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
Map<String,String> |
getDefaultMappings() |
org.springframework.validation.Validator[] |
getValidators() |
protected void |
onBindAndValidate(javax.servlet.http.HttpServletRequest request,
ComponentToken token) |
void |
setValidators(org.springframework.validation.Validator[] validators) |
afterPropertiesSet, doDeleteModel, doFlushSession, doInTransactionIfAvailable, doSaveModel, doSaveModel, excecuteAction, getDao, getWrappedModel, isEnableDaoTransactions, isEnableDelete, isEnableSave, isReloadOnCancel, setDao, setEnableDaoTransactions, setEnableDelete, setEnableSave, setReloadOnCancel, setTransactionManagergetAnchorPrefix, getMappings, getResources, hasErrorsInPath, initApplicationContext, isCopyResources, modelRedirect, modelRedirect, modelRedirectClip, modelUnhandled, modelWithErrors, setAnchorPrefix, setCopyResources, setMappings, setResources, supportedActions, supportsActionapplyCacheSeconds, applyCacheSeconds, cacheForSeconds, cacheForSeconds, checkAndPrepare, checkAndPrepare, getCacheSeconds, getSupportedMethods, isRequireSession, isUseCacheControlHeader, isUseCacheControlNoStore, isUseExpiresHeader, preventCaching, setCacheSeconds, setRequireSession, setSupportedMethods, setUseCacheControlHeader, setUseCacheControlNoStore, setUseExpiresHeadergetServletContext, getTempDir, getWebApplicationContext, initApplicationContext, initServletContext, isContextRequired, setServletContextgetApplicationContext, getMessageSourceAccessor, requiredContextClass, setApplicationContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMappings, supportedActions, supports, supportsActionprotected org.springframework.web.servlet.ModelAndView doActionInternal(javax.servlet.http.HttpServletRequest request,
ComponentToken token)
throws Exception
doActionInternal in class AbstractPersistenceComponent - request - token - binder - Exceptionprotected void onBindAndValidate(javax.servlet.http.HttpServletRequest request,
ComponentToken token)
throws Exception
- request - token - Exceptionprotected abstract org.springframework.web.servlet.ModelAndView doCancel(javax.servlet.http.HttpServletRequest request,
ComponentToken token)
throws Exception
- request - token - binder - Exceptionprotected abstract org.springframework.web.servlet.ModelAndView doSave(javax.servlet.http.HttpServletRequest request,
ComponentToken token)
throws Exception
- request - token - binder - Exceptionprotected abstract org.springframework.web.servlet.ModelAndView doDelete(javax.servlet.http.HttpServletRequest request,
ComponentToken token)
throws Exception
- request - token - binder - Exceptionprotected String getCustomSaveTransaction(javax.servlet.http.HttpServletRequest request, ComponentToken token)
protected String getCustomDeleteTransaction(javax.servlet.http.HttpServletRequest request, ComponentToken token)
public Map<String,String> getDefaultMappings()
getDefaultMappings in class AbstractComponentpublic org.springframework.validation.Validator[] getValidators()
public void setValidators(org.springframework.validation.Validator[] validators)
validators - the validators to setCopyright © 2014. All Rights Reserved.