|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AccessToken | |
---|---|
org.melati.poem | Persistent Object Engine for Melati. |
Uses of AccessToken in org.melati.poem |
---|
Classes in org.melati.poem that implement AccessToken | |
---|---|
class |
AccessForbiddenToken
AccessToken that gives no capabilities. |
class |
RootAccessToken
An AccessToken (aka User) which can do anything. |
class |
User
A registered user. |
Fields in org.melati.poem declared as AccessToken | |
---|---|
static AccessToken |
AccessToken.root
The super user. |
AccessToken |
NonRootSetAccessTokenPoemException.token
The User's current AccessToken. |
AccessToken |
AccessPoemException.token
The User's Token. |
Methods in org.melati.poem that return AccessToken | |
---|---|
static AccessToken |
PoemThread.accessToken()
|
AccessToken |
AccessPoemException.getToken()
|
AccessToken |
Database.guestAccessToken()
|
Methods in org.melati.poem with parameters of type AccessToken | |
---|---|
void |
JdbcPersistent.assertCanCreate(AccessToken token)
Check that you have create access to the object. |
void |
Persistent.assertCanCreate(AccessToken token)
Check that you have create access to the object. |
void |
JdbcPersistent.assertCanDelete(AccessToken token)
Check that you have delete access to the object. |
void |
Persistent.assertCanDelete(AccessToken token)
Check that you have delete access to the object. |
void |
TableInfo.assertCanRead(AccessToken token)
Allow this object to be read by anyone. |
void |
JdbcPersistent.assertCanRead(AccessToken token)
Check that you have read access to the object. |
void |
Persistent.assertCanRead(AccessToken token)
Check that you have read access to the object. |
void |
Group.assertCanRead(AccessToken token)
Allow this object to be read by anyone. |
void |
TableCategory.assertCanRead(AccessToken token)
Allow this object to be read by anyone. |
void |
ColumnInfo.assertCanRead(AccessToken token)
Allow reading by not throwing an exception. |
void |
Capability.assertCanRead(AccessToken token)
Allow this object to be read by anyone. |
void |
JdbcPersistent.assertCanWrite(AccessToken token)
Check that you have write access to the object. |
void |
Persistent.assertCanWrite(AccessToken token)
Check that you have write access to the object. |
void |
Database.beginSession(AccessToken accessToken)
Start a db session. |
void |
Database.inCommittedTransaction(AccessToken accessToken,
PoemTask task)
Perform a task with the database, but not in an insulated transaction. |
void |
Database.inSession(AccessToken accessToken,
PoemTask task)
Perform a task with the database. |
static void |
PoemThread.setAccessToken(AccessToken token)
Change the access token under which your thread is operating. |
static void |
PoemThread.withAccessToken(AccessToken token,
PoemTask task)
Run a PoemTask under a specified AccessToken , typically
Root. |
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |