test_class.declarator: controller
test_class.modifier: @Autowired private
test_class.original_string: @Autowired private IdmNotificationRecipientController controller;
test_class.type: IdmNotificationRecipientController
test_class.var_name: controller
test_class.declarator: notificationLogService
test_class.modifier: @Autowired private
test_class.original_string: @Autowired private IdmNotificationLogService notificationLogService;
test_class.type: IdmNotificationLogService
test_class.var_name: notificationLogService
test_class.file: Realization/backend/core/core-impl/src/test/java/eu/bcvsolutions/idm/core/notification/rest/impl/IdmNotificationRecipientControllerTest.java
test_class.identifier: IdmNotificationRecipientControllerTest
test_class.superclass: extends AbstractReadWriteDtoControllerRestTest<IdmNotificationRecipientDto>
test_case.body: @Test
  	public void testFindByText() {
  		IdmNotificationRecipientDto recipentOne = createDto();
  		createDto(); // other
  		//
  		IdmNotificationRecipientFilter filter = new IdmNotificationRecipientFilter();
  		filter.setText(recipentOne.getRealRecipient());
  		List<IdmNotificationRecipientDto> attachments = find(filter);
  		Assert.assertEquals(1, attachments.size());
  		Assert.assertTrue(attachments.stream().anyMatch(r -> r.getId().equals(recipentOne.getId())));
  	}
test_case.class_method_signature: IdmNotificationRecipientControllerTest.testFindByText()
test_case.full_signature: @Test public void testFindByText()
test_case.identifier: testFindByText
test_case.invocations: createDto createDto setText getRealRecipient find assertEquals size assertTrue anyMatch stream equals getId getId
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFindByText()
focal_class.declarator: TAG = "Notification recipients"
focal_class.modifier: protected static final
focal_class.original_string: protected static final String TAG = "Notification recipients";
focal_class.type: String
focal_class.var_name: TAG
focal_class.file: Realization/backend/core/core-impl/src/main/java/eu/bcvsolutions/idm/core/notification/rest/impl/IdmNotificationRecipientController.java
focal_class.identifier: IdmNotificationRecipientController
focal_class.class_method_signature: IdmNotificationRecipientController.IdmNotificationRecipientController(IdmNotificationRecipientService service)
focal_class.full_signature: @Autowired public  IdmNotificationRecipientController(IdmNotificationRecipientService service)
focal_class.identifier: IdmNotificationRecipientController
focal_class.modifiers: @Autowired public
focal_class.parameters: (IdmNotificationRecipientService service)
focal_class.signature:  IdmNotificationRecipientController(IdmNotificationRecipientService service)
focal_class.class_method_signature: IdmNotificationRecipientController.find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_class.full_signature: @Override @ResponseBody @RequestMapping(method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "Search notification recipients (/search/quick alias)", nickname = "searchNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public Resources<?> find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_class.identifier: find
focal_class.modifiers: @Override @ResponseBody @RequestMapping(method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "Search notification recipients (/search/quick alias)", nickname = "searchNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public
focal_class.parameters: (
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_class.return: Resources<?>
focal_class.signature: Resources<?> find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_class.class_method_signature: IdmNotificationRecipientController.findQuick(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters,
  			@PageableDefault Pageable pageable)
focal_class.full_signature: @ResponseBody @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @RequestMapping(value = "/search/quick", method = RequestMethod.GET) @ApiOperation( value = "Search notification recipients", nickname = "searchQuickNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public Resources<?> findQuick(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters,
  			@PageableDefault Pageable pageable)
focal_class.identifier: findQuick
focal_class.modifiers: @ResponseBody @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @RequestMapping(value = "/search/quick", method = RequestMethod.GET) @ApiOperation( value = "Search notification recipients", nickname = "searchQuickNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public
focal_class.parameters: (
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters,
  			@PageableDefault Pageable pageable)
focal_class.return: Resources<?>
focal_class.signature: Resources<?> findQuick(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters,
  			@PageableDefault Pageable pageable)
focal_class.class_method_signature: IdmNotificationRecipientController.count(@RequestParam(required = false) MultiValueMap<String, Object> parameters)
focal_class.full_signature: @Override @ResponseBody @RequestMapping(value = "/search/count", method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_COUNT + "')") @ApiOperation( value = "The number of entities that match the filter", nickname = "countNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_COUNT, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_COUNT, description = "") }) }) public long count(@RequestParam(required = false) MultiValueMap<String, Object> parameters)
focal_class.identifier: count
focal_class.modifiers: @Override @ResponseBody @RequestMapping(value = "/search/count", method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_COUNT + "')") @ApiOperation( value = "The number of entities that match the filter", nickname = "countNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_COUNT, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_COUNT, description = "") }) }) public
focal_class.parameters: (@RequestParam(required = false) MultiValueMap<String, Object> parameters)
focal_class.return: long
focal_class.signature: long count(@RequestParam(required = false) MultiValueMap<String, Object> parameters)
focal_class.class_method_signature: IdmNotificationRecipientController.get(
  			@ApiParam(value = "Recipient's uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.full_signature: @Override @ResponseBody @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @RequestMapping(value = "/{backendId}", method = RequestMethod.GET) @ApiOperation( value = "Notification recipient detail", nickname = "getNotificationRecipient", response = IdmNotificationRecipientDto.class, tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public ResponseEntity<?> get(
  			@ApiParam(value = "Recipient's uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.identifier: get
focal_class.modifiers: @Override @ResponseBody @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @RequestMapping(value = "/{backendId}", method = RequestMethod.GET) @ApiOperation( value = "Notification recipient detail", nickname = "getNotificationRecipient", response = IdmNotificationRecipientDto.class, tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public
focal_class.parameters: (
  			@ApiParam(value = "Recipient's uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.return: ResponseEntity<?>
focal_class.signature: ResponseEntity<?> get(
  			@ApiParam(value = "Recipient's uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.class_method_signature: IdmNotificationRecipientController.getPermissions(
  			@ApiParam(value = "Notification recipient uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.full_signature: @Override @ResponseBody @RequestMapping(value = "/{backendId}/permissions", method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "What logged identity can do with given record", nickname = "getPermissionsOnNotificationRecipient", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "")}), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "")}) }) public Set<String> getPermissions(
  			@ApiParam(value = "Notification recipient uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.identifier: getPermissions
focal_class.modifiers: @Override @ResponseBody @RequestMapping(value = "/{backendId}/permissions", method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "What logged identity can do with given record", nickname = "getPermissionsOnNotificationRecipient", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "")}), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "")}) }) public
focal_class.parameters: (
  			@ApiParam(value = "Notification recipient uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.return: Set<String>
focal_class.signature: Set<String> getPermissions(
  			@ApiParam(value = "Notification recipient uuid identifier.", required = true)
  			@PathVariable @NotNull String backendId)
focal_class.class_method_signature: IdmNotificationRecipientController.toFilter(MultiValueMap<String, Object> parameters)
focal_class.full_signature: @Override protected IdmNotificationRecipientFilter toFilter(MultiValueMap<String, Object> parameters)
focal_class.identifier: toFilter
focal_class.modifiers: @Override protected
focal_class.parameters: (MultiValueMap<String, Object> parameters)
focal_class.return: IdmNotificationRecipientFilter
focal_class.signature: IdmNotificationRecipientFilter toFilter(MultiValueMap<String, Object> parameters)
focal_class.superclass: extends AbstractReadWriteDtoController<IdmNotificationRecipientDto, IdmNotificationRecipientFilter>
focal_method.body: @Override
  	@ResponseBody
  	@RequestMapping(method = RequestMethod.GET)
  	@PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')")
  	@ApiOperation(
  			value = "Search notification recipients (/search/quick alias)", 
  			nickname = "searchNotificationRecipients", 
  			tags = { IdmNotificationRecipientController.TAG }, 
  			authorizations = {
  				@Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { 
  						@AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }),
  				@Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { 
  						@AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") })
  				})
  	public Resources<?> find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable) {
  		return super.find(parameters, pageable);
  	}
focal_method.class_method_signature: IdmNotificationRecipientController.find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_method.full_signature: @Override @ResponseBody @RequestMapping(method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "Search notification recipients (/search/quick alias)", nickname = "searchNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public Resources<?> find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_method.identifier: find
focal_method.invocations: find
focal_method.modifiers: @Override @ResponseBody @RequestMapping(method = RequestMethod.GET) @PreAuthorize("hasAuthority('" + NotificationGroupPermission.NOTIFICATION_READ + "')") @ApiOperation( value = "Search notification recipients (/search/quick alias)", nickname = "searchNotificationRecipients", tags = { IdmNotificationRecipientController.TAG }, authorizations = { @Authorization(value = SwaggerConfig.AUTHENTICATION_BASIC, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }), @Authorization(value = SwaggerConfig.AUTHENTICATION_CIDMST, scopes = { @AuthorizationScope(scope = NotificationGroupPermission.NOTIFICATION_READ, description = "") }) }) public
focal_method.parameters: (
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)
focal_method.return: Resources<?>
focal_method.signature: Resources<?> find(
  			@RequestParam(required = false) MultiValueMap<String, Object> parameters, 
  			@PageableDefault Pageable pageable)