Package org.apache.lenya.cms.repository

Examples of org.apache.lenya.cms.repository.Node


        super.doCheckPreconditions();
        Publication pub = getPublication();
        if(pub == null) {
            return;
        }
        Node node = getNode();
        if (!node.isCheckedOut()) {
            String[] params = { "Live" };
            addErrorMessage("not-checked-out", params);
        }
    }
View Full Code Here


    public void toSAX(ContentHandler handler) throws SAXException {
        handler.startDocument();
        handler.startPrefixMapping("", SiteTreeImpl.NAMESPACE);

        Node repoNode = this.tree.getRepositoryNode();
        int revision = this.tree.getRevision(repoNode) + 1;
        AttributesImpl attrs = new AttributesImpl();
        attrs
                .addAttribute("", ATTR_REVISION, ATTR_REVISION, TYPE_CDATA, Integer
                        .toString(revision));
View Full Code Here

TOP

Related Classes of org.apache.lenya.cms.repository.Node

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.