use of cz.metacentrum.perun.webgui.json.usersManager.FindUsersByIdsNotInRpc in project perun by CESNET.
the class AddGroupManagerTabItem method startSearching.
/**
* Starts the search for users
*/
protected void startSearching(String text) {
users.clearTable();
// IS searched string IDs?
if (JsonUtils.isStringWithIds(text)) {
FindUsersByIdsNotInRpc req = new FindUsersByIdsNotInRpc(new JsonCallbackEvents() {
@Override
public void onFinished(JavaScriptObject jso) {
ArrayList<User> usersList = JsonUtils.jsoAsList(jso);
for (User u : usersList) {
users.addToTable(u);
}
}
}, text);
req.retrieveData();
return;
}
users.searchFor(text);
}
use of cz.metacentrum.perun.webgui.json.usersManager.FindUsersByIdsNotInRpc in project perun by CESNET.
the class AddVoManagerTabItem method startSearching.
/**
* Starts the search for users
*/
protected void startSearching(String text) {
users.clearTable();
// IS searched string IDs?
if (JsonUtils.isStringWithIds(text)) {
FindUsersByIdsNotInRpc req = new FindUsersByIdsNotInRpc(new JsonCallbackEvents() {
@Override
public void onFinished(JavaScriptObject jso) {
ArrayList<User> usersList = JsonUtils.jsoAsList(jso);
for (User u : usersList) {
users.addToTable(u);
}
}
}, text);
req.retrieveData();
return;
}
users.searchFor(text);
}
use of cz.metacentrum.perun.webgui.json.usersManager.FindUsersByIdsNotInRpc in project perun by CESNET.
the class AddFacilityManagerTabItem method startSearching.
/**
* Starts the search for users
*/
protected void startSearching(String text) {
users.clearTable();
// IS searched string IDs?
if (JsonUtils.isStringWithIds(text)) {
FindUsersByIdsNotInRpc req = new FindUsersByIdsNotInRpc(new JsonCallbackEvents() {
@Override
public void onFinished(JavaScriptObject jso) {
ArrayList<User> usersList = JsonUtils.jsoAsList(jso);
for (User u : usersList) {
users.addToTable(u);
}
}
}, text);
req.retrieveData();
return;
}
users.searchFor(text);
}
use of cz.metacentrum.perun.webgui.json.usersManager.FindUsersByIdsNotInRpc in project perun by CESNET.
the class AddUserToBlacklistTabItem method startSearching.
/**
* Starts the search for users
*/
protected void startSearching(String text) {
users.clearTable();
// IS searched string IDs?
if (JsonUtils.isStringWithIds(text)) {
FindUsersByIdsNotInRpc req = new FindUsersByIdsNotInRpc(new JsonCallbackEvents() {
@Override
public void onFinished(JavaScriptObject jso) {
ArrayList<User> usersList = JsonUtils.jsoAsList(jso);
for (User u : usersList) {
users.addToTable(u);
}
}
}, text);
req.retrieveData();
return;
}
users.searchFor(text);
}
use of cz.metacentrum.perun.webgui.json.usersManager.FindUsersByIdsNotInRpc in project perun by CESNET.
the class AddSecurityTeamManagerTabItem method startSearching.
/**
* Starts the search for users
*/
protected void startSearching(String text) {
users.clearTable();
// IS searched string IDs?
if (JsonUtils.isStringWithIds(text)) {
FindUsersByIdsNotInRpc req = new FindUsersByIdsNotInRpc(new JsonCallbackEvents() {
@Override
public void onFinished(JavaScriptObject jso) {
ArrayList<User> usersList = JsonUtils.jsoAsList(jso);
for (User u : usersList) {
users.addToTable(u);
}
}
}, text);
req.retrieveData();
return;
}
users.searchFor(text);
}
Aggregations