com.atomizesoftware.spin.data.repositories.EquipmentRepositoryComponent

EquipmentRepositoryImpl

class EquipmentRepositoryImpl extends EquipmentRepository

Implements functions related to com.atomizesoftware.spin.models.Equipment and its references: com.atomizesoftware.spin.models.EquipmentType

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

Instance Constructors

  1. new EquipmentRepositoryImpl()

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

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

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

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

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

    Definition Classes
    AnyRef → Any
  12. def equipmentTotalCountForFilters(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
    EquipmentRepositoryImplEquipmentRepository
  13. def equipmentTypeTotalCountForFilters(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
    EquipmentRepositoryImplEquipmentRepository
  14. def equipmentTypeWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[EquipmentType]

  15. def equipmentTypesForSync(syncTimestamp: Long, filter: String = "", filterOr: String = "")(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[EquipmentType]

    Gets a list of com.atomizesoftware.spin.models.EquipmentType for synchronization with mobile devices.

    Gets a list of com.atomizesoftware.spin.models.EquipmentType for synchronization with mobile devices.

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  16. def equipmentWithId(id: Long, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Equipment]

  17. def equipmentWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Equipment]

  18. def equipmentsAndTotalCountForFilters(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): (List[Equipment], Long)

    Returns a tuple with the list of equipments that pertain to the selection filters and the total number of matching records that were found.

    Returns a tuple with the list of equipments that pertain to the selection filters and the total number of matching records that were found.

    If no limit was imposed in the selection filters, we do not make another query to get the total number of records, as they were already returned.

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  19. def equipmentsForSync(syncTimestamp: Long, filter: String = "", filterOr: String = "", references: String = "")(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Equipment]

    Gets a list of com.atomizesoftware.spin.models.Equipment for synchronization with mobile devices.

    Gets a list of com.atomizesoftware.spin.models.Equipment for synchronization with mobile devices.

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  20. def filteredEquipmentTypes(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[EquipmentType]

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

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

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  21. def filteredEquipments(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Equipment]

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

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

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  22. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  25. def insertEquipment(equipment: Equipment)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Try[Equipment]

  26. def insertEquipmentType(typ: EquipmentType)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Try[EquipmentType]

  27. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Definition Classes
    AnyRef
  32. def toString(): String

    Definition Classes
    AnyRef → Any
  33. def updateEquipment(equipment: Equipment)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Equipment

    Updates a com.atomizesoftware.spin.models.Equipment

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

    equipment

    to update

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  34. def updateEquipmentType(typ: EquipmentType, fields: Option[Seq[String]] = None)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.EquipmentType

    Updates a com.atomizesoftware.spin.models.EquipmentType

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

    fields

    to update

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  35. def updateEquipments(equipments: List[Equipment])(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates several equipments taking into account the fields chosen to be updated.

    Updates several equipments taking into account the fields chosen to be updated.

    Definition Classes
    EquipmentRepositoryImplEquipmentRepository
  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 EquipmentRepository

Inherited from AnyRef

Inherited from Any

Ungrouped