API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.db.authentication. JOTAuthProfile View Source
Author(s)
thibautc
Since
Version
Serial
Hierarchy
 Object
      JOTModelAddons
          JOTModel
              JOTAuthProfile
Implements
Subclasses
Description
publicabstract abstract class JOTAuthProfile
Object representing a permission set (a.k.a profile) in DB The dataProfile is basically used to map a user to a set of permissions The dataProfile name should be unique.
See also:   
Constructors
public JOTAuthProfile ()
Methods
Hide/Show inherited methods
protectedstatic void createTableIfNecessary (JOTTransaction transaction, Class modelClass) throws Exception [Inherited From net.jot.persistance.JOTModelAddons]
Creates the table in the DB, if it doesn't exists yet
public void customize (JOTModelMapping mapping) [Specified in JOTModel]
If you override this in the subclass, make sure you still call this (super.customize()) Or copy the "defineFields" entries
public String defineStorage () [Inherited From JOTModel]
  Returns the "storage" to be used by this Model.
public void delete () throws Exception [Inherited From JOTModel]
public void delete (JOTTransaction transaction) throws Exception [Inherited From JOTModel]
Deletes the coresponding record from the database
publicstatic void deleteWholeTable (JOTTransaction transaction, Class modelClass) throws Exception [Inherited From net.jot.persistance.JOTModelAddons]
  Dump a whole table (model) data into a stream(ie file) in CSV format
public String getDescription ()
public Object getFieldValue (String fieldName) [Inherited From JOTModel]
public Object getFieldValues (JOTModelMapping mapping, JOTSQLCondition conds) [Inherited From JOTModel]
  Return all fields values
public long getId () [Inherited From JOTModel]
publicfinal JOTModelMapping getMapping (JOTTransaction transaction) throws Exception [Inherited From JOTModel]
  Called to get the table mapping.
public String getName ()
public Class getQueryImplClass () [Inherited From JOTModel]
public void initQueryImplClass () throws Exception [Inherited From JOTModel]
Deletes the table in the DB
public boolean isNew () [Inherited From JOTModel]
public void save () throws Exception [Inherited From JOTModel]
public void save (JOTTransaction transaction) throws Exception [Inherited From JOTModel]
Save/update the table in teh database.
public void setDescription (String description)
publicfinal void setId (int id) [Inherited From JOTModel]
public void setName (String name)
Fields
Hide/Show inherited fields
publicfinalstatictransient String DEFAULT_STORAGE = "default" [Inherited From JOTModel]
public String description
protected long id [Inherited From JOTModel]
The "id" of the object in the database (ie: primary key)
public String name
protectedtransient Class queryImplClass [Inherited From JOTModel]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar