|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.storage.interfaces.OXResourceStorageInterface
com.openexchange.admin.storage.sqlStorage.OXResourceSQLStorage
public abstract class OXResourceSQLStorage
This class implements the global storage interface and creates a layer between the abstract storage definition and a storage in a SQL accessible database
Constructor Summary | |
---|---|
OXResourceSQLStorage()
|
Method Summary | |
---|---|
abstract void |
change(Context ctx,
Resource res)
Change resource in datastore |
abstract void |
changeLastModified(int resource_id,
Context ctx,
Connection write_ox_con)
|
abstract int |
create(Context ctx,
Resource res)
|
abstract void |
createRecoveryData(int resource_id,
Context ctx,
Connection con)
fetch data from resource and insert in del_resource |
abstract void |
delete(Context ctx,
int resource_id)
|
abstract void |
deleteAllRecoveryData(Context ctx,
Connection con)
Delete all data from del_resource for context |
abstract void |
deleteRecoveryData(int resource_id,
Context ctx,
Connection con)
delete data from del_resource |
abstract Resource[] |
list(Context ctx,
String pattern)
|
Methods inherited from class com.openexchange.admin.storage.interfaces.OXResourceStorageInterface |
---|
delete, getData, getInstance |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OXResourceSQLStorage()
Method Detail |
---|
public abstract void changeLastModified(int resource_id, Context ctx, Connection write_ox_con) throws StorageException
changeLastModified
in class OXResourceStorageInterface
StorageException
public abstract void change(Context ctx, Resource res) throws StorageException
OXResourceStorageInterface
change
in class OXResourceStorageInterface
StorageException
public abstract int create(Context ctx, Resource res) throws StorageException
create
in class OXResourceStorageInterface
StorageException
public abstract void createRecoveryData(int resource_id, Context ctx, Connection con) throws StorageException
OXResourceStorageInterface
createRecoveryData
in class OXResourceStorageInterface
StorageException
public abstract void deleteAllRecoveryData(Context ctx, Connection con) throws StorageException
OXResourceStorageInterface
deleteAllRecoveryData
in class OXResourceStorageInterface
StorageException
public abstract void delete(Context ctx, int resource_id) throws StorageException
StorageException
public abstract void deleteRecoveryData(int resource_id, Context ctx, Connection con) throws StorageException
OXResourceStorageInterface
deleteRecoveryData
in class OXResourceStorageInterface
StorageException
public abstract Resource[] list(Context ctx, String pattern) throws StorageException
list
in class OXResourceStorageInterface
StorageException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |