angelos.portfolio.entity.accept

Creating new entity portfolio for Person, Ministry and Church including Keys and PrivateKeys documents.

class angelos.portfolio.entity.accept.AcceptEntity

Bases: angelos.portfolio.policy.DocumentPolicy, angelos.common.policy.PolicyValidator, angelos.common.policy.PolicyMixin

Valid an entity and its keys.

apply() → bool

Perform logic to validate a new entity with its keys.

validate(*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.accept.AcceptNewKeys

Bases: angelos.portfolio.policy.DocumentPolicy, angelos.common.policy.PolicyValidator, angelos.common.policy.PolicyMixin

Validate new keys.

apply() → bool

Perform logic to validate new keys.

validate(*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.accept.AcceptPrivateKeys

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

Validate private keys.

apply() → bool

Perform logic to validate private keys.

validate(*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.accept.AcceptUpdatedEntity

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

Validate an entity.

apply() → bool

Perform logic to validate updated entity with current.

validate(*args, **kwargs)

Wrapping the callable.

Parameters
  • self (class) – Method owner

  • *args – Any arguments

  • **kwargs – Any keyword arguments

Returns

The result from the callable