Allon Mureinik has uploaded a new change for review.

Change subject: core: Remove unused TagsHandler methods
......................................................................

core: Remove unused TagsHandler methods

Change-Id: I01e44ce5e7f71f8c2c32d1dbf8969e8c50824966
Signed-off-by: Allon Mureinik <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsHandler.java
1 file changed, 0 insertions(+), 41 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/74/21674/1

diff --git 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsHandler.java
 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsHandler.java
index 314e26f..df58297 100644
--- 
a/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsHandler.java
+++ 
b/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/TagsHandler.java
@@ -3,13 +3,8 @@
 import org.ovirt.engine.core.common.businessentities.tags;
 import org.ovirt.engine.core.common.interfaces.ITagsHandler;
 import org.ovirt.engine.core.compat.Guid;
-import org.ovirt.engine.core.dal.dbbroker.DbFacade;
 
 public class TagsHandler implements ITagsHandler {
-
-    public void MoveTag(Guid tagId, Guid newParent) {
-        TagsDirector.getInstance().MoveTag(tagId, newParent);
-    }
 
     @Override
     public tags GetTagByTagName(String tagName) {
@@ -29,41 +24,5 @@
     @Override
     public String GetTagNameAndChildrenNames(Guid tagId) {
         return TagsDirector.getInstance().GetTagNameAndChildrenNames(tagId);
-    }
-
-    public static boolean IsUserAttachedToTag(Guid tagId, Guid userId) {
-        return (DbFacade
-                .getInstance()
-                .getTagDao()
-                .getAllForUsersWithIds(
-                        TagsDirector.getInstance()
-                                .GetTagIdAndChildrenIds(tagId)).size() != 0);
-    }
-
-    public static boolean IsUserGroupAttachedToTag(Guid tagId, Guid groupId) {
-        return (DbFacade
-                .getInstance()
-                .getTagDao()
-                .getAllForUsersWithIds(
-                        TagsDirector.getInstance()
-                                .GetTagIdAndChildrenIds(tagId)).size() != 0);
-    }
-
-    public static boolean IsVmAttachedToTag(Guid tagId, Guid vmId) {
-        return (DbFacade
-                .getInstance()
-                .getTagDao()
-                .getAllVmTagsWithIds(
-                        TagsDirector.getInstance()
-                                .GetTagIdAndChildrenIds(tagId)).size() != 0);
-    }
-
-    public static boolean IsVdsAttachedToTag(Guid tagId, int vdsId) {
-        return (DbFacade
-                .getInstance()
-                .getTagDao()
-                .getAllForVdsWithIds(
-                        TagsDirector.getInstance()
-                                .GetTagIdAndChildrenIds(tagId)).size() != 0);
     }
 }


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

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

Reply via email to