org.wamblee.security.authorization
Class StartsWithPathCondition

java.lang.Object
  extended by org.wamblee.persistence.AbstractPersistent
      extended by org.wamblee.security.authorization.RegexpPathCondition
          extended by org.wamblee.security.authorization.StartsWithPathCondition
All Implemented Interfaces:
Persistent, PathCondition

public class StartsWithPathCondition
extends RegexpPathCondition

Condition to check whether a path starts with a given string.

Author:
Erik Brakkee

Constructor Summary
protected StartsWithPathCondition()
          For OR mapping.
  StartsWithPathCondition(java.lang.String aPath)
          Constructs the condition.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class org.wamblee.security.authorization.RegexpPathCondition
getPattern, matches, setPattern
 
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

StartsWithPathCondition

public StartsWithPathCondition(java.lang.String aPath)
Constructs the condition.

Parameters:
aPath - String the path must start with.

StartsWithPathCondition

protected StartsWithPathCondition()
For OR mapping.

Method Detail

toString

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


Copyright © 2010. All Rights Reserved.