forked from Coded/SIPRP
devel cursos
git-svn-id: https://svn.coded.pt/svn/SIPRP@1360 bb69d46d-e84e-40c8-a05a-06db0d633741lxbfYeaa
parent
0af1a53191
commit
dc796fd689
Binary file not shown.
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* 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() );
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
public static AutorizacaoLogic getLogic()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public boolean insertPedido(EvoFrame ef, Integer intgr, String string, String string1, byte[] bytes, Integer intgr1) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
public static AutorizacaoProvider getProvider()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public Integer getAutorizadorCursos()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public Integer getSubTipoIDForDescricao(String string) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* 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
|
||||
{
|
||||
public static EntidadesProvider getProvider()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public EntidadeInterface loadEntidade(Integer intgr) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public IDObject[] getEntidades() throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
}
|
||||
@ -0,0 +1,114 @@
|
||||
/*
|
||||
* 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.arrays.Virtual2DArray;
|
||||
import com.evolute.utils.data.IDObject;
|
||||
import com.evolute.utils.data.Mappable;
|
||||
import com.evolute.utils.ui.search.SearchDialog;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author lflores
|
||||
*/
|
||||
public class PessoasProvider implements PessoasProviderInterface
|
||||
{
|
||||
public static PessoasProvider getProvider()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public String getNacionalidadeByPaisID(Integer intgr) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public List<IDObject> getTiposDocumento() throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public PessoaDocumentoInterface[] getDocumentosForPessoa(Integer intgr) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public PessoaInterface newPessoa()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public PessoaDocumentoInterface newPessoaDocumento()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public Virtual2DArray search(String string) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public boolean hasDetails()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public void showDetails(SearchDialog sd, Object o) throws Exception
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public String getSearchTitle()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
public String[] getColumnNames()
|
||||
{
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue