|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.melati.poem.transaction.Transactioned org.melati.poem.JdbcPersistent org.melati.poem.generated.GroupBase org.melati.poem.Group
public class Group
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
| ||
---|---|---|
Name | Type | Description |
id | Integer | The Table Row Object ID |
name | String | A human-readable name for the group |
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.transaction.Transactioned |
---|
markValid, reset, setTransactionPool, transactionPool, unSee |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Group()
Persistent
Group
object.
Description: A group to which registered users of the database can belong.
public Group(String name)
Persistent
Group
object.
Description: A group to which registered users of the database can belong.
name
- the name of the Group
to createMethod Detail |
---|
public void assertCanRead(AccessToken token)
assertCanRead
in interface Persistent
assertCanRead
in class JdbcPersistent
token
- any AccessToken
Persistent.assertCanRead(org.melati.poem.AccessToken)
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |