controllers

Users

class Users extends SecuredController

Manage users.

Linear Supertypes
SecuredController, Controller, Rendering, RequestExtractors, AcceptExtractors, ContentTypes, HeaderNames, play.api.http.Status, HttpProtocol, BodyParsers, Results, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Users
  2. SecuredController
  3. Controller
  4. Rendering
  5. RequestExtractors
  6. AcceptExtractors
  7. ContentTypes
  8. HeaderNames
  9. Status
  10. HttpProtocol
  11. BodyParsers
  12. Results
  13. AnyRef
  14. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Users(users: UserService, appConfig: AppConfigurationService)

    Annotations
    @Inject()

Type Members

  1. class Status extends SimpleResult

    Definition Classes
    Results

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. val ACCEPT: String

    Definition Classes
    HeaderNames
  7. val ACCEPTED: Int

    Definition Classes
    Status
  8. val ACCEPT_CHARSET: String

    Definition Classes
    HeaderNames
  9. val ACCEPT_ENCODING: String

    Definition Classes
    HeaderNames
  10. val ACCEPT_LANGUAGE: String

    Definition Classes
    HeaderNames
  11. val ACCEPT_RANGES: String

    Definition Classes
    HeaderNames
  12. val ACCESS_CONTROL_ALLOW_CREDENTIALS: String

    Definition Classes
    HeaderNames
  13. val ACCESS_CONTROL_ALLOW_HEADERS: String

    Definition Classes
    HeaderNames
  14. val ACCESS_CONTROL_ALLOW_METHODS: String

    Definition Classes
    HeaderNames
  15. val ACCESS_CONTROL_ALLOW_ORIGIN: String

    Definition Classes
    HeaderNames
  16. val ACCESS_CONTROL_EXPOSE_HEADERS: String

    Definition Classes
    HeaderNames
  17. val ACCESS_CONTROL_MAX_AGE: String

    Definition Classes
    HeaderNames
  18. val ACCESS_CONTROL_REQUEST_HEADERS: String

    Definition Classes
    HeaderNames
  19. val ACCESS_CONTROL_REQUEST_METHOD: String

    Definition Classes
    HeaderNames
  20. val AGE: String

    Definition Classes
    HeaderNames
  21. val ALLOW: String

    Definition Classes
    HeaderNames
  22. val AUTHORIZATION: String

    Definition Classes
    HeaderNames
  23. val Accepted: Status

    Definition Classes
    Results
  24. def AuthenticatedAction: ActionBuilder[UserRequest]

    call code iff user is logged in

    call code iff user is logged in

    Definition Classes
    SecuredController
  25. val BAD_GATEWAY: Int

    Definition Classes
    Status
  26. val BAD_REQUEST: Int

    Definition Classes
    Status
  27. val BINARY: String

    Definition Classes
    ContentTypes
  28. val BadGateway: Status

    Definition Classes
    Results
  29. val BadRequest: Status

    Definition Classes
    Results
  30. val CACHE_CONTROL: String

    Definition Classes
    HeaderNames
  31. val CHUNKED: String

    Definition Classes
    HttpProtocol
  32. val CONFLICT: Int

    Definition Classes
    Status
  33. val CONNECTION: String

    Definition Classes
    HeaderNames
  34. val CONTENT_DISPOSITION: String

    Definition Classes
    HeaderNames
  35. val CONTENT_ENCODING: String

    Definition Classes
    HeaderNames
  36. val CONTENT_LANGUAGE: String

    Definition Classes
    HeaderNames
  37. val CONTENT_LENGTH: String

    Definition Classes
    HeaderNames
  38. val CONTENT_LOCATION: String

    Definition Classes
    HeaderNames
  39. val CONTENT_MD5: String

    Definition Classes
    HeaderNames
  40. val CONTENT_RANGE: String

    Definition Classes
    HeaderNames
  41. val CONTENT_TRANSFER_ENCODING: String

    Definition Classes
    HeaderNames
  42. val CONTENT_TYPE: String

    Definition Classes
    HeaderNames
  43. val CONTINUE: Int

    Definition Classes
    Status
  44. val COOKIE: String

    Definition Classes
    HeaderNames
  45. val CREATED: Int

    Definition Classes
    Status
  46. def CSS(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  47. val Conflict: Status

    Definition Classes
    Results
  48. val Created: Status

    Definition Classes
    Results
  49. val DATE: String

    Definition Classes
    HeaderNames
  50. val DefaultDuration: Int

  51. def DisabledAction: ActionBuilder[UserRequest]

    Disable a route without having to comment out the entry in the routes file.

    Disable a route without having to comment out the entry in the routes file. Useful for when we want to keep the code around but we don't want users to have access to it.

    Definition Classes
    SecuredController
  52. val ETAG: String

    Definition Classes
    HeaderNames
  53. def EVENT_STREAM(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  54. val EXPECT: String

    Definition Classes
    HeaderNames
  55. val EXPECTATION_FAILED: Int

    Definition Classes
    Status
  56. val EXPIRES: String

    Definition Classes
    HeaderNames
  57. val Email: String

  58. val EntityTooLarge: Status

    Definition Classes
    Results
  59. val ExpectationFailed: Status

    Definition Classes
    Results
  60. val FAILED_DEPENDENCY: Int

    Definition Classes
    Status
  61. val FORBIDDEN: Int

    Definition Classes
    Status
  62. def FORM(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  63. val FOUND: Int

    Definition Classes
    Status
  64. val FROM: String

    Definition Classes
    HeaderNames
  65. val FailedDependency: Status

    Definition Classes
    Results
  66. val Forbidden: Status

    Definition Classes
    Results
  67. def Found(url: String): SimpleResult

    Definition Classes
    Results
  68. val GATEWAY_TIMEOUT: Int

    Definition Classes
    Status
  69. val GONE: Int

    Definition Classes
    Status
  70. val GatewayTimeout: Status

    Definition Classes
    Results
  71. val Gone: Status

    Definition Classes
    Results
  72. val HOST: String

    Definition Classes
    HeaderNames
  73. def HTML(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  74. val HTTP_1_0: String

    Definition Classes
    HttpProtocol
  75. val HTTP_1_1: String

    Definition Classes
    HttpProtocol
  76. val HTTP_VERSION_NOT_SUPPORTED: Int

    Definition Classes
    Status
  77. val HttpVersionNotSupported: Status

    Definition Classes
    Results
  78. val IF_MATCH: String

    Definition Classes
    HeaderNames
  79. val IF_MODIFIED_SINCE: String

    Definition Classes
    HeaderNames
  80. val IF_NONE_MATCH: String

    Definition Classes
    HeaderNames
  81. val IF_RANGE: String

    Definition Classes
    HeaderNames
  82. val IF_UNMODIFIED_SINCE: String

    Definition Classes
    HeaderNames
  83. val INSUFFICIENT_STORAGE: Int

    Definition Classes
    Status
  84. val INTERNAL_SERVER_ERROR: Int

    Definition Classes
    Status
  85. val InsufficientStorage: Status

    Definition Classes
    Results
  86. val InternalServerError: Status

    Definition Classes
    Results
  87. def JAVASCRIPT(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  88. def JSON(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  89. val LAST_MODIFIED: String

    Definition Classes
    HeaderNames
  90. val LENGTH_REQUIRED: Int

    Definition Classes
    Status
  91. val LOCATION: String

    Definition Classes
    HeaderNames
  92. val LOCKED: Int

    Definition Classes
    Status
  93. val Locked: Status

    Definition Classes
    Results
  94. val MAX_FORWARDS: String

    Definition Classes
    HeaderNames
  95. val METHOD_NOT_ALLOWED: Int

    Definition Classes
    Status
  96. val MOVED_PERMANENTLY: Int

    Definition Classes
    Status
  97. val MULTIPLE_CHOICES: Int

    Definition Classes
    Status
  98. val MULTI_STATUS: Int

    Definition Classes
    Status
  99. val MethodNotAllowed: Status

    Definition Classes
    Results
  100. def MovedPermanently(url: String): SimpleResult

    Definition Classes
    Results
  101. val MultiStatus: Status

    Definition Classes
    Results
  102. val NON_AUTHORITATIVE_INFORMATION: Int

    Definition Classes
    Status
  103. val NOT_ACCEPTABLE: Int

    Definition Classes
    Status
  104. val NOT_FOUND: Int

    Definition Classes
    Status
  105. val NOT_IMPLEMENTED: Int

    Definition Classes
    Status
  106. val NOT_MODIFIED: Int

    Definition Classes
    Status
  107. val NO_CONTENT: Int

    Definition Classes
    Status
  108. val NoContent: SimpleResult

    Definition Classes
    Results
  109. val NonAuthoritativeInformation: Status

    Definition Classes
    Results
  110. val NotAcceptable: Status

    Definition Classes
    Results
  111. val NotFound: Status

    Definition Classes
    Results
  112. val NotImplemented: Status

    Definition Classes
    Results
  113. val NotModified: SimpleResult

    Definition Classes
    Results
  114. val OK: Int

    Definition Classes
    Status
  115. val ORIGIN: String

    Definition Classes
    HeaderNames
  116. val Ok: Status

    Definition Classes
    Results
  117. val PARTIAL_CONTENT: Int

    Definition Classes
    Status
  118. val PAYMENT_REQUIRED: Int

    Definition Classes
    Status
  119. val PRAGMA: String

    Definition Classes
    HeaderNames
  120. val PRECONDITION_FAILED: Int

    Definition Classes
    Status
  121. val PROXY_AUTHENTICATE: String

    Definition Classes
    HeaderNames
  122. val PROXY_AUTHENTICATION_REQUIRED: Int

    Definition Classes
    Status
  123. val PROXY_AUTHORIZATION: String

    Definition Classes
    HeaderNames
  124. val PartialContent: Status

    Definition Classes
    Results
  125. def PermissionAction(permission: Permission, resourceRef: Option[ResourceRef] = None): ActionBuilder[UserRequest]

    call code if user has right permission for resource

    call code if user has right permission for resource

    Definition Classes
    SecuredController
  126. val PreconditionFailed: Status

    Definition Classes
    Results
  127. def PrivateServerAction: ActionBuilder[UserRequest]

    Use when you want to require the user to be logged in on a private server or the server is public.

    Use when you want to require the user to be logged in on a private server or the server is public.

    Definition Classes
    SecuredController
  128. val RANGE: String

    Definition Classes
    HeaderNames
  129. val REFERER: String

    Definition Classes
    HeaderNames
  130. val REQUESTED_RANGE_NOT_SATISFIABLE: Int

    Definition Classes
    Status
  131. val REQUEST_ENTITY_TOO_LARGE: Int

    Definition Classes
    Status
  132. val REQUEST_TIMEOUT: Int

    Definition Classes
    Status
  133. val REQUEST_URI_TOO_LONG: Int

    Definition Classes
    Status
  134. val RESET_CONTENT: Int

    Definition Classes
    Status
  135. val RETRY_AFTER: String

    Definition Classes
    HeaderNames
  136. def Redirect(call: Call): SimpleResult

    Definition Classes
    Results
  137. def Redirect(url: String, queryString: Map[String, Seq[String]], status: Int): SimpleResult

    Definition Classes
    Results
  138. def Redirect(url: String, status: Int): SimpleResult

    Definition Classes
    Results
  139. val RegistrationEnabled: String

  140. val RequestTimeout: Status

    Definition Classes
    Results
  141. val ResetContent: SimpleResult

    Definition Classes
    Results
  142. val SEE_OTHER: Int

    Definition Classes
    Status
  143. val SERVER: String

    Definition Classes
    HeaderNames
  144. val SERVICE_UNAVAILABLE: Int

    Definition Classes
    Status
  145. val SET_COOKIE: String

    Definition Classes
    HeaderNames
  146. val SET_COOKIE2: String

    Definition Classes
    HeaderNames
  147. val SWITCHING_PROTOCOLS: Int

    Definition Classes
    Status
  148. def SeeOther(url: String): SimpleResult

    Definition Classes
    Results
  149. def ServerAdminAction: ActionBuilder[UserRequest]

    call code if user is a server admin

    call code if user is a server admin

    Definition Classes
    SecuredController
  150. val ServiceUnavailable: Status

    Definition Classes
    Results
  151. val SignUpEmailSubject: String

  152. def Status(code: Int): Status

    Definition Classes
    Results
  153. val Success: String

  154. val TE: String

    Definition Classes
    HeaderNames
  155. val TEMPORARY_REDIRECT: Int

    Definition Classes
    Status
  156. def TEXT(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  157. val TODO: Action[AnyContent]

    Definition Classes
    Controller
  158. val TOO_MANY_REQUEST: Int

    Definition Classes
    Status
  159. val TRAILER: String

    Definition Classes
    HeaderNames
  160. val TRANSFER_ENCODING: String

    Definition Classes
    HeaderNames
  161. def TemporaryRedirect(url: String): SimpleResult

    Definition Classes
    Results
  162. val ThankYouCheckEmail: String

  163. val TokenDuration: Int

  164. val TokenDurationKey: String

  165. val TooManyRequest: Status

    Definition Classes
    Results
  166. val UNAUTHORIZED: Int

    Definition Classes
    Status
  167. val UNPROCESSABLE_ENTITY: Int

    Definition Classes
    Status
  168. val UNSUPPORTED_MEDIA_TYPE: Int

    Definition Classes
    Status
  169. val UPGRADE: String

    Definition Classes
    HeaderNames
  170. val USER_AGENT: String

    Definition Classes
    HeaderNames
  171. val USE_PROXY: Int

    Definition Classes
    Status
  172. val Unauthorized: Status

    Definition Classes
    Results
  173. val UnprocessableEntity: Status

    Definition Classes
    Results
  174. val UnsupportedMediaType: Status

    Definition Classes
    Results
  175. val UriTooLong: Status

    Definition Classes
    Results
  176. def UserAction(needActive: Boolean): ActionBuilder[UserRequest]

    get user if logged in

    get user if logged in

    Definition Classes
    SecuredController
  177. val VARY: String

    Definition Classes
    HeaderNames
  178. val VIA: String

    Definition Classes
    HeaderNames
  179. val WARNING: String

    Definition Classes
    HeaderNames
  180. val WWW_AUTHENTICATE: String

    Definition Classes
    HeaderNames
  181. def XML(implicit codec: Codec): String

    Definition Classes
    ContentTypes
  182. val X_FORWARDED_FOR: String

    Definition Classes
    HeaderNames
  183. val X_FORWARDED_HOST: String

    Definition Classes
    HeaderNames
  184. val X_FORWARDED_PORT: String

    Definition Classes
    HeaderNames
  185. val X_FORWARDED_PROTO: String

    Definition Classes
    HeaderNames
  186. def acceptTermsOfServices(redirect: Option[String]): Action[AnyContent]

  187. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  188. def chunk(trailers: Option[Iteratee[Array[Byte], Seq[(String, String)]]]): Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  189. def chunk: Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  190. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  191. def dechunk: Enumeratee[Array[Byte], Array[Byte]]

    Definition Classes
    Results
  192. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  195. implicit def flash(implicit request: RequestHeader): Flash

    Definition Classes
    Controller
  196. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  197. def getFollowers(index: Int, limit: Int): Action[AnyContent]

  198. def getFollowing(index: Int, limit: Int): Action[AnyContent]

  199. def getUser[A](request: Request[A]): UserRequest[A]

    Return user based on request object

    Return user based on request object

    Definition Classes
    SecuredController
  200. def getUsers(when: String, id: String, limit: Int): Action[AnyContent]

    Gets the users ordered by UserId.

  201. def hashCode(): Int

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

    Definition Classes
    Any
  203. implicit def lang(implicit request: RequestHeader): Lang

    Definition Classes
    Controller
  204. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  207. val onHandleStartSignUpGoTo: String

  208. object parse

    Definition Classes
    BodyParsers
  209. lazy val registrationEnabled: Boolean

  210. def sendEmail(subject: String, from: String, recipient: String, body: String): Action[AnyContent]

  211. implicit def session(implicit request: RequestHeader): Session

    Definition Classes
    Controller
  212. val startForm: Form[String]

  213. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  214. def toString(): String

    Definition Classes
    AnyRef → Any
  215. val userservice: UserService

    Definition Classes
    SecuredController
  216. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  219. def withCharset(mimeType: String)(implicit codec: Codec): String

    Definition Classes
    ContentTypes

Deprecated Value Members

  1. def Async(promise: Future[Result]): AsyncResult

    Definition Classes
    Results
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.0) Use Action.async to build async actions instead

Inherited from SecuredController

Inherited from Controller

Inherited from Rendering

Inherited from RequestExtractors

Inherited from AcceptExtractors

Inherited from ContentTypes

Inherited from HeaderNames

Inherited from play.api.http.Status

Inherited from HttpProtocol

Inherited from BodyParsers

Inherited from Results

Inherited from AnyRef

Inherited from Any

Ungrouped