org.models.person_move

Attributes

_OwnerT

Classes

PersonMove

Represents a single move of a linked person.

PagePersonMove

Represents a single move of a linked person on a page.

FormPersonMove

Represents a single move of a linked person on a form definition.

ResourcePersonMove

Represents a single move of a linked person on a form definition.

Module Contents

org.models.person_move._OwnerT[source]
class org.models.person_move.PersonMove(session: sqlalchemy.orm.Session, obj: _OwnerT, subject: str, target: str, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: Generic[_OwnerT]

Represents a single move of a linked person.

session[source]
obj[source]
subject[source]
target[source]
direction[source]
execute() None[source]
static get_implementation(obj: object) type[PagePersonMove | FormPersonMove | ResourcePersonMove][source]
static get_key(obj: object) Any[source]
class org.models.person_move.PagePersonMove(session: sqlalchemy.orm.Session, obj: _OwnerT, subject: str, target: str, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: PersonMove[News | Topic]

Represents a single move of a linked person on a page.

property key: int[source]
class org.models.person_move.FormPersonMove(session: sqlalchemy.orm.Session, obj: _OwnerT, subject: str, target: str, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: PersonMove[BuiltinFormDefinition | CustomFormDefinition]

Represents a single move of a linked person on a form definition.

property key: str[source]
class org.models.person_move.ResourcePersonMove(session: sqlalchemy.orm.Session, obj: _OwnerT, subject: str, target: str, direction: onegov.core.orm.abstract.MoveDirection)[source]

Bases: PersonMove[DaypassResource | ItemResource | RoomResource]

Represents a single move of a linked person on a form definition.

property key: uuid.UUID[source]