|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SQLExecutor
Method Summary | |
---|---|
void |
clean(Config config,
DatasourceConnection dc,
int type,
StorageScopeEngine engine,
DatasourceStorageScopeCleaner cleaner,
StorageScopeListener listener,
Log log)
|
void |
delete(Config config,
String cfid,
String applicationName,
DatasourceConnection dc,
int type,
Log log)
deletes the data in the datasource for a specific user (CFID), if there is no data for this user nothing is happeing |
Query |
select(Config config,
String cfid,
String applicationName,
DatasourceConnection dc,
int type,
Log log,
boolean createTableIfNotExist)
does a select statement on the datasource to get data |
void |
update(Config config,
String cfid,
String applicationName,
DatasourceConnection dc,
int type,
Struct data,
long timeSpan,
Log log)
updates the data in the datasource for a specific user (CFID), if the data not exist, a new record is created |
Method Detail |
---|
Query select(Config config, String cfid, String applicationName, DatasourceConnection dc, int type, Log log, boolean createTableIfNotExist) throws PageException, SQLException
config
- Config of the current contextcfid
- CFID of the current userapplicationName
- name of the current application contextdc
- Datasource Connection to usetype
- storage type (Scope.SCOPE_CLIENT,Scope.SCOPE_SESSION)log
- createTableIfNotExist
- do create the table if not existing
PageException
SQLException
void update(Config config, String cfid, String applicationName, DatasourceConnection dc, int type, Struct data, long timeSpan, Log log) throws PageException, SQLException
config
- Config of the current contextcfid
- CFID of the current userapplicationName
- name of the current application contextdc
- Datasource Connection to usetype
- storage type (Scope.SCOPE_CLIENT,Scope.SCOPE_SESSION)data
- data to storetimeSpan
- timespan in millislog
-
PageException
SQLException
void delete(Config config, String cfid, String applicationName, DatasourceConnection dc, int type, Log log) throws PageException, SQLException
config
- Config of the current contextcfid
- CFID of the current userapplicationName
- name of the current application contextdc
- Datasource Connection to usetype
- storage type (Scope.SCOPE_CLIENT,Scope.SCOPE_SESSION)log
-
PageException
SQLException
void clean(Config config, DatasourceConnection dc, int type, StorageScopeEngine engine, DatasourceStorageScopeCleaner cleaner, StorageScopeListener listener, Log log) throws PageException, SQLException
PageException
SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |