com.atomizesoftware.spin.data.repositories.ParameterRepositoryComponent

ParameterRepositoryImpl

class ParameterRepositoryImpl extends ParameterRepository

Implements functions related to com.atomizesoftware.spin.models.Parameter and its references: com.atomizesoftware.spin.models.ParameterType

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

Instance Constructors

  1. new ParameterRepositoryImpl()

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. def allParameterTypes(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[ParameterType]

  5. def allParameters(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Parameter]

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def deleteParameter(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

  9. def deleteParameterType(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

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

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

    Definition Classes
    AnyRef → Any
  12. def filteredParameterTypes(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[ParameterType]

    Gets a list of com.atomizesoftware.spin.models.ParameterType with the requested filters.

    Gets a list of com.atomizesoftware.spin.models.ParameterType with the requested filters.

    Definition Classes
    ParameterRepositoryImplParameterRepository
  13. def filteredParameters(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Parameter]

    Gets a list of com.atomizesoftware.spin.models.Parameter with the requested filters.

    Gets a list of com.atomizesoftware.spin.models.Parameter with the requested filters.

    Definition Classes
    ParameterRepositoryImplParameterRepository
  14. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  17. def insertParameter(parameter: Parameter)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Option[Long]

  18. def insertParameterType(typ: ParameterType)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Option[Long]

  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. val logger: Logger

  21. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  24. def parameterTotalCountForFilters(filter: String, filterOr: String, search: String, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Long

    Gets the number of records that correspond to the complex select statement.

    Gets the number of records that correspond to the complex select statement.

    Definition Classes
    ParameterRepositoryImplParameterRepository
  25. def parameterTypeTotalCountForFilters(filter: String, filterOr: String, search: String, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Long

    Gets the number of records that correspond to the complex select statement.

    Gets the number of records that correspond to the complex select statement.

    Definition Classes
    ParameterRepositoryImplParameterRepository
  26. def parameterTypeWithCode(code: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[ParameterType]

  27. def parameterTypeWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[ParameterType]

  28. def parameterWithCode(code: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Parameter

    Gets a Parameter by the provided code

    Gets a Parameter by the provided code

    returns

    a com.atomizesoftware.spin.models.Parameter if one is found

    Definition Classes
    ParameterRepositoryImplParameterRepository
    Exceptions thrown
    InternalErrorException

    if no parameter was found.

  29. def parameterWithId(id: Long, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Parameter]

    Gets a parameter by its id with the specified references.

    Gets a parameter by its id with the specified references.

    Definition Classes
    ParameterRepositoryImplParameterRepository
  30. def parameterWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Parameter]

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

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def updateParameter(parameter: Parameter)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Parameter

    Updates a com.atomizesoftware.spin.models.Parameter

    If fields are specified, only those are updated, otherwise the whole entity is updated.

    parameter

    to update

    Definition Classes
    ParameterRepositoryImplParameterRepository
  34. def updateParameterType(typ: ParameterType)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.ParameterType

    Updates a com.atomizesoftware.spin.models.ParameterType

    If fields are specified, only those are updated, otherwise the whole entity is updated.

    typ

    to update

    Definition Classes
    ParameterRepositoryImplParameterRepository
  35. def updateSpinStaticParameters(mqttParameterValues: MQTTParameterValues): Unit

  36. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ParameterRepository

Inherited from AnyRef

Inherited from Any

Ungrouped