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; /*w w w . ja v a2 s . c om*/ import java.util.ArrayList; import nl.fhict.intellicloud.answers.*; /** * IQuestionService.java * * @author Bart van Drongelen * * Interface defining communication between backend and the application for functionality related to Questions. * */ public interface IQuestionService { /** * Gets a specific {@link Question} that belongs to the requested ID. * @param id The id of the answer to retrieve (note: should this be a string?) * @return The requested Question object, or null if nothing is found. */ Question GetQuestion(int id); /** * Gets a specific {@link Question} that belongs to the requested {@link Answer} ID. * @param id The id of the question to retrieve the answer for * @return The requested Answer object, or null if nothing is found. */ Question GetQuestionUsingAnswer(int answerId); /** * Gets all {@link Question} objects currently available * @return An {@link ArrayList} with all available questions; */ ArrayList<Question> GetQuestions(); /** * Gets all available {@link Question} objects that correspond to the set filters * @param employeeid The id of the employee to filter for, or -1 for all employees * @return An {@link ArrayList} with all questions which match the filters */ ArrayList<Question> GetQuestions(int employeeId); /** * Updates an {@link Question} * @param answer The Question to change. */ void UpdateQuestion(Question question); }