| Package | Description |
|---|---|
| com.adobe.acs.commons.fam | |
| com.adobe.acs.commons.fam.actions | |
| com.adobe.acs.commons.functions | |
| com.adobe.acs.commons.util.visitors |
Miscellaneous Utilities.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ActionManager.onFailure(CheckedBiConsumer<List<Failure>,org.apache.sling.api.resource.ResourceResolver> failureTask)
Register a handler to be fired when the work has completed and there was at least one error.
|
int |
ActionManager.withQueryResults(String queryStatement,
String language,
CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> callback,
CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean>... filters)
Schedule an activity to occur for every node found by a given query.
|
| Modifier and Type | Field and Description |
|---|---|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
AssetActions.REMOVE_ALL_RENDITIONS
Remove all renditions except for the original rendition for assets
|
| Modifier and Type | Method and Description |
|---|---|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
ReplicationActions.activateAll(com.day.cq.replication.Replicator replicator)
Activate all nodes using default replicators
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
ReplicationActions.activateAllWithOptions(com.day.cq.replication.Replicator replicator,
com.day.cq.replication.ReplicationOptions options)
Activate all nodes using provided options NOTE: If using large batch
publishing it is highly recommended to set synchronous to true on the
replication options
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
ReplicationActions.activateAllWithRoundRobin(com.day.cq.replication.Replicator replicator,
com.day.cq.replication.ReplicationOptions... options)
Activate all nodes using provided options NOTE: If using large batch
publishing it is highly recommended to set synchronous to true on the
replication options
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
ReplicationActions.deactivateAll(com.day.cq.replication.Replicator replicator)
Deactivate all nodes using default replicators
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
ReplicationActions.deactivateAllWithOptions(com.day.cq.replication.Replicator replicator,
com.day.cq.replication.ReplicationOptions options)
Deactivate all nodes using provided options
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
AssetActions.removeAllRenditionsNamed(String name)
Remove all renditions with a given name
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
Actions.retryAll(int retries,
long pausePerRetry,
CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> action)
Retry provided action a given number of times before giving up and
throwing an error.
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
Actions.startSyntheticWorkflows(SyntheticWorkflowModel model,
SyntheticWorkflowRunner workflowRunner)
Run nodes through synthetic workflow
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
AssetActions.withAllRenditions(CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> action,
CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean>... filters) |
| Modifier and Type | Method and Description |
|---|---|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
Actions.retryAll(int retries,
long pausePerRetry,
CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> action)
Retry provided action a given number of times before giving up and
throwing an error.
|
static CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> |
AssetActions.withAllRenditions(CheckedBiConsumer<org.apache.sling.api.resource.ResourceResolver,String> action,
CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean>... filters) |
| Modifier and Type | Method and Description |
|---|---|
default CheckedBiConsumer<T,U> |
CheckedBiConsumer.andThen(CheckedBiConsumer<? super T,? super U> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
static <T,U> CheckedBiConsumer<T,U> |
CheckedBiConsumer.from(BiConsumer<T,U> handler) |
| Modifier and Type | Method and Description |
|---|---|
default CheckedBiConsumer<T,U> |
CheckedBiConsumer.andThen(CheckedBiConsumer<? super T,? super U> after)
Returns a composed
BiConsumer that performs, in sequence, this
operation followed by the after operation. |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleFilteringResourceVisitor.setLeafVisitorChecked(CheckedBiConsumer<org.apache.sling.api.resource.Resource,Integer> handler) |
void |
SimpleFilteringResourceVisitor.setPropertyVisitorChecked(CheckedBiConsumer<Map.Entry<String,Object>,Integer> handler) |
void |
SimpleFilteringResourceVisitor.setResourceVisitorChecked(CheckedBiConsumer<org.apache.sling.api.resource.Resource,Integer> handler) |
Copyright © 2013–2020 Adobe. All rights reserved.