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 draftFormsPortalException
boolean deleteMetadata(String draftID) throws FormsPortalException
draftID:
- metadata identifier associated with draftFormsPortalException
org.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 responseFormsPortalException
String[] getProperty(String draftID, String propertyName) throws FormsPortalException
draftID:
- identifier associated with draftpropertyName:
- name of metadata property queried to getFormsPortalException
boolean deleteProperty(String draftID, String propertyName) throws FormsPortalException
draftID:
- Identifier associated with draftpropertyName:
- Name of metadata property queried for deletionFormsPortalException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.