Package org.apache.syncope.core.logic
Class SecurityQuestionLogic
java.lang.Object
org.apache.syncope.core.logic.AbstractLogic<SecurityQuestionTO>
org.apache.syncope.core.logic.AbstractTransactionalLogic<SecurityQuestionTO>
org.apache.syncope.core.logic.SecurityQuestionLogic
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final SecurityQuestionDataBinderprotected final SecurityQuestionDAOprotected final UserDAOFields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG -
Constructor Summary
ConstructorsConstructorDescriptionSecurityQuestionLogic(SecurityQuestionDAO securityQuestionDAO, UserDAO userDAO, SecurityQuestionDataBinder binder) -
Method Summary
Modifier and TypeMethodDescriptioncreate(SecurityQuestionTO securityQuestionTO) list()readByUser(String username) protected SecurityQuestionTOresolveReference(Method method, Object... args) update(SecurityQuestionTO securityQuestionTO) Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
Field Details
-
securityQuestionDAO
-
userDAO
-
binder
-
-
Constructor Details
-
SecurityQuestionLogic
public SecurityQuestionLogic(SecurityQuestionDAO securityQuestionDAO, UserDAO userDAO, SecurityQuestionDataBinder binder)
-
-
Method Details
-
list
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public List<SecurityQuestionTO> list() -
read
@PreAuthorize("hasRole(\'SECURITY_QUESTION_READ\')") @Transactional(readOnly=true) public SecurityQuestionTO read(String key) -
create
@PreAuthorize("hasRole(\'SECURITY_QUESTION_CREATE\')") public SecurityQuestionTO create(SecurityQuestionTO securityQuestionTO) -
update
@PreAuthorize("hasRole(\'SECURITY_QUESTION_UPDATE\')") public SecurityQuestionTO update(SecurityQuestionTO securityQuestionTO) -
delete
-
readByUser
-
resolveReference
protected SecurityQuestionTO resolveReference(Method method, Object... args) throws UnresolvedReferenceException - Specified by:
resolveReferencein classAbstractLogic<SecurityQuestionTO>- Throws:
UnresolvedReferenceException
-