Package com.mypurecloud.sdk.v2.api
Class EmployeeEngagementApiAsync
java.lang.Object
com.mypurecloud.sdk.v2.api.EmployeeEngagementApiAsync
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeleteEmployeeengagementCelebrationAsync(DeleteEmployeeengagementCelebrationRequest request, AsyncApiCallback<Void> callback) Deletes a celebrationdeleteEmployeeengagementCelebrationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Deletes a celebrationgetEmployeeengagementCelebrationsAsync(GetEmployeeengagementCelebrationsRequest request, AsyncApiCallback<GetCelebrationListing> callback) Get all celebrationsgetEmployeeengagementCelebrationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GetCelebrationListing>> callback) Get all celebrationsgetEmployeeengagementRecognitionAsync(GetEmployeeengagementRecognitionRequest request, AsyncApiCallback<Recognition> callback) Gets a single recognitiongetEmployeeengagementRecognitionAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Recognition>> callback) Gets a single recognitiongetEmployeeengagementRecognitionsAsync(GetEmployeeengagementRecognitionsRequest request, AsyncApiCallback<Recognitions> callback) Gets sent recognitionsgetEmployeeengagementRecognitionsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Recognitions>> callback) Gets sent recognitionspatchEmployeeengagementCelebrationAsync(PatchEmployeeengagementCelebrationRequest request, AsyncApiCallback<Void> callback) Set a state for a celebrationpatchEmployeeengagementCelebrationAsync(ApiRequest<CelebrationStateParam> request, AsyncApiCallback<ApiResponse<Void>> callback) Set a state for a celebrationpostEmployeeengagementRecognitionsAsync(PostEmployeeengagementRecognitionsRequest request, AsyncApiCallback<RecognitionBase> callback) Creates a recognitionpostEmployeeengagementRecognitionsAsync(ApiRequest<CreateRecognition> request, AsyncApiCallback<ApiResponse<RecognitionBase>> callback) Creates a recognition
-
Constructor Details
-
EmployeeEngagementApiAsync
public EmployeeEngagementApiAsync() -
EmployeeEngagementApiAsync
-
-
Method Details
-
deleteEmployeeengagementCelebrationAsync
public Future<Void> deleteEmployeeengagementCelebrationAsync(DeleteEmployeeengagementCelebrationRequest request, AsyncApiCallback<Void> callback) Deletes a celebration- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
deleteEmployeeengagementCelebrationAsync
public Future<ApiResponse<Void>> deleteEmployeeengagementCelebrationAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Void>> callback) Deletes a celebration- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementCelebrationsAsync
public Future<GetCelebrationListing> getEmployeeengagementCelebrationsAsync(GetEmployeeengagementCelebrationsRequest request, AsyncApiCallback<GetCelebrationListing> callback) Get all celebrations- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementCelebrationsAsync
public Future<ApiResponse<GetCelebrationListing>> getEmployeeengagementCelebrationsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<GetCelebrationListing>> callback) Get all celebrations- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementRecognitionAsync
public Future<Recognition> getEmployeeengagementRecognitionAsync(GetEmployeeengagementRecognitionRequest request, AsyncApiCallback<Recognition> callback) Gets a single recognition- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementRecognitionAsync
public Future<ApiResponse<Recognition>> getEmployeeengagementRecognitionAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Recognition>> callback) Gets a single recognition- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementRecognitionsAsync
public Future<Recognitions> getEmployeeengagementRecognitionsAsync(GetEmployeeengagementRecognitionsRequest request, AsyncApiCallback<Recognitions> callback) Gets sent recognitions- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
getEmployeeengagementRecognitionsAsync
public Future<ApiResponse<Recognitions>> getEmployeeengagementRecognitionsAsync(ApiRequest<Void> request, AsyncApiCallback<ApiResponse<Recognitions>> callback) Gets sent recognitions- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchEmployeeengagementCelebrationAsync
public Future<Void> patchEmployeeengagementCelebrationAsync(PatchEmployeeengagementCelebrationRequest request, AsyncApiCallback<Void> callback) Set a state for a celebration- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
patchEmployeeengagementCelebrationAsync
public Future<ApiResponse<Void>> patchEmployeeengagementCelebrationAsync(ApiRequest<CelebrationStateParam> request, AsyncApiCallback<ApiResponse<Void>> callback) Set a state for a celebration- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postEmployeeengagementRecognitionsAsync
public Future<RecognitionBase> postEmployeeengagementRecognitionsAsync(PostEmployeeengagementRecognitionsRequest request, AsyncApiCallback<RecognitionBase> callback) Creates a recognition- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-
postEmployeeengagementRecognitionsAsync
public Future<ApiResponse<RecognitionBase>> postEmployeeengagementRecognitionsAsync(ApiRequest<CreateRecognition> request, AsyncApiCallback<ApiResponse<RecognitionBase>> callback) Creates a recognition- Parameters:
request- the request objectcallback- the action to perform when the request is completed- Returns:
- the future indication when the request has completed
-