Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
U
V
W
A
add(Class<?>)
- Method in class org.chromattic.api.
ChromatticBuilder
Adds a class definition.
added(String, String, String, Object)
- Method in interface org.chromattic.api.event.
LifeCycleListener
An object is added to the session.
addEventListener(EventListener)
- Method in interface org.chromattic.api.
ChromatticSession
B
BOOLEAN
- Static variable in class org.chromattic.api.
ChromatticBuilder.Option.Type
.
boot(ChromatticBuilder.Options, Set<Class>)
- Method in class org.chromattic.api.
ChromatticBuilder
build()
- Method in class org.chromattic.api.
ChromatticBuilder
Builds the runtime and return a configured
Chromattic
instance.
BuilderException
- Exception in
org.chromattic.api
BuilderException()
- Constructor for exception org.chromattic.api.
BuilderException
BuilderException(String)
- Constructor for exception org.chromattic.api.
BuilderException
BuilderException(String, Throwable)
- Constructor for exception org.chromattic.api.
BuilderException
BuilderException(Throwable)
- Constructor for exception org.chromattic.api.
BuilderException
C
CACHE_STATE_ENABLED
- Static variable in class org.chromattic.api.
ChromatticBuilder
The boolean indicating if caching is performed.
Chromattic
- Interface in
org.chromattic.api
The Chromattic object provides the entry points for runtime interactions.
ChromatticBuilder
- Class in
org.chromattic.api
The builder configures and create a Chromattic runtime.
ChromatticBuilder()
- Constructor for class org.chromattic.api.
ChromatticBuilder
ChromatticBuilder.Option
<
D
> - Class in
org.chromattic.api
A configuration option.
ChromatticBuilder.Option.Instance
<
D
> - Class in
org.chromattic.api
The instance of an option.
ChromatticBuilder.Option.Type
<
D
> - Class in
org.chromattic.api
The type of an option.
ChromatticBuilder.Options
- Class in
org.chromattic.api
ChromatticException
- Exception in
org.chromattic.api
ChromatticException()
- Constructor for exception org.chromattic.api.
ChromatticException
ChromatticException(String)
- Constructor for exception org.chromattic.api.
ChromatticException
ChromatticException(String, Throwable)
- Constructor for exception org.chromattic.api.
ChromatticException
ChromatticException(Throwable)
- Constructor for exception org.chromattic.api.
ChromatticException
ChromatticIOException
- Exception in
org.chromattic.api
ChromatticIOException()
- Constructor for exception org.chromattic.api.
ChromatticIOException
ChromatticIOException(String)
- Constructor for exception org.chromattic.api.
ChromatticIOException
ChromatticIOException(String, IOException)
- Constructor for exception org.chromattic.api.
ChromatticIOException
ChromatticIOException(IOException)
- Constructor for exception org.chromattic.api.
ChromatticIOException
ChromatticSession
- Interface in
org.chromattic.api
close()
- Method in interface org.chromattic.api.
ChromatticSession
Create
- Annotation Type in
org.chromattic.api.annotations
Defines a creator method to create transient instances of a Chromattic entity.
create()
- Static method in class org.chromattic.api.
ChromatticBuilder
Create and return an instance of the builder.
create(Class<O>)
- Method in interface org.chromattic.api.
ChromatticSession
Creates a transient instance of the specified object.
create(Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Creates a transient instance of the specified object.
CREATE_ROOT_NODE
- Static variable in class org.chromattic.api.
ChromatticBuilder
A boolean option that creates the root node designated by the
ChromatticBuilder.ROOT_NODE_PATH
option when it does not exist.
created(Object)
- Method in interface org.chromattic.api.event.
LifeCycleListener
An object is created.
createQueryBuilder(Class<O>)
- Method in interface org.chromattic.api.
ChromatticSession
Create a query builder.
D
decodeNodeName(FormatterContext, String)
- Method in class org.chromattic.api.format.
DefaultObjectFormatter
decodeNodeName(FormatterContext, String)
- Method in interface org.chromattic.api.format.
ObjectFormatter
Converts a jcr node name to an entity name.
decodePropertyName(FormatterContext, String)
- Method in class org.chromattic.api.format.
DefaultObjectFormatter
DefaultObjectFormatter
- Class in
org.chromattic.api.format
Defines the default codec format that only performs validation of JCR names.
DefaultObjectFormatter()
- Constructor for class org.chromattic.api.format.
DefaultObjectFormatter
Destroy
- Annotation Type in
org.chromattic.api.annotations
Defines a destructor method to significate the end of life of a Chromattic entity.
doParse(String)
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Type
Performs the effective parse, when called the value will never be null.
DuplicateNameException
- Exception in
org.chromattic.api
DuplicateNameException()
- Constructor for exception org.chromattic.api.
DuplicateNameException
DuplicateNameException(String)
- Constructor for exception org.chromattic.api.
DuplicateNameException
DuplicateNameException(String, Throwable)
- Constructor for exception org.chromattic.api.
DuplicateNameException
DuplicateNameException(Throwable)
- Constructor for exception org.chromattic.api.
DuplicateNameException
E
encodeNodeName(FormatterContext, String)
- Method in class org.chromattic.api.format.
DefaultObjectFormatter
encodeNodeName(FormatterContext, String)
- Method in interface org.chromattic.api.format.
ObjectFormatter
Converts an entity name to a jcr node name.
encodePropertyName(FormatterContext, String)
- Method in class org.chromattic.api.format.
DefaultObjectFormatter
entries
- Variable in class org.chromattic.api.
ChromatticBuilder.Options
.
equals(Object)
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Instance
EventListener
- Interface in
org.chromattic.api.event
The generic class of an event listener that integrates with a Chromattic runtime.
F
FindById
- Annotation Type in
org.chromattic.api.annotations
findById(Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Finds an object from its identifier or return null if no such object can be found.
findByNode(Class<O>, Node)
- Method in interface org.chromattic.api.
ChromatticSession
Finds an object mapped to the provided node.
findByPath(Object, Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Finds an object with a path relative to a specified origin object.
findByPath(Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Finds an object with a path relative to a chromattic root object.
FormattedBy
- Annotation Type in
org.chromattic.api.annotations
FormatterContext
- Interface in
org.chromattic.api.format
The context provided when a formatting operation is invoked.
G
get()
- Method in interface org.chromattic.api.query.
QueryBuilder
Compute and returns the
ObjectQuery
for this builder.
getCause()
- Method in exception org.chromattic.api.
ChromatticIOException
getCause()
- Method in exception org.chromattic.api.
UndeclaredRepositoryException
getDisplayName()
- Method in class org.chromattic.api.
ChromatticBuilder.Option
getEmbedded(Object, Class<E>)
- Method in interface org.chromattic.api.
ChromatticSession
Returns a specified embedded object.
getId(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Returns the id of a specified entity.
getInstance(String)
- Method in class org.chromattic.api.
ChromatticBuilder.Option
getInstance(String)
- Method in class org.chromattic.api.
ChromatticBuilder.Options
getInstance(ChromatticBuilder.Option<D>)
- Method in class org.chromattic.api.
ChromatticBuilder.Options
getInstance()
- Static method in class org.chromattic.api.format.
DefaultObjectFormatter
getJCRSession()
- Method in interface org.chromattic.api.
ChromatticSession
getName()
- Method in class org.chromattic.api.
ChromatticBuilder.Option
getName(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Returns the name of a specified entity.
getOption()
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Instance
getOptionInstance(String)
- Method in class org.chromattic.api.
ChromatticBuilder
Returns a configured option instance.
getOptionInstance(ChromatticBuilder.Option<D>)
- Method in class org.chromattic.api.
ChromatticBuilder
Returns a configured option instance.
getOptionValue(ChromatticBuilder.Option<D>)
- Method in class org.chromattic.api.
ChromatticBuilder
Returns the option value.
getPath(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Returns the path of a specified entity.
getStatus(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Returns the status of a specified entity.
getSystemOptions()
- Static method in class org.chromattic.api.
ChromatticBuilder
getType()
- Method in class org.chromattic.api.
ChromatticBuilder.Option
getValue()
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Instance
getValue(ChromatticBuilder.Option<D>)
- Method in class org.chromattic.api.
ChromatticBuilder.Options
H
hashCode()
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Instance
I
Id
- Annotation Type in
org.chromattic.api.annotations
Annotates a bean property getter to return the current identifier of the related jcr node.
initCause(Throwable)
- Method in exception org.chromattic.api.
ChromatticIOException
initCause(Throwable)
- Method in exception org.chromattic.api.
UndeclaredRepositoryException
insert(Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Creates a persistent instance of the specified object.
insert(Object, Class<O>, String)
- Method in interface org.chromattic.api.
ChromatticSession
Creates a persistent instance of the specified object.
INSTRUMENTOR_CLASSNAME
- Static variable in class org.chromattic.api.
ChromatticBuilder
The instrumentor class name for Chromattic's objects.
J
JCR_OPTIMIZE_ENABLED
- Static variable in class org.chromattic.api.
ChromatticBuilder
Enable / disable all JCR optimizations.
JCR_OPTIMIZE_HAS_NODE_ENABLED
- Static variable in class org.chromattic.api.
ChromatticBuilder
Enable / disable access to JCR has property.
JCR_OPTIMIZE_HAS_PROPERTY_ENABLED
- Static variable in class org.chromattic.api.
ChromatticBuilder
Enable / disable access to JCR has property.
L
LAZY_CREATE_ROOT_NODE
- Static variable in class org.chromattic.api.
ChromatticBuilder
A boolean option that indicates that the root node should be lazyly created when it is required.
LifeCycleListener
- Interface in
org.chromattic.api.event
Enables to be aware of the life cycle of the object managed by chromattic with respect to the underlying JCR session.
loaded(String, String, String, Object)
- Method in interface org.chromattic.api.event.
LifeCycleListener
An object is loaded from the session.
M
ManyToOne
- Annotation Type in
org.chromattic.api.annotations
Defines the many side in a one to many relationship.
MappedBy
- Annotation Type in
org.chromattic.api.annotations
Defines the name of the property that is used to maintain one to many relationship with path or reference.
MappingException
- Exception in
org.chromattic.api
MappingException()
- Constructor for exception org.chromattic.api.
MappingException
MappingException(String)
- Constructor for exception org.chromattic.api.
MappingException
MappingException(String, Throwable)
- Constructor for exception org.chromattic.api.
MappingException
MappingException(Throwable)
- Constructor for exception org.chromattic.api.
MappingException
MixinType
- Annotation Type in
org.chromattic.api.annotations
The mixin annotation can be used to annote a class and declares that it represents one or several mixins.
N
Name
- Annotation Type in
org.chromattic.api.annotations
Annotates a bean property getter to return the current name of the related jcr node.
NameConflictResolution
- Enum in
org.chromattic.api
NamingPolicy
- Annotation Type in
org.chromattic.api.annotations
Provide information about the naming to the children of a node.
NoSuchNodeException
- Exception in
org.chromattic.api
Indicates that a required node does not exist and is preventing a chromattic operation to be executed.
NoSuchNodeException()
- Constructor for exception org.chromattic.api.
NoSuchNodeException
NoSuchNodeException(String)
- Constructor for exception org.chromattic.api.
NoSuchNodeException
NoSuchNodeException(String, Throwable)
- Constructor for exception org.chromattic.api.
NoSuchNodeException
NoSuchNodeException(Throwable)
- Constructor for exception org.chromattic.api.
NoSuchNodeException
NoSuchPropertyException
- Exception in
org.chromattic.api
Indicates that a required property does not exist and is preventing a chromattic operation to be executed.
NoSuchPropertyException()
- Constructor for exception org.chromattic.api.
NoSuchPropertyException
NoSuchPropertyException(String)
- Constructor for exception org.chromattic.api.
NoSuchPropertyException
NoSuchPropertyException(String, Throwable)
- Constructor for exception org.chromattic.api.
NoSuchPropertyException
NoSuchPropertyException(Throwable)
- Constructor for exception org.chromattic.api.
NoSuchPropertyException
O
OBJECT_FORMATTER_CLASSNAME
- Static variable in class org.chromattic.api.
ChromatticBuilder
The object name formatter class name.
ObjectFormatter
- Interface in
org.chromattic.api.format
The object formatter defines an interface used to filter the naming of the jcr nodes and properties.
objects()
- Method in interface org.chromattic.api.query.
Query
Executes the query and return the result as a serie of Chromattic entities.
OneToMany
- Annotation Type in
org.chromattic.api.annotations
Defines the one side in a one to many relationship.
OneToOne
- Annotation Type in
org.chromattic.api.annotations
Defines the one side in a one to one relationship.
openSession()
- Method in interface org.chromattic.api.
Chromattic
Opens a session and returns it.
openSession(String)
- Method in interface org.chromattic.api.
Chromattic
Opens a session for the specified workspace and returns it.
openSession(Credentials, String)
- Method in interface org.chromattic.api.
Chromattic
Opens with the specified credentials a session for the specified workspace and returns it.
openSession(Credentials)
- Method in interface org.chromattic.api.
Chromattic
Opens with the specified credentials a session and returns it.
orderBy(String)
- Method in interface org.chromattic.api.query.
QueryBuilder
Set the order by clause of the query.
org.chromattic.api
- package org.chromattic.api
org.chromattic.api.annotations
- package org.chromattic.api.annotations
org.chromattic.api.event
- package org.chromattic.api.event
org.chromattic.api.format
- package org.chromattic.api.format
org.chromattic.api.query
- package org.chromattic.api.query
P
parse(String)
- Method in class org.chromattic.api.
ChromatticBuilder.Option.Type
Path
- Annotation Type in
org.chromattic.api.annotations
Annotates a bean property getter to return the current path of the related jcr node.
persist(Object, String)
- Method in interface org.chromattic.api.
ChromatticSession
Persists a transient object.
persist(Object, Object)
- Method in interface org.chromattic.api.
ChromatticSession
Persists a transient object.
persist(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Persists a transient object relative to the root node.
persist(Object, Object, String)
- Method in interface org.chromattic.api.
ChromatticSession
Persists a transient object.
PrimaryType
- Annotation Type in
org.chromattic.api.annotations
Defines the mapping between a node type and a java class.
Properties
- Annotation Type in
org.chromattic.api.annotations
Annotates a Chromattic entity getter having a return type equals to
java.util.Map
.
Property
- Annotation Type in
org.chromattic.api.annotations
Defines the mapping between the property of a node type and a java bean property of the annotated class.
propertyChanged(String, Object, String, Object)
- Method in interface org.chromattic.api.event.
StateChangeListener
The value of a property changed
Q
Query
<
O
> - Interface in
org.chromattic.api.query
A base interface for all queries.
QueryBuilder
<
O
> - Interface in
org.chromattic.api.query
The query builder allows to create queries.
QueryLanguage
- Enum in
org.chromattic.api.query
Enumerates the queries languages.
QueryResult
<
R
> - Interface in
org.chromattic.api.query
The result for an query.
R
RelatedMappedBy
- Annotation Type in
org.chromattic.api.annotations
Defines the name of the property that is used on the other side of the relationship to maintain one to many relationship with path or reference.
RelationshipType
- Enum in
org.chromattic.api
The type of a relationship.
remove(Object)
- Method in interface org.chromattic.api.
ChromatticSession
Removes a specified entity.
removed(String, String, String, Object)
- Method in interface org.chromattic.api.event.
LifeCycleListener
An object is removed from the session.
ROOT_NODE_PATH
- Static variable in class org.chromattic.api.
ChromatticBuilder
The path of the root node.
S
save()
- Method in interface org.chromattic.api.
ChromatticSession
SESSION_LIFECYCLE_CLASSNAME
- Static variable in class org.chromattic.api.
ChromatticBuilder
The JCR session life cycle class name.
setEmbedded(Object, Class<E>, E)
- Method in interface org.chromattic.api.
ChromatticSession
Attach the specified embedded object on the specified object when the embedded argument.
setOptionStringValue(ChromatticBuilder.Option<D>, String)
- Method in class org.chromattic.api.
ChromatticBuilder
Set the option value as a string.
setOptionValue(ChromatticBuilder.Option<D>, D)
- Method in class org.chromattic.api.
ChromatticBuilder
Set the option value.
setStringValue(ChromatticBuilder.Option<D>, String, boolean)
- Method in class org.chromattic.api.
ChromatticBuilder.Options
setValue(ChromatticBuilder.Option<D>, D, boolean)
- Method in class org.chromattic.api.
ChromatticBuilder.Options
size()
- Method in interface org.chromattic.api.query.
QueryResult
Returns the number of results this query will returns until the iterator has no more elements to return.
StateChangeListener
- Interface in
org.chromattic.api.event
Allows for state change monitoring when the state of an object is changed.
Status
- Enum in
org.chromattic.api
The status of a Chromattic entity.
STRING
- Static variable in class org.chromattic.api.
ChromatticBuilder.Option.Type
.
U
UndeclaredRepositoryException
- Exception in
org.chromattic.api
Wraps an unexpected
RepositoryException
that is a checked exception.
UndeclaredRepositoryException()
- Constructor for exception org.chromattic.api.
UndeclaredRepositoryException
UndeclaredRepositoryException(String)
- Constructor for exception org.chromattic.api.
UndeclaredRepositoryException
UndeclaredRepositoryException(String, RepositoryException)
- Constructor for exception org.chromattic.api.
UndeclaredRepositoryException
UndeclaredRepositoryException(RepositoryException)
- Constructor for exception org.chromattic.api.
UndeclaredRepositoryException
USE_SYSTEM_PROPERTIES
- Static variable in class org.chromattic.api.
ChromatticBuilder
A special option that will lookup system properties when set to true to configure options by default.
V
valueOf(String)
- Static method in enum org.chromattic.api.
NameConflictResolution
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.chromattic.api.query.
QueryLanguage
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.chromattic.api.
RelationshipType
Returns the enum constant of this type with the specified name.
valueOf(String)
- Static method in enum org.chromattic.api.
Status
Returns the enum constant of this type with the specified name.
values()
- Static method in enum org.chromattic.api.
NameConflictResolution
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.chromattic.api.query.
QueryLanguage
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.chromattic.api.
RelationshipType
Returns an array containing the constants of this enum type, in the order they are declared.
values()
- Static method in enum org.chromattic.api.
Status
Returns an array containing the constants of this enum type, in the order they are declared.
W
where(String)
- Method in interface org.chromattic.api.query.
QueryBuilder
Set the where clause of the query.
WorkspaceName
- Annotation Type in
org.chromattic.api.annotations
Annotates a bean property getter to return the current workspace name of the related jcr node.
A
B
C
D
E
F
G
H
I
J
L
M
N
O
P
Q
R
S
U
V
W
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2010
eXo Platform SAS
. All Rights Reserved.