src/build/html/pyams_portal.html
changeset 0 d153941bb745
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/build/html/pyams_portal.html	Sun Jan 14 11:48:51 2018 +0100
@@ -0,0 +1,940 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <title>pyams_portal package &#8212; PyAMS User Guide 0.1.0 documentation</title>
+    <link rel="stylesheet" href="_static/pyramid.css" type="text/css" />
+    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
+    <script type="text/javascript">
+      var DOCUMENTATION_OPTIONS = {
+        URL_ROOT:    './',
+        VERSION:     '0.1.0',
+        COLLAPSE_INDEX: false,
+        FILE_SUFFIX: '.html',
+        HAS_SOURCE:  true,
+        SOURCELINK_SUFFIX: '.txt'
+      };
+    </script>
+    <script type="text/javascript" src="_static/jquery.js"></script>
+    <script type="text/javascript" src="_static/underscore.js"></script>
+    <script type="text/javascript" src="_static/doctools.js"></script>
+    <link rel="index" title="Index" href="genindex.html" />
+    <link rel="search" title="Search" href="search.html" />
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&amp;subset=latin" type="text/css" media="screen" charset="utf-8" />
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&amp;subset=latin" type="text/css" media="screen" charset="utf-8" />
+<!--[if lte IE 6]>
+<link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
+<![endif]-->
+
+  </head>
+  <body>
+
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             accesskey="I">index</a></li>
+        <li class="right" >
+          <a href="py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> &#187;</li> 
+      </ul>
+    </div>  
+
+    <div class="document">
+      <div class="documentwrapper">
+        <div class="bodywrapper">
+          <div class="body" role="main">
+            
+  <div class="section" id="pyams-portal-package">
+<h1>pyams_portal package<a class="headerlink" href="#pyams-portal-package" title="Permalink to this headline">¶</a></h1>
+<div class="section" id="subpackages">
+<h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2>
+<div class="toctree-wrapper compound">
+<ul>
+<li class="toctree-l1"><a class="reference internal" href="pyams_portal.interfaces.html">pyams_portal.interfaces package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.interfaces.html#module-pyams_portal.interfaces">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_portal.portlets.html">pyams_portal.portlets package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.portlets.html#subpackages">Subpackages</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="pyams_portal.portlets.content.html">pyams_portal.portlets.content package</a><ul>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.content.html#submodules">Submodules</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.content.html#module-pyams_portal.portlets.content.interfaces">pyams_portal.portlets.content.interfaces module</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.content.html#module-pyams_portal.portlets.content">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l3"><a class="reference internal" href="pyams_portal.portlets.image.html">pyams_portal.portlets.image package</a><ul>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.image.html#submodules">Submodules</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.image.html#module-pyams_portal.portlets.image.interfaces">pyams_portal.portlets.image.interfaces module</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.portlets.image.html#module-pyams_portal.portlets.image">Module contents</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.portlets.html#module-pyams_portal.portlets">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_portal.tests.html">pyams_portal.tests package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.tests.html#submodules">Submodules</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.tests.html#module-pyams_portal.tests.test_utilsdocs">pyams_portal.tests.test_utilsdocs module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.tests.html#module-pyams_portal.tests.test_utilsdocstrings">pyams_portal.tests.test_utilsdocstrings module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.tests.html#module-pyams_portal.tests">Module contents</a></li>
+</ul>
+</li>
+<li class="toctree-l1"><a class="reference internal" href="pyams_portal.zmi.html">pyams_portal.zmi package</a><ul>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#subpackages">Subpackages</a><ul>
+<li class="toctree-l3"><a class="reference internal" href="pyams_portal.zmi.portlets.html">pyams_portal.zmi.portlets package</a><ul>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.zmi.portlets.html#submodules">Submodules</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.zmi.portlets.html#module-pyams_portal.zmi.portlets.content">pyams_portal.zmi.portlets.content module</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.zmi.portlets.html#module-pyams_portal.zmi.portlets.image">pyams_portal.zmi.portlets.image module</a></li>
+<li class="toctree-l4"><a class="reference internal" href="pyams_portal.zmi.portlets.html#module-pyams_portal.zmi.portlets">Module contents</a></li>
+</ul>
+</li>
+</ul>
+</li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#submodules">Submodules</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.container">pyams_portal.zmi.container module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.interfaces">pyams_portal.zmi.interfaces module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.layout">pyams_portal.zmi.layout module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.page">pyams_portal.zmi.page module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.portlet">pyams_portal.zmi.portlet module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi.template">pyams_portal.zmi.template module</a></li>
+<li class="toctree-l2"><a class="reference internal" href="pyams_portal.zmi.html#module-pyams_portal.zmi">Module contents</a></li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<div class="section" id="submodules">
+<h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2>
+</div>
+<div class="section" id="module-pyams_portal.include">
+<span id="pyams-portal-include-module"></span><h2>pyams_portal.include module<a class="headerlink" href="#module-pyams_portal.include" title="Permalink to this headline">¶</a></h2>
+<dl class="function">
+<dt id="pyams_portal.include.include_package">
+<code class="descclassname">pyams_portal.include.</code><code class="descname">include_package</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.include.include_package" title="Permalink to this definition">¶</a></dt>
+<dd><p>Pyramid include</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.page">
+<span id="pyams-portal-page-module"></span><h2>pyams_portal.page module<a class="headerlink" href="#module-pyams_portal.page" title="Permalink to this headline">¶</a></h2>
+<dl class="function">
+<dt id="pyams_portal.page.PortalContextPageAdapter">
+<code class="descclassname">pyams_portal.page.</code><code class="descname">PortalContextPageAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextPageAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal context page factory</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.page.PortalContextPortletTraverser">
+<em class="property">class </em><code class="descclassname">pyams_portal.page.</code><code class="descname">PortalContextPortletTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextPortletTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++portlet++ portal context traverser</p>
+<dl class="method">
+<dt id="pyams_portal.page.PortalContextPortletTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>thurtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextPortletTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.page.PortalContextPortletsConfigurationAdapter">
+<code class="descclassname">pyams_portal.page.</code><code class="descname">PortalContextPortletsConfigurationAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextPortletsConfigurationAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal context portlets configuration adapter</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.page.PortalContextTemplateConfigurationAdapter">
+<code class="descclassname">pyams_portal.page.</code><code class="descname">PortalContextTemplateConfigurationAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextTemplateConfigurationAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal context template configuration adapter</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.page.PortalContextTemplateTraverser">
+<em class="property">class </em><code class="descclassname">pyams_portal.page.</code><code class="descname">PortalContextTemplateTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextTemplateTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++template++ portal context traverser</p>
+<dl class="method">
+<dt id="pyams_portal.page.PortalContextTemplateTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.page.PortalContextTemplateTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.page.PortalPage">
+<em class="property">class </em><code class="descclassname">pyams_portal.page.</code><code class="descname">PortalPage</code><a class="headerlink" href="#pyams_portal.page.PortalPage" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal page persistent class</p>
+<p>The page is the highest configuration level.
+It defines which template is used (a shared or local one), which gives
+the slot and portlet lists.</p>
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.can_inherit">
+<code class="descname">can_inherit</code><a class="headerlink" href="#pyams_portal.page.PortalPage.can_inherit" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.inherit_parent">
+<code class="descname">inherit_parent</code><a class="headerlink" href="#pyams_portal.page.PortalPage.inherit_parent" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.local_template">
+<code class="descname">local_template</code><a class="headerlink" href="#pyams_portal.page.PortalPage.local_template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.parent">
+<code class="descname">parent</code><a class="headerlink" href="#pyams_portal.page.PortalPage.parent" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.shared_template">
+<code class="descname">shared_template</code><a class="headerlink" href="#pyams_portal.page.PortalPage.shared_template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.template">
+<code class="descname">template</code><a class="headerlink" href="#pyams_portal.page.PortalPage.template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.use_local_template">
+<code class="descname">use_local_template</code><a class="headerlink" href="#pyams_portal.page.PortalPage.use_local_template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.page.PortalPage.use_shared_template">
+<code class="descname">use_shared_template</code><a class="headerlink" href="#pyams_portal.page.PortalPage.use_shared_template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.portlet">
+<span id="pyams-portal-portlet-module"></span><h2>pyams_portal.portlet module<a class="headerlink" href="#module-pyams_portal.portlet" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_portal.portlet.PortalPortletsConfiguration">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortalPortletsConfiguration</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortalPortletsConfiguration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.mapping.PersistentMapping</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal portlets configuration</p>
+<dl class="classmethod">
+<dt id="pyams_portal.portlet.PortalPortletsConfiguration.clone">
+<em class="property">classmethod </em><code class="descname">clone</code><span class="sig-paren">(</span><em>source_config</em>, <em>new_parent</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortalPortletsConfiguration.clone" title="Permalink to this definition">¶</a></dt>
+<dd><p>Clone source configuration</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.portlet.PortalPortletsConfiguration.delete_portlet_configuration">
+<code class="descname">delete_portlet_configuration</code><span class="sig-paren">(</span><em>portlet_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortalPortletsConfiguration.delete_portlet_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.portlet.PortalPortletsConfiguration.get_portlet_configuration">
+<code class="descname">get_portlet_configuration</code><span class="sig-paren">(</span><em>portlet_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortalPortletsConfiguration.get_portlet_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.portlet.PortalPortletsConfiguration.set_portlet_configuration">
+<code class="descname">set_portlet_configuration</code><span class="sig-paren">(</span><em>portlet_id</em>, <em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortalPortletsConfiguration.set_portlet_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.Portlet">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">Portlet</code><a class="headerlink" href="#pyams_portal.portlet.Portlet" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Base portlet utility</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.Portlet.permission">
+<code class="descname">permission</code><a class="headerlink" href="#pyams_portal.portlet.Portlet.permission" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.Portlet.settings_class">
+<code class="descname">settings_class</code><em class="property"> = None</em><a class="headerlink" href="#pyams_portal.portlet.Portlet.settings_class" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.Portlet.toolbar_css_class">
+<code class="descname">toolbar_css_class</code><em class="property"> = 'fa fa-fw fa-2x fa-edit'</em><a class="headerlink" href="#pyams_portal.portlet.Portlet.toolbar_css_class" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.Portlet.toolbar_image">
+<code class="descname">toolbar_image</code><em class="property"> = None</em><a class="headerlink" href="#pyams_portal.portlet.Portlet.toolbar_image" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletConfiguration">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletConfiguration</code><span class="sig-paren">(</span><em>portlet</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portlet configuration persistent class</p>
+<p>This class is a generic persistent class which is used to store all portlet
+configuration and is <em>not</em> supposed to be sub-classed.</p>
+<p>PortletConfiguration.__parent__ points to context where configuration is applied (each context or
+local template).
+PortletConfiguration.parent points to context from where configuration is inherited.</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.can_inherit">
+<code class="descname">can_inherit</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.can_inherit" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.editor_settings">
+<code class="descname">editor_settings</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.editor_settings" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.inherit_parent">
+<code class="descname">inherit_parent</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.inherit_parent" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.parent">
+<code class="descname">parent</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.parent" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.portlet_id">
+<code class="descname">portlet_id</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.portlet_id" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.portlet_name">
+<code class="descname">portlet_name</code><em class="property"> = None</em><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.portlet_name" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfiguration.settings">
+<code class="descname">settings</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfiguration.settings" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.portlet.PortletConfigurationAdapter">
+<code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletConfigurationAdapter</code><span class="sig-paren">(</span><em>portlet</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portlet configuration factory</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletConfigurationPermissionChecker">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletConfigurationPermissionChecker</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationPermissionChecker" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>Portlet configuration permission checker</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletConfigurationPermissionChecker.edit_permission">
+<code class="descname">edit_permission</code><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationPermissionChecker.edit_permission" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.portlet.PortletConfigurationSettingsAdapter">
+<code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletConfigurationSettingsAdapter</code><span class="sig-paren">(</span><em>configuration</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationSettingsAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portlet configuration settings adapter</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletConfigurationSettingsTraverser">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletConfigurationSettingsTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationSettingsTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++settings++ portlet configuration traverser</p>
+<dl class="method">
+<dt id="pyams_portal.portlet.PortletConfigurationSettingsTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletConfigurationSettingsTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletContentProvider">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletContentProvider</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletContentProvider" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_viewlet.html#pyams_viewlet.viewlet.ViewContentProvider" title="pyams_viewlet.viewlet.ViewContentProvider"><code class="xref py py-class docutils literal"><span class="pre">pyams_viewlet.viewlet.ViewContentProvider</span></code></a></p>
+<p>Base portlet content provider</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletPreviewer">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletPreviewer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletPreviewer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_portal.portlet.PortletContentProvider" title="pyams_portal.portlet.PortletContentProvider"><code class="xref py py-class docutils literal"><span class="pre">pyams_portal.portlet.PortletContentProvider</span></code></a></p>
+<p>Portlet previewer adapter</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletPreviewer.slot_configuration">
+<code class="descname">slot_configuration</code><a class="headerlink" href="#pyams_portal.portlet.PortletPreviewer.slot_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletRenderer">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletRenderer</code><span class="sig-paren">(</span><em>context</em>, <em>request</em>, <em>view</em>, <em>settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletRenderer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="#pyams_portal.portlet.PortletContentProvider" title="pyams_portal.portlet.PortletContentProvider"><code class="xref py py-class docutils literal"><span class="pre">pyams_portal.portlet.PortletContentProvider</span></code></a></p>
+<p>Portlet renderer adapter</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletRenderer.slot_configuration">
+<code class="descname">slot_configuration</code><a class="headerlink" href="#pyams_portal.portlet.PortletRenderer.slot_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletRenderer.target_interface">
+<code class="descname">target_interface</code><em class="property"> = None</em><a class="headerlink" href="#pyams_portal.portlet.PortletRenderer.target_interface" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletRenderersVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletRenderersVocabulary</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletRenderersVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p>
+<p>Portlet renderers vocabulary</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletSettings">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletSettings</code><span class="sig-paren">(</span><em>configuration</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletSettings" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portlet settings persistent class</p>
+<p>This class is supposed to be sub-classed by all custom portlet subclasses to
+store their configuration settings.
+Each portlet sub-class must define it’s settings class in it’s “settings_class” attribute.</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletSettings.configuration">
+<code class="descname">configuration</code><a class="headerlink" href="#pyams_portal.portlet.PortletSettings.configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletSettings.renderer">
+<code class="descname">renderer</code><a class="headerlink" href="#pyams_portal.portlet.PortletSettings.renderer" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.portlet.PortletSettings.visible">
+<code class="descname">visible</code><a class="headerlink" href="#pyams_portal.portlet.PortletSettings.visible" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.PortletVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">PortletVocabulary</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.PortletVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p>
+<p>Portlet vocabulary</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.portlet.portlet_config">
+<em class="property">class </em><code class="descclassname">pyams_portal.portlet.</code><code class="descname">portlet_config</code><span class="sig-paren">(</span><em>**settings</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.portlet.portlet_config" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Class decorator used to declare a portlet</p>
+<dl class="attribute">
+<dt id="pyams_portal.portlet.portlet_config.venusian">
+<code class="descname">venusian</code><em class="property"> = &lt;module 'venusian' from '/var/local/env/pycharm/lib/python3.5/site-packages/venusian/__init__.py'&gt;</em><a class="headerlink" href="#pyams_portal.portlet.portlet_config.venusian" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.site">
+<span id="pyams-portal-site-module"></span><h2>pyams_portal.site module<a class="headerlink" href="#module-pyams_portal.site" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_portal.site.PortalGenerationsChecker">
+<em class="property">class </em><code class="descclassname">pyams_portal.site.</code><code class="descname">PortalGenerationsChecker</code><a class="headerlink" href="#pyams_portal.site.PortalGenerationsChecker" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p>
+<p>Portal generations checker</p>
+<dl class="method">
+<dt id="pyams_portal.site.PortalGenerationsChecker.evolve">
+<code class="descname">evolve</code><span class="sig-paren">(</span><em>site</em>, <em>current=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.site.PortalGenerationsChecker.evolve" title="Permalink to this definition">¶</a></dt>
+<dd><p>Check for required utilities</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.site.PortalGenerationsChecker.generation">
+<code class="descname">generation</code><em class="property"> = 1</em><a class="headerlink" href="#pyams_portal.site.PortalGenerationsChecker.generation" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.site.handle_new_local_site">
+<code class="descclassname">pyams_portal.site.</code><code class="descname">handle_new_local_site</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.site.handle_new_local_site" title="Permalink to this definition">¶</a></dt>
+<dd><p>Create a new templates container when a site is created</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.slot">
+<span id="pyams-portal-slot-module"></span><h2>pyams_portal.slot module<a class="headerlink" href="#module-pyams_portal.slot" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_portal.slot.SlotConfiguration">
+<em class="property">class </em><code class="descclassname">pyams_portal.slot.</code><code class="descname">SlotConfiguration</code><span class="sig-paren">(</span><em>slot_name</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal slot class</p>
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.css_class">
+<code class="descname">css_class</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.css_class" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.slot.SlotConfiguration.get_css_class">
+<code class="descname">get_css_class</code><span class="sig-paren">(</span><em>device=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.get_css_class" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.slot.SlotConfiguration.get_width">
+<code class="descname">get_width</code><span class="sig-paren">(</span><em>device=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.get_width" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.lg_width">
+<code class="descname">lg_width</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.lg_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.md_width">
+<code class="descname">md_width</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.md_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.portlet_ids">
+<code class="descname">portlet_ids</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.portlet_ids" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.slot.SlotConfiguration.set_width">
+<code class="descname">set_width</code><span class="sig-paren">(</span><em>width</em>, <em>device=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.set_width" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.slot_name">
+<code class="descname">slot_name</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.slot_name" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.sm_width">
+<code class="descname">sm_width</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.sm_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.template">
+<code class="descname">template</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.template" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.visible">
+<code class="descname">visible</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.visible" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.slot.SlotConfiguration.xs_width">
+<code class="descname">xs_width</code><a class="headerlink" href="#pyams_portal.slot.SlotConfiguration.xs_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.template">
+<span id="pyams-portal-template-module"></span><h2>pyams_portal.template module<a class="headerlink" href="#module-pyams_portal.template" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplate">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplate</code><a class="headerlink" href="#pyams_portal.template.PortalTemplate" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal template class</p>
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplate.name">
+<code class="descname">name</code><a class="headerlink" href="#pyams_portal.template.PortalTemplate.name" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplateConfiguration">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateConfiguration</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal template configuration</p>
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.add_portlet">
+<code class="descname">add_portlet</code><span class="sig-paren">(</span><em>portlet_name</em>, <em>slot_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.add_portlet" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add portlet to given slot</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.add_row">
+<code class="descname">add_row</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.add_row" title="Permalink to this definition">¶</a></dt>
+<dd><p>Add new row and return last row index (0 based)</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.add_slot">
+<code class="descname">add_slot</code><span class="sig-paren">(</span><em>slot_name</em>, <em>row_id=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.add_slot" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.delete_portlet">
+<code class="descname">delete_portlet</code><span class="sig-paren">(</span><em>portlet_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.delete_portlet" title="Permalink to this definition">¶</a></dt>
+<dd><p>Delete portlet</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.delete_row">
+<code class="descname">delete_row</code><span class="sig-paren">(</span><em>row_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.delete_row" title="Permalink to this definition">¶</a></dt>
+<dd><p>Delete template row</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.delete_slot">
+<code class="descname">delete_slot</code><span class="sig-paren">(</span><em>slot_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.delete_slot" title="Permalink to this definition">¶</a></dt>
+<dd><p>Delete slot and associated portlets</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.get_portlet_slot">
+<code class="descname">get_portlet_slot</code><span class="sig-paren">(</span><em>portlet_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.get_portlet_slot" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get portlet slot</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.get_slot_configuration">
+<code class="descname">get_slot_configuration</code><span class="sig-paren">(</span><em>slot_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.get_slot_configuration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get slot configuration</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.get_slot_row">
+<code class="descname">get_slot_row</code><span class="sig-paren">(</span><em>slot_name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.get_slot_row" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.get_slots">
+<code class="descname">get_slots</code><span class="sig-paren">(</span><em>row_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.get_slots" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get ordered slots list</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.get_slots_width">
+<code class="descname">get_slots_width</code><span class="sig-paren">(</span><em>device=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.get_slots_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Get slots width</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.rows">
+<code class="descname">rows</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.rows" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.set_portlet_order">
+<code class="descname">set_portlet_order</code><span class="sig-paren">(</span><em>order</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.set_portlet_order" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set portlet order</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.set_row_order">
+<code class="descname">set_row_order</code><span class="sig-paren">(</span><em>order</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.set_row_order" title="Permalink to this definition">¶</a></dt>
+<dd><p>Change template row order</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.set_slot_order">
+<code class="descname">set_slot_order</code><span class="sig-paren">(</span><em>order</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.set_slot_order" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set slots order</p>
+</dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.set_slot_width">
+<code class="descname">set_slot_width</code><span class="sig-paren">(</span><em>slot_name</em>, <em>device</em>, <em>width</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.set_slot_width" title="Permalink to this definition">¶</a></dt>
+<dd><p>Set slot width</p>
+</dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.slot_config">
+<code class="descname">slot_config</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.slot_config" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.slot_names">
+<code class="descname">slot_names</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.slot_names" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateConfiguration.slot_order">
+<code class="descname">slot_order</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfiguration.slot_order" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.template.PortalTemplateConfigurationFactory">
+<code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateConfigurationFactory</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateConfigurationFactory" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal template configuration adapter</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplateContainer">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateContainer</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainer" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.container.folder.Folder</span></code></p>
+<p>Portal templates container</p>
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplateContainer.get_portlet_id">
+<code class="descname">get_portlet_id</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainer.get_portlet_id" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateContainer.last_portlet_id">
+<code class="descname">last_portlet_id</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainer.last_portlet_id" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplateContainerConfiguration">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateContainerConfiguration</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainerConfiguration" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.Persistent</span></code>, <code class="xref py py-class docutils literal"><span class="pre">zope.container.contained.Contained</span></code></p>
+<p>Portal template container configuration</p>
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplateContainerConfiguration.toolbar_portlets">
+<code class="descname">toolbar_portlets</code><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainerConfiguration.toolbar_portlets" title="Permalink to this definition">¶</a></dt>
+<dd><p>Computed attributes based on schema fields</p>
+<p>Field properties provide default values, data validation and error messages
+based on data found in field meta-data.</p>
+<p>Note that FieldProperties cannot be used with slots. They can only
+be used for attributes stored in instance dictionaries.</p>
+</dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.template.PortalTemplateContainerConfigurationAdapter">
+<code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateContainerConfigurationAdapter</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateContainerConfigurationAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal template container configuration factory</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplatePortletTraverser">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplatePortletTraverser</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplatePortletTraverser" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <a class="reference internal" href="pyams_utils.html#pyams_utils.adapter.ContextAdapter" title="pyams_utils.adapter.ContextAdapter"><code class="xref py py-class docutils literal"><span class="pre">pyams_utils.adapter.ContextAdapter</span></code></a></p>
+<p>++portlet++ template traverser</p>
+<dl class="method">
+<dt id="pyams_portal.template.PortalTemplatePortletTraverser.traverse">
+<code class="descname">traverse</code><span class="sig-paren">(</span><em>name</em>, <em>furtherpath=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplatePortletTraverser.traverse" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.template.PortalTemplatePortletsConfigurationAdapter">
+<code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplatePortletsConfigurationAdapter</code><span class="sig-paren">(</span><em>template</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplatePortletsConfigurationAdapter" title="Permalink to this definition">¶</a></dt>
+<dd><p>Portal template portlets configuration adapter</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplateSlotsVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplateSlotsVocabulary</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplateSlotsVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.schema.vocabulary.SimpleVocabulary</span></code></p>
+<p>Portal template slots vocabulary</p>
+</dd></dl>
+
+<dl class="class">
+<dt id="pyams_portal.template.PortalTemplatesVocabulary">
+<em class="property">class </em><code class="descclassname">pyams_portal.template.</code><code class="descname">PortalTemplatesVocabulary</code><span class="sig-paren">(</span><em>context</em>, <em>**kw</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.PortalTemplatesVocabulary" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.componentvocabulary.vocabulary.UtilityVocabulary</span></code></p>
+<p>Portal templates vocabulary</p>
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplatesVocabulary.interface">
+<code class="descname">interface</code><em class="property"> = &lt;InterfaceClass pyams_portal.interfaces.IPortalTemplate&gt;</em><a class="headerlink" href="#pyams_portal.template.PortalTemplatesVocabulary.interface" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.template.PortalTemplatesVocabulary.nameOnly">
+<code class="descname">nameOnly</code><em class="property"> = True</em><a class="headerlink" href="#pyams_portal.template.PortalTemplatesVocabulary.nameOnly" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.template.handle_added_template">
+<code class="descclassname">pyams_portal.template.</code><code class="descname">handle_added_template</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.handle_added_template" title="Permalink to this definition">¶</a></dt>
+<dd><p>Register shared template</p>
+</dd></dl>
+
+<dl class="function">
+<dt id="pyams_portal.template.handle_removed_template">
+<code class="descclassname">pyams_portal.template.</code><code class="descname">handle_removed_template</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.template.handle_removed_template" title="Permalink to this definition">¶</a></dt>
+<dd><p>Unregister removed template</p>
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal.views">
+<span id="pyams-portal-views-module"></span><h2>pyams_portal.views module<a class="headerlink" href="#module-pyams_portal.views" title="Permalink to this headline">¶</a></h2>
+<dl class="class">
+<dt id="pyams_portal.views.PortalContextIndexPage">
+<em class="property">class </em><code class="descclassname">pyams_portal.views.</code><code class="descname">PortalContextIndexPage</code><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage" title="Permalink to this definition">¶</a></dt>
+<dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">pyams_default_theme.page.BaseIndexPage</span></code></p>
+<p>Portal context index page</p>
+<dl class="method">
+<dt id="pyams_portal.views.PortalContextIndexPage.get_portlet">
+<code class="descname">get_portlet</code><span class="sig-paren">(</span><em>name</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage.get_portlet" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.views.PortalContextIndexPage.page">
+<code class="descname">page</code><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage.page" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.views.PortalContextIndexPage.portlet_configuration">
+<code class="descname">portlet_configuration</code><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage.portlet_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="method">
+<dt id="pyams_portal.views.PortalContextIndexPage.render_portlet">
+<code class="descname">render_portlet</code><span class="sig-paren">(</span><em>portlet_id</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage.render_portlet" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+<dl class="attribute">
+<dt id="pyams_portal.views.PortalContextIndexPage.template_configuration">
+<code class="descname">template_configuration</code><a class="headerlink" href="#pyams_portal.views.PortalContextIndexPage.template_configuration" title="Permalink to this definition">¶</a></dt>
+<dd></dd></dl>
+
+</dd></dl>
+
+</div>
+<div class="section" id="module-pyams_portal">
+<span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_portal" title="Permalink to this headline">¶</a></h2>
+<dl class="function">
+<dt id="pyams_portal.includeme">
+<code class="descclassname">pyams_portal.</code><code class="descname">includeme</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_portal.includeme" title="Permalink to this definition">¶</a></dt>
+<dd><p>Pyramid include</p>
+</dd></dl>
+
+</div>
+</div>
+
+
+          </div>
+        </div>
+      </div>
+      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
+        <div class="sphinxsidebarwrapper">
+  <h3><a href="index.html">Table Of Contents</a></h3>
+  <ul>
+<li><a class="reference internal" href="#">pyams_portal package</a><ul>
+<li><a class="reference internal" href="#subpackages">Subpackages</a></li>
+<li><a class="reference internal" href="#submodules">Submodules</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.include">pyams_portal.include module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.page">pyams_portal.page module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.portlet">pyams_portal.portlet module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.site">pyams_portal.site module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.slot">pyams_portal.slot module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.template">pyams_portal.template module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal.views">pyams_portal.views module</a></li>
+<li><a class="reference internal" href="#module-pyams_portal">Module contents</a></li>
+</ul>
+</li>
+</ul>
+
+<div id="searchbox" style="display: none" role="search">
+  <h3>Quick search</h3>
+    <form class="search" action="search.html" method="get">
+      <div><input type="text" name="q" /></div>
+      <div><input type="submit" value="Go" /></div>
+      <input type="hidden" name="check_keywords" value="yes" />
+      <input type="hidden" name="area" value="default" />
+    </form>
+</div>
+<script type="text/javascript">$('#searchbox').show(0);</script>
+        </div>
+      </div>
+      <div class="clearer"></div>
+    </div>
+    <div class="related" role="navigation" aria-label="related navigation">
+      <h3>Navigation</h3>
+      <ul>
+        <li class="right" style="margin-right: 10px">
+          <a href="genindex.html" title="General Index"
+             >index</a></li>
+        <li class="right" >
+          <a href="py-modindex.html" title="Python Module Index"
+             >modules</a> |</li>
+        <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> &#187;</li> 
+      </ul>
+    </div>
+    <div class="footer" role="contentinfo">
+        &#169; Copyright 2017, Thierry Florac.
+      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5.
+    </div>
+  </body>
+</html>
\ No newline at end of file