|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.openexchange.admin.storage.interfaces.OXResourceStorageInterface
public abstract class OXResourceStorageInterface
This interface provides an abstraction to the storage of the resource information
Constructor Summary | |
---|---|
OXResourceStorageInterface()
|
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,
Resource resource)
|
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 |
getData(Context ctx,
Resource resource)
|
static OXResourceStorageInterface |
getInstance()
Creates a new instance implementing the group storage interface. |
abstract Resource[] |
list(Context ctx,
String pattern)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OXResourceStorageInterface()
Method Detail |
---|
public static OXResourceStorageInterface getInstance() throws StorageException
StorageException
- Storage exceptionpublic abstract int create(Context ctx, Resource res) throws StorageException
StorageException
public abstract void change(Context ctx, Resource res) throws StorageException
StorageException
public abstract void changeLastModified(int resource_id, Context ctx, Connection write_ox_con) throws StorageException
StorageException
public abstract void delete(Context ctx, Resource resource) throws StorageException
StorageException
public abstract Resource getData(Context ctx, Resource resource) throws StorageException
StorageException
public abstract void createRecoveryData(int resource_id, Context ctx, Connection con) throws StorageException
StorageException
public abstract void deleteRecoveryData(int resource_id, Context ctx, Connection con) throws StorageException
StorageException
public abstract void deleteAllRecoveryData(Context ctx, Connection con) throws StorageException
StorageException
public abstract Resource[] list(Context ctx, String pattern) throws StorageException
StorageException
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |