Package com.avoka.fc.core.service.form
Class JsAppDeployService
- java.lang.Object
-
- com.avoka.fc.core.service.form.JsAppDeployService
-
public class JsAppDeployService extends Object
Provides a JS App type deployment service.- Since:
- 18.5.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsAppDeployService.FormDataConfig
Provides the JS App manifest Form Data Config.static class
JsAppDeployService.FormDef
Provides the JS App manifest Form Definition.static class
JsAppDeployService.FormVersion
Provides the JS App manifest Form Version.
-
Constructor Summary
Constructors Constructor Description JsAppDeployService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Form
deploy(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount)
Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document.Form
deploy(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount, String tmMinVersion)
Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document.
-
-
-
Method Detail
-
deploy
public Form deploy(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount) throws IOException
Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document.- Parameters:
appBundle
- the application bundle ZIP content (required)formDef
- the form definition (required)formXml
- the form seed data XML document (required)userAccount
- the account of the user deploying the form (required)- Returns:
- the created or updated form entity
- Throws:
IOException
- if an i/o error occurs
-
deploy
public Form deploy(byte[] appBundle, JsAppDeployService.FormDef formDef, Document formXml, UserAccount userAccount, String tmMinVersion) throws IOException
Deploy the JS App using the specified app bundle ZIP, form definition JSON and form XML data document.- Parameters:
appBundle
- the application bundle ZIP content (required)formDef
- the form definition (required)formXml
- the form seed data XML document (required)userAccount
- the account of the user deploying the form (required)tmMinVersion
- the minimum supported TM version (optional)- Returns:
- the created or updated form entity
- Throws:
IOException
- if an i/o error occurs
-
-