public interface GreetingServiceAsync
| Modifier and Type | Method and Description |
|---|---|
void |
checkDBisCreated(com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Check D bis created.
|
void |
createFolder(com.google.gwt.user.client.rpc.AsyncCallback<Long> asyncCallback)
Creates the folder.
|
void |
deleteOldImage(int idSurvey,
long idTmpFolder,
String image2Delete,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Delete old image.
|
void |
deleteSurvey(SurveyModel surveyModel,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Delete survey.
|
void |
exportToCSVFile(String titleSurvey,
boolean isAnonymous,
List<UserDTO> userDTOList,
List<SurveyUserAnswerModel> surveyUserAnswerModelList,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Export to CSV file.
|
void |
getAnswersSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyUserAnswerModel>> asyncCallback)
Gets the answers survey.
|
void |
getQuestionsSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyQuestionModel>> asyncCallback)
Gets the questions survey.
|
void |
getSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
Gets the survey.
|
void |
getSurveyList(UserDTO userDTO,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyModel>> asyncCallback)
Gets the survey list.
|
void |
getUser(com.google.gwt.user.client.rpc.AsyncCallback<UserDTO> asyncCallback)
Gets the user.
|
void |
getUserAnsweredSurvey(int idSurveySelected,
com.google.gwt.user.client.rpc.AsyncCallback<List<UserDTO>> asyncCallback)
Gets the user answered survey.
|
void |
insertSurvey(SurveyModel surveyModel,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Insert survey.
|
void |
insertSurveyQuestion(SurveyQuestionModel surveyModel,
int idSurvay,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Insert survey question.
|
void |
saveAllSurvey(long idUser,
SurveyModel surveyModel,
long idTempFolder,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Save all survey.
|
void |
updateSurvey(long idUser,
SurveyModel surveyModel,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Update survey.
|
void |
usersAnsweredSurvey(com.google.gwt.user.client.rpc.AsyncCallback<List<Integer>> asyncCallback)
Users answered survey.
|
void insertSurvey(SurveyModel surveyModel, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
surveyModel - the survey modelasyncCallback - the async callbackvoid getUser(com.google.gwt.user.client.rpc.AsyncCallback<UserDTO> asyncCallback)
asyncCallback - the async callbackvoid deleteSurvey(SurveyModel surveyModel, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
surveyModel - the survey modelasyncCallback - the async callbackvoid getSurveyList(UserDTO userDTO, com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyModel>> asyncCallback)
userDTO - the user DTOasyncCallback - the async callbackvoid checkDBisCreated(com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
asyncCallback - the async callbackvoid usersAnsweredSurvey(com.google.gwt.user.client.rpc.AsyncCallback<List<Integer>> asyncCallback)
asyncCallback - the async callbackvoid saveAllSurvey(long idUser,
SurveyModel surveyModel,
long idTempFolder,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
idUser - the id usersurveyModel - the survey modelidTempFolder - the id temp foldersurveyQuestionModelList - the survey question model listasyncCallback - the async callbackvoid updateSurvey(long idUser,
SurveyModel surveyModel,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
idUser - the id usersurveyModel - the survey modelsurveyQuestionModelList - the survey question model listasyncCallback - the async callbackvoid createFolder(com.google.gwt.user.client.rpc.AsyncCallback<Long> asyncCallback)
asyncCallback - the async callbackvoid deleteOldImage(int idSurvey,
long idTmpFolder,
String image2Delete,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
idSurvey - the id surveyidTmpFolder - the id tmp folderimage2Delete - the image 2 deleteasyncCallback - the async callbackvoid insertSurveyQuestion(SurveyQuestionModel surveyModel, int idSurvay, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
surveyModel - the survey modelidSurvay - the id survayasyncCallback - the async callbackvoid getQuestionsSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyQuestionModel>> asyncCallback)
idSurvey - the id surveyasyncCallback - the async callbackvoid getAnswersSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyUserAnswerModel>> asyncCallback)
idSurvey - the id surveyasyncCallback - the async callbackvoid getUserAnsweredSurvey(int idSurveySelected,
com.google.gwt.user.client.rpc.AsyncCallback<List<UserDTO>> asyncCallback)
idSurveySelected - the id survey selectedasyncCallback - the async callbackvoid getSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
idSurvey - the id surveyasyncCallback - the async callbackvoid exportToCSVFile(String titleSurvey, boolean isAnonymous, List<UserDTO> userDTOList, List<SurveyUserAnswerModel> surveyUserAnswerModelList, List<SurveyQuestionModel> surveyQuestionModelList, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
titleSurvey - the title surveyisAnonymous - the is anonymoususerDTOList - the user DTO listsurveyUserAnswerModelList - the survey user answer model listsurveyQuestionModelList - the survey question model listasyncCallback - the async callbackCopyright © 2017. All Rights Reserved.