Examples of unwrap()


Examples of ke.go.moh.oec.reception.controller.PersonWrapper.unwrap()

    private List<Fingerprint> getMPIFingerprintList() {
        PersonWrapper mpiMatchPersonWrapper = mainViewHelper.getSession().getMpiMatchPersonWrapper();
        List<Fingerprint> fingerprintList = new ArrayList<Fingerprint>();
        if (mpiMatchPersonWrapper != null
                && mpiMatchPersonWrapper.unwrap().getFingerprintList() != null
                && !mpiMatchPersonWrapper.unwrap().getFingerprintList().isEmpty()) {
            fingerprintList = mpiMatchPersonWrapper.unwrap().getFingerprintList();
            for (Fingerprint fingerprint : fingerprintList) {
                fingerprint.setDateChanged(new Date());
            }
View Full Code Here

Examples of org.apache.aries.proxy.ProxyManager.unwrap()

            Bundle bundle = FrameworkUtil.getBundle(CommandsCompleter.class);
            BundleContext bc = bundle.getBundleContext();
            ServiceReference<ProxyManager> ref = bc.getServiceReference(ProxyManager.class);
            ProxyManager pm = ref != null ? bc.getService(ref) : null;
            if (pm != null) {
                Callable call = pm.unwrap(function);
                if (call != null) {
                    return unProxy((Function) call.call());
                }
                bc.ungetService(ref);
            }
View Full Code Here

Examples of org.apache.axis2.jaxws.wrapper.JAXBWrapperTool.unWrap()

                    returnValue = null;
                } else if (isChildReturn) {
                    String returnName = operationDesc.getResultPartName();
                    // Use the wrapper tool to get the child objects.
                    JAXBWrapperTool wrapperTool = new JAXBWrapperToolImpl();
                    Object object = wrapperTool.unWrap(wrapperObject,
                            returnName,
                            marshalDesc.getPropertyDescriptorMap(
                                    wrapperObject.getClass()).get(returnName));
                    returnValue = object;
                    // returnValue may be incompatible with JAX-WS signature
View Full Code Here

Examples of org.apache.axis2.jaxws.wrapper.impl.JAXBWrapperToolImpl.unWrap()

                    returnValue = null;
                } else if (isChildReturn) {
                    String returnName = operationDesc.getResultPartName();
                    // Use the wrapper tool to get the child objects.
                    JAXBWrapperTool wrapperTool = new JAXBWrapperToolImpl();
                    Object object = wrapperTool.unWrap(wrapperObject,
                            returnName,
                            marshalDesc.getPropertyDescriptorMap(
                                    wrapperObject.getClass()).get(returnName));
                    returnValue = object;
                    // returnValue may be incompatible with JAX-WS signature
View Full Code Here

Examples of org.apache.jackrabbit.core.nodetype.NodeDefinitionImpl.unwrap()

            // fallback: try finding applicable definition
            NodeImpl parent = (NodeImpl) getItem(state.getParentId());
            NodeState parentState = (NodeState) parent.getItemState();
            NodeState.ChildNodeEntry cne = parentState.getChildNodeEntry(state.getNodeId());
            def = parent.getApplicableChildNodeDefinition(cne.getName(), state.getNodeTypeName());
            state.setDefinitionId(def.unwrap().getId());
        }
        return def;
    }

    private PropertyDefinition getDefinition(PropertyState state)
View Full Code Here

Examples of org.apache.jackrabbit.core.nodetype.PropertyDefinitionImpl.unwrap()

                    String[] constraints = def.getValueConstraints();
                    if (constraints != null) {
                        InternalValue[] values = propState.getValues();
                        try {
                            EffectiveNodeType.checkSetPropertyValueConstraints(
                                    def.unwrap(), values);
                        } catch (RepositoryException e) {
                            // repack exception for providing verboser error message
                            String msg = prop.safeGetJCRPath() + ": " + e.getMessage();
                            log.debug(msg);
                            throw new ConstraintViolationException(msg);
View Full Code Here

Examples of org.apache.jackrabbit.mongomk.impl.model.tree.MongoNodeState.unwrap()

            stagedNode.getProperties().remove(name);
        }

        for (Map.Entry<String, NodeState> entry : ourChanges.getAddedChildNodes().entrySet()) {
            MongoNodeState nodeState = (MongoNodeState)entry.getValue();
            stagedNode.addChildNodeEntry(nodeState.unwrap());
        }
        for (Map.Entry<String, NodeState> entry : ourChanges.getChangedChildNodes().entrySet()) {
            if (!theirChanges.getChangedChildNodes().containsKey(entry.getKey())) {
                MongoNodeState nodeState = (MongoNodeState)entry.getValue();
                stagedNode.addChildNodeEntry(nodeState.unwrap());
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.nodetype.NodeDefinitionImpl.unwrap()

        }

        // recursively add 'auto-create' child nodes defined in node type
        for (NodeDefinition aNda : nodeType.getAutoCreatedNodeDefinitions()) {
            NodeDefinitionImpl nd = (NodeDefinitionImpl) aNda;
            node.createChildNode(nd.unwrap().getName(), (NodeTypeImpl) nd.getDefaultPrimaryType(), null);
        }

        return node;
    }
View Full Code Here

Examples of org.apache.jackrabbit.spi.commons.nodetype.PropertyDefinitionImpl.unwrap()

        thisState.addChildNodeEntry(name, nodeState.getNodeId());

        // add 'auto-create' properties defined in node type
        for (PropertyDefinition aPda : nodeType.getAutoCreatedPropertyDefinitions()) {
            PropertyDefinitionImpl pd = (PropertyDefinitionImpl) aPda;
            node.createChildProperty(pd.unwrap().getName(), pd.getRequiredType(), pd);
        }

        // recursively add 'auto-create' child nodes defined in node type
        for (NodeDefinition aNda : nodeType.getAutoCreatedNodeDefinitions()) {
            NodeDefinitionImpl nd = (NodeDefinitionImpl) aNda;
View Full Code Here

Examples of org.apache.jackrabbit.vault.packaging.JcrPackageDefinition.unwrap()

            }
            // stay jcr 1.0 compatible
            //noinspection deprecation
            content.setProperty(JcrConstants.JCR_DATA, in);
            if (pack != null) {
                def.unwrap(pack, true, false);
            }
            if (autoSave) {
                parent.save();
            }
        } finally {
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.