Package com.dotmarketing.tag.model

Examples of com.dotmarketing.tag.model.Tag


                //delete user tags
                String userId = user.getUserId();
                List<TagInode> userTagsList = TagFactory.getTagInodeByInode(String.valueOf(userProxy.getInode()));
                for (TagInode tag : userTagsList) {
                  Tag retrievedTag = TagFactory.getTagByTagId(tag.getTagId());
                    TagFactory.deleteTagInode(tag);
                    TagFactory.deleteTag(retrievedTag.getTagId());
                }
                // deletes user proxy
                InodeFactory.deleteInode(userProxy);
                // deletes liferay user
                APILocator.getUserAPI().delete(APILocator.getUserAPI().loadUserById(token,APILocator.getUserAPI().getSystemUser(),false),com.dotmarketing.business.APILocator.getUserAPI().getSystemUser(), false);
View Full Code Here

TOP

Related Classes of com.dotmarketing.tag.model.Tag

Copyright © 2018 www.massapicom. 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.