class DBProcessRepository extends ProcessRepository[DB] with NuTables with LazyLogging with ProcessDBQueryRepository[DB]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DBProcessRepository
- ProcessDBQueryRepository
- Repository
- LazyLogging
- NuTables
- DeploymentEntityFactory
- AttachmentEntityFactory
- ScenarioLabelsEntityFactory
- ScenarioActivityEntityFactory
- EnvironmentsEntityFactory
- ProcessVersionEntityFactory
- ProcessEntityFactory
- BaseEntityFactory
- ProcessRepository
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new DBProcessRepository(dbRef: DbRef, clock: Clock, scenarioActivityRepository: ScenarioActivityRepository, scenarioLabelsRepository: ScenarioLabelsRepository, modelVersion: ProcessingTypeDataProvider[Int, _])
Type Members
-
class
AttachmentEntity extends slick.jdbc.JdbcProfile.API.Table[AttachmentEntityData]
- Definition Classes
- AttachmentEntityFactory
-
class
EnvironmentsEntity extends slick.jdbc.JdbcProfile.API.Table[EnvironmentsEntityData]
- Definition Classes
- EnvironmentsEntityFactory
-
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
ProcessVersionEntityWithComponentsUsages extends BaseProcessVersionEntity
- Definition Classes
- ProcessVersionEntityFactory
-
class
ProcessVersionEntityWithScenarioJson extends BaseProcessVersionEntity
- Definition Classes
- ProcessVersionEntityFactory
-
class
ProcessVersionEntityWithUnit extends BaseProcessVersionEntity
- Definition Classes
- ProcessVersionEntityFactory
-
class
ScenarioActivityEntity extends slick.jdbc.JdbcProfile.API.Table[ScenarioActivityEntityData]
- Definition Classes
- ScenarioActivityEntityFactory
-
class
ScenarioLabelsEntity extends slick.jdbc.JdbcProfile.API.Table[ScenarioLabelEntityData]
- Definition Classes
- ScenarioLabelsEntityFactory
-
class
DeploymentsEntity extends slick.jdbc.JdbcProfile.API.Table[DeploymentEntityData]
- Definition Classes
- DeploymentEntityFactory
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
-
implicit
def
additionalPropertiesMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[AdditionalProperties]
- Definition Classes
- ScenarioActivityEntityFactory
-
lazy val
api: API
- Attributes
- protected
- Definition Classes
- Repository
-
def
archive(processId: ProcessIdWithName, isArchived: Boolean): DB[Unit]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
attachmentsTable: TableQuery[AttachmentEntity]
- Definition Classes
- AttachmentEntityFactory
- def changeVersionId(processId: ProcessId, versionId: VersionId, versionIdToUpdate: VersionId): slick.jdbc.JdbcProfile.ProfileAction[Int, NoStream, Write]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
dbRef: DbRef
- Attributes
- protected
- Definition Classes
- DBProcessRepository → Repository
-
def
deleteProcess(processId: ProcessIdWithName): DB[Unit]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
implicit
def
deploymentIdMapping: slick.jdbc.JdbcProfile.API.BaseColumnType[DeploymentId]
- Attributes
- protected
- Definition Classes
- BaseEntityFactory
-
implicit
def
deploymentStatusName: slick.jdbc.JdbcProfile.API.BaseColumnType[DeploymentStatusName]
- Definition Classes
- BaseEntityFactory
-
lazy val
deploymentsTable: TableQuery[DeploymentsEntity]
- Definition Classes
- DeploymentEntityFactory
- def editProcess[ACTION <: ModifyProcessAction](action: ACTION, activityCreator: (ProcessId, Option[VersionId], Option[VersionId], String) ⇒ ScenarioActivity)(implicit loggedUser: LoggedUser): DB[ProcessUpdated]
-
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
fetchLatestProcessesQuery(query: (ProcessEntity) ⇒ slick.jdbc.JdbcProfile.API.Rep[Boolean], deployedProcesses: Set[ProcessId], isDeployed: Option[Boolean])(implicit fetchShape: ScenarioShapeFetchStrategy[_], loggedUser: LoggedUser): slick.jdbc.JdbcProfile.API.Query[(((slick.jdbc.JdbcProfile.API.Rep[ProcessId], slick.jdbc.JdbcProfile.API.Rep[Option[Timestamp]]), BaseProcessVersionEntity), ProcessEntity), (((ProcessId, Option[Timestamp]), ProcessVersionEntityData), ProcessEntityData), Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
def
fetchProcessLatestVersionsQuery(processId: ProcessId)(implicit fetchShape: ScenarioShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.Query[BaseProcessVersionEntity, ProcessVersionEntityData, Seq]
- 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
-
val
labelsTable: TableQuery[ScenarioLabelsEntity]
- Definition Classes
- ScenarioLabelsEntityFactory
-
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()
-
def
migrateProcess(migrateProcessAction: MigrateProcessAction)(implicit loggedUser: LoggedUser): DB[ProcessUpdated]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
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
-
def
performAutomaticUpdate(automaticProcessUpdateAction: AutomaticProcessUpdateAction)(implicit loggedUser: LoggedUser): DB[ProcessUpdated]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
implicit
def
processActionIdMapping: slick.jdbc.JdbcProfile.API.BaseColumnType[ProcessActionId]
- Definition Classes
- BaseEntityFactory
-
implicit
def
processActionState: slick.jdbc.JdbcProfile.API.BaseColumnType[ProcessActionState]
- Definition Classes
- BaseEntityFactory
-
implicit
def
processIdMapping: slick.jdbc.JdbcProfile.API.BaseColumnType[ProcessId]
- Definition Classes
- BaseEntityFactory
-
implicit
def
processNameMapping: slick.jdbc.JdbcProfile.API.BaseColumnType[ProcessName]
- Definition Classes
- BaseEntityFactory
-
def
processTableFilteredByUser(implicit loggedUser: LoggedUser): slick.jdbc.JdbcProfile.API.Query[ProcessEntity, ProcessEntityData, Seq]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
val
processVersionsTable: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntity]
- Definition Classes
- ProcessVersionEntityFactory
-
def
processVersionsTableQuery(implicit fetchShape: ScenarioShapeFetchStrategy[_]): slick.jdbc.JdbcProfile.API.TableQuery[BaseProcessVersionEntity]
- Attributes
- protected
- Definition Classes
- ProcessDBQueryRepository
-
val
processVersionsTableWithComponentsUsages: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityWithComponentsUsages]
- Definition Classes
- ProcessVersionEntityFactory
-
val
processVersionsTableWithScenarioJson: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityWithScenarioJson]
- Definition Classes
- ProcessVersionEntityFactory
-
val
processVersionsTableWithUnit: slick.jdbc.JdbcProfile.API.TableQuery[ProcessVersionEntityWithUnit]
- Definition Classes
- ProcessVersionEntityFactory
-
val
processesTable: TableQuery[ProcessEntity]
- Definition Classes
- ProcessEntityFactory
-
lazy val
profile: JdbcProfile
- Attributes
- protected
- Definition Classes
- Repository
-
def
renameProcess(process: ProcessIdWithName, newName: ProcessName)(implicit loggedUser: LoggedUser): DB[Unit]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
def
run[R]: (DB[R]) ⇒ DB[R]
- Definition Classes
- DBProcessRepository → Repository
-
def
saveNewProcess(action: CreateProcessAction)(implicit loggedUser: LoggedUser): DB[Option[ProcessCreated]]
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
-
implicit
def
scenarioActionName: slick.jdbc.JdbcProfile.API.BaseColumnType[ScenarioActionName]
- Definition Classes
- BaseEntityFactory
-
implicit
def
scenarioActivityIdMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[ScenarioActivityId]
- Definition Classes
- ScenarioActivityEntityFactory
-
val
scenarioActivityTable: TableQuery[ScenarioActivityEntity]
- Definition Classes
- ScenarioActivityEntityFactory
-
implicit
def
scenarioActivityTypeMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[ScenarioActivityType]
- Definition Classes
- ScenarioActivityEntityFactory
-
implicit
def
scenarioIdMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[ScenarioId]
- Definition Classes
- ScenarioActivityEntityFactory
-
implicit
def
scenarioVersionIdMapper: slick.jdbc.JdbcProfile.API.BaseColumnType[ScenarioVersionId]
- Definition Classes
- ScenarioActivityEntityFactory
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateProcess(updateProcessAction: UpdateProcessAction)(implicit loggedUser: LoggedUser): DB[ProcessUpdated]
- Definition Classes
- DBProcessRepository → ProcessRepository
-
implicit
def
versionIdMapping: slick.jdbc.JdbcProfile.API.BaseColumnType[VersionId]
- Definition Classes
- BaseEntityFactory
-
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.