Class OptionalQuestionIndexationHome
java.lang.Object
fr.paris.lutece.plugins.elasticdata.modules.forms.business.OptionalQuestionIndexationHome
This class provides instances management methods (create, find, ...) for OptionalQuestionIndexation objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic OptionalQuestionIndexationcreate(OptionalQuestionIndexation optionalQuestionIndexation) Create an instance of the optionalQuestionIndexation classstatic OptionalQuestionIndexationfindByPrimaryKey(int nKey) Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameterstatic OptionalQuestionIndexationfindByQuestionId(int nQuestionId) Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameterLoad the id of all the optionalQuestionIndexation objects and returns them as a liststatic List<OptionalQuestionIndexation>getOptionalQuestionIndexationListByFormId(int nFormId) Load the data of all the optionalQuestionIndexation objects and returns them as a referenceListstatic List<OptionalQuestionIndexation>Load the data of all the optionalQuestionIndexation objects and returns them as a liststatic voidremove(int nKey) Remove the optionalQuestionIndexation whose identifier is specified in parameterstatic OptionalQuestionIndexationupdate(OptionalQuestionIndexation optionalQuestionIndexation) Update of the optionalQuestionIndexation which is specified in parameter
-
Method Details
-
create
public static OptionalQuestionIndexation create(OptionalQuestionIndexation optionalQuestionIndexation) Create an instance of the optionalQuestionIndexation class- Parameters:
optionalQuestionIndexation- The instance of the OptionalQuestionIndexation which contains the informations to store- Returns:
- The instance of optionalQuestionIndexation which has been created with its primary key.
-
update
public static OptionalQuestionIndexation update(OptionalQuestionIndexation optionalQuestionIndexation) Update of the optionalQuestionIndexation which is specified in parameter- Parameters:
optionalQuestionIndexation- The instance of the OptionalQuestionIndexation which contains the data to store- Returns:
- The instance of the optionalQuestionIndexation which has been updated
-
remove
public static void remove(int nKey) Remove the optionalQuestionIndexation whose identifier is specified in parameter- Parameters:
nKey- The optionalQuestionIndexation Id
-
findByPrimaryKey
Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter- Parameters:
nKey- The optionalQuestionIndexation primary key- Returns:
- an instance of OptionalQuestionIndexation
-
findByQuestionId
Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter- Parameters:
nQuestionId- The optionalQuestionIndexation primary key- Returns:
- an instance of OptionalQuestionIndexation
-
getOptionalQuestionIndexationsList
Load the data of all the optionalQuestionIndexation objects and returns them as a list- Returns:
- the list which contains the data of all the optionalQuestionIndexation objects
-
getIdOptionalQuestionIndexationsList
Load the id of all the optionalQuestionIndexation objects and returns them as a list- Returns:
- the list which contains the id of all the optionalQuestionIndexation objects
-
getOptionalQuestionIndexationListByFormId
public static List<OptionalQuestionIndexation> getOptionalQuestionIndexationListByFormId(int nFormId) Load the data of all the optionalQuestionIndexation objects and returns them as a referenceList- Returns:
- the referenceList which contains the data of all the optionalQuestionIndexation objects
-