1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_content.shared.blog package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-content-shared-blog-package"> |
|
54 <h1>pyams_content.shared.blog package<a class="headerlink" href="#pyams-content-shared-blog-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="subpackages"> |
|
56 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
57 <div class="toctree-wrapper compound"> |
|
58 <ul> |
|
59 <li class="toctree-l1"><a class="reference internal" href="pyams_content.shared.blog.interfaces.html">pyams_content.shared.blog.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.blog.interfaces.html#module-pyams_content.shared.blog.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_content.shared.blog.zmi.html">pyams_content.shared.blog.zmi package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.blog.zmi.html#submodules">Submodules</a></li> |
|
65 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.blog.zmi.html#module-pyams_content.shared.blog.zmi.manager">pyams_content.shared.blog.zmi.manager module</a></li> |
|
66 <li class="toctree-l2"><a class="reference internal" href="pyams_content.shared.blog.zmi.html#module-pyams_content.shared.blog.zmi">Module contents</a></li> |
|
67 </ul> |
|
68 </li> |
|
69 </ul> |
|
70 </div> |
|
71 </div> |
|
72 <div class="section" id="submodules"> |
|
73 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
74 </div> |
|
75 <div class="section" id="module-pyams_content.shared.blog.manager"> |
|
76 <span id="pyams-content-shared-blog-manager-module"></span><h2>pyams_content.shared.blog.manager module<a class="headerlink" href="#module-pyams_content.shared.blog.manager" title="Permalink to this headline">¶</a></h2> |
|
77 <dl class="class"> |
|
78 <dt id="pyams_content.shared.blog.manager.BlogFolder"> |
|
79 <em class="property">class </em><code class="descclassname">pyams_content.shared.blog.manager.</code><code class="descname">BlogFolder</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogFolder" title="Permalink to this definition">¶</a></dt> |
|
80 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">zope.container.folder.Folder</span></code></p> |
|
81 <p>Blog folder class</p> |
|
82 <dl class="method"> |
|
83 <dt id="pyams_content.shared.blog.manager.BlogFolder.is_deletable"> |
|
84 <code class="descname">is_deletable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogFolder.is_deletable" title="Permalink to this definition">¶</a></dt> |
|
85 <dd></dd></dl> |
|
86 |
|
87 </dd></dl> |
|
88 |
|
89 <dl class="class"> |
|
90 <dt id="pyams_content.shared.blog.manager.BlogManager"> |
|
91 <em class="property">class </em><code class="descclassname">pyams_content.shared.blog.manager.</code><code class="descname">BlogManager</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager" title="Permalink to this definition">¶</a></dt> |
|
92 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.manager.SharedTool" title="pyams_content.shared.common.manager.SharedTool"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.manager.SharedTool</span></code></a>, <a class="reference internal" href="pyams_skin.html#pyams_skin.skin.UserSkinnableContent" title="pyams_skin.skin.UserSkinnableContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_skin.skin.UserSkinnableContent</span></code></a></p> |
|
93 <p>Nlog manager class</p> |
|
94 <dl class="attribute"> |
|
95 <dt id="pyams_content.shared.blog.manager.BlogManager.allowed_paragraphs"> |
|
96 <code class="descname">allowed_paragraphs</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.allowed_paragraphs" title="Permalink to this definition">¶</a></dt> |
|
97 <dd><p>Computed attributes based on schema fields</p> |
|
98 <p>Field properties provide default values, data validation and error messages |
|
99 based on data found in field meta-data.</p> |
|
100 <p>Note that FieldProperties cannot be used with slots. They can only |
|
101 be used for attributes stored in instance dictionaries.</p> |
|
102 </dd></dl> |
|
103 |
|
104 <dl class="attribute"> |
|
105 <dt id="pyams_content.shared.blog.manager.BlogManager.auto_created_paragraphs"> |
|
106 <code class="descname">auto_created_paragraphs</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.auto_created_paragraphs" title="Permalink to this definition">¶</a></dt> |
|
107 <dd><p>Computed attributes based on schema fields</p> |
|
108 <p>Field properties provide default values, data validation and error messages |
|
109 based on data found in field meta-data.</p> |
|
110 <p>Note that FieldProperties cannot be used with slots. They can only |
|
111 be used for attributes stored in instance dictionaries.</p> |
|
112 </dd></dl> |
|
113 |
|
114 <dl class="attribute"> |
|
115 <dt id="pyams_content.shared.blog.manager.BlogManager.folder_factory"> |
|
116 <code class="descname">folder_factory</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.folder_factory" title="Permalink to this definition">¶</a></dt> |
|
117 <dd><p>alias of <a class="reference internal" href="#pyams_content.shared.blog.manager.BlogFolder" title="pyams_content.shared.blog.manager.BlogFolder"><code class="xref py py-class docutils literal"><span class="pre">BlogFolder</span></code></a></p> |
|
118 </dd></dl> |
|
119 |
|
120 <dl class="method"> |
|
121 <dt id="pyams_content.shared.blog.manager.BlogManager.is_deletable"> |
|
122 <code class="descname">is_deletable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.is_deletable" title="Permalink to this definition">¶</a></dt> |
|
123 <dd></dd></dl> |
|
124 |
|
125 <dl class="attribute"> |
|
126 <dt id="pyams_content.shared.blog.manager.BlogManager.sequence_name"> |
|
127 <code class="descname">sequence_name</code><em class="property"> = ''</em><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.sequence_name" title="Permalink to this definition">¶</a></dt> |
|
128 <dd></dd></dl> |
|
129 |
|
130 <dl class="attribute"> |
|
131 <dt id="pyams_content.shared.blog.manager.BlogManager.sequence_prefix"> |
|
132 <code class="descname">sequence_prefix</code><em class="property"> = ''</em><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.sequence_prefix" title="Permalink to this definition">¶</a></dt> |
|
133 <dd></dd></dl> |
|
134 |
|
135 <dl class="attribute"> |
|
136 <dt id="pyams_content.shared.blog.manager.BlogManager.shared_content_factory"> |
|
137 <code class="descname">shared_content_factory</code><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.shared_content_factory" title="Permalink to this definition">¶</a></dt> |
|
138 <dd><p>alias of <code class="xref py py-class docutils literal"><span class="pre">BlogPost</span></code></p> |
|
139 </dd></dl> |
|
140 |
|
141 <dl class="attribute"> |
|
142 <dt id="pyams_content.shared.blog.manager.BlogManager.shared_content_type"> |
|
143 <code class="descname">shared_content_type</code><em class="property"> = 'blog'</em><a class="headerlink" href="#pyams_content.shared.blog.manager.BlogManager.shared_content_type" title="Permalink to this definition">¶</a></dt> |
|
144 <dd></dd></dl> |
|
145 |
|
146 </dd></dl> |
|
147 |
|
148 <dl class="function"> |
|
149 <dt id="pyams_content.shared.blog.manager.handle_added_blog_manager"> |
|
150 <code class="descclassname">pyams_content.shared.blog.manager.</code><code class="descname">handle_added_blog_manager</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.blog.manager.handle_added_blog_manager" title="Permalink to this definition">¶</a></dt> |
|
151 <dd><p>Register blog manager when added</p> |
|
152 </dd></dl> |
|
153 |
|
154 <dl class="function"> |
|
155 <dt id="pyams_content.shared.blog.manager.handle_deleted_blog_manager"> |
|
156 <code class="descclassname">pyams_content.shared.blog.manager.</code><code class="descname">handle_deleted_blog_manager</code><span class="sig-paren">(</span><em>event</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.blog.manager.handle_deleted_blog_manager" title="Permalink to this definition">¶</a></dt> |
|
157 <dd><p>Un-register blog manager when deleted</p> |
|
158 </dd></dl> |
|
159 |
|
160 </div> |
|
161 <div class="section" id="module-pyams_content.shared.blog"> |
|
162 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_content.shared.blog" title="Permalink to this headline">¶</a></h2> |
|
163 <dl class="class"> |
|
164 <dt id="pyams_content.shared.blog.BlogPost"> |
|
165 <em class="property">class </em><code class="descclassname">pyams_content.shared.blog.</code><code class="descname">BlogPost</code><a class="headerlink" href="#pyams_content.shared.blog.BlogPost" title="Permalink to this definition">¶</a></dt> |
|
166 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.SharedContent" title="pyams_content.shared.common.SharedContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.SharedContent</span></code></a></p> |
|
167 <p>Worfklow managed blog post class</p> |
|
168 <dl class="attribute"> |
|
169 <dt id="pyams_content.shared.blog.BlogPost.content_class"> |
|
170 <code class="descname">content_class</code><a class="headerlink" href="#pyams_content.shared.blog.BlogPost.content_class" title="Permalink to this definition">¶</a></dt> |
|
171 <dd><p>alias of <a class="reference internal" href="#pyams_content.shared.blog.WfBlogPost" title="pyams_content.shared.blog.WfBlogPost"><code class="xref py py-class docutils literal"><span class="pre">WfBlogPost</span></code></a></p> |
|
172 </dd></dl> |
|
173 |
|
174 <dl class="method"> |
|
175 <dt id="pyams_content.shared.blog.BlogPost.is_deletable"> |
|
176 <code class="descname">is_deletable</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_content.shared.blog.BlogPost.is_deletable" title="Permalink to this definition">¶</a></dt> |
|
177 <dd></dd></dl> |
|
178 |
|
179 </dd></dl> |
|
180 |
|
181 <dl class="class"> |
|
182 <dt id="pyams_content.shared.blog.WfBlogPost"> |
|
183 <em class="property">class </em><code class="descclassname">pyams_content.shared.blog.</code><code class="descname">WfBlogPost</code><a class="headerlink" href="#pyams_content.shared.blog.WfBlogPost" title="Permalink to this definition">¶</a></dt> |
|
184 <dd><p>Bases: <a class="reference internal" href="pyams_content.shared.common.html#pyams_content.shared.common.WfSharedContent" title="pyams_content.shared.common.WfSharedContent"><code class="xref py py-class docutils literal"><span class="pre">pyams_content.shared.common.WfSharedContent</span></code></a></p> |
|
185 <p>Base blog post</p> |
|
186 <dl class="attribute"> |
|
187 <dt id="pyams_content.shared.blog.WfBlogPost.content_name"> |
|
188 <code class="descname">content_name</code><em class="property"> = 'Blog post'</em><a class="headerlink" href="#pyams_content.shared.blog.WfBlogPost.content_name" title="Permalink to this definition">¶</a></dt> |
|
189 <dd></dd></dl> |
|
190 |
|
191 <dl class="attribute"> |
|
192 <dt id="pyams_content.shared.blog.WfBlogPost.content_type"> |
|
193 <code class="descname">content_type</code><em class="property"> = 'blog'</em><a class="headerlink" href="#pyams_content.shared.blog.WfBlogPost.content_type" title="Permalink to this definition">¶</a></dt> |
|
194 <dd></dd></dl> |
|
195 |
|
196 </dd></dl> |
|
197 |
|
198 </div> |
|
199 </div> |
|
200 |
|
201 |
|
202 </div> |
|
203 </div> |
|
204 </div> |
|
205 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
206 <div class="sphinxsidebarwrapper"> |
|
207 <h3><a href="index.html">Table Of Contents</a></h3> |
|
208 <ul> |
|
209 <li><a class="reference internal" href="#">pyams_content.shared.blog package</a><ul> |
|
210 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
211 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
212 <li><a class="reference internal" href="#module-pyams_content.shared.blog.manager">pyams_content.shared.blog.manager module</a></li> |
|
213 <li><a class="reference internal" href="#module-pyams_content.shared.blog">Module contents</a></li> |
|
214 </ul> |
|
215 </li> |
|
216 </ul> |
|
217 |
|
218 <div id="searchbox" style="display: none" role="search"> |
|
219 <h3>Quick search</h3> |
|
220 <form class="search" action="search.html" method="get"> |
|
221 <div><input type="text" name="q" /></div> |
|
222 <div><input type="submit" value="Go" /></div> |
|
223 <input type="hidden" name="check_keywords" value="yes" /> |
|
224 <input type="hidden" name="area" value="default" /> |
|
225 </form> |
|
226 </div> |
|
227 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
228 </div> |
|
229 </div> |
|
230 <div class="clearer"></div> |
|
231 </div> |
|
232 <div class="related" role="navigation" aria-label="related navigation"> |
|
233 <h3>Navigation</h3> |
|
234 <ul> |
|
235 <li class="right" style="margin-right: 10px"> |
|
236 <a href="genindex.html" title="General Index" |
|
237 >index</a></li> |
|
238 <li class="right" > |
|
239 <a href="py-modindex.html" title="Python Module Index" |
|
240 >modules</a> |</li> |
|
241 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
242 </ul> |
|
243 </div> |
|
244 <div class="footer" role="contentinfo"> |
|
245 © Copyright 2017, Thierry Florac. |
|
246 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
247 </div> |
|
248 </body> |
|
249 </html> |
|