| Package | Description |
|---|---|
| org.melati.poem |
Persistent Object Engine for Melati.
|
| org.melati.poem.generated |
The POEM-generated support classes for org.melati.poem.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CapabilityTable<T extends Capability>
The
Table of Capabilitys. |
| Modifier and Type | Field and Description |
|---|---|
Capability |
AccessPoemException.capability
The required Capability.
|
| Modifier and Type | Method and Description |
|---|---|
Capability |
Database.administerCapability() |
Capability |
UserTable.canReadPasswords()
Defaults to the db's administrator capability.
|
Capability |
UserTable.canWritePasswords()
Defaults to the db's administraor capability.
|
Capability |
CapabilityTable.ensure(String name)
Make sure that a record exists.
|
Capability |
CapabilityTable.get(String name)
Retrieve a
Capability by name. |
Capability |
Database.getCanAdminister()
By default, anyone can administer a database.
|
Capability |
Table.getCanCreate()
The capability required for creating records in the table.
|
Capability |
JdbcTable.getCanCreate()
The capability required for creating records in the table.
|
Capability |
Table.getDefaultCanDelete()
The capability required for deleting records in the table, unless
overridden in the record itself.
|
Capability |
JdbcTable.getDefaultCanDelete()
The capability required for deleting records in the table, unless
overridden in the record itself.
|
Capability |
Table.getDefaultCanRead()
The capability required for reading records from the table, unless
overridden in the record itself.
|
Capability |
JdbcTable.getDefaultCanRead()
The capability required for reading records from the table, unless
overridden in the record itself.
|
Capability |
Table.getDefaultCanWrite()
The capability required for updating records in the table, unless
overridden in the record itself.
|
Capability |
JdbcTable.getDefaultCanWrite()
The capability required for updating records in the table, unless
overridden in the record itself.
|
| Modifier and Type | Method and Description |
|---|---|
Column<Capability> |
Table.canDeleteColumn() |
Column<Capability> |
JdbcTable.canDeleteColumn() |
Column<Capability> |
Table.canReadColumn() |
Column<Capability> |
JdbcTable.canReadColumn() |
Column<Capability> |
Table.canSelectColumn() |
Column<Capability> |
JdbcTable.canSelectColumn() |
Column<Capability> |
Table.canWriteColumn() |
Column<Capability> |
JdbcTable.canWriteColumn() |
abstract CapabilityTable<Capability> |
Database.getCapabilityTable()
The table of capabilities (required for reading and/or writing records)
defined for the database.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
PoemThread.assertHasCapability(Capability capability)
Check that we have the given
Capability, throw an
AccessPoemException if we don't. |
GroupCapability |
GroupCapabilityTable.ensure(Group group,
Capability capability)
Make sure that a record exists.
|
boolean |
User.givesCapability(Capability capability) |
boolean |
RootAccessToken.givesCapability(Capability capability)
The RootAccessToken gives any Capability.
|
boolean |
AccessToken.givesCapability(Capability capability) |
boolean |
AccessForbiddenToken.givesCapability(Capability capability)
Return false, thereby not giving Capability.
|
String |
Database.givesCapabilitySQL(User user,
Capability capability)
Get the raw SQL statement for this database's DBMS for Capability
check for a User.
|
boolean |
Database.hasCapability(User user,
Capability capability)
Check if a user has the specified Capability.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CapabilityTableBase<T extends Capability>
Melati POEM generated base class for
Table capability. |
| Modifier and Type | Method and Description |
|---|---|
Capability |
CapabilityTableBase.ensure(String name) |
Capability |
TableInfoBase.getCancreate()
Retrieves the
Cancreate object referred to. |
Capability |
GroupCapabilityBase.getCapability()
Retrieves the
Capability object referred to. |
Capability |
CapabilityTableBase.getCapabilityObject(int troid)
Retrieve the
Capability
as a Capability. |
Capability |
CapabilityTableBase.getCapabilityObject(Integer troid)
Retrieve the
Capability as a Capability. |
Capability |
TableInfoBase.getDefaultcandelete()
Retrieves the
Defaultcandelete object referred to. |
Capability |
TableInfoBase.getDefaultcanread()
Retrieves the
Defaultcanread object referred to. |
Capability |
TableInfoBase.getDefaultcanwrite()
Retrieves the
Defaultcanwrite object referred to. |
| Modifier and Type | Method and Description |
|---|---|
CapabilityTable<Capability> |
PoemDatabaseTablesBase.getCapabilityTable()
Retrieves the CapabilityTable table.
|
CapabilityTable<Capability> |
PoemDatabaseBase.getCapabilityTable()
Retrieves the CapabilityTable table.
|
CapabilityTable<Capability> |
CapabilityBase.getCapabilityTable()
Retrieves the
CapabilityTable table
which this Persistent is from. |
| Modifier and Type | Method and Description |
|---|---|
void |
TableInfoBase.setCancreate(Capability cooked)
Set the Cancreate.
|
void |
GroupCapabilityBase.setCapability(Capability cooked)
Set the Capability.
|
void |
TableInfoBase.setDefaultcandelete(Capability cooked)
Set the Defaultcandelete.
|
void |
TableInfoBase.setDefaultcanread(Capability cooked)
Set the Defaultcanread.
|
void |
TableInfoBase.setDefaultcanwrite(Capability cooked)
Set the Defaultcanwrite.
|
Copyright © 2000–2021 PanEris. All rights reserved.