devel cursos

git-svn-id: https://svn.coded.pt/svn/SIPRP@1372 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Luis Flores 15 years ago
parent baaac51e8a
commit fdbddca965

@ -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() );
}
}

@ -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
{
}
}

@ -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.");
}
}

@ -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.");
}
}

@ -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.");
}
}

@ -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<IDObject> 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<IDObject> getTiposDocumento() throws Exception
{
List<IDObject> list = new ArrayList<IDObject>();
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.");
}
}
Loading…
Cancel
Save