|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReviewCommentingAndApproval
Signature for Core Service of Review Commenting and Approval
Field Summary | |
---|---|
static String |
DATE_FORMAT
Format of date-time fields used in RCA system. |
Method Summary | |
---|---|
void |
addApprover(String reviewId,
Integer stageNo,
String domain,
String canonicalName)
Operation to add a new approver in an already running Review Approval Process. |
void |
addReviewer(String reviewId,
Integer stageNo,
String domain,
String canonicalName,
Boolean isOptional)
Operation to add a new reviewer in an already running Review Approval Process. |
com.adobe.idp.Document |
applyReaderExtension(com.adobe.idp.Document document)
|
Boolean |
deleteReviewTemplate(String templateName)
Delete Review Template |
com.adobe.idp.Document |
getDocument(String reviewID,
Integer revision,
String documentPath)
It retrieves a Document from the review zone associated with the given review ID and revision . |
ReviewContextTO |
getReviewByProcessId(String assignTaskPid)
Retrieve review context for a given process ID. |
com.adobe.idp.Document |
getReviewContext(String reviewId,
Integer revision)
This Operation returns the review context. |
com.adobe.idp.Document |
getReviewDocument(String reviewId,
Integer revision)
This Operation returns the review document. |
com.adobe.idp.Document |
getReviewStageDocument(String reviewId,
Integer revision,
Integer stageNo)
This Operation returns the review document for a review stage. |
com.adobe.idp.Document |
getReviewTemplate(String templateName)
Returns the Review Tempalte |
com.adobe.idp.Document |
getRevisions(String reviewId)
2nd level Search API Returns XML that has the review_context for all the revision of that review. |
List |
getSupportingDocumentList(String reviewID)
Returns list of RCADocument objects representing Supporting documents for a given review |
List |
getSupportingDocuments(String reviewID)
Returns a list of urls of supporting documents for review identified by Review ID |
UserPreferenceTO |
getUserPreference(String domain,
String canonicalName)
Gets the user preferences for a particular user |
String |
initiateReview(com.adobe.idp.Document reviewContext,
com.adobe.idp.Document reviewDocument,
List supportingDocList)
This Operation should be invoked to start an RCA process. |
void |
initiateReviewLongLived(com.adobe.idp.Document reviewContext,
com.adobe.idp.Document reviewDocument,
List supportingDocList)
This is the long-lived version of initiateReview API. |
List |
purgeReviews(List listOfReviewIDs,
Boolean clearReviewZone)
Removes data for a particular review from database and also removes the review zone for particular review from Review Zone Location. |
void |
removeApprover(String reviewId,
Integer stageNo,
String domain,
String canonicalName)
This Operation removes the approver from the running process. |
void |
removeReviewer(String reviewId,
Integer stageNo,
String domain,
String canonicalName)
This Operation removes the reviewer from the running process. |
com.adobe.idp.Document |
retrieveAuditConfig()
This Operation retrieves the audit configuration for RCA. |
void |
reviseReview(String reviewId,
Integer stageNo,
com.adobe.idp.Document reviewDocument,
String changeDescription)
This Operation generates a new revision of a review from a particular stage |
void |
revokeReview(String reviewId)
This Operation can be used for revoking the review. |
com.adobe.idp.Document |
searchReviews(ReviewSearchFilterTO reviewSearchFilter)
1st level Search API Search reviews based on ReviewSearchFilter. |
List |
searchReviewTemplates(TemplateSearchFilter templateSearchFilter)
Template Search |
void |
setUserPreference(String domain,
String canonicalName,
UserPreferenceTO userPreference)
Sets the user preferences for a particular user. |
void |
storeReviewTemplate(com.adobe.idp.Document reviewTemplate,
List supportingDocList,
Boolean overwrite)
This Operation stores a Review Template XML Document in the RCA System. |
void |
updateCustomAttributes(String reviewId,
Integer revision,
List customAttributes,
Boolean discardOld)
Updates the searchable custom attributes of a review. |
void |
updateReviewStageDuration(String reviewId,
Integer stageNo,
Integer duration,
String durationUnit)
This operation updates the Review Stage Duration of an already running Review Approval Process. |
Field Detail |
---|
static final String DATE_FORMAT
yyyy-MM-dd HH:mm:ss.sss Z
.
Example: 2009-01-30 21:51:01.983 +0530
Method Detail |
---|
String initiateReview(com.adobe.idp.Document reviewContext, com.adobe.idp.Document reviewDocument, List supportingDocList) throws RCAException
reviewContext
- Document
instance of Review Context (XML) (Required Parameter)reviewDocument
- Document
to be reviewed (Required Parameter)supportingDocList
- List of RCADocument
(Required Parameter)
InvalidReviewContextException
- If passed reviewContext is invalid, i.e. it doesn't comply to RCA ReviewContext Schema.
InvalidReviewDocumentException
- If passed reviewDocument is not a valid PDF which can be sent for Shared Review.
ReviewZoneCreationException
- If review zone creation fails
UserNotFoundException
- If a user mentioned in Review Context is not found in LC UM
RCAException
void initiateReviewLongLived(com.adobe.idp.Document reviewContext, com.adobe.idp.Document reviewDocument, List supportingDocList) throws RCAException
reviewContext
- Same as that of initiateReviewreviewDocument
- Same as that of initiateReviewsupportingDocList
- Same as that of initiateReview
RCAException
com.adobe.idp.Document searchReviews(ReviewSearchFilterTO reviewSearchFilter) throws RCAException
ReviewSearchFilter
- Filter to be applied while searching. All the attributes of ReviewSearchFilter will be ANDed.
RCAException
com.adobe.idp.Document getRevisions(String reviewId) throws RCAException
reviewId
-
RCAException
List getSupportingDocuments(String reviewID) throws RCAException
reviewID
- Unique ID of the review
RCAException
void updateReviewStageDuration(String reviewId, Integer stageNo, Integer duration, String durationUnit) throws RCAException
reviewId
- Unique ID of the review (Required Parameter)stageNo
- ID of the stage within a review (Required Parameter)duration
- stage durationdurationUnit
- Unit of stage duration. valid values are:
RCAException
- Any Exception generated in RCA Corevoid addReviewer(String reviewId, Integer stageNo, String domain, String canonicalName, Boolean isOptional) throws RCAException, TaskAssignmentFailedException
reviewId
- Unique ID of the review. (Required Parameter)stageNo
- Unique identifier of the stage within a review. Integer >= 1. (Required Parameter)domain
- Reviewer domain (Required Parameter)canonicalName
- Canonical Name (Required Parameter)isOptional
- This flag indicates if the reviewer to be added is optional or required.
If null then it is defaulted to false. (Optional Parameter)
RCAException
- Any Exception generated in RCA Core.
TaskAssignmentFailedException
void addApprover(String reviewId, Integer stageNo, String domain, String canonicalName) throws RCAException, TaskAssignmentFailedException
reviewId
- Unique ID of the review. (Required Parameter)stageNo
- Unique identifier of the stage within a review. Integer >= 1. (Required Parameter)domain
- Reviewer domain (Required Parameter)canonicalName
- Canonical Name (Required Parameter)
RCAException
- Any Exception generated in RCA Core.
TaskAssignmentFailedException
void revokeReview(String reviewId) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)
RCAException
- Any Exception generated in RCA Core.com.adobe.idp.Document getReviewStageDocument(String reviewId, Integer revision, Integer stageNo) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)revision
- Revision (Required Parameter)stageNo
- Stage Id of the stage
RCAException
- Any Exception generated in RCA Core.com.adobe.idp.Document getReviewDocument(String reviewId, Integer revision) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)revision
- Revision (Required Parameter)
RCAException
- Any Exception generated in RCA Core.com.adobe.idp.Document getReviewContext(String reviewId, Integer revision) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)revision
- Revision (Required Parameter)
RCAException
- Any Exception generated in RCA Core.void removeReviewer(String reviewId, Integer stageNo, String domain, String canonicalName) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)stageNo
- Stage Id of the stage (Required parameter)domain
- domain name of the reviewer. (Required parameter)canonicalName
- canonical name of the reviewer. (Required parameter)
RCAException
- Any Exception generated in RCA Core.void removeApprover(String reviewId, Integer stageNo, String domain, String canonicalName) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)stageNo
- Stage Id of the stage (Required parameter)domain
- domain name of the approver (Required parameter)canonicalName
- canonical name of the approver (Required parameter)
RCAException
- Any Exception generated in RCA Core.void reviseReview(String reviewId, Integer stageNo, com.adobe.idp.Document reviewDocument, String changeDescription) throws RCAException
reviewId
- Unique ID of the review. (Required Parameter)stageNo
- Stage Id of the stage (Required parameter)reviewDocument
- New document that would be used in the revision (Required parameter).
RCAException
void storeReviewTemplate(com.adobe.idp.Document reviewTemplate, List supportingDocList, Boolean overwrite) throws RCAException
Document
in the RCA System. It picks up the review template
name from the XML while storing. So, Review Template Name should be unique unless you want to overwrite
a previously stored review template.
It also hosts the supporting document at template level
reviewTemplate
- Document
instance of Review Template (XML) (Required Parameter)supportingDocList
- Listoverwrite
- If true and a template exists with same name, it silently replaces the old one.
RCAException
com.adobe.idp.Document retrieveAuditConfig() throws RCAException
RCAException
RCAException
void setUserPreference(String domain, String canonicalName, UserPreferenceTO userPreference) throws RCAException
domain
- User Domain namecanonicalName
- User Canonical NameuserPreference
- User Preferences object
RCAException
UserPreferenceTO getUserPreference(String domain, String canonicalName) throws RCAException
domain
- User Domain namecanonicalName
- User Canonical Name
RCAException
ReviewContextTO getReviewByProcessId(String assignTaskPid) throws RCAException
assignTaskPid
- Process ID of the assign Task operation.
RCAException
void updateCustomAttributes(String reviewId, Integer revision, List customAttributes, Boolean discardOld) throws RCAException
reviewId
- Review IDrevision
- Review RevisioncustomAttributes
- list of CustomAttributeTO
discardOld
- If true, old custom attributes are discarded
RCAException
List searchReviewTemplates(TemplateSearchFilter templateSearchFilter) throws RCAException
templateSearchFilter
-
RCAException
Boolean deleteReviewTemplate(String templateName) throws RCAException
templateName
-
RCAException
List purgeReviews(List listOfReviewIDs, Boolean clearReviewZone) throws RCAException
listOfReviewIDs
- List of ReviewIDs to be purgedclearReviewZone
- boolean flag, if true then corresponding review zone folder is also deleted.
RCAException
RCAException
com.adobe.idp.Document getReviewTemplate(String templateName) throws RCAException
templateName
-
RCAException
com.adobe.idp.Document getDocument(String reviewID, Integer revision, String documentPath) throws RCAException
Document
from the review zone associated with the given review ID and revision .
reviewID
- Unique identifier for a Review Zone (Required Parameter)revision
- Revision of the review (Required Parameter)documentPath
- Path at which the passed Document should be stored. This path is Unix like, i.e.
/ (forward slash) points to root of the Review Zone. Hence this path should start with a
/ (forward slash) (Required Parameter)
Document
stored at the passed path (documentPath)
PersistenceException,
- ReviewZoneNotFoundException If there is no Review Zone associated with the given review ID
PersistenceException,
- DocumentNotFoundException If no Document
is found at the passed path
PersistenceException,
- InvalidPathException If the passed path is invalid.
RCAException
com.adobe.idp.Document applyReaderExtension(com.adobe.idp.Document document) throws RCAException
RCAException
List getSupportingDocumentList(String reviewID) throws RCAException
reviewID
- Unique Review Identifier
RCAException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |