vishnu.model.operations.users
Class AbstractUserCreationConstraint

java.lang.Object
  extended by vishnu.model.operations.users.AbstractUserCreationConstraint
All Implemented Interfaces:
UserCreationConstraint
Direct Known Subclasses:
UserCreationPerformer, UserRedefinitionConstraint

public abstract class AbstractUserCreationConstraint
extends java.lang.Object
implements UserCreationConstraint

Author:
Hernan Rancati
 

Constructor Summary
AbstractUserCreationConstraint()
           
 
Method Summary
 void attach(UserCreationConstraint c)
           
 void perform(UserContext c, User user, java.lang.String password, java.util.List<ConstraintViolation> constraintViolations)
          Contract: -subclasses must call this method after performing its own validation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractUserCreationConstraint

public AbstractUserCreationConstraint()
Method Detail

perform

public void perform(UserContext c,
                    User user,
                    java.lang.String password,
                    java.util.List<ConstraintViolation> constraintViolations)
Contract: -subclasses must call this method after performing its own validation.

Specified by:
perform in interface UserCreationConstraint

attach

public void attach(UserCreationConstraint c)
Specified by:
attach in interface UserCreationConstraint