class DBProcessRepository extends ProcessRepository[DB] with EspTables with LazyLogging with CommentActions with ProcessDBQueryRepository[DB]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DBProcessRepository
- ProcessDBQueryRepository
- Repository
- CommentActions
- LazyLogging
- EspTables
- AttachmentEntityFactory
- TagsEntityFactory
- ProcessActionEntityFactory
- EnvironmentsEntityFactory
- ProcessVersionEntityFactory
- CommentEntityFactory
- ProcessEntityFactory
- ProcessRepository
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DBProcessRepository(dbConfig: DbConfig, modelVersion: ProcessingTypeDataProvider[Int])
Type Members
-
class
AttachmentEntity extends slick.jdbc.JdbcProfile.API.Table[AttachmentEntityData]
- Definition Classes
- AttachmentEntityFactory
-
class
CommentEntity extends slick.jdbc.JdbcProfile.API.Table[CommentEntityData]
- Definition Classes
- CommentEntityFactory
-
class
EnvironmentsEntity extends slick.jdbc.JdbcProfile.API.Table[EnvironmentsEntityData]
- Definition Classes
- EnvironmentsEntityFactory
-
class
ProcessActionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessActionEntityData]
- Definition Classes
- ProcessActionEntityFactory
-
class
ProcessEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessEntityData]
- Definition Classes
- ProcessEntityFactory
-
abstract
class
BaseProcessVersionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessVersionEntityData]
- Definition Classes
- ProcessVersionEntityFactory
-
class
ProcessVersionEntity extends BaseProcessVersionEntity
- Definition Classes
- ProcessVersionEntityFactory
-
class
ProcessVersionEntityNoJson extends BaseProcessVersionEntity
- Definition Classes
- ProcessVersionEntityFactory
-
class
TagsEntity extends slick.jdbc.JdbcProfile.API.Table[TagsEntityData]
- Definition Classes
- TagsEntityFactory
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
-
lazy val
api: API
- Attributes
- protected
- Definition Classes
- Repository
-
def
archive(processId: ProcessId, isArchived: Boolean): DB[XError[Unit]]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
attachmentsTable: TableQuery[AttachmentEntity]
- Definition Classes
- AttachmentEntityFactory
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
commentsTable: TableQuery[CommentEntity]
- Definition Classes
- CommentEntityFactory
-
val
dbConfig: DbConfig
- Definition Classes
- DBProcessRepository → Repository
-
def
deleteProcess(processId: ProcessId): DB[XError[Unit]]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
implicit
def
deploymentMapper: JdbcType[ProcessActionType] with BaseTypedType[ProcessActionType]
- Definition Classes
- ProcessActionEntityFactory
-
val
environmentsTable: TableQuery[EnvironmentsEntity]
- Definition Classes
- EnvironmentsEntityFactory
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fetchLastActionPerProcessQuery: slick.jdbc.JdbcProfile.API.Query[(slick.jdbc.JdbcProfile.API.Rep[Long], (ProcessActionEntity, slick.jdbc.JdbcProfile.API.Rep[Option[CommentEntity]])), (Long, (ProcessActionEntityData, Option[CommentEntityData])), Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchLastDeployedActionPerProcessQuery: slick.jdbc.JdbcProfile.API.Query[(slick.jdbc.JdbcProfile.API.Rep[Long], (ProcessActionEntity, slick.jdbc.JdbcProfile.API.Rep[Option[CommentEntity]])), (Long, (ProcessActionEntityData, Option[CommentEntityData])), Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchLatestProcessesQuery(query: (ProcessEntity) ⇒ slick.jdbc.JdbcProfile.API.Rep[Boolean], lastDeployedActionPerProcess: Seq[(Long, (ProcessActionEntityData, Option[CommentEntityData]))], isDeployed: Option[Boolean])(implicit fetchShape: ProcessShapeFetchStrategy[_], loggedUser: LoggedUser, ec: ExecutionContext): slick.jdbc.JdbcProfile.API.Query[(((slick.jdbc.JdbcProfile.API.Rep[Long], slick.jdbc.JdbcProfile.API.Rep[Option[Timestamp]]), BaseProcessVersionEntity), ProcessEntity), (((Long, Option[Timestamp]), ProcessVersionEntityData), ProcessEntityData), Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchProcessLatestActionsQuery(processId: ProcessId): slick.jdbc.JdbcProfile.API.Query[(ProcessActionEntity, slick.jdbc.JdbcProfile.API.Rep[Option[CommentEntity]]), (ProcessActionEntityData, Option[CommentEntityData]), Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchProcessLatestVersionsQuery(processId: ProcessId)(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchTagsPerProcess(implicit fetchShape: ProcessShapeFetchStrategy[_], ec: ExecutionContext): slick.jdbc.JdbcProfile.API.DBIOAction[Map[Long, List[TagsEntityData]], slick.jdbc.JdbcProfile.API.NoStream, Read]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
latestProcessVersionsNoJsonQuery(processName: ProcessName): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
lazy val
logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- Annotations
- @transient()
- val modelVersion: ProcessingTypeDataProvider[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newCommentAction(processId: ProcessId, processVersionId: Long, comment: String)(implicit ec: ExecutionContext, loggedUser: LoggedUser): DB[Option[Long]]
- Definition Classes
- CommentActions
-
def
nextIdAction[T <: JdbcProfile](implicit jdbcProfile: T): slick.jdbc.JdbcProfile.API.DBIO[Long]
- Definition Classes
- CommentActions
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
now: Instant
- Attributes
- protected
-
val
processActionsTable: TableQuery[ProcessActionEntity]
- Definition Classes
- ProcessActionEntityFactory
-
def
processTableFilteredByUser(implicit loggedUser: LoggedUser): slick.jdbc.JdbcProfile.API.Query[ProcessEntity, ProcessEntityData, Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
implicit
def
processTypeMapper: JdbcType[ProcessType] with BaseTypedType[ProcessType]
- Definition Classes
- ProcessEntityFactory
-
val
processVersionsTable: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntity]
- Definition Classes
- ProcessVersionEntityFactory
-
val
processVersionsTableNoJson: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityNoJson]
- Definition Classes
- ProcessVersionEntityFactory
-
def
processVersionsTableQuery(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.TableQuery[BaseProcessVersionEntity]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
val
processesTable: TableQuery[ProcessEntity]
- Definition Classes
- ProcessEntityFactory
-
lazy val
profile: JdbcProfile
- Attributes
- protected
- Definition Classes
- Repository
-
def
renameProcess(process: ProcessIdWithName, newName: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
def
run[R]: (DB[R]) ⇒ DB[R]
- Definition Classes
- DBProcessRepository → Repository
-
def
saveNewProcess(action: CreateProcessAction)(implicit loggedUser: LoggedUser): DB[XError[Option[ProcessVersionEntityData]]]
These action should be done on transaction - move it to ProcessService.createProcess
These action should be done on transaction - move it to ProcessService.createProcess
- Definition Classes
- DBProcessRepository → ProcessRepository
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
val
tagsTable: TableQuery[TagsEntity]
- Definition Classes
- TagsEntityFactory
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateCategory(processId: ProcessId, category: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
def
updateProcess(updateProcessAction: UpdateProcessAction)(implicit loggedUser: LoggedUser): DB[XError[ProcessUpdated]]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.