public class UserPermission extends Permission
UserClasses in
UserFirstACIItem.| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<ProtectedItem> |
protectedItems
The protected items.
|
| Constructor and Description |
|---|
UserPermission(java.lang.Integer precedence,
java.util.Collection<GrantAndDenial> grantsAndDenials,
java.util.Collection<ProtectedItem> protectedItems)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<ProtectedItem> |
getProtectedItems()
Gets the collection of
ProtectedItems. |
java.lang.String |
toString() |
getDenials, getGrants, getGrantsAndDenials, getPrecedenceprivate final java.util.Collection<ProtectedItem> protectedItems
public UserPermission(java.lang.Integer precedence,
java.util.Collection<GrantAndDenial> grantsAndDenials,
java.util.Collection<ProtectedItem> protectedItems)
precedence - the precedence of this permission (-1 to use the
default)grantsAndDenials - the set of GrantAndDenialsprotectedItems - the collection of ProtectedItemspublic java.util.Collection<ProtectedItem> getProtectedItems()
ProtectedItems.ProtectedItemspublic java.lang.String toString()
toString in class java.lang.Object