Package org.apache.syncope.core.logic
Class SRARouteLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<SRARouteTO>
-
- org.apache.syncope.core.logic.SRARouteLogic
-
public class SRARouteLogic extends AbstractTransactionalLogic<SRARouteTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected SRARouteDataBinder
binder
protected EntityFactory
entityFactory
protected SRARouteDAO
routeDAO
protected SecurityProperties
securityProperties
protected ServiceOps
serviceOps
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description SRARouteLogic(SRARouteDAO routeDAO, SRARouteDataBinder binder, EntityFactory entityFactory, ServiceOps serviceOps, SecurityProperties securityProperties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SRARouteTO
create(SRARouteTO routeTO)
SRARouteTO
delete(String key)
List<SRARouteTO>
list()
void
pushToSRA()
SRARouteTO
read(String key)
protected SRARouteTO
resolveReference(Method method, Object... args)
SRARouteTO
update(SRARouteTO routeTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
routeDAO
protected final SRARouteDAO routeDAO
-
binder
protected final SRARouteDataBinder binder
-
entityFactory
protected final EntityFactory entityFactory
-
serviceOps
protected final ServiceOps serviceOps
-
securityProperties
protected final SecurityProperties securityProperties
-
-
Constructor Detail
-
SRARouteLogic
public SRARouteLogic(SRARouteDAO routeDAO, SRARouteDataBinder binder, EntityFactory entityFactory, ServiceOps serviceOps, SecurityProperties securityProperties)
-
-
Method Detail
-
list
@PreAuthorize("isAuthenticated()") public List<SRARouteTO> list()
-
create
@PreAuthorize("hasRole(\'SRA_ROUTE_CREATE\')") public SRARouteTO create(SRARouteTO routeTO)
-
read
@PreAuthorize("isAuthenticated()") public SRARouteTO read(String key)
-
update
@PreAuthorize("hasRole(\'SRA_ROUTE_UPDATE\')") public SRARouteTO update(SRARouteTO routeTO)
-
delete
@PreAuthorize("hasRole(\'SRA_ROUTE_DELETE\')") public SRARouteTO delete(String key)
-
pushToSRA
@PreAuthorize("hasRole(\'SRA_ROUTE_PUSH\')") public void pushToSRA()
-
resolveReference
protected SRARouteTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<SRARouteTO>
- Throws:
UnresolvedReferenceException
-
-