angelos.portfolio.entity.update

Updating an entity portfolio for Person, Ministry and Church documents.

class angelos.portfolio.entity.update.UpdateChurchEntity

Bases: angelos.portfolio.entity.update.UpdateEntityMixin, angelos.common.policy.PolicyPerformer

Update entity document of church portfolio from data.

perform(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable

class angelos.portfolio.entity.update.UpdateEntityMixin

Bases: angelos.portfolio.policy.UpdatablePolicy, angelos.common.policy.PolicyMixin

Logic for updating Entity in an existing PrivatePortfolio.

apply() → bool

Perform logic to create a new entity with its new portfolio.

class angelos.portfolio.entity.update.UpdateMinistryEntity

Bases: angelos.portfolio.entity.update.UpdateEntityMixin, angelos.common.policy.PolicyPerformer

Update entity document of ministry portfolio from data.

perform(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable

class angelos.portfolio.entity.update.UpdatePersonEntity

Bases: angelos.portfolio.entity.update.UpdateEntityMixin, angelos.common.policy.PolicyPerformer

Update entity document of person portfolio from data.

perform(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable