public interface GreetingServiceAsync
| Modifier and Type | Method and Description |
|---|---|
void |
deleteSurvey(SurveyModel surveyModel,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Delete survey.
|
void |
getAllSurveysFromDB(com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyModel>> asyncCallback)
Gets the all surveys from DB.
|
void |
getIdSurveyByUUID(String UUID,
com.google.gwt.user.client.rpc.AsyncCallback<Integer> asyncCallback)
Gets the id survey by UUID.
|
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 |
getSurveyByUUID(String UUID,
com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
Gets the survey by UUID.
|
void |
getSurveyByUUIDAndUserId(String UUID,
int userId,
com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
Gets the survey by UUID and user id.
|
void |
getSurveyList(UserDTO userDTO,
com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyModel>> asyncCallback)
Gets the survey list.
|
void |
getSurveyListByUserAnswerId(int idUserAnswer,
com.google.gwt.user.client.rpc.AsyncCallback<List<TokenModel>> asyncCallback)
Gets the survey list by user answer id.
|
void |
getTokenModelByUUID(String UUID,
com.google.gwt.user.client.rpc.AsyncCallback<TokenModel> asyncCallback)
Gets the token model by UUID.
|
void |
getUser(com.google.gwt.user.client.rpc.AsyncCallback<UserDTO> asyncCallback)
Gets the user.
|
void |
getUserListCurrentCompany(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<UserDTO> asyncCallback)
Gets the user list current company.
|
void |
getUsersInvitedToFillSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<Map<String,String>> asyncCallback)
Gets the users invited to fill 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 |
saveAllAnswer(SurveyModel surveyModel,
List<SurveyAnswerModel> surveyAnswerModelList,
TokenModel tokenModel,
String currentURL,
String fullNameUser,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Save all answer.
|
void |
saveAllSurvey(long idUser,
SurveyModel surveyModel,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Save all survey.
|
void |
sendSurveyToUsers(String currentURL,
int idSurveySelected,
boolean isAnonymous,
String surveySender,
List<String> usersInviteSurveyList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Send survey to users.
|
void |
updateSurvey(long idUser,
SurveyModel surveyModel,
List<SurveyQuestionModel> surveyQuestionModelList,
com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
Update 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 getSurveyByUUID(String UUID, com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
UUID - the uuidasyncCallback - the async callbackvoid getIdSurveyByUUID(String UUID, com.google.gwt.user.client.rpc.AsyncCallback<Integer> asyncCallback)
UUID - the uuidasyncCallback - the async callbackvoid getSurveyByUUIDAndUserId(String UUID, int userId, com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
UUID - the uuiduserId - the user idasyncCallback - the async callbackvoid getAllSurveysFromDB(com.google.gwt.user.client.rpc.AsyncCallback<List<SurveyModel>> asyncCallback)
asyncCallback - the async callbackvoid saveAllSurvey(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 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 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 getUserListCurrentCompany(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<UserDTO> asyncCallback)
idSurvey - the id surveyasyncCallback - the async callbackvoid sendSurveyToUsers(String currentURL, int idSurveySelected, boolean isAnonymous, String surveySender, List<String> usersInviteSurveyList, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
currentURL - the current URLidSurveySelected - the id survey selectedisAnonymous - the is anonymoussurveySender - the survey senderusersInviteSurveyList - the users invite survey listasyncCallback - the async callbackvoid getSurvey(int idSurvey,
com.google.gwt.user.client.rpc.AsyncCallback<SurveyModel> asyncCallback)
idSurvey - the id surveyasyncCallback - the async callbackvoid saveAllAnswer(SurveyModel surveyModel, List<SurveyAnswerModel> surveyAnswerModelList, TokenModel tokenModel, String currentURL, String fullNameUser, com.google.gwt.user.client.rpc.AsyncCallback<Void> asyncCallback)
surveyModel - the survey modelsurveyAnswerModelList - the survey answer model listtokenModel - the token modelcurrentURL - the current URLfullNameUser - the full name userasyncCallback - the async callbackvoid getSurveyListByUserAnswerId(int idUserAnswer,
com.google.gwt.user.client.rpc.AsyncCallback<List<TokenModel>> asyncCallback)
idUserAnswer - the id user answerasyncCallback - the async callbackvoid getTokenModelByUUID(String UUID, com.google.gwt.user.client.rpc.AsyncCallback<TokenModel> asyncCallback)
UUID - the uuidasyncCallback - the async callbackCopyright © 2018. All Rights Reserved.