|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.repository.ModeShapeConfiguration.BaseReturnable<ReturnType>
org.modeshape.repository.ModeShapeConfiguration.GraphReturnable<ReturnType,JcrConfiguration.RepositoryDefinition<ReturnType>>
org.modeshape.jcr.JcrConfiguration.RepositoryBuilder<ReturnType>
protected class JcrConfiguration.RepositoryBuilder<ReturnType>

| Field Summary |
|---|
| Fields inherited from class org.modeshape.repository.ModeShapeConfiguration.GraphReturnable |
|---|
batch, context, path |
| Fields inherited from class org.modeshape.repository.ModeShapeConfiguration.BaseReturnable |
|---|
returnObject |
| Constructor Summary | |
|---|---|
protected |
JcrConfiguration.RepositoryBuilder(ReturnType returnObject,
Graph.Batch batch,
Path path,
Name... names)
|
| Method Summary | |
|---|---|
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(File file)
Specify that the CND file is to be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(InputStream cndContent)
Specify that the CND file is to be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(String pathToCndFile)
Specify that the CND file located at the supplied path should be loaded into the repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
addNodeTypes(URL url)
Specify that the CND file is to be loaded into the repository. |
protected CndImporter |
createCndImporter()
|
String |
getOption(JcrRepository.Option option)
Get the value for the repository option. |
String |
getSource()
Get the name of the repository source that is to be used by this JCR repository. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
registerNamespace(String prefix,
String uri)
Specify the namespace binding that should be made available in this repository. |
protected void |
registerNewNamespaces(Set<NamespaceRegistry.Namespace> namespacesBefore)
|
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
boolean value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
double value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
float value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
int value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
long value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setOption(JcrRepository.Option option,
String value)
Specify the repository option that is to be set. |
JcrConfiguration.RepositoryDefinition<ReturnType> |
setSource(String sourceName)
Specify the name of the repository source that is to be used by this JCR repository. |
protected JcrConfiguration.RepositoryDefinition<ReturnType> |
thisType()
|
| Methods inherited from class org.modeshape.repository.ModeShapeConfiguration.GraphReturnable |
|---|
createIfMissing, createIfMissing, createIfMissing, getDescription, getName, getProperty, getProperty, remove, setDescription, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, setProperty, subpath |
| Methods inherited from class org.modeshape.repository.ModeShapeConfiguration.BaseReturnable |
|---|
and |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.modeshape.repository.ModeShapeConfiguration.Returnable |
|---|
and |
| Methods inherited from interface org.modeshape.repository.ModeShapeConfiguration.Removable |
|---|
remove |
| Methods inherited from interface org.modeshape.repository.ModeShapeConfiguration.SetDescription |
|---|
getDescription, setDescription |
| Constructor Detail |
|---|
protected JcrConfiguration.RepositoryBuilder(ReturnType returnObject,
Graph.Batch batch,
Path path,
Name... names)
| Method Detail |
|---|
protected JcrConfiguration.RepositoryDefinition<ReturnType> thisType()
thisType in class ModeShapeConfiguration.GraphReturnable<ReturnType,JcrConfiguration.RepositoryDefinition<ReturnType>>public JcrConfiguration.RepositoryDefinition<ReturnType> setSource(String sourceName)
JcrConfiguration.RepositoryDefinition
setSource in interface JcrConfiguration.RepositoryDefinition<ReturnType>sourceName - the name of the repository source that should be exposed by this JCR repository
public String getSource()
JcrConfiguration.RepositoryDefinition
getSource in interface JcrConfiguration.RepositoryDefinition<ReturnType>
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
String value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
boolean value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
int value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
long value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
float value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public JcrConfiguration.RepositoryDefinition<ReturnType> setOption(JcrRepository.Option option,
double value)
JcrConfiguration.RepositoryDefinition
setOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option to be setvalue - the new value for the option
public String getOption(JcrRepository.Option option)
JcrConfiguration.RepositoryDefinition
getOption in interface JcrConfiguration.RepositoryDefinition<ReturnType>option - the option
public JcrConfiguration.RepositoryDefinition<ReturnType> registerNamespace(String prefix,
String uri)
JcrConfiguration.RepositoryDefinition
registerNamespace in interface JcrConfiguration.RepositoryDefinition<ReturnType>prefix - the namespace prefix; may not be null or empty, and must be a valid prefixuri - the uri for the namespace; may not be null or empty
public JcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(String pathToCndFile)
JcrConfiguration.RepositoryDefinitionThis method may be called multiple times, once per CND file.
addNodeTypes in interface JcrConfiguration.RepositoryDefinition<ReturnType>pathToCndFile - the path to the CND file
public JcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(File file)
JcrConfiguration.RepositoryDefinition
addNodeTypes in interface JcrConfiguration.RepositoryDefinition<ReturnType>file - the CND file
public JcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(URL url)
JcrConfiguration.RepositoryDefinitionThis method may be called multiple times, once per CND file.
addNodeTypes in interface JcrConfiguration.RepositoryDefinition<ReturnType>url - the URL of the CND file
public JcrConfiguration.RepositoryDefinition<ReturnType> addNodeTypes(InputStream cndContent)
JcrConfiguration.RepositoryDefinitionThis method may be called multiple times, once per CND file.
addNodeTypes in interface JcrConfiguration.RepositoryDefinition<ReturnType>cndContent - the stream containing the CND content
protected void registerNewNamespaces(Set<NamespaceRegistry.Namespace> namespacesBefore)
protected CndImporter createCndImporter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||