com.atomizesoftware.spin.managers.UserManagerComponent

UserManager

class UserManager extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. UserManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new UserManager()

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createGroup(group: Group)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Group

    Creates a group and then the specified associations.

    Creates a group and then the specified associations.

    returns

    a com.atomizesoftware.spin.models.Group if successful.

    Exceptions thrown
    InternalErrorException

    if the group could not be created or if it failed to create the associations.

  7. def createLanguage(language: Language)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Language

    Creates a language.

    Creates a language.

    returns

    a com.atomizesoftware.spin.models.Language if successful.

    Exceptions thrown
    InternalErrorException

    if the language could not be created.

  8. def createMenu(menu: Menu)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Menu

    Creates a menu and then the specified associations.

    Creates a menu and then the specified associations.

    returns

    a com.atomizesoftware.spin.models.Menu if successful.

    Exceptions thrown
    InternalErrorException

    if the menu could not be created or if it failed to create the associations.

  9. def createPermission(permission: Permission)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Permission

    Creates a permission and then the specified associations.

    Creates a permission and then the specified associations.

    returns

    a com.atomizesoftware.spin.models.Permission.

    Exceptions thrown
    InternalErrorException

    if the permission could not be created or if it failed to create the associations.

  10. def createUser(user: User)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): User

    Creates a user after encrypting its password and takes care of creating the specified associations

    Creates a user after encrypting its password and takes care of creating the specified associations

    returns

    a com.atomizesoftware.spin.models.User if successful

    Exceptions thrown
    InternalErrorException

    if the user could not be created or if it failed to create the associations.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def generateApiKey()(implicit s: scala.slick.jdbc.JdbcBackend.Session): String

    Generate a random Api Key.

    Generate a random Api Key.

    returns

    the generated api key.

    Annotations
    @tailrec()
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toString(): String

    Definition Classes
    AnyRef → Any
  23. def updateGroup(group: Group)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the group and then tries to update its associations.

  24. def updateLanguage(language: Language)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the language.

    Updates the language.

    returns

    true if successful, false otherwise.

  25. def updateMenu(menu: Menu)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the menu and then tries to update its associations.

    Updates the menu and then tries to update its associations.

    returns

    true if successful, false otherwise.

  26. def updatePermission(permission: Permission)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the permission and the tries to update its associations.

    Updates the permission and the tries to update its associations.

    returns

    true if successful, false otherwise

  27. def updateUser(user: User)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates the user and then tries to update its associations

  28. def updateUsers(users: List[User])(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates several users taking into account the fields to update.

  29. def validateLoginFor(user: User, password: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Verifies if the login credentials match the user

    Verifies if the login credentials match the user

    Converts the password string from the request in an MD5 string and compares it with the one stored in the database If it doesn't match, the user gets one more wrong password, if he reaches 3 wrongPassword counts he will no longer be active. If the password matches the wrongPassword count is reset.

    user

    to verify against

    password

    to check

  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped