Package org.cyclos.services.system
Interface ServiceInterceptorService
-
- All Superinterfaces:
CRUDService<ServiceInterceptorDTO,ServiceInterceptorData,Void>,Service
- All Known Subinterfaces:
ServiceInterceptorServiceLocal
- All Known Implementing Classes:
ServiceInterceptorServiceImpl,ServiceInterceptorServiceSecurity
public interface ServiceInterceptorService extends CRUDService<ServiceInterceptorDTO,ServiceInterceptorData,Void>
Service for managing service interceptors
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisableAllInterceptorsInNetwork(NetworkVO network)Disables all service interceptors in the given network.List<ServiceInterceptorVO>list()Lists all available service interceptorsvoidsaveOrder(@NotNull List<Long> ids)Updates the order field according to the given ids sequence-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
disableAllInterceptorsInNetwork
void disableAllInterceptorsInNetwork(NetworkVO network) throws FrameworkException
Disables all service interceptors in the given network. As a last resort, if an interceptor script is preventing the usage of the system, it is possible to switch to global mode and call this on the specific network. Must be in global mode to run.- Throws:
FrameworkException
-
list
List<ServiceInterceptorVO> list() throws FrameworkException
Lists all available service interceptors- Throws:
FrameworkException
-
saveOrder
void saveOrder(@NotNull @NotNull List<Long> ids) throws FrameworkExceptionUpdates the order field according to the given ids sequence- Throws:
FrameworkException
-
-