Package org.apache.syncope.core.logic
Class ClientAppLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<ClientAppTO>
-
- org.apache.syncope.core.logic.ClientAppLogic
-
public class ClientAppLogic extends AbstractTransactionalLogic<ClientAppTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientAppDataBinderbinderprotected CASSPClientAppDAOcasSPClientAppDAOprotected ClientAppUtilsFactoryclientAppUtilsFactoryprotected OIDCRPClientAppDAOoidcRPClientAppDAOprotected SAML2SPClientAppDAOsaml2SPClientAppDAOprotected ServiceOpsserviceOps-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description ClientAppLogic(ServiceOps serviceOps, ClientAppUtilsFactory clientAppUtilsFactory, ClientAppDataBinder binder, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckType(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 ClientAppTOresolveReference(Method method, Object... args)<T extends ClientAppTO>
Tupdate(ClientAppType type, ClientAppTO clientAppTO)-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
serviceOps
protected final ServiceOps serviceOps
-
clientAppUtilsFactory
protected final ClientAppUtilsFactory clientAppUtilsFactory
-
binder
protected final ClientAppDataBinder binder
-
casSPClientAppDAO
protected final CASSPClientAppDAO casSPClientAppDAO
-
oidcRPClientAppDAO
protected final OIDCRPClientAppDAO oidcRPClientAppDAO
-
saml2SPClientAppDAO
protected final SAML2SPClientAppDAO saml2SPClientAppDAO
-
-
Constructor Detail
-
ClientAppLogic
public ClientAppLogic(ServiceOps serviceOps, ClientAppUtilsFactory clientAppUtilsFactory, ClientAppDataBinder binder, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO)
-
-
Method Detail
-
list
@PreAuthorize("hasRole(\'CLIENTAPP_LIST\')") public <T extends ClientAppTO> List<T> list(ClientAppType type)
-
checkType
protected void checkType(ClientAppType type, ClientAppUtils clientAppUtils)
-
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:
resolveReferencein classAbstractLogic<ClientAppTO>- Throws:
UnresolvedReferenceException
-
-