Package 

Interface IUserStorage


  • 
    public interface IUserStorage
    
                        

    Provide operation interface for local storage of user information.

    • Method Summary

      Modifier and Type Method Description
      abstract boolean store(UserĀ user) Store the user locally.
      abstract User load() Load user.
      abstract boolean remove() Clear the user stored locally.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • store

         abstract boolean store(UserĀ user)

        Store the user locally.

        Parameters:
        user - the User that needs to be stored locally
      • load

         abstract User load()

        Load user.

      • remove

         abstract boolean remove()

        Clear the user stored locally.