public interface ResourceCreatePermission
ResourceCreatePermissions.getInstance(String)
or one of its variants.Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreGrantOption(Object other)
Compare this permission with the specified other permission for equality, but ignoring the grant option.
|
String |
getPermissionName()
Retrieves the permission name.
|
ResourcePermission |
getPostCreateResourcePermission()
Retrieves the post-create permission for non-system permissions.
|
long |
getSystemPermissionId()
Retrieve the id of a system permission.
|
boolean |
isGrantableFrom(ResourceCreatePermission other)
Determines if this permission can be granted by a grantor holding the specified other permission.
|
boolean |
isSystemPermission()
Determines if this is system permission.
|
boolean |
isWithGrantOption()
Retrieves the value of the "grant option".
|
boolean isSystemPermission()
String getPermissionName()
long getSystemPermissionId()
IllegalStateException
- if this method is called on a non-system permission.ResourcePermission getPostCreateResourcePermission()
IllegalStateException
- if this method is called on a system permission.boolean isWithGrantOption()
boolean isGrantableFrom(ResourceCreatePermission other)
other
- another permission to compare withboolean equalsIgnoreGrantOption(Object other)
other
- another permission to compare withisWithGrantOption()
property.
OACC is a Java Application Security Framework developed by Acciente, LLC., released under Apache License 2.0.
Copyright 2009-2018, Acciente, LLC.