public interface PublishService
Modifier and Type | Method and Description |
---|---|
void |
deactivate(Session session,
java.util.List<java.lang.String> assetPaths)
Deactivates the list of assets.
|
java.util.Set<AssetInfo> |
getRelatedAssetsToPublish(ResourceResolver resolver,
java.lang.String path)
Fetch the list of related assets to be published.
|
void |
publish(Session session,
java.util.List<java.lang.String> assetPaths)
Publish the list of assets.
|
void publish(Session session, java.util.List<java.lang.String> assetPaths) throws FormsMgrException
session
- jcr session objectassetPaths
- list of asset paths's to be published.FormsManagerException
FormsMgrException
void deactivate(Session session, java.util.List<java.lang.String> assetPaths) throws FormsMgrException
session
- jcr session objectassetPaths
- list of asset paths's to be deactivated.FormsManagerException
FormsMgrException
java.util.Set<AssetInfo> getRelatedAssetsToPublish(ResourceResolver resolver, java.lang.String path) throws FormsMgrException
resolver
- resource resolversession
- jcr session objectpath
- path of the asset for which list is required to be retrieved.FormsMgrException
Copyright © 2010 - 2020 Adobe. All Rights Reserved