| Package | Description |
|---|---|
| com.adobe.acs.commons.fam | |
| com.adobe.acs.commons.fam.actions | |
| com.adobe.acs.commons.functions |
| Modifier and Type | Method and Description |
|---|---|
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 CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean> |
Filters.FILTER_ASSETS_WITH_OUTDATED_RENDITIONS
This filter identifies assets where the original rendition is newer than
any of the other renditions.
|
static CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean> |
Filters.FILTER_NON_ASSETS
Determine if node is a valid asset, skip any non-assets It's better to
filter via query if possible to avoid having to use this
return True if asset
|
static CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean> |
Filters.FILTER_OUT_SUBASSETS
Exclude subassets from processing
|
| Modifier and Type | Method and Description |
|---|---|
static CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean> |
Filters.filterMatching(String glob)
Returns true of glob matches provided path
|
static CheckedBiFunction<org.apache.sling.api.resource.ResourceResolver,String,Boolean> |
Filters.filterNotMatching(String glob)
Returns false if glob matches provided path Useful for things like
filterOutSubassets
|
| Modifier and Type | Method and Description |
|---|---|
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 <V> CheckedBiFunction<T,U,V> |
CheckedBiFunction.andThen(CheckedFunction<? super R,? extends V> after)
Returns a composed function that first applies this function to
its input, and then applies the
after function to the result. |
static <T,U,R> CheckedBiFunction<T,U,R> |
CheckedBiFunction.from(BiFunction<T,U,R> function) |
Copyright © 2013–2020 Adobe. All rights reserved.