angelos.lib.policy.entity¶
Module docstring.
-
class
angelos.lib.policy.entity.
BaseEntityPolicy
¶ Bases:
angelos.lib.policy.policy.Policy
-
static
newkeys
(portfolio: angelos.lib.policy.portfolio.PrivatePortfolio) → bool¶ Issue a new pair of keys
-
static
update
(portfolio: angelos.lib.policy.portfolio.PrivatePortfolio) → bool¶ Renew the identity document expiry date
-
static
-
class
angelos.lib.policy.entity.
ChurchPolicy
¶ Bases:
angelos.lib.policy.entity.BaseEntityPolicy
Create and maintain Church entity document with keys.
-
FIELDS
= ('state', 'nation')¶
-
static
change
(portfolio: angelos.lib.policy.portfolio.PrivatePortfolio, changed: dict) → bool¶
-
static
generate
(church_data: importlib._bootstrap.ChurchData) → angelos.lib.policy.portfolio.PrivatePortfolio¶
-
-
class
angelos.lib.policy.entity.
MinistryPolicy
¶ Bases:
angelos.lib.policy.entity.BaseEntityPolicy
Create and maintain Ministry entity document with keys.
-
FIELDS
= ('vision', 'ministry')¶
-
static
change
(portfolio: angelos.lib.policy.portfolio.PrivatePortfolio, changed: dict) → bool¶
-
static
generate
(ministry_data: importlib._bootstrap.MinistryData) → angelos.lib.policy.portfolio.PrivatePortfolio¶
-
-
class
angelos.lib.policy.entity.
PersonPolicy
¶ Bases:
angelos.lib.policy.entity.BaseEntityPolicy
Create and maintain Person entity document with keys.
-
FIELDS
= ('family_name',)¶
-
static
change
(portfolio: angelos.lib.policy.portfolio.PrivatePortfolio, changed: dict) → bool¶
-
static
generate
(person_data: importlib._bootstrap.PersonData) → angelos.lib.policy.portfolio.PrivatePortfolio¶
-