@RestController @RequestMapping(value="/v1/securityAccess") public class SecurityAccessResource extends br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecurityAccess,Long>
| Modifier and Type | Field and Description |
|---|---|
protected br.com.anteros.security.spring.AnterosSecurityManager |
anterosSecurityManager |
| Constructor and Description |
|---|
SecurityAccessResource() |
| Modifier and Type | Method and Description |
|---|---|
protected List<br.com.anteros.security.store.sql.domain.SecurityAccess> |
createConcreteList(List<br.com.anteros.security.store.sql.domain.SecurityAccess> result) |
protected br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.SecurityAccess> |
createConcretePage(List<br.com.anteros.security.store.sql.domain.SecurityAccess> content,
br.com.anteros.persistence.session.repository.PageRequest pageRequest,
long totalElements) |
br.com.anteros.persistence.session.service.SQLService<br.com.anteros.security.store.sql.domain.SecurityAccess,Long> |
getService() |
List<br.com.anteros.security.store.sql.domain.SecurityAccess> |
getSessionsBySystem(String system)
Busca os terminais/horário de acesso de um usuário em um sistema
|
@Autowired @Lazy protected br.com.anteros.security.spring.AnterosSecurityManager anterosSecurityManager
public br.com.anteros.persistence.session.service.SQLService<br.com.anteros.security.store.sql.domain.SecurityAccess,Long> getService()
getService in class br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecurityAccess,Long>protected br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.SecurityAccess> createConcretePage(List<br.com.anteros.security.store.sql.domain.SecurityAccess> content, br.com.anteros.persistence.session.repository.PageRequest pageRequest, long totalElements)
createConcretePage in class br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecurityAccess,Long>protected List<br.com.anteros.security.store.sql.domain.SecurityAccess> createConcreteList(List<br.com.anteros.security.store.sql.domain.SecurityAccess> result)
createConcreteList in class br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecurityAccess,Long>@RequestMapping(value="/getSecurityAccessBySystem/{system}",
method=GET)
@ResponseStatus(value=OK)
@ResponseBody
@Transactional(rollbackFor=java.lang.Throwable.class,
propagation=REQUIRED,
readOnly=true,
transactionManager="transactionManagerSQL")
public List<br.com.anteros.security.store.sql.domain.SecurityAccess> getSessionsBySystem(@PathVariable(value="system")
String system)
throws Exception
system - SistemaExceptionCopyright © 2020 Anteros Tecnologia. All rights reserved.