A Namespace Extension for ATXML
Project description
Introduction
============
This products adds the export of the object's workflow state to the atxml
marshaller. As it could be difficult to set the state on the target site,
because there might be workflow transition-scripts which should NOT be
executed, the import only fires an event. You can subscribe to it:
<subscriber
for="*
collective.marshall.workflow.interfaces.IObjectReviewStateDeserializedEvent"
handler=".handlers.yourHandler"
/>
Example for handler:
--------------------
def logDeserializedReviewState(object, event):
print "Received a IObjectReviewStateDeserializedEvent for %s. State: %s" % (event.object, event.data)
So the handler receives the object and the data, which is the state as string, e.g. "published".
Changelog
=========
1.0 - First Release
----------------
* First release
============
This products adds the export of the object's workflow state to the atxml
marshaller. As it could be difficult to set the state on the target site,
because there might be workflow transition-scripts which should NOT be
executed, the import only fires an event. You can subscribe to it:
<subscriber
for="*
collective.marshall.workflow.interfaces.IObjectReviewStateDeserializedEvent"
handler=".handlers.yourHandler"
/>
Example for handler:
--------------------
def logDeserializedReviewState(object, event):
print "Received a IObjectReviewStateDeserializedEvent for %s. State: %s" % (event.object, event.data)
So the handler receives the object and the data, which is the state as string, e.g. "published".
Changelog
=========
1.0 - First Release
----------------
* First release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file collective.marshall.workflow-1.0.tar.gz
.
File metadata
- Download URL: collective.marshall.workflow-1.0.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b3da52cfd41b7536a70fa76e509fd5db887e91b0fc0d53939bb23d6f2d49a6c |
|
MD5 | 828fbce5eb68c7f9607d4b9dd2c2012b |
|
BLAKE2b-256 | 102c04fa5dc14be1915c73a3ba5119d265005e4f126f871ffc3412ceb8273613 |