public interface SubmitMetadataService
Modifier and Type | Method and Description |
---|---|
java.lang.String |
addComment(java.lang.String submitID,
java.lang.String commentContent,
java.lang.String owner) |
boolean |
deleteMetadata(java.lang.String submitID) |
boolean |
deleteProperty(java.lang.String submitID,
java.lang.String propertyName) |
JSONArray |
getAllComments(java.lang.String submitID) |
JSONArray |
getFormsForSubmissionReview() |
java.lang.String[] |
getProperty(java.lang.String submitID,
java.lang.String propertyName) |
JSONArray |
getSubmissions(java.lang.String cutPoints) |
JSONObject |
getSubmissionsOfAllUsers(java.lang.String formPath,
java.lang.String cutPoints,
java.util.Map<java.lang.String,java.lang.String> searchOptions) |
JSONObject |
submitMetadata(java.util.Map<java.lang.String,java.lang.Object> submittedMetaPropMap) |
JSONObject |
submitMetadataAsynchronously(java.util.Map<java.lang.String,java.lang.Object> submittedMetaPropMap)
Saves the metadata asynchronously with owner info being passed in the map itself
|
JSONObject submitMetadata(java.util.Map<java.lang.String,java.lang.Object> submittedMetaPropMap) throws FormsPortalException
submittedMetaPropMap:
- consists of all the metadata information regarding this form submission instanceFormsPortalException
JSONObject submitMetadataAsynchronously(java.util.Map<java.lang.String,java.lang.Object> submittedMetaPropMap) throws FormsPortalException
submittedMetaPropMap
- consists of all the metadata information regarding this form submission instanceFormsPortalException
boolean deleteMetadata(java.lang.String submitID) throws FormsPortalException
submitID:
- metadata identifier associated with this submissionFormsPortalException
JSONArray getSubmissions(java.lang.String cutPoints) throws FormsPortalException
cutPoints:
- comma separated string of cutPoints that tells about what set of properties of a submission is expected in the responseFormsPortalException
java.lang.String[] getProperty(java.lang.String submitID, java.lang.String propertyName) throws FormsPortalException
submitID:
- identifier associated with this submissionpropertyName:
- name of the metadata property queried to getFormsPortalException
boolean deleteProperty(java.lang.String submitID, java.lang.String propertyName) throws FormsPortalException
submitID:
- identifier associated with this submissionpropertyName:
- name of the metadata property queried for deletionFormsPortalException
JSONObject getSubmissionsOfAllUsers(java.lang.String formPath, java.lang.String cutPoints, java.util.Map<java.lang.String,java.lang.String> searchOptions) throws FormsPortalException
formPath:
- Path of the form, whose submissions you want to get listed. Path is the unique identifier of a formcutPoints:
- What set of properties you'd want to get listed of submissionssearchOptions:
- This would contain 4 keys basically.
1. limit: Page size i.e. total number of results a page can show
2. offset: Start index in total results set
3. orderby: Sorting submissions list based on this property
4. sort: Ascending or descending orderFormsPortalException
java.lang.String addComment(java.lang.String submitID, java.lang.String commentContent, java.lang.String owner) throws FormsPortalException
submitID:
- Identification number of this submission instance (basically metadata id of this submission)commentContent:
- content of the commentowner:
- Principal Name of the person who made this comment. If owner information is null, please get this information from current session objectFormsPortalException
JSONArray getFormsForSubmissionReview() throws FormsPortalException
FormsPortalException
JSONArray getAllComments(java.lang.String submitID) throws FormsPortalException
submitID:
- metadata ID of submission whose review comments are requestedFormsPortalException
Copyright © 2010 - 2020 Adobe. All Rights Reserved