All Downloads are FREE. Search and download functionalities are using the official Maven repository.

br.com.anteros.commons.services.rest.service.impl.ResourceServiceImpl Maven / Gradle / Ivy

There is a newer version: 1.0.86
Show 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.ResourceRepository;
import br.com.anteros.commons.services.rest.service.ResourceService;
import br.com.anteros.persistence.dsl.osql.types.OrderSpecifier;
import br.com.anteros.persistence.session.repository.Page;
import br.com.anteros.persistence.session.repository.PageRequest;
import br.com.anteros.security.store.sql.domain.Resource;
import br.com.anteros.spring.service.SpringSQLService;

/**
*  Generated by Anteros Generator Maven Plugin at 23/10/2019 10:25:34
**/

@Service("resourceService")
@Scope("prototype")
public class ResourceServiceImpl extends SpringSQLService implements ResourceService {

	@Autowired
	private ResourceRepository resourceRepository;
	
	@Override
	public Page getResourcesBySystem(String system,PageRequest pageRequest, String fieldsToForceLazy, String sort) {
		return resourceRepository.getResourcesBySystem(system, pageRequest,fieldsToForceLazy,sort);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy