Package net.sf.archimede.model.group

Examples of net.sf.archimede.model.group.GroupDao$LazyInvocationHandler


                    this.isFoldersInit = true;
                    return this.collection.getFolders();
                   
                } else if (method.getName().equals("getGroups") && !this.isGroupsInit) {
                    List groups = new ArrayList();
                    GroupDao groupDao = GroupDao.createInstance();
                    Node node = session.getNodeByUUID(this.collection.getId());
                    if (!node.hasNode(NodesTypes.PREFIX + GROUPS_NODE_NAME)) {
                      return groups;
                    }
                    for (NodeIterator ni = node.getNode(NodesTypes.PREFIX + GROUPS_NODE_NAME).getNodes(); ni.hasNext(); ) {
                        Node groupNode = ni.nextNode();
                        Group group = groupDao.retrieve(groupNode.getUUID());
                        groups.add(group);
                    }
                    this.collection.setGroups(groups);
                    this.isGroupsInit = true;
                    return this.collection.getGroups();
View Full Code Here

TOP

Related Classes of net.sf.archimede.model.group.GroupDao$LazyInvocationHandler

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.