Package org.chromattic.api

Examples of org.chromattic.api.UndeclaredRepositoryException


  public final void removeChild(ObjectContext ctx, String name) throws UndeclaredRepositoryException {
    try {
      _removeChild(ctx, name);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here


  public final Object getChild(ObjectContext ctx, String name) throws UndeclaredRepositoryException {
    try {
      return _getChild(ctx, name);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

  public final <T> Iterator<T> getChildren(ObjectContext ctx, Class<T> filterClass) throws UndeclaredRepositoryException {
    try {
      return _getChildren(ctx, filterClass);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

  public final Object getParent(ObjectContext ctx) throws UndeclaredRepositoryException {
    try {
      return _getParent(ctx);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

  public final <T> Iterator<T> getReferents(ObjectContext referencedCtx, String name, Class<T> filterClass, LinkType linkType) throws UndeclaredRepositoryException {
    try {
      return _getReferents(referencedCtx, name, filterClass, linkType);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

                  return null;
                }
              };
            }
            catch (RepositoryException e) {
              throw new UndeclaredRepositoryException(e);
            }
          }
        };

        //
        return new AdaptingIterator<Map.Entry<String, Object>, Property>(i, adapter);
      }
      catch (RepositoryException e) {
        throw new UndeclaredRepositoryException(e);
      }
    }
View Full Code Here

    public int size() {
      try {
        return (int)ctx.state.getNode().getProperties().getSize();
      }
      catch (RepositoryException e) {
        throw new UndeclaredRepositoryException(e);
      }
    }
View Full Code Here

      //
      @SuppressWarnings("unchecked") ObjectQuery<O> ret = (ObjectQuery<O>)query;
      return ret;
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

      QueryResult result = jcrQuery.execute();
      iterator = result.getNodes();
      return new ObjectQueryResultImpl<O>(domainSession, iterator, clazz);
    }
    catch (RepositoryException e) {
      throw new UndeclaredRepositoryException(e);
    }
  }
View Full Code Here

      {
         modified = getSession().getJCRSession().hasPendingChanges();
      }
      catch (RepositoryException e)
      {
         throw new UndeclaredRepositoryException(e);
      }
      return modified;
   }
View Full Code Here

TOP

Related Classes of org.chromattic.api.UndeclaredRepositoryException

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.