|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.adminsql.business.DataDAO
public class DataDAO
Creates a new instance of DataDAO
| Constructor Summary | |
|---|---|
DataDAO()
|
|
| Method Summary | |
|---|---|
void |
delete(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<java.lang.String> listConcatFieldNameAndData,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Delete a row in a table |
java.util.List<java.util.List<java.lang.String>> |
findResultOfUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Result of user request |
void |
insert(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<java.lang.String> listData,
java.util.List<java.lang.String> listFieldsNames,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Insert data in table |
void |
insertWithUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
Insert the data with user request |
java.util.List<java.util.List<java.lang.String>> |
load(java.lang.String strTableName,
java.lang.String strContatFieldNameAndData,
java.util.List<Field> listFields,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Find the list of data of a table |
java.util.List<java.lang.String> |
selectColumnNames(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
Find the names of all columns |
java.util.List<java.util.List<java.lang.String>> |
selectDataList(java.lang.String strTableName,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Selects and loads into the Data object all the data from the database |
java.util.List<java.util.List<java.lang.String>> |
selectDataListUserRequest(java.lang.String strPoolName,
java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Selects and loads into the Data object all the data from the database in user request |
void |
store(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<FieldValues> listFieldValues,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Store the data in tha table in a database |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataDAO()
| Method Detail |
|---|
public java.util.List<java.util.List<java.lang.String>> selectDataList(java.lang.String strTableName,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
selectDataList in interface IDataDAOstrTableName - the name of the tableconnectionService - PluginConnectionService Object
public java.util.List<java.util.List<java.lang.String>> selectDataListUserRequest(java.lang.String strPoolName,
java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
selectDataListUserRequest in interface IDataDAOstrPoolName - the name of the poolstrUserRequest - user requestconnectionService - PluginConnectionService Object
public void insert(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<java.lang.String> listData,
java.util.List<java.lang.String> listFieldsNames,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
insert in interface IDataDAOstrPoolName - the name of the poolstrTableName - the name of the tablelistData - the list of datalistFieldsNames - list of fields namesconnectionService - PluginConnectionService object
public void store(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<FieldValues> listFieldValues,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
store in interface IDataDAOstrPoolName - the name of the poolstrTableName - the name of the tablelistFieldValues - the list fields valuesconnectionService - PluginConnectionService object
public void delete(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<java.lang.String> listConcatFieldNameAndData,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
delete in interface IDataDAOstrPoolName - the name of the poolstrTableName - the name of the tablelistConcatFieldNameAndData - the list of concatenation of fields name and dataconnectionService - PluginConnectionService object
public void insertWithUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
insertWithUserRequest in interface IDataDAOstrUserRequest - user requestconnectionService - PluginConnectionService objectstrPoolName - the name of the pool
public java.util.List<java.util.List<java.lang.String>> load(java.lang.String strTableName,
java.lang.String strContatFieldNameAndData,
java.util.List<Field> listFields,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
load in interface IDataDAOstrTableName - the name of the tablestrContatFieldNameAndData - the list of concatenation of fields name and datalistFields - list of fieldsconnectionService - PluginConnectionService object
public java.util.List<java.util.List<java.lang.String>> findResultOfUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
findResultOfUserRequest in interface IDataDAOstrUserRequest - user requestconnectionService - PluginConnectionService object
public java.util.List<java.lang.String> selectColumnNames(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
selectColumnNames in interface IDataDAOstrUserRequest - user requestconnectionService - PluginConnectionService objectstrPoolName - the name of the pool
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||