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
FieldsFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionNetworkServiceLogic(NetworkServiceDAO serviceDAO, EntityFactory entityFactory) -
Method Summary
Modifier and TypeMethodDescriptionget(NetworkService.Type serviceType) list(NetworkService.Type serviceType) voidregister(NetworkService networkService) protected EntityTOresolveReference(Method method, Object... args) protected NetworkServicetoNetworkService(NetworkService.Type serviceType, NetworkServiceEntity service) voidunregister(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:
resolveReferencein classAbstractLogic<EntityTO>
-