org.models.page_move

Classes

AdjacencyListMove

Represents a single move of an adjacency list item.

PageMove

Represents a single move of an adjacency list item.

Module Contents

class org.models.page_move.AdjacencyListMove[L: onegov.core.orm.abstract.AdjacencyList](session: sqlalchemy.orm.Session, subject: L, target: L, direction: onegov.core.orm.abstract.MoveDirection)[source]

Represents a single move of an adjacency list item.

__collection__: type[onegov.core.orm.abstract.AdjacencyListCollection[L]][source]
session[source]
subject[source]
target[source]
direction[source]
property subject_id: int[source]
property target_id: int[source]
execute() None[source]
class org.models.page_move.PageMove(session: sqlalchemy.orm.Session, subject: L, target: L, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: AdjacencyListMove[onegov.page.Page]

Represents a single move of an adjacency list item.

__collection__[source]