A B C D E F G H I J L M N O P Q R S T U V W

A

add(Class<?>) - Method in class org.chromattic.api.ChromatticBuilder
Adds a class definition.
add(Class<?>, 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
Adds an event listener to this session.
AutoCreated - Annotation Type in org.chromattic.api.annotations
Configure an item definition to be autocreated, this annotation is used when a node type schema is generated from a set of annotated classes.

B

BOOLEAN - Static variable in class org.chromattic.api.ChromatticBuilder.Option.Type
.
boot(ChromatticBuilder.Configuration) - Method in class org.chromattic.api.ChromatticBuilder
 
build() - Method in class org.chromattic.api.ChromatticBuilder
Builds the runtime and return a configured Chromattic instance.
build(ChromatticBuilder.Configuration) - 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

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.Configuration - Class in org.chromattic.api
 
ChromatticBuilder.Configuration() - Constructor for class org.chromattic.api.ChromatticBuilder.Configuration
 
ChromatticBuilder.Configuration(ChromatticBuilder.Configuration) - Constructor for class org.chromattic.api.ChromatticBuilder.Configuration
Copy constructor for internal usage.
ChromatticBuilder.Configuration.Factory - Class in org.chromattic.api
The configuration factory.
ChromatticBuilder.Configuration.Factory() - Constructor for class org.chromattic.api.ChromatticBuilder.Configuration.Factory
 
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.
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
The session manages Chromattic objects at runtime, it is obtained from a Chromattic instance.
close() - Method in interface org.chromattic.api.ChromatticSession
Close and dispose the session.
copy(Object, O, String) - Method in interface org.chromattic.api.ChromatticSession
Clones a persistent object into a new persistent object.
copy(O, String) - Method in interface org.chromattic.api.ChromatticSession
Clones a persistent object into a new persistent object.
Create - Annotation Type in org.chromattic.api.annotations
Defines a creator method to create transient instances of a Chromattic entity.
create() - Method in class org.chromattic.api.ChromatticBuilder.Configuration.Factory
Returns a configuration.
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.
createDefaultConfiguration() - Method in class org.chromattic.api.ChromatticBuilder
Create the default configuration.
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
 
DefaultValue - Annotation Type in org.chromattic.api.annotations
Define the default value of a property.
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.Configuration
.
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.
findByPath(Class<O>, String, boolean) - Method in interface org.chromattic.api.ChromatticSession
Finds an object given its specified path.
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
 
getConfiguration() - Method in class org.chromattic.api.ChromatticBuilder
Returns a copy of the current configuration.
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() - Static method in class org.chromattic.api.format.DefaultObjectFormatter
 
getJavaType() - Method in class org.chromattic.api.PropertyLiteral
 
getJCRSession() - Method in interface org.chromattic.api.ChromatticSession
Returns the underlying JCR session or null if the session is closed.
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.
getName() - Method in class org.chromattic.api.PropertyLiteral
 
getOption() - Method in class org.chromattic.api.ChromatticBuilder.Option.Instance
 
getOptionInstance(String) - Method in class org.chromattic.api.ChromatticBuilder.Configuration
Returns a configured option instance.
getOptionInstance(ChromatticBuilder.Option<D>) - Method in class org.chromattic.api.ChromatticBuilder.Configuration
Returns a configured option instance.
getOptionValue(ChromatticBuilder.Option<D>) - Method in class org.chromattic.api.ChromatticBuilder.Configuration
Returns the option value.
getOwner() - Method in class org.chromattic.api.PropertyLiteral
 
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 object.
getType() - Method in class org.chromattic.api.ChromatticBuilder.Option
 
getValue() - Method in class org.chromattic.api.ChromatticBuilder.Option.Instance
 

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.
init() - Method in class org.chromattic.api.ChromatticBuilder
Initialize the builder, this operation should be called once per builder, unlike the ChromatticBuilder.build(Configuration) operation that can be called several times with different configurations.
init(Set<Class<?>>) - Method in class org.chromattic.api.ChromatticBuilder
 
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(Class<O>, String, 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.
insert(Object, Class<O>, String, 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.
isClosed() - Method in interface org.chromattic.api.ChromatticSession
 

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

Mandatory - Annotation Type in org.chromattic.api.annotations
Configure an item definition to be mandatory, this annotation is used when a node type schema is generated from a set of annotated classes.
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 mixin.

N

Name - Annotation Type in org.chromattic.api.annotations
Annotates a bean property to map it against the current name of the related jcr node.
NameConflictResolution - Enum in org.chromattic.api
 
NamespaceMapping - Annotation Type in org.chromattic.api.annotations
Maps a prefix to a namespace
NamingPolicy - Annotation Type in org.chromattic.api.annotations
Provide information about the naming to the children of a node.
NamingPrefix - Annotation Type in org.chromattic.api.annotations
Defines a naming prefix.
NodeTypeDefs - Annotation Type in org.chromattic.api.annotations
A package annotation that triggers node type generation for any Chromattic classes found in the annotated package.
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.
objects(Long, Long) - Method in interface org.chromattic.api.query.Query
Executes the query and return the result as a serie of Chromattic entities with the specified limit and offset.
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 with ASC.
orderBy(String, Ordering) - Method in interface org.chromattic.api.query.QueryBuilder
Set the order by clause of the query.
Ordering - Enum in org.chromattic.api.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
 
Owner - Annotation Type in org.chromattic.api.annotations
Annotates the owner of a relationship: In a one to one hierarchic relationship it distinguishes the parent. In a many to one path or referenced relationship it distinguishes the entity owning the field, in that case it is optional as the relationship is not symetric. In an one to one embedded relationship, it distinguishes the entity from its embedded mixin or super type.

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 with the specified name.
persist(Object, String, String) - Method in interface org.chromattic.api.ChromatticSession
Persists a transient object with the specified name.
persist(Object, Object) - Method in interface org.chromattic.api.ChromatticSession
Persists a transient object as a child of the specified parent.
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 as a child of the specified parent with the specified name.
persist(Object, Object, String, String) - Method in interface org.chromattic.api.ChromatticSession
Persists a transient object as a child of the specified parent with the specified name.
PrimaryType - Annotation Type in org.chromattic.api.annotations
Defines the mapping between a primarty type and a java class.
Properties - Annotation Type in org.chromattic.api.annotations
Annotates a Chromattic property having a return type equals to java.util.Map<String,?> or java.util.Map<String, List<?>>.
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.
PROPERTY_CACHE_ENABLED - Static variable in class org.chromattic.api.ChromatticBuilder
The boolean indicating if caching is performed.
PROPERTY_READ_AHEAD_ENABLED - Static variable in class org.chromattic.api.ChromatticBuilder
Todo.
propertyChanged(String, Object, String, Object) - Method in interface org.chromattic.api.event.StateChangeListener
The value of a property changed
PropertyLiteral<O,P> - Class in org.chromattic.api
A property literal.
PropertyLiteral(Class<O>, String, Class<P>) - Constructor for class org.chromattic.api.PropertyLiteral
Build a new property literal.

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

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.
ROOT_NODE_TYPE - Static variable in class org.chromattic.api.ChromatticBuilder
A string value that is the root node type when Chromattic has to build the path to the root node.

S

save() - Method in interface org.chromattic.api.ChromatticSession
Save the transient changes.
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 or detach the specified embedded object on the specified object.
setName(Object, String) - Method in interface org.chromattic.api.ChromatticSession
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.
  • setOptionValue(ChromatticBuilder.Option<D>, D, boolean) - Method in class org.chromattic.api.ChromatticBuilder.Configuration
    Set the option value.
    setOptionValue(ChromatticBuilder.Option<D>, D) - Method in class org.chromattic.api.ChromatticBuilder
    Set the option value.
    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
    .

  • T

    toString() - Method in class org.chromattic.api.PropertyLiteral
     
    TypeConversionException - Exception in org.chromattic.api
     
    TypeConversionException() - Constructor for exception org.chromattic.api.TypeConversionException
     
    TypeConversionException(String) - Constructor for exception org.chromattic.api.TypeConversionException
     
    TypeConversionException(String, Throwable) - Constructor for exception org.chromattic.api.TypeConversionException
     
    TypeConversionException(Throwable) - Constructor for exception org.chromattic.api.TypeConversionException
     

    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.Ordering
    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.Ordering
    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 T U V W

    Copyright © 2012 eXo Platform SAS. All Rights Reserved.