Back to project page nl.fhict.intellicloud.answers.android.
The source code is released under:
Apache License
If you think the Android project nl.fhict.intellicloud.answers.android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package nl.fhict.intellicloud.answers.backendcommunication; /*from w w w. j a v a 2 s .com*/ import java.util.ArrayList; import nl.fhict.intellicloud.answers.*; /** * IReviewService.java * * @author Bart van Drongelen * * Interface defining communication between backend and the application for functionality related to Reviews. * */ public interface IReviewService { /** * Adds a review to the database and sends it to be processed. * @param review The review to add. */ void CreateReview(Review review); /** * Get {@link Review} objects that belongs to a specific {@link Answer}. * @param answer The answer ID to find reviews for. * @return {@link ArrayList} with all Reviews for the given answer */ ArrayList<Review> GetReviews(int answerId); /** * Updates a {@link Review} with the updated {@link ReviewState}. * @param review The Review to update. */ void UpdateReview(Review review); }