|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.adminsql.business.DataHome
public class DataHome
The class calling the business objects
| Constructor Summary | |
|---|---|
DataHome()
|
|
| Method Summary | |
|---|---|
static java.util.List<java.lang.String> |
create(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)
Create an instance of data |
static void |
createWithUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
Create an instance of data with user request |
static java.util.List<java.util.List<java.lang.String>> |
findAll(java.lang.String strTableName,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Creates a new instance of DataHome |
static java.util.List<java.util.List<java.lang.String>> |
findAllInUserRequest(java.lang.String strPoolName,
java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
List of data of user request |
static java.util.List<java.util.List<java.lang.String>> |
findByPrimaryKey(java.lang.String strTableName,
java.lang.String strContatFieldNameAndData,
java.util.List<Field> listFields,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
find a row of a table |
static java.util.List<java.lang.String> |
findFieldsNames(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
Find fields names of a table for user request |
static void |
remove(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 |
static void |
update(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<FieldValues> listFieldValues,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Update a row in a table |
static java.util.List<java.util.List<java.lang.String>> |
userRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
Result of a select request type |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataHome()
| Method Detail |
|---|
public static java.util.List<java.util.List<java.lang.String>> findAll(java.lang.String strTableName,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strTableName - Name of the tableconnectionService - Plugin connectionService
public static java.util.List<java.util.List<java.lang.String>> findAllInUserRequest(java.lang.String strPoolName,
java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strPoolName - Name of the poolstrUserRequest - User RequestconnectionService - PluginConnectionService
public static java.util.List<java.lang.String> create(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)
strPoolName - the name of the current poolstrTableName - the name of the tablelistData - data to insertlistFieldsNames - fields of a tableconnectionService - PluginConnectionService
public static void createWithUserRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
strUserRequest - user requestconnectionService - PluginConnctionSerice objectstrPoolName - the name of the pool
public static java.util.List<java.util.List<java.lang.String>> findByPrimaryKey(java.lang.String strTableName,
java.lang.String strContatFieldNameAndData,
java.util.List<Field> listFields,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strTableName - the name of the tablestrContatFieldNameAndData - the concatenation of the field name and the datalistFields - list of field tableconnectionService - PluginConnectionService object
public static java.util.List<java.util.List<java.lang.String>> userRequest(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strUserRequest - user requestconnectionService - PluginConnectionService object
public static java.util.List<java.lang.String> findFieldsNames(java.lang.String strUserRequest,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService,
java.lang.String strPoolName)
strUserRequest - user requestconnectionService - PluginConnectionService objectstrPoolName - the name of the pool
public static void update(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<FieldValues> listFieldValues,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strPoolName - the name of the poolstrTableName - the name of the tablelistFieldValues - list of table fieldsconnectionService - PluginConnectionService object
public static void remove(java.lang.String strPoolName,
java.lang.String strTableName,
java.util.List<java.lang.String> listConcatFieldNameAndData,
fr.paris.lutece.portal.service.database.PluginConnectionService connectionService)
strPoolName - the name of the poolstrTableName - the name of the tablelistConcatFieldNameAndData - list of concatenation of field name and dataconnectionService - PluginConnectionService object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||