public interface PendingSignMetadataService
Modifier and Type | Method and Description |
---|---|
boolean |
deleteMetadata(String pendingSignID) |
boolean |
deleteProperty(String pendingSignID,
String propertyName) |
org.apache.sling.commons.json.JSONArray |
getPendingSignInstances(String cutPoints)
Get the pending sign instances of current logged-in user
|
String[] |
getProperty(String pendingSignID,
String propertyName) |
org.apache.sling.commons.json.JSONObject |
readPendingSignInstance(String pendingSignID,
String cutPoints)
Read the pending sign whose id is passed as input
|
org.apache.sling.commons.json.JSONObject |
saveSignMetadata(Map<String,Object> metadataProperties) |
org.apache.sling.commons.json.JSONArray |
searchPendingSignInstances(Query query)
Search pending sign instances as per the query object passed.
|
org.apache.sling.commons.json.JSONObject saveSignMetadata(Map<String,Object> metadataProperties) throws FormsPortalException
metadataProperties:
- consists of all the metadata information regarding this pending sign instance.
This api can also be used for update of instance provided instance ID is included in the map else new instance will be createdFormsPortalException
boolean deleteMetadata(String pendingSignID) throws FormsPortalException
pendingSignID:
- metadata identifier associated with this pending sign instanceFormsPortalException
org.apache.sling.commons.json.JSONArray getPendingSignInstances(String cutPoints) throws FormsPortalException
cutPoints:
- comma separated string of cutPoints that tells about what set of properties of a pending sign instance is expected in the responseFormsPortalException
org.apache.sling.commons.json.JSONArray searchPendingSignInstances(Query query) throws FormsPortalException
query
- Objects containing constraints for searching the instancesFormsPortalException
org.apache.sling.commons.json.JSONObject readPendingSignInstance(String pendingSignID, String cutPoints) throws FormsPortalException
pendingSignID
- cutPoints
- comma separated string of cutPoints that tells about what set of properties of a pending sign instance is expected in the responseFormsPortalException
String[] getProperty(String pendingSignID, String propertyName) throws FormsPortalException
pendingSignID:
- identifier associated with this pending sign instancepropertyName:
- name of the metadata property queried to getFormsPortalException
boolean deleteProperty(String pendingSignID, String propertyName) throws FormsPortalException
pendingSignID:
- identifier associated with this pending sign instancepropertyName:
- name of the metadata property queried for deletionFormsPortalException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.