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

java.lang.Object
  extended by edu.internet2.middleware.grouper.permissions.limits.PermissionLimitBean

public class PermissionLimitBean
extends java.lang.Object

holds the permission limit, and all values (prefetched). At some point we should have an equals method (and hashcode) which will remove dupes, dont take into account the permission limit bean type

Author:
mchyzer

Constructor Summary
PermissionLimitBean()
           
 
Method Summary
static java.util.Map<PermissionEntry,java.util.Set<PermissionLimitBean>> findPermissionLimits(java.util.Collection<PermissionEntry> permissionEntrySet)
          find permission limits based on the permission entries.
 AttributeAssign getLimitAssign()
          the attribute assignment of the permission limit
 java.util.Set<AttributeAssignValue> getLimitAssignValues()
          the values on this assign which (if not a marker) configure the limit, e.g. the EL string, or amount value etc
 PermissionLimitBeanType getPermissionLimitBeanType()
          the type of this permission limit, e.g. permission assign, role, role membership, etc
 void setLimitAssign(AttributeAssign attributeAssign1)
          the attribute assignment of the permission limit
 void setLimitAssignValues(java.util.Set<AttributeAssignValue> attributeAssignValues1)
          the values on this assign which (if not a marker) configure the limit, e.g. the EL string, or amount value etc
 void setPermissionLimitBeanType(PermissionLimitBeanType permissionLimitBeanType1)
          the type of this permission limit, e.g. permission assign, role, role membership, etc.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionLimitBean

public PermissionLimitBean()
Method Detail

findPermissionLimits

public static java.util.Map<PermissionEntry,java.util.Set<PermissionLimitBean>> findPermissionLimits(java.util.Collection<PermissionEntry> permissionEntrySet)
find permission limits based on the permission entries. Note, every input will be in result map, though the limits might be null or empty

Parameters:
permissionEntrySet -
Returns:
the map that finds permission limits based on permission entries

getPermissionLimitBeanType

public PermissionLimitBeanType getPermissionLimitBeanType()
the type of this permission limit, e.g. permission assign, role, role membership, etc

Returns:
the type of permission limit

setPermissionLimitBeanType

public void setPermissionLimitBeanType(PermissionLimitBeanType permissionLimitBeanType1)
the type of this permission limit, e.g. permission assign, role, role membership, etc.

Parameters:
permissionLimitBeanType1 -

getLimitAssign

public AttributeAssign getLimitAssign()
the attribute assignment of the permission limit

Returns:
the attribute assignment of the permission limit

setLimitAssign

public void setLimitAssign(AttributeAssign attributeAssign1)
the attribute assignment of the permission limit

Parameters:
attributeAssign1 -

getLimitAssignValues

public java.util.Set<AttributeAssignValue> getLimitAssignValues()
the values on this assign which (if not a marker) configure the limit, e.g. the EL string, or amount value etc

Returns:
the values on this assign which (if not a marker) configure the limit, e.g. the EL string, or amount value etc

setLimitAssignValues

public void setLimitAssignValues(java.util.Set<AttributeAssignValue> attributeAssignValues1)
the values on this assign which (if not a marker) configure the limit, e.g. the EL string, or amount value etc

Parameters:
attributeAssignValues1 -