public class UniqueActionName extends AUniqueNameValidator<Aktion> implements javax.faces.validator.Validator, Serializable
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
Constructor and Description |
---|
UniqueActionName() |
Modifier and Type | Method and Description |
---|---|
protected de.xima.cmn.criteria.QueryCriteriaManager |
setupQcm(de.xima.cmn.criteria.QueryCriteriaManager qcm,
Aktion action)
To check for duplicate names, we create a query criteria manager for all entities
with the given name, excluding the current entity.
|
throwError, validate
ec, isDetached, isHasDB
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findCurrentView, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsg, addErrorMsgFromString, addErrorMsgFromString, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addErrorMsgToComponent, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsg, addInfoMsgFromString, addInfoMsgFromString, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addInfoMsgToComponent, addMsg, addMsg, addMsg, addMsg, addMsgs, addMsgToComponent, addMsgToComponent, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsg, addWarnMsgFromString, addWarnMsgFromString, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, addWarnMsgToComponent, cleanErrorMsg, getErrorMessage
getFacesContext, getLocale, rbValue, rbValue, rbValue
protected de.xima.cmn.criteria.QueryCriteriaManager setupQcm(de.xima.cmn.criteria.QueryCriteriaManager qcm, Aktion action)
AUniqueNameValidator
setupQcm
in class AUniqueNameValidator<Aktion>
qcm
- Current query criteria manager.action
- The current entitity whose name is validated. Might be null
.Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.