org.wamblee.security.authorization
Class AnyUserCondition

java.lang.Object
  extended by org.wamblee.persistence.AbstractPersistent
      extended by org.wamblee.security.authorization.AnyUserCondition
All Implemented Interfaces:
Persistent, UserCondition

public class AnyUserCondition
extends AbstractPersistent
implements UserCondition

Matches any user.

Author:
Erik Brakkee

Constructor Summary
AnyUserCondition()
          Constructs the condition.
 
Method Summary
 boolean matches(User aUser)
          Determines if the condition matches.
 java.lang.String toString()
           
 
Methods inherited from class org.wamblee.persistence.AbstractPersistent
getPersistedVersion, getPrimaryKey, setPersistedVersion, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.wamblee.persistence.Persistent
getPersistedVersion, getPrimaryKey, setPersistedVersion, setPrimaryKey
 

Constructor Detail

AnyUserCondition

public AnyUserCondition()
Constructs the condition.

Method Detail

matches

public boolean matches(User aUser)
Description copied from interface: UserCondition
Determines if the condition matches.

Specified by:
matches in interface UserCondition
Parameters:
aUser - user to check.
Returns:
True if the condition matches, false otherwise.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2010. All Rights Reserved.