|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.genericattributes.business.ResponseHome
public final class ResponseHome
This class provides instances management methods (create, find, ...) for Response objects
| Method Summary | |
|---|---|
static void |
create(Response response)
Creation of an instance of response |
static Response |
findByPrimaryKey(int nKey)
Returns an instance of a Response whose identifier is specified in parameter |
static int |
findMaxNumber(int nIdEntry,
int nIdResource,
String strResourceType)
Get the max number from a given id resource |
static List<Response> |
getResponseList(ResponseFilter filter)
Load the data of all the response who verify the filter and returns them in a list |
static List<StatisticEntrySubmit> |
getStatisticByIdEntry(int nIdEntry)
return a list of statistic on the entry |
static void |
remove(int nIdResponse)
Remove a response from its id |
static void |
update(Response response)
Update of the response which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void create(Response response)
response - The instance of the response which contains the
informations to storepublic static void update(Response response)
response - The instance of the Response which contains the
informations to updatepublic static void remove(int nIdResponse)
nIdResponse - The id of the responsepublic static Response findByPrimaryKey(int nKey)
nKey - The entry primary key
public static List<Response> getResponseList(ResponseFilter filter)
filter - the filter
public static List<StatisticEntrySubmit> getStatisticByIdEntry(int nIdEntry)
nIdEntry - the id of the entry
public static int findMaxNumber(int nIdEntry,
int nIdResource,
String strResourceType)
nIdEntry - the id of the entrynIdResource - the id resourcestrResourceType - The resource type
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||