Uses of Class
org.chromattic.api.ChromatticException

Packages that use ChromatticException
org.chromattic.api   
org.chromattic.api.query   
 

Uses of ChromatticException in org.chromattic.api
 

Subclasses of ChromatticException in org.chromattic.api
 class BuilderException
           
 class ChromatticIOException
           
 class DuplicateNameException
           
 class MappingException
           
 class NoSuchNodeException
          Indicates that a required node does not exist and is preventing a chromattic operation to be executed.
 class NoSuchPropertyException
          Indicates that a required property does not exist and is preventing a chromattic operation to be executed.
 class TypeConversionException
           
 class UndeclaredRepositoryException
          Wraps an unexpected RepositoryException that is a checked exception.
 

Methods in org.chromattic.api that throw ChromatticException
<O> O
ChromatticSession.copy(java.lang.Object parent, O o, java.lang.String name)
          Clones a persistent object into a new persistent object.
<O> O
ChromatticSession.copy(O o, java.lang.String name)
          Clones a persistent object into a new persistent object.
<O> O
ChromatticSession.create(java.lang.Class<O> clazz)
          Creates a transient instance of the specified object.
<O> O
ChromatticSession.create(java.lang.Class<O> clazz, java.lang.String name)
          Creates a transient instance of the specified object.
<O> QueryBuilder<O>
ChromatticSession.createQueryBuilder(java.lang.Class<O> fromClass)
          Create a query builder.
<O> O
ChromatticSession.findById(java.lang.Class<O> clazz, java.lang.String id)
          Finds an object from its identifier or return null if no such object can be found.
<O> O
ChromatticSession.findByNode(java.lang.Class<O> clazz, javax.jcr.Node node)
          Finds an object mapped to the provided node.
<O> O
ChromatticSession.findByPath(java.lang.Class<O> clazz, java.lang.String relPath)
          Finds an object with a path relative to a chromattic root object.
<O> O
ChromatticSession.findByPath(java.lang.Class<O> clazz, java.lang.String path, boolean absolute)
          Finds an object given its specified path.
<O> O
ChromatticSession.findByPath(java.lang.Object origin, java.lang.Class<O> clazz, java.lang.String relPath)
          Finds an object with a path relative to a specified origin object.
<E> E
ChromatticSession.getEmbedded(java.lang.Object o, java.lang.Class<E> embeddedType)
          Returns a specified embedded object.
 java.lang.String ChromatticSession.getId(java.lang.Object o)
          Returns the id of a specified entity.
 java.lang.String ChromatticSession.getName(java.lang.Object o)
          Returns the name of a specified entity.
 java.lang.String ChromatticSession.getPath(java.lang.Object o)
          Returns the path of a specified entity.
 Status ChromatticSession.getStatus(java.lang.Object o)
          Returns the status of a specified entity.
<O> O
ChromatticSession.insert(java.lang.Class<O> clazz, java.lang.String name)
          Creates a persistent instance of the specified object.
<O> O
ChromatticSession.insert(java.lang.Class<O> clazz, java.lang.String prefix, java.lang.String localName)
          Creates a persistent instance of the specified object.
<O> O
ChromatticSession.insert(java.lang.Object parent, java.lang.Class<O> clazz, java.lang.String name)
          Creates a persistent instance of the specified object.
<O> O
ChromatticSession.insert(java.lang.Object parent, java.lang.Class<O> clazz, java.lang.String prefix, java.lang.String localName)
          Creates a persistent instance of the specified object.
 ChromatticSession Chromattic.openSession()
          Opens a session and returns it.
 ChromatticSession Chromattic.openSession(javax.jcr.Credentials credentials)
          Opens with the specified credentials a session and returns it.
 ChromatticSession Chromattic.openSession(javax.jcr.Credentials credentials, java.lang.String workspace)
          Opens with the specified credentials a session for the specified workspace and returns it.
 ChromatticSession Chromattic.openSession(java.lang.String workspace)
          Opens a session for the specified workspace and returns it.
 java.lang.String ChromatticSession.persist(java.lang.Object o)
          Persists a transient object relative to the root node.
 java.lang.String ChromatticSession.persist(java.lang.Object parent, java.lang.Object o)
          Persists a transient object as a child of the specified parent.
 java.lang.String ChromatticSession.persist(java.lang.Object parent, java.lang.Object o, java.lang.String name)
          Persists a transient object as a child of the specified parent with the specified name.
 java.lang.String ChromatticSession.persist(java.lang.Object parent, java.lang.Object o, java.lang.String prefix, java.lang.String localName)
          Persists a transient object as a child of the specified parent with the specified name.
 java.lang.String ChromatticSession.persist(java.lang.Object o, java.lang.String name)
          Persists a transient object with the specified name.
 java.lang.String ChromatticSession.persist(java.lang.Object o, java.lang.String prefix, java.lang.String localName)
          Persists a transient object with the specified name.
 void ChromatticSession.remove(java.lang.Object o)
          Removes a specified entity.
 void ChromatticSession.save()
          Save the transient changes.
<E> void
ChromatticSession.setEmbedded(java.lang.Object o, java.lang.Class<E> embeddedType, E embedded)
          Attach the specified embedded object on the specified object when the embedded argument.
 void ChromatticSession.setName(java.lang.Object o, java.lang.String name)
          Rename a chromattic object, the behavior of this method depends on the current object status: Status.TRANSIENT: the object is merely associated with the name until it is persisted. Status.PERSISTENT: the object will be renamed with the new name. Status.REMOVED: An illegal state exception is thrown.
  •  

    Uses of ChromatticException in org.chromattic.api.query
     

    Methods in org.chromattic.api.query that throw ChromatticException
     QueryResult<O> Query.objects()
              Executes the query and return the result as a serie of Chromattic entities.
     QueryResult<O> Query.objects(java.lang.Long offset, java.lang.Long limit)
              Executes the query and return the result as a serie of Chromattic entities with the specified limit and offset.
     



    Copyright © 2011 eXo Platform SAS. All Rights Reserved.