deleteOrphanedFolders
Deletes orphaned case folders, that is, case folders whose case objects have been deleted.
Parameters
Parameter | Type | Description |
---|---|---|
model | CaseDocumentServiceModel object | Data model to be used by the service request.
The request must include model.selectedDate - Case folders associated with cases that were deleted on or before this date, are deleted. |
callback | Function | Callback function to handle success or failure results from the request. |
Sample Usage
$scope.selectedDate = $scope.acceptDateFromUser; //Actual Service call for deleteOrphanedFolders CaseDocumentService.deleteOrphanedFolders($scope,{onSuccess: function() { console.log("Orphaned folders before the date"+$scope.selectedDate+" deleted successfully"); $scope.$apply(""); } });
Copyright © Cloud Software Group, Inc. All rights reserved.