Class ExternalFormController
java.lang.Object
com.kheops.jmap.server.AbstractController
com.kheops.jmap.server.externalforms.ExternalFormController
-
Field Summary
Fields inherited from class com.kheops.jmap.server.AbstractController
controllerFactory, server, userContext -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteTransactions(JMapServerProject serverProject, JMapServerVectorLayer serverLayer, FormTransaction[] transactions) static ExternalFormControllergetInstance(int sessionId) Deprecated.static ExternalFormControllergetInstance(SessionUser sessionUser) Deprecated.static ExternalFormControllergetInstance(UserContext userContext) loadFormData(JMapServerProject serverProject, JMapServerVectorLayer serverVectorLayer, IExternalForm form, long[] elementIds, List<String> listFields, Map<String, Object[]> mapValues) Load data for the specified form and fields.Methods inherited from class com.kheops.jmap.server.AbstractController
getNextSequenceValue, getSystemDatabase, initializeSequence, isSequenceExists
-
Constructor Details
-
ExternalFormController
-
-
Method Details
-
getInstance
-
getInstance
Deprecated. -
getInstance
Deprecated. -
loadFormData
public DataSet loadFormData(JMapServerProject serverProject, JMapServerVectorLayer serverVectorLayer, IExternalForm form, long[] elementIds, List<String> listFields, Map<String, Object[]> mapValues) throws ExceptionLoad data for the specified form and fields.- Parameters:
listFields- the fields of the form to load the data. Ifnull, all fields are loadedmapValues- the values to fill the blanks in the SELECT query- Throws:
Exception
-
executeTransactions
public FormTransactionResult executeTransactions(JMapServerProject serverProject, JMapServerVectorLayer serverLayer, FormTransaction[] transactions) throws Exception - Throws:
Exception
-