@Repository(value="blCrossAppAuthDao") public class CrossAppAuthDaoImpl extends Object implements CrossAppAuthDao
CrossAppAuthDao| Modifier and Type | Field and Description |
|---|---|
protected javax.persistence.EntityManager |
em |
protected org.broadleafcommerce.common.persistence.EntityConfiguration |
entityConfiguration |
| Constructor and Description |
|---|
CrossAppAuthDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
CrossAppAuthDetail |
readByUserAndToken(Long userId,
String token)
Returns a
CrossAppAuthDetail for the given userId and token. |
CrossAppAuthDetail |
readByUserId(Long userId)
Returns a
CrossAppAuthDetail for the given userId |
CrossAppAuthDetail |
saveDetail(CrossAppAuthDetail detail)
Persists the given
CrossAppAuthDetail |
protected javax.persistence.EntityManager em
protected org.broadleafcommerce.common.persistence.EntityConfiguration entityConfiguration
public CrossAppAuthDetail saveDetail(CrossAppAuthDetail detail)
CrossAppAuthDaoCrossAppAuthDetailsaveDetail in interface CrossAppAuthDaopublic CrossAppAuthDetail readByUserId(Long userId)
CrossAppAuthDaoCrossAppAuthDetail for the given userIdreadByUserId in interface CrossAppAuthDaopublic CrossAppAuthDetail readByUserAndToken(Long userId, String token)
CrossAppAuthDaoCrossAppAuthDetail for the given userId and token. This method will only return
CrossAppAuthDetails that have not been marked as used.readByUserAndToken in interface CrossAppAuthDaoCopyright © 2021. All rights reserved.