public class SchemaFormHelper
extends java.lang.Object
Constructor and Description |
---|
SchemaFormHelper() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
getBaseFormPaths(ResourceResolver resourceResolver) |
static java.util.List<Resource> |
getMasterForms(Resource currentForm)
Given current form, returns a list of master.
|
static java.util.List<Resource> |
getMasterForms(Resource currentForm,
java.lang.String formsBaseDirPath)
Deprecated.
Use getMasterForms(Resource resource) instead
|
static java.util.Iterator |
getSchemaFormsIterator(ResourceResolver resolver,
java.lang.String suffix,
int rows,
int offset) |
static java.util.Iterator |
getSchemaFormsIterator(SlingHttpServletRequest request,
int rows,
int offset) |
static Resource |
getSchemaResource(SlingHttpServletRequest request) |
static Resource |
mergeFormTabResource(Resource oneTabList,
Resource otherTabList)
Merge two list of tabs i.e.
|
@Deprecated public static java.util.List<Resource> getMasterForms(Resource currentForm, java.lang.String formsBaseDirPath) throws RepositoryException
currentForm
- current form resourceRepositoryException
public static java.lang.String[] getBaseFormPaths(ResourceResolver resourceResolver)
public static java.util.List<Resource> getMasterForms(Resource currentForm) throws RepositoryException
currentForm
- current form resourceRepositoryException
java.lang.NullPointerException
public static Resource mergeFormTabResource(Resource oneTabList, Resource otherTabList)
oneTabList
- resource representing one tab listotherTabList
- resource representing other tab listpublic static Resource getSchemaResource(SlingHttpServletRequest request)
public static java.util.Iterator getSchemaFormsIterator(SlingHttpServletRequest request, int rows, int offset)
public static java.util.Iterator getSchemaFormsIterator(ResourceResolver resolver, java.lang.String suffix, int rows, int offset)
Copyright © 2010 - 2020 Adobe. All Rights Reserved