Search in sources :

Example 6 with IdmNotificationTemplateFilter

use of eu.bcvsolutions.idm.core.notification.api.dto.filter.IdmNotificationTemplateFilter in project CzechIdMng by bcvsolutions.

the class DefaultIdmNotificationTemplateService method findAllSystemTemplates.

@Override
public List<IdmNotificationTemplateDto> findAllSystemTemplates() {
    IdmNotificationTemplateFilter filter = new IdmNotificationTemplateFilter();
    filter.setUnmodifiable(Boolean.TRUE);
    return this.find(filter, null).getContent().stream().collect(Collectors.toList());
}
Also used : IdmNotificationTemplateFilter(eu.bcvsolutions.idm.core.notification.api.dto.filter.IdmNotificationTemplateFilter)

Aggregations

IdmNotificationTemplateFilter (eu.bcvsolutions.idm.core.notification.api.dto.filter.IdmNotificationTemplateFilter)6 IdmNotificationTemplateDto (eu.bcvsolutions.idm.core.notification.api.dto.IdmNotificationTemplateDto)5 IdmBulkActionDto (eu.bcvsolutions.idm.core.api.bulk.action.dto.IdmBulkActionDto)4 UUID (java.util.UUID)4 Test (org.junit.Test)4 AbstractBulkActionTest (eu.bcvsolutions.idm.test.api.AbstractBulkActionTest)3 HashSet (java.util.HashSet)3 ImmutableMap (com.google.common.collect.ImmutableMap)1 Lists (com.google.common.collect.Lists)1 AbstractRemoveBulkAction (eu.bcvsolutions.idm.core.api.bulk.action.AbstractRemoveBulkAction)1 CoreResultCode (eu.bcvsolutions.idm.core.api.domain.CoreResultCode)1 DefaultResultModel (eu.bcvsolutions.idm.core.api.dto.DefaultResultModel)1 ResultModels (eu.bcvsolutions.idm.core.api.dto.ResultModels)1 ResultCodeException (eu.bcvsolutions.idm.core.api.exception.ResultCodeException)1 ReadWriteDtoService (eu.bcvsolutions.idm.core.api.service.ReadWriteDtoService)1 IdmEmailLogDto (eu.bcvsolutions.idm.core.notification.api.dto.IdmEmailLogDto)1 IdmMessageDto (eu.bcvsolutions.idm.core.notification.api.dto.IdmMessageDto)1 NotificationConfigurationDto (eu.bcvsolutions.idm.core.notification.api.dto.NotificationConfigurationDto)1 IdmNotificationFilter (eu.bcvsolutions.idm.core.notification.api.dto.filter.IdmNotificationFilter)1 IdmNotificationTemplateService (eu.bcvsolutions.idm.core.notification.api.service.IdmNotificationTemplateService)1