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