Package jeeves.server

Examples of jeeves.server.UserSession.removeProperty()


        } else { // Maybe we come from a forward, let's restore uuids:
            result = (Element) session
                    .getProperty(Geonet.Session.METADATA_UUIDS);

            if (result != null) {
                session.removeProperty(Geonet.Session.METADATA_UUIDS);

                for (Object e : result.getChildren()) {
                    Element el = (Element) e;
                    if (el.getName().equalsIgnoreCase("tmp")) {
                        tmp = el;
View Full Code Here


    searcher.search(context, elData, _config);
    if (remote && (searcher.getSize() == 0)) { // do it again for Z3950
      searcher.search(context, elData, _config);
    }
    session.setProperty(Geonet.Session.SEARCH_RESULT, searcher);
    session.removeProperty(Geonet.Session.SEARCH_REQUEST);
    context.info("Getting summary");

    return searcher.getSummary();
  }
}
View Full Code Here

        Element metadataXml = md;

        // when invoked from harvesters, session is null?
        UserSession session = context.getUserSession();
        if(session != null) {
            session.removeProperty(Geonet.Session.VALIDATION_REPORT + metadataId);
        }
        String schema = getMetadataSchema(metadataId);
        if(ufo) {
            String parentUuid = null;
            Integer intId = Integer.valueOf(metadataId);
View Full Code Here

                .getHandlerContext(Geonet.CONTEXT_NAME);
        DataManager dataMan = gc.getBean(DataManager.class);
        UserSession session = context.getUserSession();

        // Clear previous report
        session.removeProperty("BATCH_PROCESSING_REPORT");

        // Apply the process to the selection
        Set<Integer> metadata = new HashSet<Integer>();

        context.info("Get selected metadata");
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.