com.atomizesoftware.spin.data.repositories.CustomerRepositoryComponent

CustomerRepositoryImpl

class CustomerRepositoryImpl extends CustomerRepository

Implements functions related to com.atomizesoftware.spin.models.Customer and its references: com.atomizesoftware.spin.models.Contract, com.atomizesoftware.spin.models.Price

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

Instance Constructors

  1. new CustomerRepositoryImpl()

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

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

  6. def allPrices(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Price]

  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def contractTotalCountForFilters(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
    CustomerRepositoryImplCustomerRepository
  10. def contractWithId(id: Long, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Contract]

  11. def contractWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Contract]

  12. def contractWithPricesWithId(id: Long, references: String = "")(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Contract]

    Returns a com.atomizesoftware.spin.models.Contract with a list of its associated com.atomizesoftware.spin.models.Prices

    id

    of the requested contract

    returns

    contract and its prices

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

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  14. def contractsForSync(syncTimestamp: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Contract]

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  15. def customerTotalCountForFilters(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
    CustomerRepositoryImplCustomerRepository
  16. def customerWithContractsOfId(id: Long, references: String = "")(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Customer]

    Returns a com.atomizesoftware.spin.models.Customer with a list of its associated com.atomizesoftware.spin.models.Contracts

    id

    of the requested customer

    returns

    customer and its contracts

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  17. def customerWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Customer]

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

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  19. def customersForSync(syncTimestamp: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Customer]

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  20. def deleteContract(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

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

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

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

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

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

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

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

    Definition Classes
    AnyRef → Any
  28. def insertContract(contract: Contract)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Try[Contract]

  29. def insertCustomer(customer: Customer)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Try[Customer]

  30. def insertPrice(price: Price)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Try[Price]

  31. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  35. def priceTotalCountForFilters(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
    CustomerRepositoryImplCustomerRepository
  36. def priceWithId(id: Long, references: String)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Price]

  37. def priceWithId(id: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): Option[Price]

  38. def pricesForFilters(references: String, filter: String, filterOr: String, search: String, sortBy: String, timeZoneId: String, limit: Int, offset: Int)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Price]

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  39. def pricesForSync(syncTimestamp: Long)(implicit s: scala.slick.jdbc.JdbcBackend.Session): List[Price]

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

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

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    AnyRef → Any
  42. def updateContract(contract: Contract)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Contract

    Updates a com.atomizesoftware.spin.models.Contract

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

    contract

    to update

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  43. def updateContracts(contracts: List[Contract])(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates several contracts taking into account the fields that have been chosen to be updated.

    Updates several contracts taking into account the fields that have been chosen to be updated.

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  44. def updateCustomer(customer: Customer)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Customer

    Updates a com.atomizesoftware.spin.models.Customer

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

    customer

    to update

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  45. def updatePrice(price: Price)(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates a com.atomizesoftware.spin.models.Price

    Updates a com.atomizesoftware.spin.models.Price

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

    price

    to update

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  46. def updatePrices(prices: List[Price])(implicit s: scala.slick.jdbc.JdbcBackend.Session, currentUser: AuthenticatedUser): Boolean

    Updates several prices taking into account the fields that have been chosen to be updated.

    Updates several prices taking into account the fields that have been chosen to be updated.

    Definition Classes
    CustomerRepositoryImplCustomerRepository
  47. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CustomerRepository

Inherited from AnyRef

Inherited from Any

Ungrouped