@ConsumerType
public interface ComponentUpdater
Modifier and Type | Method and Description |
---|---|
default String |
getId()
The id of the component updater.
|
String |
getName()
The name of the component updater.
|
void |
updateComponent(com.day.cq.wcm.api.Page assetKitPage,
org.apache.sling.api.resource.Resource assetKit)
Entry point for updating the @{code assetKitPage} based on the @{code assetKit} payload resource.
|
String getName()
default String getId()
void updateComponent(com.day.cq.wcm.api.Page assetKitPage, org.apache.sling.api.resource.Resource assetKit) throws org.apache.sling.api.resource.PersistenceException, javax.jcr.RepositoryException
assetKitPage
- the asset kit page being updated.assetKit
- the resource (folder, collection) that represents the asset kit's contents.org.apache.sling.api.resource.PersistenceException
javax.jcr.RepositoryException
Copyright © 2017–2023 Adobe. All rights reserved.