Interface PermissionManager.Criterion
- Enclosing interface:
PermissionManager
public static interface PermissionManager.Criterion
A criterion for whether an entity should be permitted or not
-
Method Summary
-
Method Details
-
test
Determine whether a particular entity should be permitted or not. Criteria are used byPermissionManager.getPermittedEntities(com.atlassian.user.User, Permission, java.util.Iterator, int, java.util.Collection)
to further filter the list of results beyond the simple permissions check.- Parameters:
alreadyChosenEntities
- the list of entities that have already been permittedentity
- the entity to test- Returns:
- true if that entity should also be permitted, false otherwise
- See Also:
-