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 AnySearchDAOanySearchDAOprotected AnyTypeDAOanyTypeDAOprotected ConfParamOpsconfParamOpsprotected ContentExporterexporterprotected GroupDAOgroupDAOprotected GroupDataBindergroupDataBinderprotected RealmDAOrealmDAO- 
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SyncopeLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, GroupDataBinder groupDataBinder, ConfParamOps confParamOps, ContentExporter exporter) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexportInternalStorageContent(int tableThreshold, OutputStream os)booleanisPwdResetAllowed()booleanisPwdResetRequiringSecurityQuestions()booleanisSelfRegAllowed()TypeExtensionTOreadTypeExtension(String groupName)protected EntityTOresolveReference(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
 
- 
anySearchDAO
protected final AnySearchDAO anySearchDAO
 
- 
groupDataBinder
protected final GroupDataBinder groupDataBinder
 
- 
confParamOps
protected final ConfParamOps confParamOps
 
- 
exporter
protected final ContentExporter exporter
 
 - 
 
- 
Constructor Detail
- 
SyncopeLogic
public SyncopeLogic(RealmDAO realmDAO, AnyTypeDAO anyTypeDAO, GroupDAO groupDAO, AnySearchDAO anySearchDAO, GroupDataBinder groupDataBinder, ConfParamOps confParamOps, ContentExporter exporter)
 
 - 
 
- 
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(int tableThreshold, OutputStream os)
 
- 
resolveReference
protected EntityTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
 resolveReferencein classAbstractLogic<EntityTO>- Throws:
 UnresolvedReferenceException
 
 - 
 
 -