Daniel Erez has uploaded a new change for review.

Change subject: webadmin: AsyncDataProvider - removed unused methods
......................................................................

webadmin: AsyncDataProvider - removed unused methods

Removed unused methods from AsyncDataProvider.

Change-Id: I60116fe63ab6999bec0f86c325a41070ee584c0d
Signed-off-by: Daniel Erez <[email protected]>
---
M 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
1 file changed, 0 insertions(+), 55 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/31/29031/1

diff --git 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
index 51b6092..9370239 100644
--- 
a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
+++ 
b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/dataprovider/AsyncDataProvider.java
@@ -883,22 +883,6 @@
                 aQuery);
     }
 
-    public static void getAllQuotasByClusterId(AsyncQuery aQuery, Guid 
clusterId) {
-        aQuery.converterCallback = new IAsyncConverter() {
-            @Override
-            public Object Convert(Object source, AsyncQuery _asyncQuery)
-            {
-                if (source == null) {
-                    return new ArrayList<Quota>();
-                }
-                return (ArrayList<Quota>) source;
-            }
-        };
-        
Frontend.getInstance().runQuery(VdcQueryType.GetAllRelevantQuotasForVdsGroup,
-                new IdQueryParameters(clusterId),
-                aQuery);
-    }
-
     public static void isSoundcardEnabled(AsyncQuery aQuery, Guid vmId) {
         aQuery.converterCallback = new IAsyncConverter() {
             @Override
@@ -3018,20 +3002,6 @@
         getConfigFromCache(tempVar, aQuery);
     }
 
-    public static void isMTUOverrideSupported(AsyncQuery aQuery, String 
version) {
-        aQuery.converterCallback = new IAsyncConverter() {
-            @Override
-            public Object Convert(Object source, AsyncQuery _asyncQuery)
-            {
-                return source != null ? ((Boolean) source).booleanValue() : 
true;
-            }
-        };
-        GetConfigurationValueParameters tempVar =
-                new 
GetConfigurationValueParameters(ConfigurationValues.MTUOverrideSupported);
-        tempVar.setVersion(version);
-        getConfigFromCache(tempVar, aQuery);
-    }
-
     public static void fillTagsRecursive(Tags tagToFill, List<Tags> children)
     {
         ArrayList<Tags> list = new ArrayList<Tags>();
@@ -3423,16 +3393,6 @@
                 asyncQuery);
     }
 
-    public static ArchitectureType getArchitectureTypeByOsId(Integer osId) {
-        if ((osId != null)
-                && (osArchitectures != null)
-                && (!osArchitectures.isEmpty())) {
-            return osArchitectures.get(osId);
-        } else {
-            return ArchitectureType.undefined;
-        }
-    }
-
     public static void getVmWatchdogTypes(int osId, Version version,
             AsyncQuery asyncQuery) {
         Frontend.getInstance().runQuery(VdcQueryType.OsRepository, new 
OsQueryParameters(
@@ -3509,21 +3469,6 @@
             }
         };
         
Frontend.getInstance().runQuery(VdcQueryType.GetVmGuestAgentInterfacesByVmId, 
new IdQueryParameters(vmId), aQuery);
-    }
-
-    public static void getAllVnicProfiles(AsyncQuery aQuery) {
-        aQuery.converterCallback = new IAsyncConverter() {
-            @Override
-            public Object Convert(Object source, AsyncQuery _asyncQuery)
-            {
-                if (source == null)
-                {
-                    return new ArrayList<VnicProfileView>();
-                }
-                return source;
-            }
-        };
-        Frontend.getInstance().runQuery(VdcQueryType.GetAllVnicProfiles, new 
VdcQueryParametersBase(), aQuery);
     }
 
     public static void getVnicProfilesByNetworkId(AsyncQuery aQuery, Guid 
networkId) {


-- 
To view, visit http://gerrit.ovirt.org/29031
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I60116fe63ab6999bec0f86c325a41070ee584c0d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Daniel Erez <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to