c

pl.touk.nussknacker.ui.process.repository

DBProcessRepository

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

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])

Type Members

  1. class AttachmentEntity extends slick.jdbc.JdbcProfile.API.Table[AttachmentEntityData]
    Definition Classes
    AttachmentEntityFactory
  2. class CommentEntity extends slick.jdbc.JdbcProfile.API.Table[CommentEntityData]
    Definition Classes
    CommentEntityFactory
  3. class EnvironmentsEntity extends slick.jdbc.JdbcProfile.API.Table[EnvironmentsEntityData]
    Definition Classes
    EnvironmentsEntityFactory
  4. class ProcessActionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessActionEntityData]
    Definition Classes
    ProcessActionEntityFactory
  5. class ProcessEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessEntityData]
    Definition Classes
    ProcessEntityFactory
  6. abstract class BaseProcessVersionEntity extends slick.jdbc.JdbcProfile.API.Table[ProcessVersionEntityData]
    Definition Classes
    ProcessVersionEntityFactory
  7. class ProcessVersionEntity extends BaseProcessVersionEntity
    Definition Classes
    ProcessVersionEntityFactory
  8. class ProcessVersionEntityNoJson extends BaseProcessVersionEntity
    Definition Classes
    ProcessVersionEntityFactory
  9. class TagsEntity extends slick.jdbc.JdbcProfile.API.Table[TagsEntityData]
    Definition Classes
    TagsEntityFactory

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val api: API
    Attributes
    protected
    Definition Classes
    Repository
  5. def archive(processId: ProcessId, isArchived: Boolean): DB[XError[Unit]]
    Definition Classes
    DBProcessRepositoryProcessRepository
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val attachmentsTable: TableQuery[AttachmentEntity]
    Definition Classes
    AttachmentEntityFactory
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  9. val commentsTable: TableQuery[CommentEntity]
    Definition Classes
    CommentEntityFactory
  10. val dbConfig: DbConfig
    Definition Classes
    DBProcessRepositoryRepository
  11. def deleteProcess(processId: ProcessId): DB[XError[Unit]]
    Definition Classes
    DBProcessRepositoryProcessRepository
  12. implicit def deploymentMapper: JdbcType[ProcessActionType] with BaseTypedType[ProcessActionType]
    Definition Classes
    ProcessActionEntityFactory
  13. val environmentsTable: TableQuery[EnvironmentsEntity]
    Definition Classes
    EnvironmentsEntityFactory
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean
    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]
    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]
    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]
    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]
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  20. def fetchProcessLatestVersionsQuery(processId: ProcessId)(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]
    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]
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def latestProcessVersionsNoJsonQuery(processName: ProcessName): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  26. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
    Annotations
    @transient()
  27. val modelVersion: ProcessingTypeDataProvider[Int]
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def newCommentAction(processId: ProcessId, processVersionId: Long, comment: String)(implicit ec: ExecutionContext, loggedUser: LoggedUser): DB[Option[Long]]
    Definition Classes
    CommentActions
  30. def nextIdAction[T <: JdbcProfile](implicit jdbcProfile: T): slick.jdbc.JdbcProfile.API.DBIO[Long]
    Definition Classes
    CommentActions
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def now: Instant
    Attributes
    protected
  34. val processActionsTable: TableQuery[ProcessActionEntity]
    Definition Classes
    ProcessActionEntityFactory
  35. def processTableFilteredByUser(implicit loggedUser: LoggedUser): slick.jdbc.JdbcProfile.API.Query[ProcessEntity, ProcessEntityData, Seq]
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  36. implicit def processTypeMapper: JdbcType[ProcessType] with BaseTypedType[ProcessType]
    Definition Classes
    ProcessEntityFactory
  37. val processVersionsTable: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntity]
    Definition Classes
    ProcessVersionEntityFactory
  38. val processVersionsTableNoJson: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityNoJson]
    Definition Classes
    ProcessVersionEntityFactory
  39. def processVersionsTableQuery(implicit fetchShape: ProcessShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.TableQuery[BaseProcessVersionEntity]
    Attributes
    protected
    Definition Classes
    ProcessDBQueryRepository
  40. val processesTable: TableQuery[ProcessEntity]
    Definition Classes
    ProcessEntityFactory
  41. lazy val profile: JdbcProfile
    Attributes
    protected
    Definition Classes
    Repository
  42. def renameProcess(process: ProcessIdWithName, newName: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]
    Definition Classes
    DBProcessRepositoryProcessRepository
  43. def run[R]: (DB[R]) ⇒ DB[R]
    Definition Classes
    DBProcessRepositoryRepository
  44. 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
    DBProcessRepositoryProcessRepository
  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. val tagsTable: TableQuery[TagsEntity]
    Definition Classes
    TagsEntityFactory
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. def updateCategory(processId: ProcessId, category: String)(implicit loggedUser: LoggedUser): DB[XError[Unit]]
    Definition Classes
    DBProcessRepositoryProcessRepository
  49. def updateProcess(updateProcessAction: UpdateProcessAction)(implicit loggedUser: LoggedUser): DB[XError[ProcessUpdated]]
    Definition Classes
    DBProcessRepositoryProcessRepository
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. 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.

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