Conjunto de mudanças 676 no repositório publico


Ignorar:
Timestamp:
22/09/2005 12:47:32 (14 anos atrás)
Autor:
jonesmadruga
Mensagem:

codigo com a implementacao dos ititulos de cada classe e metodos init dos containers

Localização:
ILSAALOrcamento/trunk
Arquivos:
17 editados

Legenda:

Não Modificado
Adicionado
Removido
  • ILSAALOrcamento/trunk/Assinatura.py

    r674 r676  
    133133    """
    134134    security = ClassSecurityInfo()
    135     __implements__ = (getattr(BaseContent,'__implements__',()),)
     135    __implements__ = (getattr(BaseContent,'__implements__',()),)+ (IAssinatura,)
    136136
    137137
  • ILSAALOrcamento/trunk/CasaLegislativa.py

    r674 r676  
    205205    """
    206206    security = ClassSecurityInfo()
    207     __implements__ = (getattr(BaseFolder,'__implements__',()),)
     207    __implements__ = (getattr(BaseFolder,'__implements__',()),)+ (ICasaLegislativa,)
    208208
    209209
  • ILSAALOrcamento/trunk/CasasLegislativas.py

    r672 r676  
    8686        """
    8787       
    88         pass
     88        BaseBTreeFolder.__init__(self, 'casas_legistativas')
    8989
    9090
  • ILSAALOrcamento/trunk/ClassificacaoOrcamentaria.py

    r674 r676  
    161161    """
    162162    security = ClassSecurityInfo()
    163     __implements__ = (getattr(BaseFolder,'__implements__',()),)
     163    __implements__ = (getattr(BaseFolder,'__implements__',()),)+ (IClassificacaoOrcamentaria,)
    164164
    165165
  • ILSAALOrcamento/trunk/ClassificacoesOrcamentarias.py

    r672 r676  
    8686        """
    8787       
    88         pass
     88        BaseBTreeFolder.__init__(self, 'classificacoes_orcamentarias')
    8989
    9090
  • ILSAALOrcamento/trunk/LeiOrcamentariaAprovada.py

    r672 r676  
    130130    """
    131131    security = ClassSecurityInfo()
    132     __implements__ = (getattr(BaseContent,'__implements__',()),)
     132    __implements__ = (getattr(BaseContent,'__implements__',()),)+ (ILeiOrcamentariaAprovada,)
    133133
    134134
     
    157157    #Methods
    158158
     159    security.declarePrivate('_titulo')
     160    def _titulo(self):
     161        """
     162        Configuracao do titulo que esse objeto deseja disponibilizar.
     163        """
     164
     165        return self.getAno_exercicio
     166
    159167registerType(LeiOrcamentariaAprovada,PROJECTNAME)
    160168# end of class LeiOrcamentariaAprovada
  • ILSAALOrcamento/trunk/LeisOrcamentariasAprovadas.py

    r672 r676  
    8686        """
    8787       
    88         pass
     88        BaseBTreeFolder.__init__(self, 'leis_orcamentarias_aprovadas')
    8989
    9090
  • ILSAALOrcamento/trunk/MovimentoOrcamentario.py

    r672 r676  
    147147    """
    148148    security = ClassSecurityInfo()
    149     __implements__ = (getattr(BaseContent,'__implements__',()),)
     149    __implements__ = (getattr(BaseContent,'__implements__',()),)+ (IMovimentoOrcamentario,)
    150150
    151151
     
    173173
    174174    #Methods
     175        def _titulo(self):
     176        """
     177        Configuracao do titulo que esse objeto deseja disponibilizar.
     178        """
     179
     180        return self.getAno_exercicio()
    175181
    176182registerType(MovimentoOrcamentario,PROJECTNAME)
  • ILSAALOrcamento/trunk/MovimentoOrcamentarioSimulado.py

    r672 r676  
    5959    """
    6060    security = ClassSecurityInfo()
    61     __implements__ = (getattr(MovimentoOrcamentario,'__implements__',()),) + (getattr(BaseContent,'__implements__',()),)
     61    __implements__ = (getattr(MovimentoOrcamentario,'__implements__',()),) + (getattr(BaseContent,'__implements__',()),)+ (IMovimentoOrcamentarioSimulado,)
    6262
    6363
  • ILSAALOrcamento/trunk/NaturezaDespesa.py

    r672 r676  
    147147    """
    148148    security = ClassSecurityInfo()
    149     __implements__ = (getattr(BaseContent,'__implements__',()),)
     149    __implements__ = (getattr(BaseContent,'__implements__',()),)+ (INaturezaDespesa,)
    150150
    151151
     
    173173
    174174    #Methods
     175        def _titulo(self):
     176        """
     177        Configuracao do titulo que esse objeto deseja disponibilizar.
     178        """
     179
     180        return self.getCod_categoria_desp()
     181
    175182
    176183registerType(NaturezaDespesa,PROJECTNAME)
  • ILSAALOrcamento/trunk/NaturezaReceita.py

    r672 r676  
    158158    """
    159159    security = ClassSecurityInfo()
    160     __implements__ = (getattr(BaseContent,'__implements__',()),)
     160    __implements__ = (getattr(BaseContent,'__implements__',()),)+ (INaturezaReceita,)
    161161
    162162
     
    184184
    185185    #Methods
     186        def _titulo(self):
     187        """
     188        Configuracao do titulo que esse objeto deseja disponibilizar.
     189        """
     190
     191        return self.getCod_categoria_rec()
    186192
    187193registerType(NaturezaReceita,PROJECTNAME)
  • ILSAALOrcamento/trunk/Programacao.py

    r674 r676  
    157157    """
    158158    security = ClassSecurityInfo()
    159     __implements__ = (getattr(BaseFolder,'__implements__',()),)
     159    __implements__ = (getattr(BaseFolder,'__implements__',()),)+ (IProgramacao,)
    160160
    161161
  • ILSAALOrcamento/trunk/ProgramacaoSimulada.py

    r672 r676  
    5858    """
    5959    security = ClassSecurityInfo()
    60     __implements__ = (getattr(Programacao,'__implements__',()),) + (getattr(BaseFolder,'__implements__',()),)
     60    __implements__ = (getattr(Programacao,'__implements__',()),) + (getattr(BaseFolder,'__implements__',()),)+ (IProgramacaoSimulada,)
    6161
    6262
  • ILSAALOrcamento/trunk/UnidadeOrcamentaria.py

    r674 r676  
    100100    """
    101101    security = ClassSecurityInfo()
    102     __implements__ = (getattr(BaseFolder,'__implements__',()),)
     102    __implements__ = (getattr(BaseFolder,'__implements__',()),)+ (IUnidadeOrcamentaria,)
    103103
    104104
  • ILSAALOrcamento/trunk/UnidadesOrcamentarias.py

    r672 r676  
    8686        """
    8787       
    88         pass
     88        BaseBTreeFolder.__init__(self, 'unidades_orcamentarias')
    8989
    9090
  • ILSAALOrcamento/trunk/interfaces/IMovimentoOrcamentarioSimulado.py

    r672 r676  
    2222__docformat__ = 'plaintext'
    2323
    24 from ITitulo import ITitulo
    2524
    2625
  • ILSAALOrcamento/trunk/interfaces/IOrcamentoSimulado.py

    r672 r676  
    2222__docformat__ = 'plaintext'
    2323
    24 from ITitulo import ITitulo
    2524
    2625
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

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