MessageCatalogueRepositoryImpl

works.iterative.sqldb.postgresql.MessageCatalogueRepositoryImpl
case class MessageCatalogueRepositoryImpl(ts: PostgreSQLTransactor) extends MessageCatalogueRepository

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait MessageCatalogueRepository
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def bulkInsert(entities: Seq[MessageCatalogueData]): Task[Unit]

Inserts multiple message catalogue entities in a single transaction. Used for migration from JSON files to database. All inserts succeed or all fail (all-or-nothing transaction). Transaction will rollback on any failure including constraint violations.

Inserts multiple message catalogue entities in a single transaction. Used for migration from JSON files to database. All inserts succeed or all fail (all-or-nothing transaction). Transaction will rollback on any failure including constraint violations.

Value parameters

entities

The sequence of message catalogue data to insert

Attributes

Returns

A Task that completes when all entities are inserted

Definition Classes
MessageCatalogueRepository
override def getAllForLanguage(language: Language): Task[Seq[MessageCatalogueData]]

Retrieves all message catalogue entries for a specific language. Used for initial load and reload of message catalogue from database.

Retrieves all message catalogue entries for a specific language. Used for initial load and reload of message catalogue from database.

Value parameters

language

The language code to filter messages by

Attributes

Returns

A Task containing sequence of message catalogue data for the specified language

Definition Classes
MessageCatalogueRepository

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product