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
Modifier and TypeFieldDescriptionprotected final SecurityQuestionDataBinder
protected final SecurityQuestionDAO
protected final UserDAO
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
Constructor Summary
ConstructorDescriptionSecurityQuestionLogic
(SecurityQuestionDAO securityQuestionDAO, UserDAO userDAO, SecurityQuestionDataBinder binder) -
Method Summary
Modifier and TypeMethodDescriptioncreate
(SecurityQuestionTO securityQuestionTO) list()
readByUser
(String username) protected SecurityQuestionTO
resolveReference
(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:
resolveReference
in classAbstractLogic<SecurityQuestionTO>
- Throws:
UnresolvedReferenceException
-