Skip to content

Commit

Permalink
Merge pull request #13049 from SORMAS-Foundation/#13034-Add_view_arch…
Browse files Browse the repository at this point in the history
…ived_userrights

#13034 -Add TASK_VIEW_ARCHIVED user rights and the necessary changes
  • Loading branch information
leventegal-she committed May 27, 2024
2 parents 86e6370 + c0d3186 commit c6694ce
Show file tree
Hide file tree
Showing 75 changed files with 1,640 additions and 269 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ public interface CampaignFacade extends CoreFacade<CampaignDto, CampaignIndexDto

CampaignReferenceDto getLastStartedCampaign();

CampaignDto getCampaignByUuid(String uuid);

List<CampaignDashboardElement> getCampaignDashboardElements(String campaignUuid);

List<String> getAllActiveUuids();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public interface ContactFacade extends CoreFacade<ContactDto, ContactIndexDto, C

List<String> getAllActiveUuids();

ContactDto getContactByUuid(String uuid);

void generateContactFollowUpTasks();

Long countContactsForMap(RegionReferenceDto regionRef, DistrictReferenceDto districtRef, Disease disease, Date from, Date to);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ public interface EnvironmentFacade extends CoreFacade<EnvironmentDto, Environmen

List<String> getAllActiveUuids();

EnvironmentDto getEnvironmentByUuid(String uuid);

}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ Page<EventGroupIndexDto> getIndexPage(

void deleteEventGroup(String uuid);

void archiveOrDearchiveEventGroup(String uuid, boolean archive);
void archiveEventGroup(String uuid);

void dearchiveEventGroup(String uuid);

List<RegionReferenceDto> getEventGroupRelatedRegions(String uuid);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public interface ImmunizationFacade extends CoreFacade<ImmunizationDto, Immuniza

List<String> getDeletedUuidsSince(Date since);

ImmunizationDto getImmunizationByUuid(String uuid);

List<ImmunizationDto> getSimilarImmunizations(ImmunizationSimilarityCriteria criteria);

void updateImmunizationStatuses();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public interface TaskFacade extends PermanentlyDeletableFacade, ArchivableFacade

Map<String, Long> getPendingTaskCountPerUser(List<String> userUuids);

TaskDto getByUuid(String uuid);
TaskDto getTaskByUuid(String uuid);

List<String> getAllActiveUuids();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public interface TravelEntryFacade extends CoreFacade<TravelEntryDto, TravelEntr

List<DeaContentEntry> getDeaContentOfLastTravelEntry();

TravelEntryDto getTravelEntryByUuid(String uuid);

List<TravelEntryListEntryDto> getEntriesList(TravelEntryListCriteria criteria, Integer first, Integer max);

Page<TravelEntryIndexDto> getIndexPage(TravelEntryCriteria criteria, Integer first, Integer max, List<SortProperty> sortProperties);
Expand Down
Loading

0 comments on commit c6694ce

Please sign in to comment.