public class VdbDataRole.Permission extends Object
| Constructor and Description |
|---|
VdbDataRole.Permission(String resourceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
allowAlter(boolean newValue) |
void |
allowCreate(boolean newValue) |
void |
allowDelete(boolean newValue) |
void |
allowExecute(boolean newValue) |
void |
allowRead(boolean newValue) |
void |
allowUpdate(boolean newValue) |
boolean |
canAlter() |
boolean |
canCreate() |
boolean |
canDelete() |
boolean |
canExecute() |
boolean |
canRead() |
boolean |
canUpdate() |
String |
getResourceName() |
public VdbDataRole.Permission(String resourceName)
resourceName - the resource name associated with the permission (cannot be null or empty)public void allowAlter(boolean newValue)
newValue - the new allow-alter valuepublic void allowCreate(boolean newValue)
newValue - the new allow-create valuepublic void allowDelete(boolean newValue)
newValue - the new allow-delete valuepublic void allowExecute(boolean newValue)
newValue - the new allow-execute valuepublic void allowRead(boolean newValue)
newValue - the new allow-read valuepublic void allowUpdate(boolean newValue)
newValue - the new allow-update valuepublic boolean canAlter()
true if the permission can alterpublic boolean canCreate()
true if the permission can createpublic boolean canDelete()
true if the permission can deletepublic boolean canExecute()
true if the permission can executepublic boolean canRead()
true if the permission can readpublic boolean canUpdate()
true if the permission can updatepublic String getResourceName()
null or empty)Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.