edu.internet2.middleware.grouper.permissions
Class PermissionResult

java.lang.Object
  extended by edu.internet2.middleware.grouper.permissions.PermissionResult

public class PermissionResult
extends Object

bean that has helper methods to process the permissions

Author:
mchyzer

Constructor Summary
PermissionResult()
          constructor
PermissionResult(Set<PermissionEntry> thePermissionEntries)
           
 
Method Summary
 Set<String> permissionNameExtensions()
          get allowed extensions for this action
 Set<String> permissionNameExtensions(String stemName, String action, edu.internet2.middleware.subject.Subject subject, Stem.Scope scope)
          get allowed extensions for this action
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PermissionResult

public PermissionResult()
constructor


PermissionResult

public PermissionResult(Set<PermissionEntry> thePermissionEntries)
Parameters:
thePermissionEntries -
Method Detail

permissionNameExtensions

public Set<String> permissionNameExtensions()
get allowed extensions for this action

Returns:
the extensions allowed, never null

permissionNameExtensions

public Set<String> permissionNameExtensions(String stemName,
                                            String action,
                                            edu.internet2.middleware.subject.Subject subject,
                                            Stem.Scope scope)
get allowed extensions for this action

Parameters:
stemName -
action -
subject -
scope -
Returns:
the extensions allowed, never null