@Test public final void testGetQuickPickPermissions() { underTest.getQuickPickPermissions(target4000); verify(siteDao).getQuickPickPermissions(any(Agency.class)); }
public List<Permission> getQuickPickPermissions(Target aTarget) { return siteDao.getQuickPickPermissions(aTarget.getOwningUser().getAgency()); }
TargetManagerImpl implements TargetManager { public List<Permission> getQuickPickPermissions(Target aTarget) { return siteDao.getQuickPickPermissions(aTarget.getOwningUser().getAgency()); } }
TargetManagerImpl implements TargetManager { public List<Permission> getQuickPickPermissions(Target aTarget) { return siteDao.getQuickPickPermissions(aTarget.getOwningUser().getAgency()); }  }
TargetManagerImpl implements TargetManager { public List<Permission> getQuickPickPermissions(Target aTarget) { return siteDao.getQuickPickPermissions(aTarget.getOwningUser().getAgency()); }  boolean getAllowMultiplePrimarySeeds(); void setAllowMultiplePrimarySeeds(boolean allowMultiplePrimarySeeds); void save(Target aTarget, List<GroupMemberDTO> parents); void save(Target aTarget); void save(TargetGroup aTargetGroup); void save(TargetGroup aTargetGroup, List<GroupMemberDTO> parents); void scheduleTargetGroup(TargetGroup aGroup); int[] getNextStates(Target aTarget); Target load(Long oid); Target load(Long oid, boolean loadFully); List<Permission> getQuickPickPermissions(Target aTarget); Pagination findPermissionsBySiteTitle(Target aTarget, String aSiteTitle, int aPageNumber); Pagination findPermissionsByUrl(Target aTarget, String aUrl, int aPageNumber); Permission loadPermission(TargetEditorContext ctx, String identity); Permission loadPermission(Long oid); boolean isNameOk(AbstractTarget aTarget); void setTargetDao(TargetDAO targetDao); void setAuthMgr(AuthorityManager authMgr); void setSiteDao(SiteDAO siteDao); List<Annotation> getAnnotations(AbstractTarget aTarget); void setAnnotationDAO(AnnotationDAO annotationDAO); boolean isTargetHarvestable(TargetInstance aTargetInstance); boolean isTargetUsingAQA(Long targetOid); boolean allowStateChange(Target aTarget, int nextState); TargetGroup loadGroup(Long oid); TargetGroup loadGroup(Long oid, boolean loadFully); Pagination getMembers(TargetGroup aTargetGroup, int pageNum, int pageSize); Pagination getParents(AbstractTarget aTarget, int pageNum, int pageSize); Pagination getAbstractTargetDTOs(String name, int pageNumber, int pageSize); Pagination getGroupDTOs(String name, int pageNumber, int pageSize); Pagination getSubGroupParentDTOs(String name, int pageNumber, int pageSize); Pagination getNonSubGroupDTOs(String name, int pageNumber, int pageSize); GroupMemberDTO createGroupMemberDTO(TargetGroup group, Long childOid); GroupMemberDTO createGroupMemberDTO(Long groupOid, Target child); Pagination searchGroups(int pageNumber, int pageSize, Long searchOid, String name, String owner, String agency,
			String memberOf, String groupType, boolean nondisplayonly); void setTargetInstanceDao(TargetInstanceDAO targetInstanceDao); void processSchedulesJob(); void processSchedule(Schedule aSchedule); void processBatchSchedule(Schedule aSchedule); void createTargetInstances(AbstractTarget aTarget, Schedule aSchedule, boolean checkAgency); Set<Seed> getSeeds(TargetInstance aTargetInstance); Set<Seed> getSeeds(AbstractTarget aTarget, Long agencyOid); int countTargets(User aUser); int countTargetGroups(User aUser); TargetInstanceManager getInstanceManager(); void setInstanceManager(TargetInstanceManager instanceManager); InTrayManager getIntrayManager(); void setIntrayManager(InTrayManager intrayManager); Set<Long> getAncestorOids(AbstractTarget child); boolean isDuplicateMember(TargetGroup group, Long memberOid); AbstractTarget loadAbstractTarget(Long oid); boolean isSendGroupUpdateNotifications(); void setSendGroupUpdateNotifications(boolean sendGroupUpdateNotifications); void endDateGroups(); int transferSeeds(Permission fromPermission, Permission toPermission); Pagination searchPermissions(PermissionCriteria aPermissionCriteria); List<TargetGroup> getActiveParentGroups(TargetInstance aTargetInstance); Collection<PermissionSeedDTO> getActivePermissions(TargetInstance aTargetInstance); void setAuditor(Auditor auditor); void setMessageSource(MessageSource messageSource); Target copy(Target aTarget); TargetGroup copy(TargetGroup aTargetGroup); void deleteTarget(Target aTarget); boolean deleteTargetGroup(TargetGroup aTargetGroup); List<GroupMemberDTO> getParents(final AbstractTarget aTarget); void setBusinessObjectFactory(BusinessObjectFactory businessObjectFactory); void setSubGroupParentTypesList(WCTTreeSet subGroupParentTypesList); void setSubGroupTypeName(String subGroupTypeName); @Override void moveTargets(TargetGroup sourceGroup, TargetGroup targetGroup, List<Long> targetsToMove); }
TargetManagerImpl implements TargetManager { public List<Permission> getQuickPickPermissions(Target aTarget) { return siteDao.getQuickPickPermissions(aTarget.getOwningUser().getAgency()); }  boolean getAllowMultiplePrimarySeeds(); void setAllowMultiplePrimarySeeds(boolean allowMultiplePrimarySeeds); void save(Target aTarget, List<GroupMemberDTO> parents); void save(Target aTarget); void save(TargetGroup aTargetGroup); void save(TargetGroup aTargetGroup, List<GroupMemberDTO> parents); void scheduleTargetGroup(TargetGroup aGroup); int[] getNextStates(Target aTarget); Target load(Long oid); Target load(Long oid, boolean loadFully); List<Permission> getQuickPickPermissions(Target aTarget); Pagination findPermissionsBySiteTitle(Target aTarget, String aSiteTitle, int aPageNumber); Pagination findPermissionsByUrl(Target aTarget, String aUrl, int aPageNumber); Permission loadPermission(TargetEditorContext ctx, String identity); Permission loadPermission(Long oid); boolean isNameOk(AbstractTarget aTarget); void setTargetDao(TargetDAO targetDao); void setAuthMgr(AuthorityManager authMgr); void setSiteDao(SiteDAO siteDao); List<Annotation> getAnnotations(AbstractTarget aTarget); void setAnnotationDAO(AnnotationDAO annotationDAO); boolean isTargetHarvestable(TargetInstance aTargetInstance); boolean isTargetUsingAQA(Long targetOid); boolean allowStateChange(Target aTarget, int nextState); TargetGroup loadGroup(Long oid); TargetGroup loadGroup(Long oid, boolean loadFully); Pagination getMembers(TargetGroup aTargetGroup, int pageNum, int pageSize); Pagination getParents(AbstractTarget aTarget, int pageNum, int pageSize); Pagination getAbstractTargetDTOs(String name, int pageNumber, int pageSize); Pagination getGroupDTOs(String name, int pageNumber, int pageSize); Pagination getSubGroupParentDTOs(String name, int pageNumber, int pageSize); Pagination getNonSubGroupDTOs(String name, int pageNumber, int pageSize); GroupMemberDTO createGroupMemberDTO(TargetGroup group, Long childOid); GroupMemberDTO createGroupMemberDTO(Long groupOid, Target child); Pagination searchGroups(int pageNumber, int pageSize, Long searchOid, String name, String owner, String agency,
			String memberOf, String groupType, boolean nondisplayonly); void setTargetInstanceDao(TargetInstanceDAO targetInstanceDao); void processSchedulesJob(); void processSchedule(Schedule aSchedule); void processBatchSchedule(Schedule aSchedule); void createTargetInstances(AbstractTarget aTarget, Schedule aSchedule, boolean checkAgency); Set<Seed> getSeeds(TargetInstance aTargetInstance); Set<Seed> getSeeds(AbstractTarget aTarget, Long agencyOid); int countTargets(User aUser); int countTargetGroups(User aUser); TargetInstanceManager getInstanceManager(); void setInstanceManager(TargetInstanceManager instanceManager); InTrayManager getIntrayManager(); void setIntrayManager(InTrayManager intrayManager); Set<Long> getAncestorOids(AbstractTarget child); boolean isDuplicateMember(TargetGroup group, Long memberOid); AbstractTarget loadAbstractTarget(Long oid); boolean isSendGroupUpdateNotifications(); void setSendGroupUpdateNotifications(boolean sendGroupUpdateNotifications); void endDateGroups(); int transferSeeds(Permission fromPermission, Permission toPermission); Pagination searchPermissions(PermissionCriteria aPermissionCriteria); List<TargetGroup> getActiveParentGroups(TargetInstance aTargetInstance); Collection<PermissionSeedDTO> getActivePermissions(TargetInstance aTargetInstance); void setAuditor(Auditor auditor); void setMessageSource(MessageSource messageSource); Target copy(Target aTarget); TargetGroup copy(TargetGroup aTargetGroup); void deleteTarget(Target aTarget); boolean deleteTargetGroup(TargetGroup aTargetGroup); List<GroupMemberDTO> getParents(final AbstractTarget aTarget); void setBusinessObjectFactory(BusinessObjectFactory businessObjectFactory); void setSubGroupParentTypesList(WCTTreeSet subGroupParentTypesList); void setSubGroupTypeName(String subGroupTypeName); @Override void moveTargets(TargetGroup sourceGroup, TargetGroup targetGroup, List<Long> targetsToMove);  }