Package org.apache.syncope.core.logic
Class NetworkServiceLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<EntityTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<EntityTO>
org.apache.syncope.core.logic.NetworkServiceLogic
-
Field Summary
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionNetworkServiceLogic
(NetworkServiceDAO serviceDAO, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionget
(NetworkService.Type serviceType) list
(NetworkService.Type serviceType) void
register
(NetworkService networkService) protected EntityTO
resolveReference
(Method method, Object... args) protected NetworkService
toNetworkService
(NetworkService.Type serviceType, NetworkServiceEntity service) void
unregister
(NetworkService networkService) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
serviceDAO
-
entityFactory
-
-
Constructor Details
-
NetworkServiceLogic
-
-
Method Details
-
toNetworkService
protected NetworkService toNetworkService(NetworkService.Type serviceType, NetworkServiceEntity service) -
list
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") @Transactional(readOnly=true) public List<NetworkService> list(NetworkService.Type serviceType) -
get
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") @Transactional(readOnly=true) public NetworkService get(NetworkService.Type serviceType) -
register
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void register(NetworkService networkService) -
unregister
@PreAuthorize("@environment.getProperty(\'keymaster.username\') == authentication.name") public void unregister(NetworkService networkService) -
resolveReference
- Specified by:
resolveReference
in classAbstractLogic<EntityTO>
-