|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.enablement.sybase.asa.schemaobjecteditor.examples.tableeditor.pages.privileges.ASAPrivilegeStateLookup
public class ASAPrivilegeStateLookup
Privilege state look up for ASA privielges page
Field Summary | |
---|---|
static int[][] |
STATIC_STATE_TRANSITION_ARRAY
|
Constructor Summary | |
---|---|
ASAPrivilegeStateLookup()
|
Method Summary | |
---|---|
Privilege[] |
getInheritedPrivileges(java.util.List authids,
AuthorizationIdentifier authid,
SQLObject sqlObj,
java.lang.String action)
Returns the inherited privileges |
IPrivilegeState |
getPrivilegeState(java.util.List authids,
AuthorizationIdentifier authid,
SQLObject sqlObj,
java.lang.String action)
Returns the privileges state of the given authorization identifier (user, group or role) for the given SQL object with action type specified |
IPrivilegeState[] |
getReachableStates(IPrivilegeState initialState,
AuthorizationIdentifier authid)
Returns the reachable states of the given state |
boolean |
hasInheritedPrivilege(java.util.List authids,
AuthorizationIdentifier authid,
SQLObject sqlObj,
java.lang.String action)
Checks if the given authorization identifier (user, group or role) has inherited privilge for the given SQL object with action type specified |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int[][] STATIC_STATE_TRANSITION_ARRAY
Constructor Detail |
---|
public ASAPrivilegeStateLookup()
Method Detail |
---|
public IPrivilegeState[] getReachableStates(IPrivilegeState initialState, AuthorizationIdentifier authid)
IPrivilegeStateLookup
getReachableStates
in interface IPrivilegeStateLookup
public IPrivilegeState getPrivilegeState(java.util.List authids, AuthorizationIdentifier authid, SQLObject sqlObj, java.lang.String action)
IPrivilegeStateLookup
getPrivilegeState
in interface IPrivilegeStateLookup
authids
- all the authorization identifiersauthid
- the authorization identifiersqlObj
- SQL objectaction
- action type
public boolean hasInheritedPrivilege(java.util.List authids, AuthorizationIdentifier authid, SQLObject sqlObj, java.lang.String action)
IPrivilegeStateLookup
hasInheritedPrivilege
in interface IPrivilegeStateLookup
public Privilege[] getInheritedPrivileges(java.util.List authids, AuthorizationIdentifier authid, SQLObject sqlObj, java.lang.String action)
IPrivilegeStateLookup
getInheritedPrivileges
in interface IPrivilegeStateLookup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |