
s.Anteros-Generator-Core.1.0.0.source-code.restController.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-Generator-Core Show documentation
Show all versions of Anteros-Generator-Core Show documentation
Anteros Generator Core for Java.
package ${packageName};
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import ${importEntity};
import ${importService};
import br.com.anteros.persistence.session.service.SQLService;
import br.com.anteros.security.spring.AnterosSecurityService;
import br.com.anteros.springWeb.controller.AbstractSQLRestController;
/**
* Generated by Anteros Generator Maven Plugin at ${time}
**/
@RestController
@RequestMapping(value = "${requestMapping}")
public class ${controller} extends AbstractSQLRestController<${entityType}, Long> {
@Autowired
private ${interfaceService} ${service};
@Autowired
protected AnterosSecurityService anterosSecurityService;
@Override
public SQLService<${entityType}, Long> getService() {
return ${service};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy