Package org.brixcms.jcr.wrapper

Examples of org.brixcms.jcr.wrapper.BrixNode


        return brix.getConfig().getRegistry().lookupCollection(SiteNodePlugin.POINT);
    }

    public BrixNode getSiteRootNode(String workspaceId) {
        JcrSession workspaceSession = brix.getCurrentSession(workspaceId);
        BrixNode root = (BrixNode) workspaceSession.getItem(getSiteRootPath());
        return root;
    }
View Full Code Here


                expandParents(n.getNodeModel().getObject());
            }
        }

        private void expandParents(BrixNode node) {
            BrixNode parent = (BrixNode) node.getParent();
            while (parent.getDepth() > 0) {
                expandNode(getTreeNode(parent));
                parent = (BrixNode) parent.getParent();
            }
        }
View Full Code Here

                    false, false, true);
        }
    };

    public static GlobalContainerNode initialize(JcrNode node) {
        BrixNode brixNode = (BrixNode) node;
        BrixFileNode.initialize(node, "text/html");
        brixNode.setNodeType(TYPE);

        return new GlobalContainerNode(node.getDelegate(), node.getSession());
    }
View Full Code Here

TOP

Related Classes of org.brixcms.jcr.wrapper.BrixNode

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.