public interface FormsRelationService
Modifier and Type | Method and Description |
---|---|
void |
getAllRelatedChildAssets(ResourceResolver resourceResolver,
java.lang.String path,
java.util.Set<AssetInfo> allRelatedChildAssets)
This API returns Set of all related FM + Non FM assets being referred from the specified asset.
|
void |
getAllRelatedChildFMAssets(ResourceResolver resourceResolver,
java.lang.String path,
java.util.Set<AssetInfo> allRelatedChildAssets)
This API returns Set of related FM assets being referred from the specified asset.
|
void |
getAssociatedTags(ResourceResolver resourceResolver,
java.util.Set<AssetInfo> allRelatedChildAssets)
This API adds to the provided set, all tags associated with the assets present in that set.
|
java.util.Set<AssetInfo> |
getDDEReferences(java.lang.String dataDictionaryID,
java.util.List<java.lang.String> ddeReferenceNames)
Returns the Set of assets referring the Data Dictionary (dataDictionaryID) and using data dictionary elements (ddeReferenceNames)
defined in this DD.
|
java.util.Set<AssetInfo> |
getDependentParentFMAssets(ResourceResolver resourceResolver,
java.lang.String path)
This API returns Set of dependent assets(Up Hierarchy-One Level) for the specified asset.
|
void |
getFirstLevelRelatedChildAssets(ResourceResolver resourceResolver,
java.lang.String path,
java.util.Set<AssetInfo> allRelatedChildAssets)
This API returns Set of one level related FM + Non FM assets being referred from the specified asset.
|
void |
getFirstLevelRelatedChildFMAssets(ResourceResolver resourceResolver,
java.lang.String path,
java.util.Set<AssetInfo> allRelatedChildAssets)
This API returns Set of related FM assets being referred from the specified asset.
|
boolean |
hasDDEReferences(java.lang.String dataDictionaryID,
java.util.List<java.lang.String> ddeReferenceNames)
Returns if there is any asset referring this Data Dictionary (dataDictionaryID) and using this data dictionary elements (ddeReferenceNames)
defined in this DD.
|
boolean |
hasDependentParentFMAssets(ResourceResolver resourceResolver,
java.lang.String path) |
void |
setDirtyFlag(Session session,
java.lang.String path) |
void getAllRelatedChildAssets(ResourceResolver resourceResolver, java.lang.String path, java.util.Set<AssetInfo> allRelatedChildAssets) throws FormsMgrException
resourceResolver
- jcr ResourceResolver objectpath
- path of the resourceallRelatedChildAssets
- FormsMgrException
void getFirstLevelRelatedChildAssets(ResourceResolver resourceResolver, java.lang.String path, java.util.Set<AssetInfo> allRelatedChildAssets) throws FormsMgrException
resourceResolver
- jcr ResourceResolver objectpath
- path of the resourceallRelatedChildAssets
- FormsMgrException
void getAllRelatedChildFMAssets(ResourceResolver resourceResolver, java.lang.String path, java.util.Set<AssetInfo> allRelatedChildAssets) throws FormsMgrException
resourceResolver
- jcr ResourceResolver objectpath
- path of the resourceallRelatedChildAssets
- FormsMgrException
void getFirstLevelRelatedChildFMAssets(ResourceResolver resourceResolver, java.lang.String path, java.util.Set<AssetInfo> allRelatedChildAssets) throws FormsMgrException
resourceResolver
- jcr ResourceResolver objectpath
- path of the resourceallRelatedChildAssets
- FormsMgrException
java.util.Set<AssetInfo> getDependentParentFMAssets(ResourceResolver resourceResolver, java.lang.String path) throws FormsMgrException
resourceResolver
- jcr ResourceResolver objectpath
- path of the resourceFormsMgrException
boolean hasDependentParentFMAssets(ResourceResolver resourceResolver, java.lang.String path) throws FormsMgrException
FormsMgrException
void setDirtyFlag(Session session, java.lang.String path) throws FormsMgrException
FormsMgrException
void getAssociatedTags(ResourceResolver resourceResolver, java.util.Set<AssetInfo> allRelatedChildAssets)
resourceResolver
- jcr ResourceResolver objectallRelatedChildAssets
- set of assets for which associated tags need to be found.java.util.Set<AssetInfo> getDDEReferences(java.lang.String dataDictionaryID, java.util.List<java.lang.String> ddeReferenceNames) throws FormsMgrException
dataDictionaryID
- Id (path in repository) of the Data dictionary in which DDE is definedddeReferenceNames
- List of Data Dictionary Elements whose usage has to be foundFormsMgrException
boolean hasDDEReferences(java.lang.String dataDictionaryID, java.util.List<java.lang.String> ddeReferenceNames) throws FormsMgrException
dataDictionaryID
- Id (path in repository) of the Data dictionary in which DDE is definedddeReferenceNames
- List of Data Dictionary Elements whose usage has to be foundFormsMgrException
Copyright © 2010 - 2020 Adobe. All Rights Reserved