Package org.nxplanner.db

Examples of org.nxplanner.db.IdSearchHelper


        try {
            if (StringUtils.isEmpty(request.getParameter("searchedId"))) {
                return createErrorForward(request, mapping, "missing ID");
            }
            int oid = Integer.parseInt(request.getParameter("searchedId").trim());
            Object object = new IdSearchHelper(oid).search();
            return new ActionForward("/do/view/"+HistorySupport.classToName(object.getClass())+"?oid="+oid, true);
        } catch (NumberFormatException e) {
            return createErrorForward(request, mapping, e.getMessage());
        }
    }
View Full Code Here

TOP

Related Classes of org.nxplanner.db.IdSearchHelper

Copyright © 2018 www.massapicom. 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.