Object

com.ubirch.avatar.core.device

DeviceTypeManager

Related Doc: package device

Permalink

object DeviceTypeManager extends StrictLogging

author: cvandrei since: 2016-11-09

Linear Supertypes
StrictLogging, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DeviceTypeManager
  2. StrictLogging
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def all(): Future[Set[DeviceType]]

    Permalink

    returns

    all existing DeviceTypes; empty if none exist

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create(deviceType: DeviceType): Future[Option[DeviceType]]

    Permalink

    Create a DeviceType.

    Create a DeviceType.

    deviceType

    deviceType to persist

    returns

    deviceType that was just created; None if it already existed or something went wrong

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def getByKey(key: String): Future[Option[DeviceType]]

    Permalink

    Search for a DeviceType based on it's key.

    Search for a DeviceType based on it's key.

    key

    search criteria

    returns

    None if nothing is found, otherwise Some

  12. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def init(): Future[Set[DeviceType]]

    Permalink

    Check the database for device types and if none exist create the default types instead.

    Check the database for device types and if none exist create the default types instead.

    returns

    deviceTypes currently in the database; never empty unless database is empty and the list of default deviceTypes is empty, too

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    StrictLogging → Logging
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def update(deviceType: DeviceType): Future[Option[DeviceType]]

    Permalink

    Update a DeviceType.

    Update a DeviceType.

    deviceType

    deviceType to update

    returns

    updated deviceType; None if no record exists or something went wrong

  23. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StrictLogging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped