public interface TableContext extends DatabaseListener
Modifier and Type | Method and Description |
---|---|
void |
delete(int contextId,
int type,
String data) |
void |
deleteAllDataForContext(int contextId) |
void |
deleteAllDataForContextAndType(int contextId,
int type) |
List<RecordContext> |
getAllData() |
List<RecordContext> |
getDataForContext(int contextId) |
List<RecordContext> |
getDataForContextAndType(int contextId,
int type) |
RecordContext |
insert(int contextId,
int type,
String url) |
RecordContext |
read(long dataId) |
void |
setData(int contextId,
int type,
List<String> dataList) |
databaseOpen
RecordContext read(long dataId) throws DatabaseException
DatabaseException
RecordContext insert(int contextId, int type, String url) throws DatabaseException
DatabaseException
void delete(int contextId, int type, String data) throws DatabaseException
DatabaseException
void deleteAllDataForContextAndType(int contextId, int type) throws DatabaseException
DatabaseException
void deleteAllDataForContext(int contextId) throws DatabaseException
DatabaseException
List<RecordContext> getAllData() throws DatabaseException
DatabaseException
List<RecordContext> getDataForContext(int contextId) throws DatabaseException
DatabaseException
List<RecordContext> getDataForContextAndType(int contextId, int type) throws DatabaseException
DatabaseException
void setData(int contextId, int type, List<String> dataList) throws DatabaseException
DatabaseException