Package org.apache.jetspeed.prefs

Examples of org.apache.jetspeed.prefs.NodeDoesNotExistException


            return proxy;
          
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here


          cn.setNode(proxy);
            addToCache(cn);
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

        if (hit != null)
        {
            NodeImplProxy proxy = hit.getNode();
            if (proxy.getNode() == null)
            {
                throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
            }
            return proxy;
        }

        Criteria c = new Criteria();
        c.addEqualTo("fullPath", fullPath);
        c.addEqualTo("nodeType", new Integer(nodeType));
        Query query = QueryFactory.newQuery(NodeImpl.class, c);

        Node nodeObj = (Node) getPersistenceBrokerTemplate().getObjectByQuery(query);
        if (null != nodeObj)
        {
          NodeImplProxy proxy = new NodeImplProxy(nodeObj);
            addToCache(new NodeCache(proxy));
            return proxy;
        }
        else
        {
            addToCache(new NodeCache(new NodeImplProxy(fullPath, nodeType)));
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

        else
        {
            proxy.setNode(null);
            proxy.setFullPath(fullPath);
            addToCache(new NodeCache(new NodeImplProxy(fullPath, nodeType)));
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

            return proxy;
          
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

          cn.setNode(proxy);
            addToCache(cn);
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

            return proxy;
          
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

          cn.setNode(proxy);
            addToCache(cn);
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

        {
            return nodeObj;
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

            nodeMap.put(key, key);
            return nodeObj;
        }
        else
        {
            throw new NodeDoesNotExistException("No node of type " + nodeType + "found at path: " + fullPath);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.jetspeed.prefs.NodeDoesNotExistException

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.