Class

pl.touk.nussknacker.ui.process.repository

DBProcessRepository

Related Doc: package repository

Permalink

class DBProcessRepository extends ProcessRepository[DB] with EspTables with LazyLogging with CommentActions with ProcessDBQueryRepository[DB]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DBProcessRepository
  2. ProcessDBQueryRepository
  3. Repository
  4. CommentActions
  5. LazyLogging
  6. EspTables
  7. AttachmentEntityFactory
  8. TagsEntityFactory
  9. ProcessActionEntityFactory
  10. EnvironmentsEntityFactory
  11. ProcessVersionEntityFactory
  12. CommentEntityFactory
  13. ProcessEntityFactory
  14. ProcessRepository
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DBProcessRepository(dbConfig: DbConfig, modelVersion: ProcessingTypeDataProvider[Int])

    Permalink

Type Members

  1. class AttachmentEntity extends slick.jdbc.JdbcProfile.API.Table[AttachmentEntityData]

    Permalink
    Definition Classes
    AttachmentEntityFactory
  2. abstract class BaseProcessVersionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessVersionEntityData]

    Permalink
    Definition Classes
    ProcessVersionEntityFactory
  3. class CommentEntity extends slick.jdbc.JdbcProfile.API.Table[CommentEntityData]

    Permalink
    Definition Classes
    CommentEntityFactory
  4. class EnvironmentsEntity extends slick.jdbc.JdbcProfile.API.Table[EnvironmentsEntityData]

    Permalink
    Definition Classes
    EnvironmentsEntityFactory
  5. class ProcessActionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessActionEntityData]

    Permalink
    Definition Classes
    ProcessActionEntityFactory
  6. class ProcessEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessEntityData]

    Permalink
    Definition Classes
    ProcessEntityFactory
  7. class ProcessVersionEntity extends BaseProcessVersionEntity

    Permalink
    Definition Classes
    ProcessVersionEntityFactory
  8. class ProcessVersionEntityNoJson extends BaseProcessVersionEntity

    Permalink
    Definition Classes
    ProcessVersionEntityFactory
  9. class TagsEntity extends slick.jdbc.JdbcProfile.API.Table[TagsEntityData]

    Permalink
    Definition Classes
    TagsEntityFactory

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. lazy val api: API

    Permalink
    Attributes
    protected
    Definition Classes
    Repository
  5. def archive(processId: ProcessId, isArchived: Boolean): DB[XError[Unit]]

    Permalink
    Definition Classes
    DBProcessRepositoryProcessRepository
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val attachmentsTable: TableQuery[AttachmentEntity]

    Permalink
    Definition Classes
    AttachmentEntityFactory
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. val commentsTable: TableQuery[CommentEntity]

    Permalink
    Definition Classes
    CommentEntityFactory
  10. val dbConfig: DbConfig

    Permalink
    Definition Classes
    DBProcessRepositoryRepository
  11. def deleteProcess(processId: ProcessId): DB[XError[Unit]]

    Permalink
    Definition Classes
    DBProcessRepositoryProcessRepository
  12. implicit def deploymentMapper: JdbcType[ProcessActionType] with BaseTypedType[ProcessActionType]

    Permalink
    Definition Classes
    ProcessActionEntityFactory
  13. val environmentsTable: TableQuery[EnvironmentsEntity]

    Permalink
    Definition Classes
    EnvironmentsEntityFactory
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. 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]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  17. 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]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  18. 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]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  19. def fetchProcessLatestActionsQuery(processId: ProcessId): slick.jdbc.JdbcProfile.API.Query[(ProcessActionEntity, slick.jdbc.JdbcProfile.API.Rep[Option[CommentEntity]]), (ProcessActionEntityData, Option[CommentEntityData]), Seq]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  20. def fetchProcessLatestVersionsQuery(processId: ProcessId)(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  21. def fetchTagsPerProcess(implicit fetchShape: ProcessShapeFetchStrategy[_], ec: ExecutionContext): slick.jdbc.JdbcProfile.API.DBIOAction[Map[Long, List[TagsEntityData]], slick.jdbc.JdbcProfile.API.NoStream, Read]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  22. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def latestProcessVersionsNoJsonQuery(processName: ProcessName): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  26. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  27. val modelVersion: ProcessingTypeDataProvider[Int]

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. def newCommentAction(processId: ProcessId, processVersionId: Long, comment: String)(implicit ec: ExecutionContext, loggedUser: LoggedUser): DB[Option[Long]]

    Permalink
    Definition Classes
    CommentActions
  30. def nextIdAction[T <: JdbcProfile](implicit jdbcProfile: T): slick.jdbc.JdbcProfile.API.DBIO[Long]

    Permalink
    Definition Classes
    CommentActions
  31. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  33. def now: LocalDateTime

    Permalink
    Attributes
    protected
  34. val processActionsTable: TableQuery[ProcessActionEntity]

    Permalink
    Definition Classes
    ProcessActionEntityFactory
  35. def processTableFilteredByUser(implicit loggedUser: LoggedUser): slick.jdbc.JdbcProfile.API.Query[ProcessEntity, ProcessEntityData, Seq]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  36. implicit def processTypeMapper: JdbcType[ProcessType] with BaseTypedType[ProcessType]

    Permalink
    Definition Classes
    ProcessEntityFactory
  37. val processVersionsTable: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntity]

    Permalink
    Definition Classes
    ProcessVersionEntityFactory
  38. val processVersionsTableNoJson: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityNoJson]

    Permalink
    Definition Classes
    ProcessVersionEntityFactory
  39. def processVersionsTableQuery(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.TableQuery[BaseProcessVersionEntity]

    Permalink
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  40. val processesTable: TableQuery[ProcessEntity]

    Permalink
    Definition Classes
    ProcessEntityFactory
  41. lazy val profile: JdbcProfile

    Permalink
    Attributes
    protected
    Definition Classes
    Repository
  42. def renameProcess(process: ProcessIdWithName, newName: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]

    Permalink
    Definition Classes
    DBProcessRepositoryProcessRepository
  43. def run[R]: (DB[R]) ⇒ DB[R]

    Permalink
    Definition Classes
    DBProcessRepositoryRepository
  44. def saveNewProcess(action: CreateProcessAction)(implicit loggedUser: LoggedUser): DB[XError[Option[ProcessVersionEntityData]]]

    Permalink

    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
    DBProcessRepositoryProcessRepository
  45. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  46. val tagsTable: TableQuery[TagsEntity]

    Permalink
    Definition Classes
    TagsEntityFactory
  47. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  48. def updateCategory(processId: ProcessId, category: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]

    Permalink
    Definition Classes
    DBProcessRepositoryProcessRepository
  49. def updateProcess(updateProcessAction: UpdateProcessAction)(implicit loggedUser: LoggedUser): DB[XError[ProcessUpdated]]

    Permalink
    Definition Classes
    DBProcessRepositoryProcessRepository
  50. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ProcessDBQueryRepository[DB]

Inherited from Repository[DB]

Inherited from CommentActions

Inherited from LazyLogging

Inherited from EspTables

Inherited from AttachmentEntityFactory

Inherited from TagsEntityFactory

Inherited from EnvironmentsEntityFactory

Inherited from CommentEntityFactory

Inherited from ProcessEntityFactory

Inherited from ProcessRepository[DB]

Inherited from AnyRef

Inherited from Any

Ungrouped