controllers

Utils

object Utils

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

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. object CustomMappings

    Default formatter for the URL type.

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def baseUrl(request: RequestHeader, absolute: Boolean = true): String

    Return base url given a request.

    Return base url given a request. This will add http or https to the front, for example https://localhost:9443 will be returned if it is using https.

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def decodeCollectionElements(collection: Collection): Collection

    Utility method to modify the elements in a collection that are encoded when submitted and stored.

    Utility method to modify the elements in a collection that are encoded when submitted and stored. These elements are decoded when a view requests the objects, so that they can be human readable.

    Currently, the following collection elements are encoded:

    name description

  11. def decodeCommentElements(comment: Comment): Comment

  12. def decodeCommentReplies(comment: Comment): List[Comment]

    Utility method to decode the replies within a comment.

    Utility method to decode the replies within a comment. Makes a recursive call to decodeCommentElements that in turn invokes this for nested replies.

    comment

    The original comment that is to be checked for replies that need to be decoded

    returns

    A list of comments that represent top level replies for the original comment

  13. def decodeDatasetElements(dataset: Dataset): Dataset

    Utility method to modify the elements in a space that are encoded when submitted and stored.

    Utility method to modify the elements in a space that are encoded when submitted and stored. These elements are decoded when a view requests the objects, so that they can be human readable.

    Currently, the following space elements are encoded: name description

  14. def decodeSpaceElements(space: ProjectSpace): ProjectSpace

  15. def decodeString(string: String): String

  16. def decodeVocabularyTermElements(vocabularyTerm: VocabularyTerm): VocabularyTerm

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

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  22. def https(request: RequestHeader): Boolean

    Returns true if protocol is https

  23. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  27. implicit def stringFormat: Formatter[String]

    Default formatter for the String type.

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

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def updateEncodedTextNewlines(text: String): String

    Encoded text can have newlines.

    Encoded text can have newlines. When displayed via a view, they must be translated into linebreaks in order to render correctly.

    text

    The text to be updated with linebreaks

    returns

    An updated String with newlines replaced.

  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped