{ "info": { "author": "RedTurtle Technology", "author_email": "sviluppoplone@redturtle.it", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Plone", "Framework :: Plone :: 3.3", "Framework :: Plone :: 4.0", "Framework :: Plone :: 4.1", "Framework :: Zope2", "Framework :: Zope3", "Intended Audience :: Developers", "Programming Language :: Python" ], "description": "Introduction\n============\n\nA workflow action implementation for `collective.powertoken`__.\n\n__ http://plone.org/products/collective.powertoken.core\n\nHow to use\n==========\n\nAdd this product to your Plone installation, then you will be able to register Power Tokens that\nperforms workflow action when consumed.\n\n>>> from collective.powertoken.core.interfaces import IPowerTokenUtility\n>>> utility = getUtility(IPowerTokenUtility)\n>>> token = utility.enablePowerToken(document, 'workflow.doAction', workflow_action='publish')\n>>> results = utility.consumeActions(document, token)\n>>> print results\n['published']\n\nYou will get the new state of the document as result.\n\nYou can optionally add a runtime parameter to the action provider, for adding also the\nworkflow state change comment.\n\n>>> token = utility.enablePowerToken(document, 'workflow.doAction', workflow_action='retract')\n>>> results = utility.consumeActions(document, token, comment=\"Hello! I hide this!\")\n['private']\n\nParameters\n----------\n\n``workflow_action`` (configuration parameter)\n Required. You need to provide the workflow action to perform.\n\n``comment`` (runtime parameter)\n Optional. Use to save also a comment to the workflow action.\n\nUse case\n========\n\nYou can perform a state change for a document, regardless of your roles in the site.\n\nAuthors\n=======\n\nThis product was developed by RedTurtle Technology team.\n\n.. image:: http://www.redturtle.it/redturtle_banner.png\n :alt: RedTurtle Technology Site\n :target: http://www.redturtle.it/\n\nChangelog\n=========\n\n0.2.0 (2012-02-15)\n------------------\n\n* added support for ``comment`` runtime parameter [keul]\n* fixed documentation [keul]\n\n0.1.0 (2012-01-11)\n------------------\n\n* initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://plone.org/products/collective.powertoken.core", "keywords": "plone security token plonegov workflow", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "collective.powertoken.workflow", "package_url": "https://pypi.org/project/collective.powertoken.workflow/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/collective.powertoken.workflow/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://plone.org/products/collective.powertoken.core" }, "release_url": "https://pypi.org/project/collective.powertoken.workflow/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Workflow add-ons for collective.powertoken support for Plone", "version": "0.2.0" }, "last_serial": 1771624, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "e75e7af30eadafb4626f7bf290f96ea2", "sha256": "f27cf63470f78ea6463b3b282158d06257ccae1fe7f7bf57c3b7ca9734b79246" }, "downloads": -1, "filename": "collective.powertoken.workflow-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e75e7af30eadafb4626f7bf290f96ea2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12293, "upload_time": "2012-01-11T09:37:01", "url": "https://files.pythonhosted.org/packages/08/e5/63e756853b44cc11095ed55d130de0a6605d85135dfe637c704612850015/collective.powertoken.workflow-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "75662d2d23ade132aa897d6b00e4fb52", "sha256": "8b798588db02baf1c88cc5b2c34776f9fa8c78124a1cb49f6b09171acae06b27" }, "downloads": -1, "filename": "collective.powertoken.workflow-0.2.0.tar.gz", "has_sig": false, "md5_digest": "75662d2d23ade132aa897d6b00e4fb52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12681, "upload_time": "2012-02-15T15:56:03", "url": "https://files.pythonhosted.org/packages/88/e3/2e81444c1657019cb56f96ff24d9bf10a9849a5b96ac606d76b414be5c47/collective.powertoken.workflow-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "75662d2d23ade132aa897d6b00e4fb52", "sha256": "8b798588db02baf1c88cc5b2c34776f9fa8c78124a1cb49f6b09171acae06b27" }, "downloads": -1, "filename": "collective.powertoken.workflow-0.2.0.tar.gz", "has_sig": false, "md5_digest": "75662d2d23ade132aa897d6b00e4fb52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12681, "upload_time": "2012-02-15T15:56:03", "url": "https://files.pythonhosted.org/packages/88/e3/2e81444c1657019cb56f96ff24d9bf10a9849a5b96ac606d76b414be5c47/collective.powertoken.workflow-0.2.0.tar.gz" } ] }