br.com.anteros.commons.services.rest.service.impl.ActionServiceImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-Services-RestSQL Show documentation
Show all versions of Anteros-Services-RestSQL Show documentation
Anteros Services REST SQL for Java.
The newest version!
package br.com.anteros.commons.services.rest.service.impl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;
import br.com.anteros.commons.services.rest.repository.ActionRepository;
import br.com.anteros.commons.services.rest.service.ActionService;
import br.com.anteros.persistence.session.repository.Page;
import br.com.anteros.persistence.session.repository.PageRequest;
import br.com.anteros.security.store.sql.domain.Action;
import br.com.anteros.spring.service.SpringSQLService;
/**
* Generated by Anteros Generator Maven Plugin at 23/10/2019 10:25:34
**/
@Service("actionService")
@Scope("prototype")
public class ActionServiceImpl extends SpringSQLService implements ActionService {
@Autowired
private ActionRepository actionRepository;
@Override
public Page getActionsBySystem(String system, PageRequest pageRequest, String fieldsToForceLazy, String sort) {
return actionRepository.getActionsBySystem(system, pageRequest, fieldsToForceLazy,sort);
}
}