public interface DraftMetadataService
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteMetadata(String draftID) |
boolean |
deleteProperty(String draftID,
String propertyName) |
org.apache.sling.commons.json.JSONArray |
getDrafts(String cutPoints) |
String[] |
getProperty(String draftID,
String propertyName) |
String |
saveMetadata(Map<String,Object> draftMetadataPropMap) |
String saveMetadata(Map<String,Object> draftMetadataPropMap) throws FormsPortalException
draftMetaPropMap: - This map would expect draftID key with other metadata properties associated with draftFormsPortalExceptionboolean deleteMetadata(String draftID) throws FormsPortalException
draftID: - metadata identifier associated with draftFormsPortalExceptionorg.apache.sling.commons.json.JSONArray getDrafts(String cutPoints) throws FormsPortalException
cutPoints: - comma separated string of cutPoints that tells about what set of properties of a draft is expected in the responseFormsPortalExceptionString[] getProperty(String draftID, String propertyName) throws FormsPortalException
draftID: - identifier associated with draftpropertyName: - name of metadata property queried to getFormsPortalExceptionboolean deleteProperty(String draftID, String propertyName) throws FormsPortalException
draftID: - Identifier associated with draftpropertyName: - Name of metadata property queried for deletionFormsPortalExceptionCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.