Uses of Interface
org.melati.poem.AccessToken

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.
 

Constructors in org.melati.poem with parameters of type AccessToken
AccessPoemException(AccessToken token, Capability capability)
          Constructor.
AccessPoemException(Exception problem, AccessToken token, Capability capability)
          Constructor.
CreationAccessPoemException(Table table, AccessToken token, Capability capability)
          Constructor.
DeletePersistentAccessPoemException(Persistent object, AccessToken token, Capability capability)
          Constructor.
FieldAccessPoemException(Persistent object, Column column, AccessToken token, Capability capability)
          Constructor.
NonRootSetAccessTokenPoemException(AccessToken token)
          Constructor.
PersistentAccessPoemException(Persistent object, AccessToken token, Capability capability)
          Constructor.
ReadFieldAccessPoemException(Persistent object, Column column, AccessToken token, Capability capability)
          Constructor.
ReadPasswordAccessPoemException(Persistent object, Column column, AccessToken token, Capability capability)
          Constructor.
ReadPersistentAccessPoemException(Persistent object, AccessToken token, Capability capability)
          Constructor.
WriteFieldAccessPoemException(Persistent object, Column column, AccessToken token, Capability capability)
          Constructor.
WritePersistentAccessPoemException(Persistent object, AccessToken token, Capability capability)
          Constructor.
 



Copyright © 2000-2010 PanEris. All Rights Reserved.