@Service
class LayoutService(val relationPartnerRepository: RelationPartnerRepository, val relationRepository: RelationRepository)

Service for updating the layout of a Layout

Parameters

relationPartnerRepository

The RelationPartnerRepository to use for updating the layout

relationRepository

The RelationRepository to use for updating the layout

Constructors

Link copied to clipboard
constructor(relationPartnerRepository: RelationPartnerRepository, relationRepository: RelationRepository)

Properties

Functions

Link copied to clipboard
suspend fun updateLayout(layout: Layout, input: UpdateLayoutInput, batchUpdater: NodeBatchUpdater)

Updates the layout of a Layout

Link copied to clipboard
private suspend fun updateRelationLayouts(layout: Layout, input: UpdateLayoutInput, batchUpdater: NodeBatchUpdater)

Updates the layout of the RelationLayouts of a Layout

Link copied to clipboard
private suspend fun updateRelationPartnerLayouts(layout: Layout, input: UpdateLayoutInput, batchUpdater: NodeBatchUpdater)

Updates the layout of the RelationPartnerLayouts of a Layout