Class UniqueActionName

    • Constructor Detail

      • UniqueActionName

        public UniqueActionName()
        No-arg constructor for this validator, invoked by the JSF framework.
    • Method Detail

      • addScope

        protected void addScope​(de.xima.cmn.criteria.QueryCriteriaManager qcm,
                                Aktion action)
        Description copied from class: AUniqueEntityFieldValidator
        Use this method to restrict the scope of entities considered for the duplicate search, such as to a certain client, version, project etc.

        By default, the client and project scope is set if the entity implements IMandantDependent or IProjektDependent.

        Overrides:
        addScope in class AUniqueEntityFieldValidator<Aktion,​String>
        Parameters:
        qcm - Query criteria manager that will be used to check for existing duplicates.
        action - Entity that is validated.