|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 Privilege
public void setPrivilegeType(PrivilegeType privilegeType)
setPrivilegeType
in interface Privilege
privilegeType
- the privilege typepublic String getGrantor()
null
)
getGrantor
in interface Privilege
null
)public void setGrantor(String grantor)
null
)
setGrantor
in interface Privilege
grantor
- the grantor of access (may be null
)public String getGrantee()
null
)
getGrantee
in interface Privilege
null
)public void setGrantee(String grantee)
null
)
setGrantee
in interface Privilege
grantee
- the grantee of access (may be null
)public String getName()
getName
in interface Privilege
public void setName(String name)
setName
in interface Privilege
name
- the name of access allowed (SELECT, INSERT, UPDATE, REFRENCES, ...)public Boolean isGrantable()
isGrantable
in interface Privilege
public void setGrantable(Boolean grantable)
setGrantable
in interface Privilege
grantable
- true if grantee is permitted to grant to others, false otherwise (even if unknown).public Boolean isUnknownGrantable()
isUnknownGrantable
in interface Privilege
public void setUnknownGrantable(Boolean unknownGrantable)
setUnknownGrantable
in interface Privilege
unknownGrantable
- 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 |