|
Revision 24046, 1.2 kB
(checked in by sfermigier, 2 years ago)
|
Format / improve component doc.
|
| Line | |
|---|
| 1 |
<?xml version="1.0"?> |
|---|
| 2 |
|
|---|
| 3 |
<component name="DublinCoreStorageService" version="1.0.0"> |
|---|
| 4 |
|
|---|
| 5 |
<implementation |
|---|
| 6 |
class="org.nuxeo.ecm.platform.dublincore.service.DublinCoreStorageService" /> |
|---|
| 7 |
|
|---|
| 8 |
<require>org.nuxeo.ecm.core.listener.CoreEventListenerService</require> |
|---|
| 9 |
|
|---|
| 10 |
<documentation> |
|---|
| 11 |
The DublinCoreStorageService listens to the DOCUMENT_UPDATED |
|---|
| 12 |
and DOCUMENT_CREATED Core events. If the target document has |
|---|
| 13 |
the dublincore schema, this service will then update some |
|---|
| 14 |
metadata. |
|---|
| 15 |
|
|---|
| 16 |
The fields updated by this event listener are : |
|---|
| 17 |
|
|---|
| 18 |
- the creation date |
|---|
| 19 |
- the modification date |
|---|
| 20 |
- the contributors list |
|---|
| 21 |
|
|---|
| 22 |
The DublinCoreStorageService exposes an simple api for updating meta-data. |
|---|
| 23 |
|
|---|
| 24 |
@author Thierry Delprat (td@nuxeo.com) |
|---|
| 25 |
</documentation> |
|---|
| 26 |
|
|---|
| 27 |
<extension target="org.nuxeo.ecm.core.listener.CoreEventListenerService" |
|---|
| 28 |
point="listener"> |
|---|
| 29 |
<listener name="dclistener" |
|---|
| 30 |
class="org.nuxeo.ecm.platform.dublincore.listener.DublinCoreListener" |
|---|
| 31 |
order="120" /> |
|---|
| 32 |
<documentation> |
|---|
| 33 |
Listens for DOCUMENT_UPDATED and DOCUMENT_CREATED Core events |
|---|
| 34 |
and calls the DublinCoreStorageService. |
|---|
| 35 |
|
|---|
| 36 |
@author Thierry Delprat (td@nuxeo.com) |
|---|
| 37 |
</documentation> |
|---|
| 38 |
|
|---|
| 39 |
</extension> |
|---|
| 40 |
|
|---|
| 41 |
</component> |
|---|
| 42 |
|
|---|
| 43 |
|
|---|