|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.dna.common.jdbc.model.spi.CoreMetaDataBean
org.jboss.dna.common.jdbc.model.spi.PrivilegeBean
public class PrivilegeBean

Provides all database privilege specific metadata.
| Constructor Summary | |
|---|---|
PrivilegeBean()
Default constructor |
|
| Method Summary | |
|---|---|
String |
getGrantee()
Return grantee of access (may be null) |
String |
getGrantor()
Return grantor of access (may be null) |
String |
getName()
Return name of access allowed (SELECT, INSERT, UPDATE, REFRENCES, ...) |
PrivilegeType |
getPrivilegeType()
Returns privilege type |
Boolean |
isGrantable()
Return true if grantee is permitted to grant to others, false otherwise (even if unknown). |
Boolean |
isUnknownGrantable()
Return true if it is unknown: grantee is permitted to grant to others or not |
void |
setGrantable(Boolean grantable)
Sets true if grantee is permitted to grant to others, false otherwise (even if unknown). |
void |
setGrantee(String grantee)
Sets grantee of access (may be null) |
void |
setGrantor(String grantor)
Sets grantor of access (may be null) |
void |
setName(String name)
Sets name of access allowed (SELECT, INSERT, UPDATE, REFRENCES, ...) |
void |
setPrivilegeType(PrivilegeType privilegeType)
Sets privilege type |
void |
setUnknownGrantable(Boolean unknownGrantable)
sets true if it is unknown: grantee is permitted to grant to others or not |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PrivilegeBean()
| Method Detail |
|---|
public PrivilegeType getPrivilegeType()
getPrivilegeType in interface Privilegepublic void setPrivilegeType(PrivilegeType privilegeType)
setPrivilegeType in interface PrivilegeprivilegeType - the privilege typepublic String getGrantor()
null)
getGrantor in interface Privilegenull)public void setGrantor(String grantor)
null)
setGrantor in interface Privilegegrantor - the grantor of access (may be null)public String getGrantee()
null)
getGrantee in interface Privilegenull)public void setGrantee(String grantee)
null)
setGrantee in interface Privilegegrantee - the grantee of access (may be null)public String getName()
getName in interface Privilegepublic void setName(String name)
setName in interface Privilegename - the name of access allowed (SELECT, INSERT, UPDATE, REFRENCES, ...)public Boolean isGrantable()
isGrantable in interface Privilegepublic void setGrantable(Boolean grantable)
setGrantable in interface Privilegegrantable - true if grantee is permitted to grant to others, false otherwise (even if unknown).public Boolean isUnknownGrantable()
isUnknownGrantable in interface Privilegepublic void setUnknownGrantable(Boolean unknownGrantable)
setUnknownGrantable in interface PrivilegeunknownGrantable - true if it is unknown: grantee is permitted to grant to others or not
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||