@RestController @RequestMapping(value="/v1/securitySession") public class SecuritySessionResource extends br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecuritySession,Long>
| Modifier and Type | Field and Description |
|---|---|
protected br.com.anteros.security.spring.AnterosSecurityManager |
anterosSecurityManager |
| Constructor and Description |
|---|
SecuritySessionResource() |
| Modifier and Type | Method and Description |
|---|---|
protected List<br.com.anteros.security.store.sql.domain.SecuritySession> |
createConcreteList(List<br.com.anteros.security.store.sql.domain.SecuritySession> result) |
protected br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.SecuritySession> |
createConcretePage(List<br.com.anteros.security.store.sql.domain.SecuritySession> 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.SecuritySession,Long> |
getService() |
List<br.com.anteros.security.store.sql.domain.SecuritySession> |
getSessionsBySystem(String system)
Busca as sessões de 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.SecuritySession,Long> getService()
getService in class br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecuritySession,Long>protected br.com.anteros.persistence.session.repository.Page<br.com.anteros.security.store.sql.domain.SecuritySession> createConcretePage(List<br.com.anteros.security.store.sql.domain.SecuritySession> 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.SecuritySession,Long>protected List<br.com.anteros.security.store.sql.domain.SecuritySession> createConcreteList(List<br.com.anteros.security.store.sql.domain.SecuritySession> result)
createConcreteList in class br.com.anteros.spring.web.resource.AbstractSQLResourceRest<br.com.anteros.security.store.sql.domain.SecuritySession,Long>@RequestMapping(value="/getSessionsBySystem/{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.SecuritySession> getSessionsBySystem(@PathVariable(value="system")
String system)
throws Exception
system - SistemaExceptionCopyright © 2020 Anteros Tecnologia. All rights reserved.