Package org.apache.syncope.core.logic
Class RealmLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<RealmTO>
-
- org.apache.syncope.core.logic.RealmLogic
-
public class RealmLogic extends AbstractTransactionalLogic<RealmTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected RealmDataBinder
binder
protected CASSPClientAppDAO
casSPClientAppDAO
protected OIDCRPClientAppDAO
oidcRPClientAppDAO
protected PropagationManager
propagationManager
protected RealmDAO
realmDAO
protected SAML2SPClientAppDAO
saml2SPClientAppDAO
protected AnySearchDAO
searchDAO
protected TaskDAO
taskDAO
protected PropagationTaskExecutor
taskExecutor
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description RealmLogic(RealmDAO realmDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProvisioningResult<RealmTO>
create(String parentPath, RealmTO realmTO)
ProvisioningResult<RealmTO>
delete(String fullPath)
protected RealmTO
resolveReference(Method method, Object... args)
Pair<Integer,List<RealmTO>>
search(String keyword, String base, int page, int size)
ProvisioningResult<RealmTO>
update(RealmTO realmTO)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
realmDAO
protected final RealmDAO realmDAO
-
searchDAO
protected final AnySearchDAO searchDAO
-
taskDAO
protected final TaskDAO taskDAO
-
casSPClientAppDAO
protected final CASSPClientAppDAO casSPClientAppDAO
-
oidcRPClientAppDAO
protected final OIDCRPClientAppDAO oidcRPClientAppDAO
-
saml2SPClientAppDAO
protected final SAML2SPClientAppDAO saml2SPClientAppDAO
-
binder
protected final RealmDataBinder binder
-
propagationManager
protected final PropagationManager propagationManager
-
taskExecutor
protected final PropagationTaskExecutor taskExecutor
-
-
Constructor Detail
-
RealmLogic
public RealmLogic(RealmDAO realmDAO, AnySearchDAO searchDAO, TaskDAO taskDAO, CASSPClientAppDAO casSPClientAppDAO, OIDCRPClientAppDAO oidcRPClientAppDAO, SAML2SPClientAppDAO saml2SPClientAppDAO, RealmDataBinder binder, PropagationManager propagationManager, PropagationTaskExecutor taskExecutor)
-
-
Method Detail
-
search
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public Pair<Integer,List<RealmTO>> search(String keyword, String base, int page, int size)
-
create
@PreAuthorize("hasRole(\'REALM_CREATE\')") public ProvisioningResult<RealmTO> create(String parentPath, RealmTO realmTO)
-
update
@PreAuthorize("hasRole(\'REALM_UPDATE\')") public ProvisioningResult<RealmTO> update(RealmTO realmTO)
-
delete
@PreAuthorize("hasRole(\'REALM_DELETE\')") public ProvisioningResult<RealmTO> delete(String fullPath)
-
resolveReference
protected RealmTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<RealmTO>
- Throws:
UnresolvedReferenceException
-
-