package com.oguerreiro.resilient.service.security;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.oguerreiro.resilient.repository.security.SecurityResourceRepository;
import com.oguerreiro.resilient.security.resillient.SecurityResource;
import com.oguerreiro.resilient.service.AbstractResilientService;
import com.oguerreiro.resilient.service.dto.security.SecurityResourceDTO;
import com.oguerreiro.resilient.service.mapper.security.SecurityResourceMapper;

/**
 * Service Implementation for managing {@link com.oguerreiro.resilient.security.SecurityResource}.
 */
@Service
@Transactional
public class SecurityResourceService extends AbstractResilientService<SecurityResourceDTO, SecurityResource, Long> {

  public SecurityResourceService(SecurityResourceRepository securityResourceRepository,
      SecurityResourceMapper securityResourceMapper) {
    super(SecurityResource.class, securityResourceRepository, securityResourceMapper);

  }

}
