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

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

public class PermissionLimitBean
extends 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 Map<PermissionEntry,Set<PermissionLimitBean>> findPermissionLimits(Collection<PermissionEntry> permissionEntrySet)
          find permission limits based on the permission entries.
 AttributeAssign getLimitAssign()
          the attribute assignment of the permission limit
 Set<AttributeAssignValue> getLimitAssignValues()
          the values on this assign which (if not a marker) configure the limit, e.g.
 PermissionLimitBeanType getPermissionLimitBeanType()
          the type of this permission limit, e.g.
 void setLimitAssign(AttributeAssign attributeAssign1)
          the attribute assignment of the permission limit
 void setLimitAssignValues(Set<AttributeAssignValue> attributeAssignValues1)
          the values on this assign which (if not a marker) configure the limit, e.g.
 void setPermissionLimitBeanType(PermissionLimitBeanType permissionLimitBeanType1)
          the type of this permission limit, e.g.
 
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 Map<PermissionEntry,Set<PermissionLimitBean>> findPermissionLimits(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 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(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 -