Package es.caib.seycon.ng.servei.ejb
Interface DispatcherService
-
public interface DispatcherService
EJB DispatcherService
-
-
Method Summary
-
-
-
Method Detail
-
startVirtualSourceTransaction
String startVirtualSourceTransaction(boolean readonly, String server) throws InternalErrorException
- Throws:
InternalErrorException
-
finishVirtualSourceTransaction
void finishVirtualSourceTransaction(String transactionId) throws InternalErrorException
- Throws:
InternalErrorException
-
isRegistrationTokenAlive
boolean isRegistrationTokenAlive(String token) throws InternalErrorException
- Throws:
InternalErrorException
-
findSystemByTextAndFilterAsync
AsyncList<Dispatcher> findSystemByTextAndFilterAsync(String text, String query) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSystemByTextAndJsonQueryAsync
AsyncList<Dispatcher> findSystemByTextAndJsonQueryAsync(String text, String jsonQuery) throws InternalErrorException
- Throws:
InternalErrorException
-
applyConfigurationAsync
AsyncProcessTracker applyConfigurationAsync(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
queryProcessStatus
AsyncProcessTracker queryProcessStatus(AsyncProcessTracker process) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSystemByTextAndFilter
PagedResult<Dispatcher> findSystemByTextAndFilter(String text, String query, Integer first, Integer max) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSystemByTextAndJsonQuery
PagedResult<Dispatcher> findSystemByTextAndJsonQuery(String text, String jsonQuery, Integer start, Integer pageSize) throws InternalErrorException
- Throws:
InternalErrorException
-
create
ReconcileTrigger create(ReconcileTrigger rp) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ReconcileTrigger update(ReconcileTrigger rp) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
testPropagateObject
DebugTaskResults testPropagateObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getNativeObject
GetObjectResults getNativeObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getSoffidObject
GetObjectResults getSoffidObject(String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
reconcile
GetObjectResults reconcile(String dispatcher, String accountName) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
AttributeMapping create(AttributeMapping mapping) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
AttributeMapping update(AttributeMapping mapping) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
ControlAcces create(ControlAcces controlAcces) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ControlAcces update(ControlAcces controlAcces) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Dispatcher create(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findDispatcherByCodi
Dispatcher findDispatcherByCodi(String codi) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findSoffidDispatcher
Dispatcher findSoffidDispatcher() throws InternalErrorException
- Throws:
InternalErrorException
-
update
Dispatcher update(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
GrupDispatcher create(GrupDispatcher grupDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
GrupDispatcher update(GrupDispatcher grupDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
ObjectMapping create(ObjectMapping om) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ObjectMapping update(ObjectMapping om) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
ObjectMappingProperty create(ObjectMappingProperty omp) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ObjectMappingProperty update(ObjectMappingProperty om) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
ObjectMappingTrigger create(ObjectMappingTrigger trigger) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
ObjectMappingTrigger update(ObjectMappingTrigger trigger) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
Server create(Server server) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
Server update(Server server) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
create
TipusUsuariDispatcher create(TipusUsuariDispatcher tipusUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
update
TipusUsuariDispatcher update(TipusUsuariDispatcher tipusUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
invokeAsync
Long invokeAsync(String dispatcher, String verb, String object, Map<String,Object> attributes) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
generateChangesReport
String generateChangesReport(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
preRegisterServer
String preRegisterServer(ServerRegistrationToken register) throws InternalErrorException
- Throws:
InternalErrorException
-
getServerTenants
String[] getServerTenants(Server server) throws InternalErrorException
- Throws:
InternalErrorException
-
findAllActiveDispatchers
Collection<Dispatcher> findAllActiveDispatchers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAllServers
Collection<Server> findAllServers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findAttributeMappingsByObject
Collection<AttributeMapping> findAttributeMappingsByObject(Long objectId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findControlAccesByCodiAgent
Collection<ControlAcces> findControlAccesByCodiAgent(String codiAgent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findDispatchersByFiltre
Collection<Dispatcher> findDispatchersByFiltre(String codi, String nomCla, String url, String basRol, String segur, Boolean actiu) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findObjectMappingPropertiesByObject
Collection<ObjectMappingProperty> findObjectMappingPropertiesByObject(Long objectId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findObjectMappingTriggersByObject
Collection<ObjectMappingTrigger> findObjectMappingTriggersByObject(Long objectId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findObjectMappingsByDispatcher
Collection<ObjectMapping> findObjectMappingsByDispatcher(Long dispatcherId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findReconcileTriggersByDispatcher
Collection<ReconcileTrigger> findReconcileTriggersByDispatcher(Long dispatcherId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
findTenantServers
Collection<Server> findTenantServers() throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getControlAcces
Collection<ControlAcces> getControlAcces(Dispatcher agent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getGrupsDispatcher
Collection<GrupDispatcher> getGrupsDispatcher(Dispatcher agent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
getTipusUsuariDispatcher
Collection<TipusUsuariDispatcher> getTipusUsuariDispatcher(Dispatcher agent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
invoke
Collection<Map<String,Object>> invoke(String dispatcher, String verb, String object, Map<String,Object> attributes) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
testObjectMapping
Map<String,Object> testObjectMapping(Map<String,String> sentences, String dispatcher, SoffidObjectType type, String object1, String object2) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
applyConfiguration
void applyConfiguration(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
checkConnectivity
void checkConnectivity(String dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(ReconcileTrigger rp) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(AttributeMapping mapping) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(ControlAcces controlAcces) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(GrupDispatcher grupDispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(ObjectMapping om) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(ObjectMappingProperty omp) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(ObjectMappingTrigger tirger) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(Server server) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
delete
void delete(TipusUsuariDispatcher tipusUsuari) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
propagateDispatcherGroups
void propagateDispatcherGroups(String codiAgent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
propagateRolsDispatcher
void propagateRolsDispatcher(String codiAgent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
propagateUsuarisDispatcher
void propagateUsuarisDispatcher(String codiAgent) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
renameAccounts
void renameAccounts(Dispatcher dispatcher) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
setDefaultMappingsByDispatcher
void setDefaultMappingsByDispatcher(Long dispatcherId) throws InternalErrorException, InternalErrorException
- Throws:
InternalErrorException
-
-