public interface ResourceCreatePermission
ResourceCreatePermissions.getInstance(String)
or one of its variants.Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreGrant(Object other)
Deprecated.
as of v2.0.0-rc.5; use
equalsIgnoreGrantOption(Object) instead. |
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 |
isWithGrant()
Deprecated.
as of v2.0.0-rc.5; use
isWithGrantOption() instead. |
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()
@Deprecated boolean isWithGrant()
isWithGrantOption()
instead.boolean isGrantableFrom(ResourceCreatePermission other)
other
- another permission to compare withboolean equalsIgnoreGrantOption(Object other)
other
- another permission to compare withisWithGrantOption()
property.@Deprecated boolean equalsIgnoreGrant(Object other)
equalsIgnoreGrantOption(Object)
instead.other
- another permission to compare withisWithGrant()
property.
OACC is a Java Application Security Framework developed by Acciente, LLC..
Copyright 2009-2016, Acciente, LLC.All rights reserved.