|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bristle.javalib.sql.bristle.AbstractStandardTableBackedObject
com.bristle.javalib.sql.bristle.AbstractSecurableStandardTableBackedObject
public abstract class AbstractSecurableStandardTableBackedObject
This class is a simple object that implements the Securable interface for an AbstractStandardTableBackedObject.
Usage:
- The typical scenarios for using this class are:
Assumptions:
Effects:
- None.
Anticipated Changes:
Notes:
Implementation Notes:
Portability Issues:
Revision History:
$Log$
| Constructor Summary | |
|---|---|
AbstractSecurableStandardTableBackedObject()
|
|
| Method Summary | |
|---|---|
AbstractStandardTableBackedObject |
getCLASS_OF_OBJECTS()
Get the special instance that indicates the class of objects instead of any one particular instance. |
abstract int |
getClassId()
Get the id of the class of objects. |
String |
getDataSource()
Get the data source, typically a DB table name, of the object, for use in determining whether the current user has access to it. |
Securable |
getSecurableCLASS_OF_OBJECTS()
|
abstract AbstractSecurableStandardTableBackedObject |
getSecurableStandardTableBackedCLASS_OF_OBJECTS()
|
abstract String |
getTableName()
Get the name of the database table that holds the class of objects. |
| Methods inherited from class com.bristle.javalib.sql.bristle.AbstractStandardTableBackedObject |
|---|
getCreateDT, getCreateUser, getDefaultNullClassId, getDefaultNullId, getId, getNullClassId, getNullId, getStatus, getUpdateDT, getUpdateUser, setCreateDT, setCreateUser, setId, setStatus, setUpdateDT, setUpdateUser |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.bristle.javalib.security.Securable |
|---|
getId, getNullClassId, getNullId |
| Constructor Detail |
|---|
public AbstractSecurableStandardTableBackedObject()
| Method Detail |
|---|
public String getDataSource()
Securable
getDataSource in interface SecurableSecurable.getDataSource()public AbstractStandardTableBackedObject getCLASS_OF_OBJECTS()
AbstractStandardTableBackedObjectImplementation Note: Abstract to force each subclass to explicitly specify an instance of itself to represent its entire class.
getCLASS_OF_OBJECTS in class AbstractStandardTableBackedObjectCalls {@link getSecurableStandardTableBackedCLASS_OF_OBJECTS()}public Securable getSecurableCLASS_OF_OBJECTS()
getSecurableCLASS_OF_OBJECTS in interface SecurableCalls {@link getSecurableStandardTableBackedCLASS_OF_OBJECTS()}public abstract AbstractSecurableStandardTableBackedObject getSecurableStandardTableBackedCLASS_OF_OBJECTS()
getCLASS_OF_OBJECTS(),
getSecurableCLASS_OF_OBJECTS()public abstract int getClassId()
AbstractStandardTableBackedObjectImplementation Note: Abstract to force each subclass to explicitly specify its class id. If a subclass doesn't care about class id, it can call getNullClassId() from its override.
getClassId in interface SecurablegetClassId in class AbstractStandardTableBackedObject
Implementation Note:
Abstract to force each subclass to explicitly specify its class id.
If a subclass doesn't care about class id, it can call getNullClassId()
from its override.
public abstract String getTableName()
AbstractStandardTableBackedObjectImplementation Note: Abstract to force each subclass to explicitly specify its table name.
getTableName in class AbstractStandardTableBackedObject
Implementation Note:
Abstract to force each subclass to explicitly specify its table name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||