Package de.xima.fc.gui.validator.name
Class AUniqueManDepNameValidator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent>
- java.lang.Object
-
- de.xima.fc.gui.common.utils.msg.I18nUtils
-
- de.xima.fc.gui.common.utils.msg.MessageUtils
-
- de.xima.fc.gui.common.utils.msg.AMessaging
-
- de.xima.fc.gui.common.utils.msg.AJSFContext
-
- de.xima.fc.gui.bean.ABackendJSFContext
-
- de.xima.fc.gui.validator.name.AUniqueManDepNameValidator<T>
-
- Type Parameters:
T
- the type of the entity to check the name for
- All Implemented Interfaces:
Serializable
,EventListener
,javax.faces.validator.Validator
- Direct Known Subclasses:
UniqueAllProjectName
,UniqueAppointmentTemplateName
,UniqueClientAuthenticatorName
,UniqueClientCounterName
,UniqueClientResourceName
,UniqueDataSourceName
,UniqueDBConnectionName
,UniqueInboxName
,UniqueLDAPConnectionName
,UniqueLDAPGroupName
,UniqueLDAPQueryName
,UniqueProjectName
,UniqueProjectResourceName
,UniqueRoleName
,UniqueTemplateName
,UniqueUserGroupName
public class AUniqueManDepNameValidator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent> extends ABackendJSFContext implements javax.faces.validator.Validator, Serializable
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
AJSFContext.RedirectOptions, AJSFContext.RedirectOptionsBuilder
-
-
Field Summary
-
Fields inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
localeBean
-
-
Constructor Summary
Constructors Constructor Description AUniqueManDepNameValidator(Class<T> clazz)
AUniqueManDepNameValidator(Class<T> clazz, boolean allowSame)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
throwError()
void
validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
-
Methods inherited from class de.xima.fc.gui.bean.ABackendJSFContext
ec, findEntityContext, isDetached, isHasDB
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.AJSFContext
destroySessionBean, encodeURL, findBean, findBean, findBean, findBean, findBean, findBean, findBean, findCurrentView, findUserContext, getBeanName, getBeanName, getContext, getCurrentViewBean, getLocaleBean, getRequest, getResponse, getSession, getSession, getSessionAttribute, isMasterServerContext, loadLazy, redirect, redirect, redirect, redirect, redirectToDashboard, redirectToDashboard, setLocaleBean, setSessionAttribute, uc
-
Methods inherited from class de.xima.fc.gui.common.utils.msg.MessageUtils
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, getNewErrorMsg, getNewErrorMsg, getNewErrorMsg, getNewInfoMsg, getNewInfoMsg, getNewMsg, getNewWarnMsg, getNewWarnMsg
-
-
-
-
Method Detail
-
validate
public void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value) throws javax.faces.validator.ValidatorException
- Specified by:
validate
in interfacejavax.faces.validator.Validator<T extends INameProviding & de.xima.cmn.dao.interfaces.IEntity<Long> & IMandantDependent>
- Throws:
javax.faces.validator.ValidatorException
-
throwError
public void throwError() throws javax.faces.validator.ValidatorException
- Throws:
javax.faces.validator.ValidatorException
-
-