Package es.caib.seycon.ng.servei
Interface PuntEntradaService
-
public interface PuntEntradaServiceService PuntEntradaService
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanAdmin(PuntEntrada puntEntrada)Operation canAdminbooleancanExecute(PuntEntrada puntEntrada)Operation canExecutebooleancanQuery(PuntEntrada puntEntrada)Operation canQuerybooleancanView(PuntEntrada puntEntrada)Operation canViewbooleancopiaEnlacePuntEntrada(PuntEntrada puntEntradaCopiar, PuntEntrada puntEntradaMenuDesti)Operation copiaEnlacePuntEntradabooleancopiaPuntEntrada(PuntEntrada puntEntradaCopiar, PuntEntrada puntEntradaMenuDesti)Operation copiaPuntEntradaPuntEntradacreate(PuntEntrada puntEntrada)Operation createAutoritzacioPuntEntradacreateAutoritzacio(PuntEntrada puntEntrada, AutoritzacioPuntEntrada autoritzacio)Operation createAutoritzacioExecucioPuntEntradacreateExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio)Operation createExecuciovoiddelete(PuntEntrada puntEntrada)Operation deletevoiddeleteAutoritzacio(PuntEntrada puntEntrada, AutoritzacioPuntEntrada autoritzacio)Operation deleteAutoritzaciovoiddeleteExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio)Operation deleteExecuciobooleanesAutoritzat(PuntEntrada puntEntrada, String nivell)Operation esAutoritzatbooleanesAutoritzat(String codiUsuari, Long idPuntEntrada, String nivell)Operation esAutoritzatList<PuntEntrada>findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize)Operation findAccessTreeByTextAndJsonQueryAsyncList<PuntEntrada>findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery)Operation findAccessTreeByTextAndJsonQueryAsyncCollection<PuntEntrada>findChildren(PuntEntrada puntEntrada)Operation findChildrenCollection<PuntEntrada>findMenuChildren(PuntEntrada puntEntrada)Operation findMenuChildrenPuntEntradafindPuntEntradaById(long id)Operation findPuntEntradaByIdCollection<PuntEntrada>findPuntsEntrada(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari)Operation findPuntsEntradaPuntEntradafindRoot()Operation findRootCollection<Aplicacio>getAllAplicacions(Boolean aplicacioBuida)Operation getAllAplicacionsCollection<TipusExecucioPuntEntrada>getAllTipusMimeExecucio()Operation getAllTipusMimeExecucioCollection<String>getArbreInversPuntEntrada(PuntEntrada puntEntrada)Operation getArbreInversPuntEntradaCollection<AutoritzacioPuntEntrada>getAutoritzacionsPUE(PuntEntrada puntEntrada)Operation getAutoritzacionsPUECollection<ExecucioPuntEntrada>getExecucions(PuntEntrada puntEntrada)Operation getExecucionsStringgetScopeForAddress(String address)Operation getScopeForAddressbooleanhasAnyACLPUE(String codiUsuari)Operation hasAnyACLPUEbooleanmoureMenusPuntEntrada(PuntEntrada puntEntradaMoure, PuntEntrada puntEntradaMenuDesti)Operation moureMenusPuntEntradabooleanreordenaPuntEntrada(PuntEntrada puntEntradaOrdenar, PuntEntrada puntEntradaSeguent)Operation reordenaPuntEntradavoidsortChildren(long entryPointId)Operation sortChildrenPuntEntradaupdate(PuntEntrada puntEntrada)Operation updateExecucioPuntEntradaupdateExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio)Operation updateExecucioStringvalidaXMLPUE(PuntEntrada puntEntrada)Operation validaXMLPUE
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
canAdmin
boolean canAdmin(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation canAdmin- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
canExecute
boolean canExecute(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation canExecute- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
canQuery
boolean canQuery(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation canQuery- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
canView
boolean canView(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation canView- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
copiaEnlacePuntEntrada
boolean copiaEnlacePuntEntrada(PuntEntrada puntEntradaCopiar, PuntEntrada puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation copiaEnlacePuntEntrada- Parameters:
puntEntradaCopiar-puntEntradaMenuDesti-- Returns:
- Throws:
InternalErrorException
-
copiaPuntEntrada
boolean copiaPuntEntrada(PuntEntrada puntEntradaCopiar, PuntEntrada puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation copiaPuntEntrada- Parameters:
puntEntradaCopiar-puntEntradaMenuDesti-- Returns:
- Throws:
InternalErrorException
-
esAutoritzat
boolean esAutoritzat(PuntEntrada puntEntrada, String nivell) throws InternalErrorException, InternalErrorException
Operation esAutoritzat- Parameters:
puntEntrada-nivell-- Returns:
- Throws:
InternalErrorException
-
esAutoritzat
boolean esAutoritzat(String codiUsuari, Long idPuntEntrada, String nivell) throws InternalErrorException, InternalErrorException
Operation esAutoritzat- Parameters:
codiUsuari-idPuntEntrada-nivell-- Returns:
- Throws:
InternalErrorException
-
hasAnyACLPUE
boolean hasAnyACLPUE(String codiUsuari) throws InternalErrorException, InternalErrorException
Operation hasAnyACLPUE- Parameters:
codiUsuari-- Returns:
- Throws:
InternalErrorException
-
moureMenusPuntEntrada
boolean moureMenusPuntEntrada(PuntEntrada puntEntradaMoure, PuntEntrada puntEntradaMenuDesti) throws InternalErrorException, InternalErrorException
Operation moureMenusPuntEntrada- Parameters:
puntEntradaMoure-puntEntradaMenuDesti-- Returns:
- Throws:
InternalErrorException
-
reordenaPuntEntrada
boolean reordenaPuntEntrada(PuntEntrada puntEntradaOrdenar, PuntEntrada puntEntradaSeguent) throws InternalErrorException, InternalErrorException
Operation reordenaPuntEntrada- Parameters:
puntEntradaOrdenar-puntEntradaSeguent-- Returns:
- Throws:
InternalErrorException
-
findAccessTreeByTextAndJsonQueryAsync
AsyncList<PuntEntrada> findAccessTreeByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
Operation findAccessTreeByTextAndJsonQueryAsync- Parameters:
text-jsonQuery-- Returns:
- Throws:
InternalErrorException
-
createAutoritzacio
AutoritzacioPuntEntrada createAutoritzacio(PuntEntrada puntEntrada, AutoritzacioPuntEntrada autoritzacio) throws InternalErrorException, InternalErrorException
Operation createAutoritzacio- Parameters:
puntEntrada-autoritzacio-- Returns:
- Throws:
InternalErrorException
-
createExecucio
ExecucioPuntEntrada createExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio) throws InternalErrorException, InternalErrorException
Operation createExecucio- Parameters:
puntEntrada-execucio-- Returns:
- Throws:
InternalErrorException
-
updateExecucio
ExecucioPuntEntrada updateExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio) throws InternalErrorException, InternalErrorException
Operation updateExecucio- Parameters:
puntEntrada-execucio-- Returns:
- Throws:
InternalErrorException
-
create
PuntEntrada create(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation create- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findPuntEntradaById
PuntEntrada findPuntEntradaById(long id) throws InternalErrorException, InternalErrorException
Operation findPuntEntradaById- Parameters:
id-- Returns:
- Throws:
InternalErrorException
-
findRoot
PuntEntrada findRoot() throws InternalErrorException, InternalErrorException
Operation findRoot- Returns:
- Throws:
InternalErrorException
-
update
PuntEntrada update(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation update- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
getScopeForAddress
String getScopeForAddress(String address) throws InternalErrorException
Operation getScopeForAddress- Parameters:
address-- Returns:
- Throws:
InternalErrorException
-
validaXMLPUE
String validaXMLPUE(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation validaXMLPUE- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findChildren
Collection<PuntEntrada> findChildren(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation findChildren- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findMenuChildren
Collection<PuntEntrada> findMenuChildren(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation findMenuChildren- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findPuntsEntrada
Collection<PuntEntrada> findPuntsEntrada(String nomPUE, String codiPUE, String codiAplicacio, String codiRol, String codiGrup, String codiUsuari) throws InternalErrorException, InternalErrorException
Operation findPuntsEntrada- Parameters:
nomPUE-codiPUE-codiAplicacio-codiRol-codiGrup-codiUsuari-- Returns:
- Throws:
InternalErrorException
-
getAllAplicacions
Collection<Aplicacio> getAllAplicacions(Boolean aplicacioBuida) throws InternalErrorException, InternalErrorException
Operation getAllAplicacions- Parameters:
aplicacioBuida-- Returns:
- Throws:
InternalErrorException
-
getAllTipusMimeExecucio
Collection<TipusExecucioPuntEntrada> getAllTipusMimeExecucio() throws InternalErrorException, InternalErrorException
Operation getAllTipusMimeExecucio- Returns:
- Throws:
InternalErrorException
-
getArbreInversPuntEntrada
Collection<String> getArbreInversPuntEntrada(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation getArbreInversPuntEntrada- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
getAutoritzacionsPUE
Collection<AutoritzacioPuntEntrada> getAutoritzacionsPUE(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation getAutoritzacionsPUE- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
getExecucions
Collection<ExecucioPuntEntrada> getExecucions(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation getExecucions- Parameters:
puntEntrada-- Returns:
- Throws:
InternalErrorException
-
findAccessTreeByTextAndJsonQuery
List<PuntEntrada> findAccessTreeByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
Operation findAccessTreeByTextAndJsonQuery- Parameters:
text-jsonQuery-start-pageSize-- Returns:
- Throws:
InternalErrorException
-
delete
void delete(PuntEntrada puntEntrada) throws InternalErrorException, InternalErrorException
Operation delete- Parameters:
puntEntrada-- Throws:
InternalErrorException
-
deleteAutoritzacio
void deleteAutoritzacio(PuntEntrada puntEntrada, AutoritzacioPuntEntrada autoritzacio) throws InternalErrorException, InternalErrorException
Operation deleteAutoritzacio- Parameters:
puntEntrada-autoritzacio-- Throws:
InternalErrorException
-
deleteExecucio
void deleteExecucio(PuntEntrada puntEntrada, ExecucioPuntEntrada execucio) throws InternalErrorException, InternalErrorException
Operation deleteExecucio- Parameters:
puntEntrada-execucio-- Throws:
InternalErrorException
-
sortChildren
void sortChildren(long entryPointId) throws InternalErrorExceptionOperation sortChildren- Parameters:
entryPointId-- Throws:
InternalErrorException
-
-