Locks or unlocks a list of application connections.
void lockApplicationConnections(Collection<String> applicationConnectionIds) throws SUPAdminException; void unlockApplicationConnections(Collection<String> applicationConnectionIds) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
PaginationResult<ApplicationConnectionVO> result = app.getApplicationConnections(filter, 0L, NULL);
Collection<String> appConnIds = new ArrayList<String>();
for (ApplicationConnectionVO appConn : result.getItems()) {
appConnIds.add(appConn.getId());
}
app.lockApplicationConnection(appConnIds);
app.unlockApplicationConnection(appConnIds);
This API requires the application connection ID of the application connection (and not the numeric ID of the application connection).