source: publico/ILSAALRecursosHumanos/trunk/RepresentanteLegal.py @ 1159

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

Codigo gerado do modelo de RH atualizado

File size: 3.1 KB
Linha 
1# File: RepresentanteLegal.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 <stc@interlegis.gov.br>'''
22__docformat__ = 'plaintext'
23
24
25from AccessControl import ClassSecurityInfo
26from Products.Archetypes.atapi import *
27from PessoaFisica import PessoaFisica
28from Products.ILSAALRecursosHumanos.interfaces.IRepresentnteLegal import IRepresentnteLegal
29
30
31from Products.Archetypes.SQLStorage import *
32# additional imports from tagged value 'import'
33from Products.ILSAAL.saalapi import *
34
35from Products.ILSAALRecursosHumanos.config import *
36##code-section module-header #fill in your manual code here
37##/code-section module-header
38
39schema=Schema((
40),
41)
42
43
44##code-section after-local-schema #fill in your manual code here
45##/code-section after-local-schema
46
47RepresentanteLegal_schema = BaseSchema + \
48    getattr(PessoaFisica,'schema',Schema(())) + \
49    schema
50
51##code-section after-schema #fill in your manual code here
52##/code-section after-schema
53
54class RepresentanteLegal(PessoaFisica,BaseContent):
55    security = ClassSecurityInfo()
56    __implements__ = (getattr(PessoaFisica,'__implements__',()),) + (getattr(BaseContent,'__implements__',()),) + (IRepresentnteLegal,)
57
58
59    # This name appears in the 'add' box
60    archetype_name             = 'RepresentanteLegal'
61
62    meta_type                  = 'RepresentanteLegal'
63    portal_type                = 'RepresentanteLegal'
64    allowed_content_types      = [] + list(getattr(PessoaFisica, 'allowed_content_types', []))
65    filter_content_types       = 0
66    global_allow               = 1
67    allow_discussion           = 0
68    #content_icon               = 'RepresentanteLegal.gif'
69    immediate_view             = 'base_view'
70    default_view               = 'base_view'
71    suppl_views                = ()
72    typeDescription            = "RepresentanteLegal"
73    typeDescMsgId              = 'description_edit_representantelegal'
74
75    schema = RepresentanteLegal_schema
76
77    ##code-section class-header #fill in your manual code here
78    ##/code-section class-header
79
80
81    #Methods
82    #manually created methods
83
84    def _titulo(self):
85        """
86       
87        """
88       
89        pass
90
91
92
93registerType(RepresentanteLegal,PROJECTNAME)
94# end of class RepresentanteLegal
95
96##code-section module-footer #fill in your manual code here
97##/code-section module-footer
98
99
100
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.