com
.
atomizesoftware
.
spin
.
data
.
repositories
LocationRepository
trait
LocationRepository
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Known Subclasses
LocationRepositoryImpl
Ordering
Alphabetic
By inheritance
Inherited
LocationRepository
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
allLocationTypes
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
LocationType
]
abstract
def
allLocations
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Location
]
abstract
def
allShapes
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Shape
]
abstract
def
childrenOfLocationWithId
(
id:
Long
,
filter:
String
=
""
,
filterOr:
String
=
""
,
include:
String
=
""
,
timeZoneId:
String
=
""
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Location
]
abstract
def
deleteLocation
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
deleteLocationType
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
deleteShape
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
incrementCounterAndReturnNewValueIn
(
location:
Location
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
insertLocation
(
location:
Location
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Location
abstract
def
insertLocationType
(
locationType:
LocationType
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
LocationType
abstract
def
insertShape
(
shape:
Shape
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Shape
abstract
def
locationAndAssociationsWithId
(
id:
Long
,
filter:
String
=
""
,
filterOr:
String
=
""
,
references:
String
=
""
,
associations:
List
[
String
]
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Location
]
abstract
def
locationTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
locationTypeTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
locationTypeWithId
(
id:
Long
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
LocationType
]
abstract
def
locationTypeWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
LocationType
]
abstract
def
locationTypesForFilters
(
references:
String
,
filter:
String
,
filterOr:
String
,
search:
String
,
sortBy:
String
,
timeZoneId:
String
,
limit:
Int
,
offset:
Int
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
LocationType
]
abstract
def
locationTypesForSync
(
syncTimestamp:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
LocationType
]
abstract
def
locationWithCode
(
code:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Location
abstract
def
locationWithId
(
id:
Long
,
filter:
String
,
filterOr:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Location
]
abstract
def
locationWithId
(
id:
Long
,
filter:
String
,
filterOr:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Location
]
abstract
def
locationWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Location
]
abstract
def
locationsForFilters
(
references:
String
,
filter:
String
,
filterOr:
String
,
search:
String
,
sortBy:
String
,
timeZoneId:
String
,
limit:
Int
,
offset:
Int
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Location
]
abstract
def
locationsForSync
(
syncTimestamp:
Long
,
filter:
String
=
""
,
filterOr:
String
=
""
,
references:
String
,
timeZoneId:
String
=
""
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Location
]
abstract
def
nearestAncestorWithPrefixOf
(
location:
Location
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Location
]
abstract
def
parentLocationIdOfLocationWithId
(
locationId:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Long
]
abstract
def
shapeTotalCountForFilters
(
filter:
String
,
filterOr:
String
,
search:
String
,
references:
String
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Long
abstract
def
shapeWithId
(
id:
Long
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Option
[
Shape
]
abstract
def
shapesForFilters
(
references:
String
,
filter:
String
,
filterOr:
String
,
search:
String
,
sortBy:
String
,
timeZoneId:
String
,
limit:
Int
,
offset:
Int
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
List
[
Shape
]
abstract
def
topMostAncestorOfLocationWithId
(
id:
Long
,
include:
String
,
timeZoneId:
String
=
""
,
visible:
Boolean
=
false
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
)
:
Location
abstract
def
updateLocation
(
location:
Location
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updateLocationAssociations
(
location:
Location
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updateLocationType
(
locationType:
LocationType
)
(
implicit
s:
scala.slick.jdbc.JdbcBackend.Session
,
currentUser:
AuthenticatedUser
)
:
Boolean
abstract
def
updateShape
(
shape:
Shape
)
(
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