Package org.exist.xmldb

Examples of org.exist.xmldb.XmldbURI.startsWith()


        if (elementStack == 0) {
            StoredNode node = getCurrentNode();
            if (node != null) {
                DocumentImpl doc = node.getDocument();
                XmldbURI uri = doc.getURI();
                if (!uri.startsWith(XmldbURI.SYSTEM_COLLECTION_URI)) {
                   
                    if (doc.getCollection().getConfiguration(getBroker()).triggerRegistered(VersioningTrigger.class)) {
                        try {
                            long rev = VersioningHelper.getCurrentRevision(getBroker(), doc.getURI());
                            long time = System.currentTimeMillis();
View Full Code Here


            {return;}

        checkForUpdates(broker, document.getURI(), document);

        final XmldbURI uri = document.getCollection().getURI();
        if (uri.startsWith(SecurityManager.SECURITY_COLLECTION_URI)) {
            try {
                broker.getBrokerPool().getSecurityManager().processPramatter(broker, document);
            } catch (final ConfigurationException e) {
                LOG.error("Configuration can't be processed [" + document.getURI() + "]", e);
                //TODO : raise exception ? -pb
View Full Code Here

        if (Configurator.saving.contains(Configurator.getFullURI(broker.getBrokerPool(), document.getURI()))) {
            return;
        }

        final XmldbURI uri = document.getCollection().getURI();
        if (uri.startsWith(SecurityManager.SECURITY_COLLECTION_URI)) {
            try {
                broker.getBrokerPool().getSecurityManager()
                .processPramatterBeforeSave(broker, document);
            } catch (final ConfigurationException e) {
                LOG.error("Configuration can't be processed [" + document.getURI() + "]", e);
View Full Code Here

        }

      checkForUpdates(broker, document.getURI(), document);

        final XmldbURI uri = document.getCollection().getURI();
        if (uri.startsWith(SecurityManager.SECURITY_COLLECTION_URI)) {
            try {
                broker.getBrokerPool().getSecurityManager().processPramatter(broker, document);
            } catch (final ConfigurationException e) {
                LOG.error("Configuration can't be processed [" + document.getURI() + "]", e);
                //TODO : raise exception ? -pb
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.