public static boolean isNamedSystemApplicationReferencedFrom(String appName, String serverName) { List <Application> referencedApps = getSystemApplicationsReferencedFrom(serverName); for (Application app : referencedApps) { if (app.getName().equals(appName)) return true; } return false; }
public static Application getSystemApplicationReferencedFrom(String sn, String appName) { //returns null in case there is none List<Application> allApps = getSystemApplicationsReferencedFrom(sn); for (Application app : allApps) { if (app.getName().equals(appName)) { return app; } } return null; } public static boolean isNamedSystemApplicationReferencedFrom(String appName, String serverName) {
public Application getSystemApplicationReferencedFrom(String sn, String appName) { //returns null in case there is none List<Application> allApps = getSystemApplicationsReferencedFrom(sn); for (Application app : allApps) { if (app.getName().equals(appName)) { return app; } } return null; } public boolean isNamedSystemApplicationReferencedFrom(String appName, String serverName) {
public boolean isNamedSystemApplicationReferencedFrom(String appName, String serverName) { List <Application> referencedApps = getSystemApplicationsReferencedFrom(serverName); for (Application app : referencedApps) { if (app.getName().equals(appName)) return true; } return false; }