org.melati.poem
Class Group

Package class diagram package Group
java.lang.Object
  extended by org.melati.poem.transaction.Transactioned
      extended by org.melati.poem.JdbcPersistent
          extended by org.melati.poem.generated.GroupBase
              extended by org.melati.poem.Group
All Implemented Interfaces:
Cloneable, Persistable, Persistent, Treeable

public class Group
extends GroupBase

An authorisation grouping that a User can belong to. Melati POEM generated, programmer modifiable stub for a Persistent Group object.

Description: A group to which registered users of the database can belong.

Field summary for SQL table Group
NameTypeDescription
id Integer The Table Row Object ID
name String A human-readable name for the group

Generator
org.melati.poem.prepro.TableDef#generateMainJava

Field Summary
 
Fields inherited from class org.melati.poem.generated.GroupBase
id, name
 
Fields inherited from class org.melati.poem.transaction.Transactioned
valid
 
Constructor Summary
Group()
          Constructor for a Persistent Group object.
Group(String name)
          Constructor for a Persistent Group object.
 
Method Summary
 void assertCanRead(AccessToken token)
          Allow this object to be read by anyone.
 
Methods inherited from class org.melati.poem.generated.GroupBase
getGroupTable, getId_unsafe, getId, getIdField, getName_unsafe, getName, getNameField, getPoemDatabaseTables, setId_unsafe, setId, setId, setName_unsafe, setName
 
Methods inherited from class org.melati.poem.JdbcPersistent
assertCanCreate, assertCanCreate, assertCanDelete, assertCanDelete, assertCanRead, assertCanWrite, assertCanWrite, clone, commit, countMatchSQL, delete_unsafe, delete, delete, deleteAndCommit, deleteAndCommit, deleteLock, displayString, displayString, displayString, dump, dump, duplicated, duplicatedFloating, equals, existenceLock, existenceLock, fieldsOfColumns, fromClause, getCanDelete, getCanRead, getCanSelect, getCanWrite, getChildren, getCooked, getCookedString, getDatabase, getDetailDisplayFields, getField, getFields, getPrimaryDisplayField, getRaw, getRawString, getReadable, getRecordDisplayFields, getSearchCriterionFields, getSummaryDisplayFields, getTable, getTroid, hashCode, invalidate, isDirty, load, makePersistent, postEdit, postInsert, postModify, postWrite, preEdit, readLock, readLock, readLock, rollback, setCooked, setDirty, setRaw, setRawString, statusExistent, statusNonexistent, toString, troid, upToDate, writeDown, writeLock, writeLock, writeLock
 
Methods inherited from class org.melati.poem.transaction.Transactioned
markValid, reset, setTransactionPool, transactionPool, unSee
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Group

public Group()
Constructor for a Persistent Group object.

Description: A group to which registered users of the database can belong.

Generator
org.melati.poem.prepro.TableDef#generateMainJava

Group

public Group(String name)
Constructor for a Persistent Group object.

Description: A group to which registered users of the database can belong.

Parameters:
name - the name of the Group to create
Method Detail

assertCanRead

public void assertCanRead(AccessToken token)
Allow this object to be read by anyone.

Specified by:
assertCanRead in interface Persistent
Overrides:
assertCanRead in class JdbcPersistent
Parameters:
token - any AccessToken
See Also:
Persistent.assertCanRead(org.melati.poem.AccessToken)


Copyright © 2000-2010 PanEris. All Rights Reserved.