Class OptionalQuestionIndexationHome
- java.lang.Object
-
- fr.paris.lutece.plugins.elasticdata.modules.forms.business.OptionalQuestionIndexationHome
-
public final class OptionalQuestionIndexationHome extends java.lang.ObjectThis class provides instances management methods (create, find, ...) for OptionalQuestionIndexation objects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 parameterstatic java.util.List<java.lang.Integer>getIdOptionalQuestionIndexationsList()Load the id of all the optionalQuestionIndexation objects and returns them as a liststatic java.util.List<OptionalQuestionIndexation>getOptionalQuestionIndexationListByFormId(int nFormId)Load the data of all the optionalQuestionIndexation objects and returns them as a referenceListstatic java.util.List<OptionalQuestionIndexation>getOptionalQuestionIndexationsList()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 Detail
-
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
public static OptionalQuestionIndexation findByPrimaryKey(int nKey)
Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter- Parameters:
nKey- The optionalQuestionIndexation primary key- Returns:
- an instance of OptionalQuestionIndexation
-
findByQuestionId
public static OptionalQuestionIndexation findByQuestionId(int nQuestionId)
Returns an instance of a optionalQuestionIndexation whose identifier is specified in parameter- Parameters:
nKey- The optionalQuestionIndexation primary key- Returns:
- an instance of OptionalQuestionIndexation
-
getOptionalQuestionIndexationsList
public static java.util.List<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
public static java.util.List<java.lang.Integer> 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 java.util.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
-
-