public interface FMCRUDService
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkNodeExist(ResourceResolver resourceResolver,
java.lang.String nodePath)
This API is used to check whether a node exists or not
|
void |
cleanUpABTestingInfo(Session session,
java.lang.String formPath)
This API is used to clean up the unwanted A/B testing details present on the form and its
corresponding cq:Page
To be used in import of packages and copy/paste functionality
|
void |
cleanUpAnalyticsInfo(Session session,
java.lang.String formPath)
This API is used to clean up the unwanted Analytics information present with the form
To be used in import of packages and copy/paste functionality
|
void |
cleanUpForm(Session session,
java.lang.String formPath)
This API is used to clean up the unwanted info related to review, analytics, abtest and replication from provided Form
To be used in import of packages and copy/paste functionality
|
void |
cleanUpFormABTestingInfo(Session session,
java.lang.String formPath)
This API is used to clean up the unwanted A/B testing details present on the form dam:Asset
To be used in copy/paste functionality
|
void |
cleanUpFormPageABTestingInfo(Session session,
java.lang.String pagePath)
This API is used to clean up the unwanted A/B testing details present on the form cq:Page
To be used in copy/paste functionality
|
void |
cleanUpReviewInfo(Session session,
java.lang.String formPath)
This API is used to clean up unwanted review information of form.
|
void |
copyAsset(CopiedAssetInfo copiedAssetInfo,
java.lang.String sourcePath,
java.lang.String destinationPath,
ResourceResolver resourceResolver)
This API is used to copy the asset at destinationPath.
|
Asset |
createAsset(ResourceResolver resolver,
JSONObject assetJSON)
Create the Dam Asset
|
void |
createFDM(ResourceResolver resolver,
JSONObject assetJson)
This API is used to create FDM asset.
|
void |
createFormset(ResourceResolver resolver,
JSONObject assetJSON)
Create the formset
|
java.lang.String |
createFragmentFromPanel(ResourceResolver resolver,
JSONObject params)
This API is used to create Adaptive Form Fragment from exiting panel of an Adaptive Form.
|
void |
createTheme(ResourceResolver resolver,
JSONObject themeJson,
JSONObject themeContentJson)
This API is used to create Theme Asset.
|
void |
deleteCRXResource(Session session,
java.lang.String resourcePath)
Deletes a resource from CRX side, be it a folder, form, guide or resource.
|
void |
generateFormsetThumbnail(ResourceResolver resolver,
java.lang.String formsetPath)
Generate Thumbnail for Formset
|
void |
scheduleFormReplication(java.lang.String assetPath,
java.lang.String updatedAttribute,
long updatedTime)
This API is used to schedule a replication job.
|
void |
updateFDMSources(ResourceResolver resolver,
java.lang.String path,
java.lang.String cqConf,
JSONArray assetJson)
This API is used to update FDM sources
|
void |
updateFormset(ResourceResolver resolver,
JSONObject assetJSON)
Update the formset
|
void |
updateThemeClientlib(ResourceResolver resolver,
RequestParameterMap paramMap)
Updates theme clientlib.
|
void deleteCRXResource(Session session, java.lang.String resourcePath) throws FormsMgrException
session - resourcePath - - The path of the resource to be deleted.FormsMgrExceptionvoid createFormset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException, java.io.IOException
resolver - assetJSON - FormsMgrExceptionjava.io.IOExceptionAsset createAsset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException
resolver - assetJSON - FormsMgrExceptionvoid updateFormset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException
resolver - assetJSON - FormsMgrExceptionvoid generateFormsetThumbnail(ResourceResolver resolver, java.lang.String formsetPath) throws FormsMgrException, java.io.IOException
resolver - formsetPath - FormsMgrExceptionjava.io.IOExceptionjava.lang.String createFragmentFromPanel(ResourceResolver resolver, JSONObject params) throws FormsMgrException
resolver - params - FormsMgrExceptionvoid cleanUpForm(Session session, java.lang.String formPath) throws FormsMgrException
session - representing JCR sessionformPath - representing repository path to FormFormsMgrExceptionvoid cleanUpReviewInfo(Session session, java.lang.String formPath) throws FormsMgrException
session - representing JCR sessionformPath - representing repository path to FormFormsMgrExceptionvoid cleanUpABTestingInfo(Session session, java.lang.String formPath) throws FormsMgrException
session - formPath - FormsMgrExceptionvoid cleanUpFormABTestingInfo(Session session, java.lang.String formPath) throws FormsMgrException
session - formPath - path of form dam:asset nodeFormsMgrExceptionvoid cleanUpFormPageABTestingInfo(Session session, java.lang.String pagePath) throws FormsMgrException
session - pagePath - path of the cq:Page corresponding Form assetFormsMgrExceptionvoid cleanUpAnalyticsInfo(Session session, java.lang.String formPath) throws FormsMgrException
session - formPath - FormsMgrExceptionvoid createTheme(ResourceResolver resolver, JSONObject themeJson, JSONObject themeContentJson) throws FormsMgrException
resolver - themeJson - themeContentJson - FormsMgrExceptionboolean checkNodeExist(ResourceResolver resourceResolver, java.lang.String nodePath) throws FormsMgrException
resourceResolver - nodePath - FormsMgrExceptionvoid copyAsset(CopiedAssetInfo copiedAssetInfo, java.lang.String sourcePath, java.lang.String destinationPath, ResourceResolver resourceResolver) throws FormsMgrException
copiedAssetInfo - sourcePath - destinationPath - resourceResolver - FormsMgrExceptionvoid createFDM(ResourceResolver resolver, JSONObject assetJson) throws FormsMgrException
resolver - assetJson - FormsMgrExceptionvoid scheduleFormReplication(java.lang.String assetPath,
java.lang.String updatedAttribute,
long updatedTime)
throws FormsMgrException
assetPath - updatedAttribute - updatedTime - FormsMgrExceptionvoid updateFDMSources(ResourceResolver resolver, java.lang.String path, java.lang.String cqConf, JSONArray assetJson) throws FormsMgrException
resolver - path - assetJson - FormsMgrExceptionvoid updateThemeClientlib(ResourceResolver resolver, RequestParameterMap paramMap) throws FormsMgrException
resolver - paramMap - FormsMgrExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved