Examples of removeTag()


Examples of org.wso2.carbon.registry.core.session.UserRegistry.removeTag()

        adminRegistry.applyTag("/r1", "java");
        fooRegistry.applyTag("/r1", "java");
        barRegistry.applyTag("/r1", "java");

        // normal user removes a tag. only the tag applied by the user is removed
        barRegistry.removeTag("/r1", "java");
        Tag[] tags4 = adminRegistry.getTags("/r1");
        assertEquals("There should be 2 taggings on resource '/r1'", 2, tags4[0].getTagCount());
    }
}
View Full Code Here

Examples of org.wso2.carbon.registry.core.session.UserRegistry.removeTag()

    }
   
    public void removeTag(String tag, String path, String sessionId)
    throws RegistryException {
        UserRegistry registry = (UserRegistry) getRootRegistry();
        registry.removeTag(path, tag);

    }

    public RatingBean getRatings(String path, String sessionId) throws RegistryException {
        UserRegistry registry = (UserRegistry) getRootRegistry();
View Full Code Here

Examples of org.xwiki.tag.test.po.TaggablePage.removeTag()

        // Add tags.
        TaggablePage taggablePage = new TaggablePage();
        AddTagsPane addTagsPane = taggablePage.addTags();
        addTagsPane.setTags("foo,bar");
        addTagsPane.add();
        taggablePage.removeTag("foo");

        // Attach files.
        AttachmentsPane attachmentsPane = testPage.openAttachmentsDocExtraPane();
        // TODO: Update this code when we (re)add support for uploading multiple files at once.
        for (String fileName : new String[] {"SmallAttachment.txt", "SmallAttachment2.txt", "SmallAttachment.txt"}) {
View Full Code Here

Examples of soot.SootField.removeTag()

                        System.out.println("updating type tag of " + field
                                + " to "
                                + typeAnalysis.getSpecializedType(field));
                    }

                    field.removeTag("_CGType");
                    field.addTag(new TypeTag(typeAnalysis
                            .getSpecializedType(field)));
                }

                map.put(field, typeAnalysis.getSpecializedType(field));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.