Examples of removeProperty()


Examples of org.apache.jackrabbit.core.persistence.bundle.util.NodePropBundle.removeProperty()

                        if (bundle == null) {
                            throw new NoSuchItemStateException(nodeId.toString());
                        }
                        modified.put(nodeId, bundle);
                    }
                    bundle.removeProperty(id.getName());
                }
            }
        }
        // add added properties
        iter = changeLog.addedStates();
View Full Code Here

Examples of org.apache.jackrabbit.core.persistence.pool.util.NodePropBundle.removeProperty()

                        if (bundle == null) {
                            throw new NoSuchItemStateException(nodeId.toString());
                        }
                        modified.put(nodeId, bundle);
                    }
                    bundle.removeProperty(id.getName());
                }
            }
        }
        // add added properties
        for (ItemState state : changeLog.addedStates()) {
View Full Code Here

Examples of org.apache.jackrabbit.core.persistence.util.NodePropBundle.removeProperty()

                        if (bundle == null) {
                            throw new NoSuchItemStateException(nodeId.toString());
                        }
                        modified.put(nodeId, bundle);
                    }
                    bundle.removeProperty(id.getName(), getBlobStore());
                }
            }
        }
        // add added properties
        for (ItemState state : changeLog.addedStates()) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.api.Tree.removeProperty()

                PropertyBuilder<String> prop = PropertyBuilder.copy(Type.WEAKREFERENCE, refs);
                if (prop.hasValue(memberContentId)) {
                    prop.removeValue(memberContentId);
                    if (prop.isEmpty()) {
                        if (t == groupTree) {
                            t.removeProperty(UserConstants.REP_MEMBERS);
                        } else {
                            t.remove();
                        }
                    } else {
                        t.setProperty(prop.getPropertyState());
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.state.NodeBuilder.removeProperty()

                builders.addFirst(builder);
            }

            // Drop the match value,  if present
            if (builder.exists()) {
                builder.removeProperty("match");
            }

            // Prune all index nodes that are no longer needed
            for (NodeBuilder node : builders) {
                if (node.getBoolean("match") || node.getChildNodeCount(1) > 0) {
View Full Code Here

Examples of org.apache.jackrabbit.oak.spi.state.NodeStateBuilder.removeProperty()

    }

    @Override
    public void removeProperty(String name) {
        NodeStateBuilder builder = getNodeStateBuilder();
        builder.removeProperty(name);
        updateParentState(builder.getNodeState());
    }

    /**
     * Move this tree to the parent at {@code destParent} with the new name
View Full Code Here

Examples of org.apache.jackrabbit.oak.util.NodeUtil.removeProperty()

        rNode.setNames(REP_NT_NAMES); // empty array

        provider.validateRestrictions("/test", aceNode.getTree());

        // remove mandatory restriction
        rNode.removeProperty("boolean");
        try {
            provider.validateRestrictions("/test", aceNode.getTree());
            fail("validation should detect missing mandatory restrictions");
        } catch (AccessControlException e) {
            // success
View Full Code Here

Examples of org.apache.myfaces.extensions.validator.core.storage.RendererInterceptorPropertyStorage.removeProperty()

    {
        RendererInterceptorPropertyStorage interceptorPropertyStorage = getRendererInterceptorPropertyStorage();

        for(String key : getInterceptorProperties(uiComponent).keySet())
        {
            interceptorPropertyStorage.removeProperty(key);
        }
    }

    private RendererInterceptorPropertyStorage getRendererInterceptorPropertyStorage()
    {
View Full Code Here

Examples of org.apache.openjpa.lib.util.Options.removeProperty()

                Configurations.configureInstance(factory, conf, opts,
                        getProperty());
            } catch (Throwable t) {
                throw new UserException(_loc.get("bad-thread-factory", fName), t);
            } finally {
                opts.removeProperty("ThreadFactory");
            }
        } else {
            factory = Executors.defaultThreadFactory();
        }
        if ("cached".equals(cls)) {
View Full Code Here

Examples of org.apache.servicemix.nmr.api.Exchange.removeProperty()

        assertNotNull(e.getProperties());
        e.setProperty("name", "value");
        assertEquals("value", e.getProperty("name"));
        assertNotNull(e.getProperty("name", String.class));
        assertNotNull(e.getProperty("name", byte[].class));
        assertNotNull(e.removeProperty("name"));
        assertNull(e.getProperty("name"));
        e.setProperty(Exchange.class, new ExchangeImpl(Pattern.InOnly));
        assertNotNull(e.getProperty(Exchange.class.getName(), Exchange.class));
        assertNotNull(e.getProperty(Exchange.class));
        assertNotNull(e.removeProperty(Exchange.class));
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.