Package org.silverpeas.mobile.server.dao.token

## Class JDBCTokenDAO

- java.lang.Object
- - org.silverpeas.mobile.server.dao.token.JDBCTokenDAO

- All Implemented Interfaces:
    `TokenDAO`

      @Named("tokenDAO")
      public class JDBCTokenDAO
      extends Object
      implements TokenDAO

  Author:
    svu

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `JDBCTokenDAO()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `List<String>` | `getTokens​(String userId)` |
    `void` | `removeToken​(String userId, String token)` |
    `void` | `saveToken​(String userId, String token)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JDBCTokenDAO

          public JDBCTokenDAO()

  - ### Method Detail

    - #### saveToken

          public void saveToken​(String userId,
                                String token)

      Specified by:
        `saveToken` in interface `TokenDAO`

    - #### removeToken

          public void removeToken​(String userId,
                                  String token)

      Specified by:
        `removeToken` in interface `TokenDAO`

    - #### getTokens

          public List<String> getTokens​(String userId)

      Specified by:
        `getTokens` in interface `TokenDAO`