se.digiplant.res.api

Res

object Res

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Res
  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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. lazy val configuration: Configuration

  9. def delete(fileuid: String, source: String = "default", meta: Seq[String] = Nil): Boolean

    Deletes a file with the specified fileuid

    Deletes a file with the specified fileuid

    fileuid

    The SHA1 filename with the extension, it can also include the meta if you don't want to specify it separately

    source

    The configured source name

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    true if file was deleted, false if it failed

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

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

    Definition Classes
    AnyRef → Any
  12. def fileWithMeta(filePath: String, meta: Seq[String] = Nil): Option[File]

    Retrieves a file with the specified filepath and if specified all meta attributes

    Retrieves a file with the specified filepath and if specified all meta attributes

    filePath

    The filepath relative to the play app, it can also include the meta if you don't want to specify it separately

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    Option[File]

  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get(fileuid: String, source: String = "default", meta: Seq[String] = Nil): Option[File]

    Retrieves a file with the specified fileuid and if specified all meta attributes

    Retrieves a file with the specified fileuid and if specified all meta attributes

    fileuid

    The SHA1 filename with the extension, it can also include the meta if you don't want to specify it separately

    source

    The configured source name

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    Option[File]

  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. def put(filePart: FilePart[TemporaryFile], source: String, meta: Seq[String]): String

    Puts a filePart into the supplied source and tries to figure out it's correct mimetype and extension

    Puts a filePart into the supplied source and tries to figure out it's correct mimetype and extension

    filePart

    A filePart that's been uploaded to play to be stored

    source

    The configured source name

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    The unique file name with the metadata appended

    Annotations
    @throws( classOf[IllegalArgumentException] )
  22. def put(filePart: FilePart, source: String, meta: Seq[String]): String

    Puts a filePart into the supplied source and tries to figure out it's correct mimetype and extension (Java version)

    Puts a filePart into the supplied source and tries to figure out it's correct mimetype and extension (Java version)

    filePart

    A filePart that's been uploaded to play to be stored

    source

    The configured source name

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    The unique file name with the metadata appended

    Annotations
    @throws( classOf[IllegalArgumentException] )
  23. def put(file: File, source: String = "default", filename: Option[String] = None, extension: Option[String] = None, meta: Seq[String] = Nil): String

    Puts a file into the supplied source

    Puts a file into the supplied source

    file

    A file to be stored

    source

    The configured source name

    filename

    Override the sha1 checksum generated filename

    extension

    The extension of the file

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    The unique file name with the metadata appended

    Annotations
    @throws( classOf[IllegalArgumentException] )
  24. def saveWithMeta(file: File, filePath: String, meta: Seq[String] = Nil): String

    Puts a file into the supplied source

    Puts a file into the supplied source

    file

    A file to be stored

    filePath

    The filepath relative to the play app

    meta

    A list of meta data you want to append to the filename, they are separated by _ so don't use that in the meta names

    returns

    The unique filePath with the metadata appended

  25. lazy val sources: Map[String, File]

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

    Definition Classes
    AnyRef
  27. def toString(): String

    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped