Package org.apache.syncope.core.logic
Class ClientAppLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<ClientAppTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<ClientAppTO>
org.apache.syncope.core.logic.ClientAppLogic
-
Field Summary
Modifier and TypeFieldDescriptionprotected final ClientAppDataBinder
protected final CASSPClientAppDAO
protected final ClientAppUtilsFactory
protected final OIDCRPClientAppDAO
protected final SAML2SPClientAppDAO
protected final ServiceOps
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionClientAppLogic
(ServiceOps serviceOps, ClientAppUtilsFactory clientAppUtilsFactory, ClientAppDataBinder binder, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkType
(ClientAppType type, ClientAppUtils clientAppUtils) <T extends ClientAppTO>
Tcreate
(ClientAppType type, ClientAppTO clientAppTO) <T extends ClientAppTO>
Tdelete
(ClientAppType type, String key) <T extends ClientAppTO>
List<T> list
(ClientAppType type) <T extends ClientAppTO>
Tread
(ClientAppType type, String key) protected ClientAppTO
resolveReference
(Method method, Object... args) <T extends ClientAppTO>
Tupdate
(ClientAppType type, ClientAppTO clientAppTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
serviceOps
-
clientAppUtilsFactory
-
binder
-
casSPClientAppDAO
-
oidcRPClientAppDAO
-
saml2SPClientAppDAO
-
-
Constructor Details
-
ClientAppLogic
public ClientAppLogic(ServiceOps serviceOps, ClientAppUtilsFactory clientAppUtilsFactory, ClientAppDataBinder binder, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO)
-
-
Method Details
-
list
@PreAuthorize("hasRole(\'CLIENTAPP_LIST\')") public <T extends ClientAppTO> List<T> list(ClientAppType type) -
checkType
-
read
@PreAuthorize("hasRole(\'CLIENTAPP_READ\')") @Transactional(readOnly=true) public <T extends ClientAppTO> T read(ClientAppType type, String key) -
create
@PreAuthorize("hasRole(\'CLIENTAPP_CREATE\')") public <T extends ClientAppTO> T create(ClientAppType type, ClientAppTO clientAppTO) -
update
@PreAuthorize("hasRole(\'CLIENTAPP_CREATE\')") public <T extends ClientAppTO> T update(ClientAppType type, ClientAppTO clientAppTO) -
delete
@PreAuthorize("hasRole(\'CLIENTAPP_DELETE\')") public <T extends ClientAppTO> T delete(ClientAppType type, String key) -
resolveReference
protected ClientAppTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReference
in classAbstractLogic<ClientAppTO>
- Throws:
UnresolvedReferenceException
-