|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 |
UndeclaredRepositoryException
Wraps an unexpected RepositoryException that is a checked exception. |
| Methods in org.chromattic.api that throw ChromatticException | ||
|---|---|---|
|
ChromatticSession.copy(java.lang.Object parent,
O o,
java.lang.String name)
Clones a persistent object into a new persistent object. |
|
|
ChromatticSession.copy(O o,
java.lang.String name)
Clones a persistent object into a new persistent object. |
|
|
ChromatticSession.create(java.lang.Class<O> clazz)
Creates a transient instance of the specified object. |
|
|
ChromatticSession.create(java.lang.Class<O> clazz,
java.lang.String name)
Creates a transient instance of the specified object. |
|
|
ChromatticSession.createQueryBuilder(java.lang.Class<O> fromClass)
Create a query builder. |
|
|
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. |
|
|
ChromatticSession.findByNode(java.lang.Class<O> clazz,
javax.jcr.Node node)
Finds an object mapped to the provided node. |
|
|
ChromatticSession.findByPath(java.lang.Class<O> clazz,
java.lang.String relPath)
Finds an object with a path relative to a chromattic root object. |
|
|
ChromatticSession.findByPath(java.lang.Class<O> clazz,
java.lang.String path,
boolean absolute)
Finds an object given its specified path. |
|
|
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. |
|
|
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. |
|
|
ChromatticSession.insert(java.lang.Class<O> clazz,
java.lang.String name)
Creates a persistent instance of the specified object. |
|
|
ChromatticSession.insert(java.lang.Object parent,
java.lang.Class<O> clazz,
java.lang.String name)
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 child)
Persists a transient object. |
|
java.lang.String |
ChromatticSession.persist(java.lang.Object parent,
java.lang.Object o,
java.lang.String name)
Persists a transient object. |
|
java.lang.String |
ChromatticSession.persist(java.lang.Object o,
java.lang.String name)
Persists a transient object. |
|
void |
ChromatticSession.remove(java.lang.Object o)
Removes a specified entity. |
|
void |
ChromatticSession.save()
|
|
|
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. |
|
| 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. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||