|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.dhtmlx.connector.AccessManager
public class AccessManager
The Class AccessManager. This class used to define which operation can be performed by connector. By default - all operations are allowed
Constructor Summary | |
---|---|
AccessManager()
Instantiates a new access manager. |
Method Summary | |
---|---|
void |
allow(OperationType mode)
Mark access mode as allowed |
boolean |
check(OperationType mode)
Check if defined access mode is allowed |
void |
deny_all()
Deny all known access modes ( read, insert, update, delete ) |
void |
deny(OperationType mode)
Mark access mode as denied |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccessManager()
Method Detail |
---|
public boolean check(OperationType mode)
mode
- access mode
public void allow(OperationType mode)
mode
- access modepublic void deny(OperationType mode)
mode
- access modepublic void deny_all()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |