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.FormsMgrException
void createFormset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException, java.io.IOException
resolver
- assetJSON
- FormsMgrException
java.io.IOException
Asset createAsset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException
resolver
- assetJSON
- FormsMgrException
void updateFormset(ResourceResolver resolver, JSONObject assetJSON) throws FormsMgrException
resolver
- assetJSON
- FormsMgrException
void generateFormsetThumbnail(ResourceResolver resolver, java.lang.String formsetPath) throws FormsMgrException, java.io.IOException
resolver
- formsetPath
- FormsMgrException
java.io.IOException
java.lang.String createFragmentFromPanel(ResourceResolver resolver, JSONObject params) throws FormsMgrException
resolver
- params
- FormsMgrException
void cleanUpForm(Session session, java.lang.String formPath) throws FormsMgrException
session
- representing JCR sessionformPath
- representing repository path to FormFormsMgrException
void cleanUpReviewInfo(Session session, java.lang.String formPath) throws FormsMgrException
session
- representing JCR sessionformPath
- representing repository path to FormFormsMgrException
void cleanUpABTestingInfo(Session session, java.lang.String formPath) throws FormsMgrException
session
- formPath
- FormsMgrException
void cleanUpFormABTestingInfo(Session session, java.lang.String formPath) throws FormsMgrException
session
- formPath
- path of form dam:asset nodeFormsMgrException
void cleanUpFormPageABTestingInfo(Session session, java.lang.String pagePath) throws FormsMgrException
session
- pagePath
- path of the cq:Page corresponding Form assetFormsMgrException
void cleanUpAnalyticsInfo(Session session, java.lang.String formPath) throws FormsMgrException
session
- formPath
- FormsMgrException
void createTheme(ResourceResolver resolver, JSONObject themeJson, JSONObject themeContentJson) throws FormsMgrException
resolver
- themeJson
- themeContentJson
- FormsMgrException
boolean checkNodeExist(ResourceResolver resourceResolver, java.lang.String nodePath) throws FormsMgrException
resourceResolver
- nodePath
- FormsMgrException
void copyAsset(CopiedAssetInfo copiedAssetInfo, java.lang.String sourcePath, java.lang.String destinationPath, ResourceResolver resourceResolver) throws FormsMgrException
copiedAssetInfo
- sourcePath
- destinationPath
- resourceResolver
- FormsMgrException
void createFDM(ResourceResolver resolver, JSONObject assetJson) throws FormsMgrException
resolver
- assetJson
- FormsMgrException
void scheduleFormReplication(java.lang.String assetPath, java.lang.String updatedAttribute, long updatedTime) throws FormsMgrException
assetPath
- updatedAttribute
- updatedTime
- FormsMgrException
void updateFDMSources(ResourceResolver resolver, java.lang.String path, java.lang.String cqConf, JSONArray assetJson) throws FormsMgrException
resolver
- path
- assetJson
- FormsMgrException
void updateThemeClientlib(ResourceResolver resolver, RequestParameterMap paramMap) throws FormsMgrException
resolver
- paramMap
- FormsMgrException
Copyright © 2010 - 2020 Adobe. All Rights Reserved