source: publico/ILSAALRecursosHumanos/trunk/Pensionistas.py @ 918

Última Alteração nesse arquivo desde 918 foi 918, incluída por jeanferri, 14 anos atrás

Implementada a documentação das classes do módulo de recursos humanos, mas faltam várias definições ainda que não estão na documentação

File size: 2.6 KB
Linha 
1# File: Pensionistas.py
2#
3# Copyright (c) 2005 by Interlegis
4# Generator: ArchGenXML Version 1.4.0-beta2 devel
5#            http://plone.org/products/archgenxml
6#
7# GNU General Public Licence (GPL)
8#
9# This program is free software; you can redistribute it and/or modify it under
10# the terms of the GNU General Public License as published by the Free Software
11# Foundation; either version 2 of the License, or (at your option) any later
12# version.
13# This program is distributed in the hope that it will be useful, but WITHOUT
14# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
16# details.
17# You should have received a copy of the GNU General Public License along with
18# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19# Place, Suite 330, Boston, MA  02111-1307  USA
20#
21__author__  = '''STC Interlegis <admin-stc@interlegis.gov.br>'''
22__docformat__ = 'plaintext'
23
24
25from AccessControl import ClassSecurityInfo
26from Products.Archetypes.atapi import *
27
28
29
30from Products.Archetypes.SQLStorage import *
31from Products.ILSAALRecursosHumanos.config import *
32##code-section module-header #fill in your manual code here
33##/code-section module-header
34
35schema=Schema((
36),
37)
38
39
40##code-section after-local-schema #fill in your manual code here
41##/code-section after-local-schema
42
43Pensionistas_schema = BaseFolderSchema + \
44    schema
45
46##code-section after-schema #fill in your manual code here
47##/code-section after-schema
48
49class Pensionistas(BaseFolder):
50    security = ClassSecurityInfo()
51    __implements__ = (getattr(BaseFolder,'__implements__',()),)
52
53
54    # This name appears in the 'add' box
55    archetype_name             = 'Pensionistas'
56
57    meta_type                  = 'Pensionistas'
58    portal_type                = 'Pensionistas'
59    allowed_content_types      = ['Pensionista']
60    filter_content_types       = 1
61    global_allow               = 1
62    allow_discussion           = 0
63    #content_icon               = 'Pensionistas.gif'
64    immediate_view             = 'base_view'
65    default_view               = 'base_view'
66    suppl_views                = ()
67    typeDescription            = "Pensionistas"
68    typeDescMsgId              = 'description_edit_pensionistas'
69
70    schema = Pensionistas_schema
71
72    ##code-section class-header #fill in your manual code here
73    ##/code-section class-header
74
75
76    #Methods
77
78registerType(Pensionistas,PROJECTNAME)
79# end of class Pensionistas
80
81##code-section module-footer #fill in your manual code here
82##/code-section module-footer
83
84
85
Note: Veja TracBrowser para ajuda no uso do navegador do trac.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.