Package org.exoplatform.mfa.storage
Class MfaStorage
- java.lang.Object
-
- org.exoplatform.mfa.storage.MfaStorage
-
public class MfaStorage extends Object
Storage service to access / load and save applications. This service will be used , as well, to convert from JPA entity to DTO.
-
-
Constructor Summary
Constructors Constructor Description MfaStorage(RevocationRequestDAO revocationRequestDAO)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcountByUsernameAndType(String username, String type)RevocationRequestcreateRevocationRequest(RevocationRequest revocationRequest)voiddeleteById(Long id)voiddeleteRevocationRequest(String username, String type)List<RevocationRequest>findAll()RevocationRequestfindById(Long id)
-
-
-
Constructor Detail
-
MfaStorage
public MfaStorage(RevocationRequestDAO revocationRequestDAO)
-
-
Method Detail
-
createRevocationRequest
public RevocationRequest createRevocationRequest(RevocationRequest revocationRequest)
-
findById
public RevocationRequest findById(Long id)
-
findAll
public List<RevocationRequest> findAll()
-
deleteById
public void deleteById(Long id)
-
-