|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TokenDAOPersistence
Provides methods for loading and saving tokens. Used when swapping TokenDAO implementations at runtime.
| Method Summary | |
|---|---|
java.util.Collection<Token> |
loadAll()
Used when switching implementations. |
void |
removeAll()
Wipes all tokens from the store. |
void |
saveAll(java.util.Collection<Token> tokens)
Used when switching implementations. |
| Methods inherited from interface com.atlassian.crowd.model.token.TokenDAO |
|---|
add, findByID, findByIdentifierHash, findByRandomHash, remove, remove, removeAccessedBefore, removeAll, search, update |
| Methods inherited from interface com.atlassian.crowd.util.persistence.hibernate.ObjectDao |
|---|
getPersistentClass, load, remove, save, update |
| Method Detail |
|---|
java.util.Collection<Token> loadAll()
TokenDAOProxy
org.springframework.dao.DataAccessException - If the tokens could not be retrieved.void saveAll(java.util.Collection<Token> tokens)
TokenDAOProxy
tokens - all tokens to add.
org.springframework.dao.DataAccessExceptionvoid removeAll()
removeAll in interface TokenDAOorg.springframework.dao.DataAccessException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||