com
.
atomizesoftware
.
spin
.
data
.
repositories
CustomerRepository
trait
CustomerRepository
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
CustomerRepositoryImpl
Ordering
Alphabetic
By inheritance
Inherited
CustomerRepository
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
allContracts
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Contract
]
abstract
def
allCustomers
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Customer
]
abstract
def
allPrices
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Price
]
abstract
def
contractTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
contractWithId
(
id:
Long
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Contract
]
abstract
def
contractWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Contract
]
abstract
def
contractWithPricesWithId
(
id:
Long
,
references:
String
=
""
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Contract
]
abstract
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
]
abstract
def
contractsForSync
(
syncTimestamp:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Contract
]
abstract
def
customerTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
customerWithContractsOfId
(
id:
Long
,
references:
String
=
""
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Customer
]
abstract
def
customerWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Customer
]
abstract
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
]
abstract
def
customersForSync
(
syncTimestamp:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Customer
]
abstract
def
deleteContract
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
deleteCustomer
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
deletePrice
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
insertContract
(
contract:
Contract
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Try
[
Contract
]
abstract
def
insertCustomer
(
customer:
Customer
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Try
[
Customer
]
abstract
def
insertPrice
(
price:
Price
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Try
[
Price
]
abstract
def
priceTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
priceWithId
(
id:
Long
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Price
]
abstract
def
priceWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Price
]
abstract
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
]
abstract
def
pricesForSync
(
syncTimestamp:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Price
]
abstract
def
updateContract
(
contract:
Contract
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updateContracts
(
contracts:
List
[
Contract
]
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updateCustomer
(
customer:
Customer
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updatePrice
(
price:
Price
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updatePrices
(
prices:
List
[
Price
]
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
AnyRef
Inherited from
Any
Ungrouped