ca
.
shiftfocus
.
krispii
.
core
.
repositories
Repository
Related Doc:
package repositories
trait
Repository
extends
Lifting
[
error.RepositoryError.Fail
]
Linear Supertypes
Lifting
[
error.RepositoryError.Fail
],
Serialized
,
FutureMonad
,
AnyRef
,
Any
Known Subclasses
ChatRepository
,
ChatRepositoryPostgres
,
ComponentRepository
,
ComponentRepositoryPostgres
,
ComponentScratchpadRepository
,
ComponentScratchpadRepositoryPostgres
,
CourseRepository
,
CourseRepositoryPostgres
,
CourseScheduleExceptionRepository
,
CourseScheduleExceptionRepositoryPostgres
,
CourseScheduleRepository
,
CourseScheduleRepositoryPostgres
,
DocumentRepository
,
DocumentRepositoryPostgres
,
JournalRepository
,
JournalRepositoryPostgres
,
PartRepository
,
PartRepositoryPostgres
,
ProjectRepository
,
ProjectRepositoryPostgres
,
RevisionRepository
,
RevisionRepositoryPostgres
,
RoleRepository
,
RoleRepositoryPostgres
,
SessionRepository
,
SessionRepositoryCache
,
TaskFeedbackRepository
,
TaskFeedbackRepositoryPostgres
,
TaskRepository
,
TaskRepositoryPostgres
,
TaskScratchpadRepository
,
TaskScratchpadRepositoryPostgres
,
UserRepository
,
UserRepositoryPostgres
,
WorkRepository
,
WorkRepositoryPostgres
Ordering
Alphabetic
By inheritance
Inherited
Repository
Lifting
Serialized
FutureMonad
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
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
cacheComponentKey
(
compId:
UUID
)
:
String
def
cacheComponentsKey
(
id:
UUID
)
:
String
def
cacheCourseKey
(
id:
UUID
)
:
String
def
cacheCourseSlugKey
(
slug:
String
)
:
String
def
cacheCoursesKey
(
id:
UUID
)
:
String
def
cacheExceptionKey
(
id:
UUID
)
:
String
def
cacheExceptionsKey
(
courseId:
UUID
,
userId:
UUID
)
:
String
def
cacheExceptionsKey
(
courseId:
UUID
)
:
String
def
cachePartKey
(
id:
UUID
)
:
String
def
cachePartPosKey
(
projectId:
UUID
,
partNum:
Int
)
:
String
def
cachePartsKey
(
projectId:
UUID
)
:
String
def
cacheProjectKey
(
id:
UUID
)
:
String
def
cacheProjectSlugKey
(
slug:
String
)
:
String
def
cacheProjectsKey
(
courseId:
UUID
)
:
String
def
cacheRoleKey
(
id:
UUID
)
:
String
def
cacheRoleNameKey
(
name:
String
)
:
String
def
cacheRolesKey
(
userId:
UUID
)
:
String
def
cacheScheduleKey
(
id:
UUID
)
:
String
def
cacheSchedulesKey
(
courseId:
UUID
)
:
String
def
cacheStudentsKey
(
id:
UUID
)
:
String
def
cacheTaskKey
(
id:
UUID
)
:
String
def
cacheTaskPosKey
(
projectId:
UUID
,
partId:
UUID
,
taskNum:
Int
)
:
String
def
cacheTasksKey
(
id:
UUID
)
:
String
def
cacheTeachingKey
(
id:
UUID
)
:
String
def
cacheUserKey
(
id:
UUID
)
:
String
def
cacheUsernameKey
(
username:
String
)
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
implicit
def
eitherRunner
[
B
]
(
eithert:
EitherT
[
Future
,
error.RepositoryError.Fail
,
B
]
)
:
Future
[
\/
[
error.RepositoryError.Fail
,
B
]]
Definition Classes
Lifting
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]
)
implicit
val
futureMonad
:
Monad
[
Future
]
Definition Classes
FutureMonad
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
lift
[
B
]
: (
Future
[
\/
[
error.RepositoryError.Fail
,
B
]]) ⇒
EitherT
[
Future
,
error.RepositoryError.Fail
,
B
]
Definition Classes
Lifting
def
liftSeq
[
B
]
(
fIntermediate:
Future
[
IndexedSeq
[
\/
[
error.RepositoryError.Fail
,
B
]]]
)
(
implicit
ec:
ExecutionContext
)
:
EitherT
[
Future
,
error.RepositoryError.Fail
,
IndexedSeq
[
B
]]
Definition Classes
Lifting
def
liftSeq
[
B
]
(
interList:
IndexedSeq
[
Future
[
\/
[
error.RepositoryError.Fail
,
B
]]]
)
(
implicit
ec:
ExecutionContext
)
:
EitherT
[
Future
,
error.RepositoryError.Fail
,
IndexedSeq
[
B
]]
Definition Classes
Lifting
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
predicate
(
fCondition:
Future
[
Boolean
]
)
(
fail:
error.RepositoryError.Fail
)
(
implicit
ec:
ExecutionContext
)
:
EitherT
[
Future
,
error.RepositoryError.Fail
,
Unit
]
Definition Classes
Lifting
def
predicate
(
condition:
Boolean
)
(
fail:
error.RepositoryError.Fail
)
:
EitherT
[
Future
,
error.RepositoryError.Fail
,
Unit
]
Definition Classes
Lifting
def
serialized
[
E
,
R
,
L
[
E
]
<:
IndexedSeq
[
E
]
]
(
collection:
L
[
E
]
)
(
fn: (
E
) ⇒
Future
[
R
]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
IndexedSeq
[
R
]]
Definition Classes
Serialized
def
serializedT
[
E
,
R
,
L
[
E
]
<:
IndexedSeq
[
E
]
]
(
collection:
L
[
E
]
)
(
fn: (
E
) ⇒
Future
[
\/
[
error.RepositoryError.Fail
,
R
]]
)
(
implicit
ec:
ExecutionContext
)
:
Future
[
\/
[
error.RepositoryError.Fail
,
IndexedSeq
[
R
]]]
Definition Classes
Lifting
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
ttl
:
Some
[
FiniteDuration
]
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
Lifting
[
error.RepositoryError.Fail
]
Inherited from
Serialized
Inherited from
FutureMonad
Inherited from
AnyRef
Inherited from
Any
Ungrouped