public class JiraRememberMeTokenDao extends Object implements com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
RememberMeService
integrationModifier and Type | Class and Description |
---|---|
static class |
JiraRememberMeTokenDao.Columns |
Constructor and Description |
---|
JiraRememberMeTokenDao(OfBizDelegator delegator,
com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration) |
JiraRememberMeTokenDao(OfBizDelegator delegator,
com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration,
com.atlassian.core.util.Clock clock,
UserKeyService userKeyService) |
Modifier and Type | Method and Description |
---|---|
long |
countAll() |
com.atlassian.seraph.service.rememberme.RememberMeToken |
findById(Long tokenId) |
List<com.atlassian.seraph.service.rememberme.RememberMeToken> |
findForUserName(String userName) |
void |
remove(Long tokenId) |
void |
removeAll() |
void |
removeAllForUser(String username) |
com.atlassian.seraph.service.rememberme.RememberMeToken |
save(com.atlassian.seraph.service.rememberme.RememberMeToken token) |
public static final String TABLE
public JiraRememberMeTokenDao(OfBizDelegator delegator, com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration)
public JiraRememberMeTokenDao(OfBizDelegator delegator, com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration, com.atlassian.core.util.Clock clock, UserKeyService userKeyService)
public long countAll()
public com.atlassian.seraph.service.rememberme.RememberMeToken findById(Long tokenId)
findById
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public List<com.atlassian.seraph.service.rememberme.RememberMeToken> findForUserName(String userName)
findForUserName
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public com.atlassian.seraph.service.rememberme.RememberMeToken save(com.atlassian.seraph.service.rememberme.RememberMeToken token)
save
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void remove(Long tokenId)
remove
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void removeAllForUser(String username)
removeAllForUser
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void removeAll()
removeAll
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
Copyright © 2002-2017 Atlassian. All Rights Reserved.