edu.internet2.middleware.grouper.permissions.limits
Class PermissionLimitBase

java.lang.Object
  extended by edu.internet2.middleware.grouper.permissions.limits.PermissionLimitBase
All Implemented Interfaces:
PermissionLimitInterface
Direct Known Subclasses:
PermissionLimitAmountLessThan, PermissionLimitAmountLessThanEquals, PermissionLimitElLogic, PermissionLimitIpOnNetworkRealm, PermissionLimitIpOnNetworks, PermissionLimitLabelsContain, PermissionLimitWeekday9to5Logic

public abstract class PermissionLimitBase
extends Object
implements PermissionLimitInterface

Author:
mchyzer

Constructor Summary
PermissionLimitBase()
           
 
Method Summary
 int cacheLimitValueResultMinutes()
          if we can cache the result for a some minutes.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.internet2.middleware.grouper.permissions.limits.PermissionLimitInterface
allowPermission, documentation, validateLimitAssignValue
 

Constructor Detail

PermissionLimitBase

public PermissionLimitBase()
Method Detail

cacheLimitValueResultMinutes

public int cacheLimitValueResultMinutes()
Description copied from interface: PermissionLimitInterface
if we can cache the result for a some minutes. i.e. for the same attribute assignment and value and input map, is the result the same... e.g. ip address math can be cached, amount limits, etc. If there are conditions about the permission names, then dont cache

Specified by:
cacheLimitValueResultMinutes in interface PermissionLimitInterface
Returns:
the number of minutes to cache
See Also:
PermissionLimitInterface.cacheLimitValueResultMinutes()