From fdbddca96519f3d0bbf6362bdc8ae56303045baf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Flores?= Date: Tue, 10 Aug 2010 18:37:56 +0000 Subject: [PATCH] devel cursos git-svn-id: https://svn.coded.pt/svn/SIPRP@1372 bb69d46d-e84e-40c8-a05a-06db0d633741 --- .../src/siprp/cursos/CursosInit.java | 31 ----- .../src/siprp/cursos/CursosWindowAdapter.java | 21 ---- .../siprp/cursos/logic/AutorizacaoLogic.java | 37 ------ .../cursos/provider/AutorizacaoProvider.java | 41 ------- .../cursos/provider/EntidadesProvider.java | 44 ------- .../cursos/provider/PessoasProvider.java | 110 ------------------ 6 files changed, 284 deletions(-) delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/CursosInit.java delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/CursosWindowAdapter.java delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/logic/AutorizacaoLogic.java delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/provider/AutorizacaoProvider.java delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/provider/EntidadesProvider.java delete mode 100644 trunk/SIPRPSoft/src/siprp/cursos/provider/PessoasProvider.java diff --git a/trunk/SIPRPSoft/src/siprp/cursos/CursosInit.java b/trunk/SIPRPSoft/src/siprp/cursos/CursosInit.java deleted file mode 100644 index ef0e4ad2..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/CursosInit.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos; - -import com.evolute.genericpeople.AutorizacaoLogicFactory; -import com.evolute.genericpeople.AutorizacaoProviderFactory; -import com.evolute.genericpeople.EntidadesProviderFactory; -import com.evolute.genericpeople.PessoasProviderFactory; -import siprp.cursos.logic.AutorizacaoLogic; -import siprp.cursos.provider.AutorizacaoProvider; -import siprp.cursos.provider.EntidadesProvider; -import siprp.cursos.provider.PessoasProvider; - -/** - * - * @author lflores - */ -public class CursosInit -{ - public static void initFactory() - throws Exception - { - AutorizacaoProviderFactory.setProvider( AutorizacaoProvider.getProvider() ); - AutorizacaoLogicFactory.setLogic( AutorizacaoLogic.getLogic() ); - EntidadesProviderFactory.setProvider( EntidadesProvider.getProvider() ); - PessoasProviderFactory.setProvider( PessoasProvider.getProvider() ); - } -} diff --git a/trunk/SIPRPSoft/src/siprp/cursos/CursosWindowAdapter.java b/trunk/SIPRPSoft/src/siprp/cursos/CursosWindowAdapter.java deleted file mode 100644 index 63d1daa9..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/CursosWindowAdapter.java +++ /dev/null @@ -1,21 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos; - -import com.evolute.utils.tracker.TrackableWindow; - -/** - * - * @author lflores - */ -public class CursosWindowAdapter extends com.evolute.module.cursos.CursosWindow - implements TrackableWindow -{ - public CursosWindowAdapter() - throws Exception - { - } -} diff --git a/trunk/SIPRPSoft/src/siprp/cursos/logic/AutorizacaoLogic.java b/trunk/SIPRPSoft/src/siprp/cursos/logic/AutorizacaoLogic.java deleted file mode 100644 index 48cce134..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/logic/AutorizacaoLogic.java +++ /dev/null @@ -1,37 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos.logic; - -import com.evolute.genericpeople.AutorizacaoLogicInterface; -import com.evolute.swing.frame.EvoFrame; - -/** - * - * @author lflores - */ -public class AutorizacaoLogic implements AutorizacaoLogicInterface -{ - private static AutorizacaoLogic logic = null; - - private AutorizacaoLogic() - { - } - - public static AutorizacaoLogic getLogic() - throws Exception - { - if( logic == null ) - { - logic = new AutorizacaoLogic(); - } - return logic; - } - - public boolean insertPedido(EvoFrame ef, Integer intgr, String string, String string1, byte[] bytes, Integer intgr1) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } -} diff --git a/trunk/SIPRPSoft/src/siprp/cursos/provider/AutorizacaoProvider.java b/trunk/SIPRPSoft/src/siprp/cursos/provider/AutorizacaoProvider.java deleted file mode 100644 index 01a01d9f..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/provider/AutorizacaoProvider.java +++ /dev/null @@ -1,41 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos.provider; - -import com.evolute.genericpeople.AutorizacaoProviderInterface; - -/** - * - * @author lflores - */ -public class AutorizacaoProvider implements AutorizacaoProviderInterface -{ - private static AutorizacaoProvider provider = null; - - private AutorizacaoProvider() - { - } - - public static AutorizacaoProvider getProvider() - throws Exception - { - if( provider == null ) - { - provider = new AutorizacaoProvider(); - } - return provider; - } - - public Integer getAutorizadorCursos() - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public Integer getSubTipoIDForDescricao(String string) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } -} diff --git a/trunk/SIPRPSoft/src/siprp/cursos/provider/EntidadesProvider.java b/trunk/SIPRPSoft/src/siprp/cursos/provider/EntidadesProvider.java deleted file mode 100644 index eb6eed8f..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/provider/EntidadesProvider.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos.provider; - -import com.evolute.genericpeople.EntidadeInterface; -import com.evolute.genericpeople.EntidadesProviderInterface; -import com.evolute.utils.data.IDObject; - -/** - * - * @author lflores - */ -public class EntidadesProvider implements EntidadesProviderInterface -{ - private static EntidadesProvider provider = null; - - private EntidadesProvider() - { - } - - public static EntidadesProvider getProvider() - throws Exception - { - if( provider == null ) - { - provider = new EntidadesProvider(); - } - return provider; - } - - public EntidadeInterface loadEntidade(Integer intgr) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public IDObject[] getEntidades() throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - -} diff --git a/trunk/SIPRPSoft/src/siprp/cursos/provider/PessoasProvider.java b/trunk/SIPRPSoft/src/siprp/cursos/provider/PessoasProvider.java deleted file mode 100644 index f0912af1..00000000 --- a/trunk/SIPRPSoft/src/siprp/cursos/provider/PessoasProvider.java +++ /dev/null @@ -1,110 +0,0 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ - -package siprp.cursos.provider; - -import com.evolute.genericpeople.PessoaDocumentoInterface; -import com.evolute.genericpeople.PessoaInterface; -import com.evolute.genericpeople.PessoasProviderInterface; -import com.evolute.module.cursos.data.CurFormadoresData; -import com.evolute.module.cursos.data.CurFormandosData; -import com.evolute.utils.data.IDObject; -import com.evolute.utils.data.Mappable; -import com.evolute.utils.data.MappableObject; -import com.evolute.utils.ui.search.SearchExecuter; -import java.util.ArrayList; -import java.util.List; -import siprp.data.outer.TrabalhadoresData; - -/** - * - * @author lflores - */ -public class PessoasProvider implements PessoasProviderInterface -{ - private static PessoasProvider provider = null; - - private final Mappable PAISES[] = new Mappable[]{ new MappableObject( 0, "Portugal" ) }; - - private PessoasProvider() - { - } - - public static PessoasProvider getProvider() - throws Exception - { - if( provider == null ) - { - provider = new PessoasProvider(); - } - return provider; - } - - public void setDocumentosForPessoa(Integer intgr, PessoaDocumentoInterface[] pdis) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public PessoaInterface getPessoaFromFormador(CurFormadoresData cfd) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public PessoaInterface getPessoaFromFormando(CurFormandosData cfd) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public boolean biAlreadyExists(Integer intgr, String string) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public PessoaInterface loadPessoa(Integer intgr) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public List getAllPessoasIDObjects() throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public Mappable[] getPaises() throws Exception - { - return PAISES; - } - - public String getNacionalidadeByPaisID(Integer intgr) throws Exception - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public List getTiposDocumento() throws Exception - { - List list = new ArrayList(); - return list; - } - - public PessoaDocumentoInterface[] getDocumentosForPessoa(Integer intgr) throws Exception - { - return new PessoaDocumentoInterface[ 0 ]; - } - - public TrabalhadoresData newPessoa() - { - return new TrabalhadoresData(); - } - - public PessoaDocumentoInterface newPessoaDocumento() - { - throw new UnsupportedOperationException("Not supported yet."); - } - - public SearchExecuter getSearcher() - { - throw new UnsupportedOperationException("Not supported yet."); - } -}