public class S7Catalog extends Object
Constructor and Description |
---|
S7Catalog() |
Modifier and Type | Method and Description |
---|---|
static CatalogAttributes |
getCatalog(Resource resource,
String rootId) |
static String |
getContentRoot(Tenant tenant)
Derive the content root for the given tenant.
|
static int[] |
getMaxPixels(ValueMap map)
Retrieve the maximum pixels setting from the value map.
|
static ValueMap |
getSettings(ResourceResolver resolver,
String contentRoot)
Retrieve the Image Serving catalog settings (multi-tenant capable)
|
static String |
getTenantId(ResourceResolver resourceResolver,
String path)
Retrieve the tenant id associated with the specified resource path.
|
public static String getContentRoot(Tenant tenant)
tenant
- Tenant instance (optional)public static ValueMap getSettings(ResourceResolver resolver, String contentRoot)
resolver
- Resource resolvercontentRoot
- Content root for the tenantpublic static int[] getMaxPixels(ValueMap map)
map
- Value mappublic static String getTenantId(ResourceResolver resourceResolver, String path)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"