Package vita :: Package modules :: Package eden :: Module pr :: Class S3PersonEntity
[frames] | no frames]

Class S3PersonEntity

source code

??-8 --+
       |
      S3PersonEntity

Person Super-Entity

Instance Methods
 
model(self) source code
Static Methods
 
pr_role_represent(role_id)
Represent an entity role
source code
 
pr_role_onvalidation(form)
Clear descendant paths if role type has changed
source code
 
pr_pentity_onaccept(form)
Update organisation affiliations for org_site instances.
source code
 
pr_affiliation_onaccept(form)
Remove duplicate affiliations and clear descendant paths (to trigger lazy rebuild)
source code
 
pr_affiliation_ondelete(row)
Clear descendant paths, also called indirectly via ondelete-CASCADE when a role gets deleted.
source code
Class Variables
  names = ["pr_pentity", "pr_affiliation", "pr_role", "pr_role_t...
Method Details

model(self)

source code 

pr_role_represent(role_id)
Static Method

source code 

Represent an entity role

Parameters:
  • role_id - the pr_role record ID

pr_role_onvalidation(form)
Static Method

source code 

Clear descendant paths if role type has changed

Parameters:
  • form - the CRUD form

pr_pentity_onaccept(form)
Static Method

source code 

Update organisation affiliations for org_site instances.

pr_affiliation_onaccept(form)
Static Method

source code 

Remove duplicate affiliations and clear descendant paths (to trigger lazy rebuild)

Parameters:
  • form - the CRUD form

pr_affiliation_ondelete(row)
Static Method

source code 

Clear descendant paths, also called indirectly via ondelete-CASCADE when a role gets deleted.

Parameters:
  • row - the deleted row

Class Variable Details

names

Value:
["pr_pentity", "pr_affiliation", "pr_role", "pr_role_types", "pr_role_\
id", "pr_pe_label", "pr_pe_types"]