|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mmbase.storage.implementation.database.DatabaseStorageManager
org.mmbase.storage.implementation.database.ViewDatabaseStorageManager
| Nested Class Summary |
| Nested classes inherited from class org.mmbase.storage.implementation.database.DatabaseStorageManager |
DatabaseStorageManager.InputStreamBlob |
| Field Summary |
| Fields inherited from class org.mmbase.storage.implementation.database.DatabaseStorageManager |
activeConnection, bufferSize, changes, factory, inTransaction, OBJ2TYPE_MAX_SIZE, sequenceKeys, tableNameCache, transactionIsolation, verifiedTablesCache |
| Constructor Summary | |
ViewDatabaseStorageManager()
|
|
| Method Summary | |
void |
change(MMObjectNode node,
MMObjectBuilder builder)
Changes a node in the passed builder and all its parent builders |
void |
create()
Create the basic elements for this storage |
protected void |
create(Index index)
Override the default version. |
void |
create(MMObjectBuilder builder)
Create a storage element to store the specified builder's objects. |
void |
create(MMObjectNode node,
MMObjectBuilder builder)
This method inserts a new object in a specific builder, and registers the change. |
protected void |
createObject(MMObjectNode node,
MMObjectBuilder builder)
This method inserts a new object in a specific builder, and registers the change. |
void |
delete(MMObjectNode node,
MMObjectBuilder builder)
Deletes a node in the passed builder and all its parent builders. |
boolean |
exists()
Determine if the basic storage elements exist Basic storage elements include the 'object' storage (where all objects and their types are registered). |
protected boolean |
exists(Index index)
Determines if an index exists. |
boolean |
exists(MMObjectBuilder builder)
Determine if a storage element exists for storing the given builder's objects |
String |
getFieldName(CoreField field)
|
CoreField |
getNumberField()
|
String |
getTableName(MMObjectBuilder builder)
|
String |
getTableName(String viewname)
|
String |
getViewName(MMObjectBuilder builder)
|
String |
getViewName(String viewname)
|
boolean |
isInheritedField(CoreField field)
|
boolean |
viewCreate(MMObjectBuilder builder)
|
boolean |
viewExists(MMObjectBuilder builder)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ViewDatabaseStorageManager()
| Method Detail |
public boolean exists()
throws StorageException
exists in interface StorageManagerexists in class DatabaseStorageManagertrue if basic storage elements exist
StorageException - if an error occurred while querying the storage
public boolean exists(MMObjectBuilder builder)
throws StorageException
exists in interface StorageManagerexists in class DatabaseStorageManagerbuilder - the builder to check
true if the storage element exists, false if it doesn't
StorageException - if an error occurred while querying the storage
public void create()
throws StorageException
create in interface StorageManagercreate in class DatabaseStorageManagerStorageException - if an error occurred during the creation of the object storage
public void create(MMObjectBuilder builder)
throws StorageException
create in interface StorageManagercreate in class DatabaseStorageManagerbuilder - the builder to create the storage element for
StorageException - if an error occurred during the creation of the storage element
public void create(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
DatabaseStorageManager
create in class DatabaseStorageManagernode - The node to insert. The node already needs to have a (new) number assignedbuilder - the builder to store the node
StorageException - if an error occurred during creation
protected void createObject(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
node - The node to insert. The node already needs to have a (new) number assignedbuilder - the builder to store the node
StorageException - if an error occurred during creation
public void change(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
change in class DatabaseStorageManagernode - The node to changebuilder - the builder to change the node in
StorageException - if an error occurred during change
public void delete(MMObjectNode node,
MMObjectBuilder builder)
throws StorageException
delete in class DatabaseStorageManagernode - The node to deletebuilder - the builder to delete the node in
StorageException - if an error occurred during deletepublic String getFieldName(CoreField field)
public boolean isInheritedField(CoreField field)
public CoreField getNumberField()
public String getTableName(MMObjectBuilder builder)
public String getTableName(String viewname)
public String getViewName(MMObjectBuilder builder)
public String getViewName(String viewname)
protected void create(Index index)
throws StorageException
create in class DatabaseStorageManagerindex - the index to create
StorageException
protected boolean exists(Index index)
throws StorageException
DatabaseStorageManager
exists in class DatabaseStorageManagerindex - the index to test
StorageException - when a database error occurspublic boolean viewExists(MMObjectBuilder builder)
public boolean viewCreate(MMObjectBuilder builder)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||