public class SchemaFormHelper extends Object
| Constructor and Description |
|---|
SchemaFormHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getBaseFormPaths(ResourceResolver resourceResolver) |
static List<Resource> |
getMasterForms(Resource currentForm)
Given current form, returns a list of master.
|
static List<Resource> |
getMasterForms(Resource currentForm,
String formsBaseDirPath)
Deprecated.
|
static 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 List<Resource> getMasterForms(Resource currentForm, String formsBaseDirPath) throws RepositoryException
currentForm - current form resourceRepositoryExceptionpublic static String[] getBaseFormPaths(ResourceResolver resourceResolver)
public static List<Resource> getMasterForms(Resource currentForm) throws RepositoryException
currentForm - current form resourceRepositoryExceptionNullPointerExceptionpublic 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 Iterator getSchemaFormsIterator(SlingHttpServletRequest request, int rows, int offset)
"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"