Package org.apache.syncope.core.logic
Class SyncopeLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<EntityTO>
-
- org.apache.syncope.core.logic.SyncopeLogic
-
@Transactional(readOnly=true) public class SyncopeLogic extends AbstractLogic<EntityTO>
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyTypeDAO
anyTypeDAO
protected AnyObjectWorkflowAdapter
awfAdapter
protected ConfParamOps
confParamOps
protected ContentExporter
exporter
protected GroupDAO
groupDAO
protected GroupDataBinder
groupDataBinder
protected GroupWorkflowAdapter
gwfAdapter
protected RealmDAO
realmDAO
protected AnySearchDAO
searchDAO
protected UserWorkflowAdapter
uwfAdapter
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description SyncopeLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, GroupDAO groupDAO, AnySearchDAO searchDAO, GroupDataBinder groupDataBinder, ConfParamOps confParamOps, ContentExporter exporter, UserWorkflowAdapter uwfAdapter, GroupWorkflowAdapter gwfAdapter, AnyObjectWorkflowAdapter awfAdapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportInternalStorageContent(OutputStream os)
boolean
isPwdResetAllowed()
boolean
isPwdResetRequiringSecurityQuestions()
boolean
isSelfRegAllowed()
TypeExtensionTO
readTypeExtension(String groupName)
protected EntityTO
resolveReference(Method method, Object... args)
Pair<Integer,List<GroupTO>>
searchAssignableGroups(String realm, String term, int page, int size)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
realmDAO
protected final RealmDAO realmDAO
-
anyTypeDAO
protected final AnyTypeDAO anyTypeDAO
-
groupDAO
protected final GroupDAO groupDAO
-
searchDAO
protected final AnySearchDAO searchDAO
-
groupDataBinder
protected final GroupDataBinder groupDataBinder
-
confParamOps
protected final ConfParamOps confParamOps
-
exporter
protected final ContentExporter exporter
-
uwfAdapter
protected final UserWorkflowAdapter uwfAdapter
-
gwfAdapter
protected final GroupWorkflowAdapter gwfAdapter
-
awfAdapter
protected final AnyObjectWorkflowAdapter awfAdapter
-
-
Constructor Detail
-
SyncopeLogic
public SyncopeLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, GroupDAO groupDAO, AnySearchDAO searchDAO, GroupDataBinder groupDataBinder, ConfParamOps confParamOps, ContentExporter exporter, UserWorkflowAdapter uwfAdapter, GroupWorkflowAdapter gwfAdapter, AnyObjectWorkflowAdapter awfAdapter)
-
-
Method Detail
-
isSelfRegAllowed
public boolean isSelfRegAllowed()
-
isPwdResetAllowed
public boolean isPwdResetAllowed()
-
isPwdResetRequiringSecurityQuestions
public boolean isPwdResetRequiringSecurityQuestions()
-
searchAssignableGroups
@PreAuthorize("isAuthenticated()") public Pair<Integer,List<GroupTO>> searchAssignableGroups(String realm, String term, int page, int size)
-
readTypeExtension
@PreAuthorize("isAuthenticated()") public TypeExtensionTO readTypeExtension(String groupName)
-
exportInternalStorageContent
@PreAuthorize("hasRole(\'KEYMASTER\')") @Transactional(readOnly=true) public void exportInternalStorageContent(OutputStream os)
-
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<EntityTO>
- Throws:
UnresolvedReferenceException
-
-