Examples of store()


Examples of org.apache.pluto.om.portlet.PortletDefinitionCtrl.store()

            portletEntityCtrl.store();
        }
        else
        {
            PortletDefinitionCtrl portletDefinitionCtrl = (PortletDefinitionCtrl)ControllerObjectAccess.get(portletDefinition);
            portletDefinitionCtrl.store();
        }

    }
    // --------------------------------------------------------------------------------------------
View Full Code Here

Examples of org.apache.servicemix.store.Store.store()

        }
    }
   
    public void testStoreAndLoad() throws Exception {
        Store store = factory.open("store");
        String id = store.store(new Integer(10));
        Integer i = (Integer) store.load(id);
        assertEquals(10, i.intValue());
        assertNull(store.load(id));
        assertNull(store.load("a"));
    }
View Full Code Here

Examples of org.apache.slide.content.Content.store()

            nextHnProp = new NodeProperty(I_NEXT_HISTORY_NAME,
                                          String.valueOf(nextHnLong + 1),
                                          NamespaceCache.SLIDE_URI );
            hpathNrd.setProperty( nextHnProp );
           
            content.store( sToken, hpath, hpathNrd, null ); //revisionContent = null
        }
                     
        return result;
    }
   
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.Entityhub.store()

        //for remote Entiteis as suggested by
        // http://incubator.apache.org/stanbol/docs/trunk/entityhub/entityhubandlinkeddata.html
        Map<String,Entity> updated = new HashMap<String,Entity>();
        for(Representation representation : parsed.values()){
            try {
                Entity entity = entityhub.store(representation);
                updated.put(entity.getId(), entity);
            }catch (EntityhubException e) {
                log.error(String.format("Exception while storing Entity %s" +
                        "in the Entityhub.",representation),e);
            }
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.site.ManagedSite.store()

        }
        long validateCompleted = System.currentTimeMillis();
        log.info("   ... validate request data {}ms",
            validateCompleted-start);
        try {
            managedSite.store(parsed.values());
        } catch (ManagedSiteException e) {
            log.error(String.format("Exception while storing parsed Representations "
                + "in the ManagedSite %s",managedSite.getId()),e);
            ResponseBuilder builder = Response.status(Status.INTERNAL_SERVER_ERROR)
            .entity("Unable to store parsed Entities to ManagedSite "
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.yard.Cache.store()

                Boolean cachedVersion = Boolean.FALSE;
                if (cache != null) {// -> cache the representation
                    try {
                        start = System.currentTimeMillis();
                        // return the the cached version
                        rep = cache.store(rep);
                        cachedVersion = Boolean.TRUE;
                        log.debug("  - cached Representation {} in {} ms", id,
                            (System.currentTimeMillis() - start));
                    } catch (YardException e) {
                        log.warn(String.format(
View Full Code Here

Examples of org.apache.stanbol.entityhub.servicesapi.yard.Yard.store()

            //ensure that the baseConfig (if present) is not deleted by this
            //operation
            Representation baseConfig = yard.getRepresentation(Cache.BASE_CONFIGURATION_URI);
            yard.removeAll();
            if(baseConfig != null){
                yard.store(baseConfig);
            }
        }
    }
   
    @Override
View Full Code Here

Examples of org.apache.tapestry.internal.services.ComponentInvocationMap.store()

        ComponentResources resources = mockComponentResources();
        ComponentInvocationMap map = new PageTesterComponentInvocationMap();
        MarkupWriter writer = new MarkupWriterImpl();
        ComponentInvocation invocation = mockComponentInvocation();

        map.store(link, invocation);

        train_toURI(link, LINK_URI);

        resources.renderInformalParameters(writer);
View Full Code Here

Examples of org.apache.tapestry.internal.test.PageTesterComponentInvocationMap.store()

        ComponentResources resources = mockComponentResources();
        ComponentInvocationMap map = new PageTesterComponentInvocationMap();
        MarkupWriter writer = new MarkupWriterImpl();
        ComponentInvocation invocation = mockComponentInvocation();

        map.store(link, invocation);

        train_toURI(link, LINK_URI);

        resources.renderInformalParameters(writer);
View Full Code Here

Examples of org.apache.tapestry.services.ApplicationGlobals.store()

        ApplicationGlobals globals = _registry.getObject(
                ApplicationGlobals.class,
                new NullAnnotationProvider());

        globals.store(new ContextForPageTester(_contextPath));

        buildInvokersRegistry();
    }

    private void buildInvokersRegistry()
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.