Policy is an implementation similar to AOP in alfresco.
You can use a policy to dynamically add business logic. These operations are not associated on the basis.
1. Policy inheritance
Ii. inheritance relationship of propertypolicy
Currently, propertypolicy is not inherited and used.
Iii. inheritance relationship of associationpolicy
Iv. inheritance relationship of classpolicy
Because the inheritance relationship of classpolicy is complex, it is divided into several layers.
1. Subclass of classpolicy
2. Other inheritance classes
V. classpolicy Distribution
1. asynchronousactionexecutionqueuepolicies
====================================
Onasyncactionexecute
2. contentservicepolicies
====================================
1) oncontentupdatepolicy
2) oncontentreadpolicy
3. nodeservicepolicies
====================================
1) beforecreatestorepolicy
2) oncreatestorepolicy
3) beforecreatenodepolicy
4) oncreatenodepolicy
5) onmovenodepolicy
6) beforeupdatenodepolicy
7) onupdatenodepolicy
8) onupdatepropertiespolicy
9) beforedeletenodepolicy
10) ondeletenodepolicy
11) beforeaddaspectpolicy
12) onaddaspectpolicy
13) beforeremoveaspectpolicy
14) onremoveaspectpolicy
15) beforecreatenodeassociationpolicy
16) oncreatenodeassociationpolicy
17) beforecreatechildassociationpolicy
18) oncreatechildassociationpolicy
19) beforedeletechildassociationpolicy
20) ondeletechildassociationpolicy
21) oncreateassociationpolicy
22) ondeleteassociationpolicy
4. copyservicepolicies
==========================================================
Oncopynodepolicy
Oncopycompletepolicy
5. versionservicepolicies
==========================================================
Beforecreateversionpolicy
Aftercreateversionpolicy
Oncreateversionpolicy
Calculateversionlabelpolicy
==========================================================