Revoking a review using the Java APIYou can revoke a review using the Java API. // serviceClientFactory is the Service Client Factory Properties connectionProps = new Properties(); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, "jnp://localhost:1099"); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss"); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, "apink"); connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, "password"); // Review ID String reviewId = "R-20100917-023543-293-4434"; ReviewCommentingAndApprovalServiceClient reviewCommentingAndApproval = new ReviewCommentingAndApprovalServiceClient(serviceClientFactory); reviewCommentingAndApproval.revokeReview(reviewId); |
|
// Ethnio survey code removed