|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use RepositoryException | |
com.jeceira | |
com.jeceira.config | |
com.jeceira.item | |
com.jeceira.item.proxy | |
com.jeceira.item.state | |
com.jeceira.iterator | |
com.jeceira.nodetype | |
com.jeceira.nodetype.constraints | |
com.jeceira.observation | |
com.jeceira.persistence | |
com.jeceira.persistence.hsqldb | |
com.jeceira.persistence.info | |
com.jeceira.repository | |
com.jeceira.session | |
com.jeceira.syntax | |
com.jeceira.value | |
com.jeceira.xml | |
info.magnolia.jeceira | |
javax.jcr | Provides interfaces and classes for the Content Repository for Java Technology (JCR). |
javax.jcr.lock | Provides interfaces and classes for JCR locking functionality. |
javax.jcr.nodetype | Provides interfaces and classes for JCR node type functionality. |
javax.jcr.observation | Provides interfaces and classes for JCR event observation functionality. |
javax.jcr.query | Provides interfaces and classes for JCR searching functionality. |
javax.jcr.util | Provides utility classes for JCR. |
javax.jcr.version | Provides interfaces and classes for JCR versioning functionality. |
Uses of RepositoryException in com.jeceira |
Methods in com.jeceira that throw RepositoryException | |
static UuidGenerator |
UuidGenerator.getGenerator()
Returns a concrete subclass of this class implementing UUID generation according to the configuration data. |
Uses of RepositoryException in com.jeceira.config |
Subclasses of RepositoryException in com.jeceira.config | |
class |
ConfigurationException
|
Methods in com.jeceira.config that throw RepositoryException | |
java.lang.String |
DefaultConfigManager.getPrefix(java.lang.String uri)
|
java.lang.String[] |
DefaultConfigManager.getPrefixes()
|
java.lang.String |
DefaultConfigManager.getURI(java.lang.String prefix)
|
java.lang.String[] |
DefaultConfigManager.getURIs()
|
void |
DefaultConfigManager.registerNamespace(java.lang.String prefix,
java.lang.String uri)
|
void |
DefaultConfigManager.unregisterNamespace(java.lang.String prefix)
|
NodeTypeInfo[] |
NodeTypeReader.readNodeTypes(org.w3c.dom.Node rootNode)
Reads user-defined node types starting at the specified node. |
Constructors in com.jeceira.config that throw RepositoryException | |
DefaultConfigManager(java.io.InputStream configFile)
Creates a configuration manager retrieving repository configurations from an XML stream. |
Uses of RepositoryException in com.jeceira.item |
Methods in com.jeceira.item that throw RepositoryException | |
SessionNode |
SessionNode.addNode(ItemName childName,
NodeTypeName childNodeTypeName)
Adds a child node to this. |
SessionNodeType[] |
SessionNode.getMixinTypes()
Returns mixin types of this node as a (possibly empty) list of SessionNodeType objects. |
PathElement |
SessionNode.getPathElement()
|
void |
SessionNode.move(SessionNode destParent,
ItemName destName)
Moves this node to the destination specified by the parent node and item name. |
void |
SessionNode.remove()
|
void |
SessionNode.save()
|
SessionProperty |
SessionNode.setProperty(ItemName propertyName,
SessionPropertyDef propertyDef,
SessionValue value)
Assigns a value to the property with the specified name or removes it. |
SessionProperty |
SessionNode.setProperty(ItemName propertyName,
SessionPropertyDef propertyDef,
SessionValue[] values)
Assigns a value to the property with the specified name or removes it. |
SessionProperty |
PropertyBuilder.createProperty(SessionNode parentNode,
boolean initial)
Creates an instance of SessionProperty and initializes it
appropriately with the attributes of this builder. |
protected SessionValue |
SessionProperty.convert(Value v)
Converts the specified value to the type required by the definition of this property. |
SessionProperty |
SessionProperty.copy(SessionNode destParent)
|
protected SessionValue[] |
SessionProperty.copyValue(SessionValue v)
Returns an array of copies of the specified value. |
(package private) void |
SessionProperty.doSetValue(SessionValue v)
Actually sets the value of this single-value property. |
(package private) void |
SessionProperty.doSetValue(SessionValue[] vs)
Actually sets the value of this multi-value property. |
SessionValue |
SessionProperty.getValue()
Returns the value of this single-value property. |
SessionValue[] |
SessionProperty.getValues()
Returns the value of this multiple-value property. |
void |
SessionProperty.remove()
|
void |
SessionProperty.save()
|
void |
SessionProperty.setValue(SessionValue value)
Sets the value of this property and makes a state transition. |
void |
SessionProperty.setValue(SessionValue[] vs)
Sets the value of this property and makes a state transition. |
Path |
SessionItem.getPath()
Returns the absolute path of this item in its workspace tree. |
abstract PathElement |
SessionItem.getPathElement()
Returns the path element representing this item on a path in its workspace tree. |
abstract void |
SessionItem.remove()
Marks this item and its subtree as removed. |
abstract void |
SessionItem.save()
Validates and applies changes pending in the current session to this item and its subtree. |
Uses of RepositoryException in com.jeceira.item.proxy |
Methods in com.jeceira.item.proxy that throw RepositoryException | |
void |
PropertyProxy.accept(ItemVisitor visitor)
|
boolean |
PropertyProxy.getBoolean()
|
java.util.Calendar |
PropertyProxy.getDate()
|
PropertyDefinition |
PropertyProxy.getDefinition()
|
double |
PropertyProxy.getDouble()
|
long |
PropertyProxy.getLength()
|
long[] |
PropertyProxy.getLengths()
|
long |
PropertyProxy.getLong()
|
Node |
PropertyProxy.getNode()
|
java.io.InputStream |
PropertyProxy.getStream()
|
java.lang.String |
PropertyProxy.getString()
|
int |
PropertyProxy.getType()
|
Value |
PropertyProxy.getValue()
|
Value[] |
PropertyProxy.getValues()
|
void |
PropertyProxy.setValue(boolean booleanValue)
|
void |
PropertyProxy.setValue(java.util.Calendar dateValue)
|
void |
PropertyProxy.setValue(double doubleValue)
|
void |
PropertyProxy.setValue(java.io.InputStream inputStream)
|
void |
PropertyProxy.setValue(long longValue)
|
void |
PropertyProxy.setValue(Node referenceValue)
|
void |
PropertyProxy.setValue(java.lang.String stringValue)
|
void |
PropertyProxy.setValue(java.lang.String[] stringValues)
|
void |
PropertyProxy.setValue(Value value)
|
void |
PropertyProxy.setValue(Value[] values)
|
void |
NodeProxy.accept(ItemVisitor visitor)
|
void |
NodeProxy.addMixin(java.lang.String mixinName)
|
Node |
NodeProxy.addNode(java.lang.String relPath)
|
Node |
NodeProxy.addNode(java.lang.String relPath,
java.lang.String primaryNodeTypeName)
|
boolean |
NodeProxy.canAddMixin(java.lang.String mixinName)
|
void |
NodeProxy.cancelMerge(Version version)
|
Version |
NodeProxy.checkin()
|
void |
NodeProxy.checkout()
|
void |
NodeProxy.doneMerge(Version version)
|
Version |
NodeProxy.getBaseVersion()
|
java.lang.String |
NodeProxy.getCorrespondingNodePath(java.lang.String workspaceName)
|
NodeDefinition |
NodeProxy.getDefinition()
|
int |
NodeProxy.getIndex()
|
Lock |
NodeProxy.getLock()
|
NodeType[] |
NodeProxy.getMixinNodeTypes()
|
Node |
NodeProxy.getNode(java.lang.String relPath)
|
NodeIterator |
NodeProxy.getNodes()
|
NodeIterator |
NodeProxy.getNodes(java.lang.String namePattern)
|
Item |
NodeProxy.getPrimaryItem()
|
NodeType |
NodeProxy.getPrimaryNodeType()
|
PropertyIterator |
NodeProxy.getProperties()
|
PropertyIterator |
NodeProxy.getProperties(java.lang.String namePattern)
|
Property |
NodeProxy.getProperty(java.lang.String relPath)
|
PropertyIterator |
NodeProxy.getReferences()
|
java.lang.String |
NodeProxy.getUUID()
|
VersionHistory |
NodeProxy.getVersionHistory()
|
boolean |
NodeProxy.hasNode(java.lang.String relPath)
|
boolean |
NodeProxy.hasNodes()
|
boolean |
NodeProxy.hasProperties()
|
boolean |
NodeProxy.hasProperty(java.lang.String relPath)
|
boolean |
NodeProxy.holdsLock()
|
boolean |
NodeProxy.isCheckedOut()
|
boolean |
NodeProxy.isLocked()
|
boolean |
NodeProxy.isNodeType(java.lang.String nodeTypeName)
|
Lock |
NodeProxy.lock(boolean isDeep,
boolean isSessionScoped)
|
NodeIterator |
NodeProxy.merge(java.lang.String srcWorkspace,
boolean bestEffort)
|
void |
NodeProxy.orderBefore(java.lang.String srcChildRelPath,
java.lang.String destChildRelPath)
|
void |
NodeProxy.removeMixin(java.lang.String mixinName)
|
void |
NodeProxy.restore(java.lang.String versionName,
boolean removeExisting)
|
void |
NodeProxy.restore(Version version,
boolean removeExisting)
|
void |
NodeProxy.restore(Version version,
java.lang.String relPath,
boolean removeExisting)
|
void |
NodeProxy.restoreByLabel(java.lang.String versionLabel,
boolean removeExisting)
|
Property |
NodeProxy.setProperty(java.lang.String name,
boolean value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.util.Calendar value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
double value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.io.InputStream value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
long value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
Node value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.lang.String value)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.lang.String value,
int type)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.lang.String[] values)
|
Property |
NodeProxy.setProperty(java.lang.String name,
java.lang.String[] values,
int type)
|
Property |
NodeProxy.setProperty(java.lang.String name,
Value value)
The spec does not explicitly cover the case of non-existent property and null value argument. |
Property |
NodeProxy.setProperty(java.lang.String name,
Value value,
int type)
|
Property |
NodeProxy.setProperty(java.lang.String name,
Value[] values)
|
Property |
NodeProxy.setProperty(java.lang.String name,
Value[] values,
int type)
|
void |
NodeProxy.unlock()
|
void |
NodeProxy.update(java.lang.String srcWorkspaceName)
|
protected void |
ItemProxy.checkClosed()
Checks if current session has been closed and, if so, throws a RepositoryException . |
Item |
ItemProxy.getAncestor(int depth)
|
int |
ItemProxy.getDepth()
|
java.lang.String |
ItemProxy.getName()
|
Node |
ItemProxy.getParent()
|
java.lang.String |
ItemProxy.getPath()
|
Session |
ItemProxy.getSession()
|
boolean |
ItemProxy.isSame(Item otherItem)
|
void |
ItemProxy.refresh(boolean keepChanges)
|
void |
ItemProxy.remove()
|
void |
ItemProxy.save()
|
Uses of RepositoryException in com.jeceira.item.state |
Methods in com.jeceira.item.state that throw RepositoryException | |
void |
NodeManager.addNode(SessionNode node)
Registers a node with this manager. |
void |
NodeManager.orderBefore(SessionNode srcNode,
SessionNode destNode)
Changes the position of the source node in the list of all registered, not removed nodes of this manager. |
void |
NodeManager.removeNode(SessionNode node)
Marks the specified node as removed. |
protected static void |
PropertyState.changeState(SessionProperty property,
PropertyState nextState)
Changes state of a property. |
static void |
PropertyState.setInitialState(SessionProperty property)
Sets the state of the specified property to PropertyState.CREATED . |
static void |
PropertyState.setSavedState(SessionProperty property)
Sets the state of the specified property to PropertyState.SAVED . |
protected abstract void |
PropertyState.changeStateOnRemoval(SessionProperty property)
Sets the state of the specified property after it has been successfully removed. |
void |
PropertyState.changeStateOnSave(SessionProperty property,
java.util.List events)
Sets the state of the specified property after it has been successfully saved, adds the appropriate event to the specified list of events, and clears all events associated with the property. |
protected abstract void |
PropertyState.doChangeStateOnSave(SessionProperty property,
java.util.List events)
Sets the state of the specified property after it has been successfully saved and adds the appropriate event to the specified list of events. |
protected abstract void |
PropertyState.entry(SessionProperty property)
Performs actions on the specified property upon entry into this state. |
abstract void |
PropertyState.modify(SessionProperty property)
Marks the specified property as modified. |
void |
PropertyState.remove(SessionProperty property)
Marks the specified property as removed through the current session. |
void |
PropertyState.save(SessionProperty property)
Saves pending changes on the specified property. |
abstract void |
PropertyState.save(Transaction transaction,
SessionProperty property)
Saves pending changes on the specified property in context of a running transaction. |
protected abstract void |
NodeState.changeStateOnRemoval(SessionNode node)
Performs state transition in case of removal of the corresponding node. |
protected void |
NodeState.changeStateOnSave(SessionNode node,
java.util.List events,
boolean processOrderEvents)
Recursively sets the state of the specified node and its subtree after it has been successfully saved. |
protected abstract void |
NodeState.doChangeStateOnSave(SessionNode node,
java.util.List events,
boolean processOrderEvents)
Sets the state of the specified node after it has been successfully saved. |
protected abstract void |
NodeState.doSave(Transaction transaction,
SessionNode node,
boolean reordered)
Validates and applies changes made on the specified node through the current session. |
void |
NodeState.remove(SessionNode node)
Marks the specified node and its descendants as removed through the current session. |
void |
NodeState.save(SessionNode node)
Saves pending changes on the specified node and its subtree. |
protected void |
NodeState.save(Transaction transaction,
SessionNode node,
boolean reordered)
Saves pending changes on the specified node and its subtree in context of a running transaction. |
void |
PropertyManager.addProperty(SessionProperty property)
Registers the specified property with this manager. |
void |
PropertyManager.removeProperty(SessionProperty property)
Marks the specified property as removed. |
Uses of RepositoryException in com.jeceira.iterator |
Methods in com.jeceira.iterator that throw RepositoryException | |
boolean |
NameFilter.passes(Item item)
Returns true if the specified item name matches a name pattern and false otherwise. |
Constructors in com.jeceira.iterator that throw RepositoryException | |
ItemIterator(Item[] items,
NameFilter filter)
Creates an iterator for those items from the specified array whose name matches the specified name filter. |
|
NodeIteratorImpl(Node[] nodes,
NameFilter filter)
Creates an iterator for those nodes from the specified array whose name matches the specified name filter. |
|
PropertyIteratorImpl(Property[] properties,
NameFilter filter)
Creates an iterator for those properties whose name matches the specified name filter. |
|
NameFilter(java.lang.String namePattern)
Creates a new name filter that uses the specified name pattern. |
Uses of RepositoryException in com.jeceira.nodetype |
Subclasses of RepositoryException in com.jeceira.nodetype | |
class |
NodeTypeExistsException
Thrown if an attempt is made to create a node type with the same name as already existing one. |
Methods in com.jeceira.nodetype that throw RepositoryException | |
SessionNodeDef |
DefaultDefPolicy.getNodeDef(SessionNode parentNode,
ItemName childNodeName)
|
SessionNodeDef |
DefaultDefPolicy.getNodeDef(SessionNode parentNode,
ItemName childNodeName,
SessionNodeType primaryNodeType)
This method returns an appropriate child node defintion for a child with the given name and primary node type. |
abstract SessionNodeDef |
DefPolicy.getNodeDef(SessionNode parentNode,
ItemName childNodeName)
Returns a node definition matching the specified child node name. |
abstract SessionNodeDef |
DefPolicy.getNodeDef(SessionNode parentNode,
ItemName childNodeName,
SessionNodeType primaryNodeType)
Returns a node definition matching the specified child node name and primary node type. |
abstract SessionPropertyDef |
DefPolicy.getPropertyDef(SessionNode parentNode,
ItemName propertyName,
boolean isMultiple)
Returns a property definition matching the specified property name. |
NodeTypeIterator |
SessionNodeTypeManager.getAllNodeTypes()
|
NodeTypeIterator |
SessionNodeTypeManager.getMixinNodeTypes()
|
NodeType |
SessionNodeTypeManager.getNodeType(java.lang.String nodeTypeName)
|
NodeTypeIterator |
SessionNodeTypeManager.getPrimaryNodeTypes()
|
SessionNodeType |
SessionNodeTypeManager.getSessionNodeType(java.lang.String nodeTypeName)
Returns the node type with the specified mapped name as a SessionNodeType object. |
Constructors in com.jeceira.nodetype that throw RepositoryException | |
SessionNodeTypeManager(SessionContext sessionContext)
Creates a session node type manager within the specified session context. |
Uses of RepositoryException in com.jeceira.nodetype.constraints |
Subclasses of RepositoryException in com.jeceira.nodetype.constraints | |
class |
InvalidConstraintException
This exception can be thrown at construction of any implementation of the ValueConstraint interface. |
class |
ValueConstraintException
This exception can be thrown by the ValueConstraint.permit(Value, SessionContext) of any implementation
of the ValueConstraint interface. |
Uses of RepositoryException in com.jeceira.observation |
Methods in com.jeceira.observation that throw RepositoryException | |
static WorkspaceEvent |
WorkspaceEvent.createEvent(int type,
SessionItem item)
Creates an event with the specified type associated with the specified item. |
java.lang.String |
SessionEvent.getPath()
|
void |
SessionObservationManager.addEventListener(EventListener listener,
int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuids,
java.lang.String[] nodeTypeNames,
boolean noLocal)
|
EventListenerIterator |
SessionObservationManager.getRegisteredEventListeners()
|
void |
SessionObservationManager.removeEventListener(EventListener listener)
|
Constructors in com.jeceira.observation that throw RepositoryException | |
FilterPath(SessionContext sessionContext,
java.lang.String absPath,
boolean isDeep)
Creates a filter path for the parent node associated with an event. |
Uses of RepositoryException in com.jeceira.persistence |
Methods in com.jeceira.persistence that throw RepositoryException | |
void |
Transaction.commit()
Commits current transaction. |
void |
Transaction.disableReferentialIntegrity()
Instructs this transaction to disable all referential integrity checks until commit is issued. |
void |
Transaction.rollback()
Rolls current transaction back. |
static PersistenceFactory |
PersistenceFactory.getFactory(RepositoryConfig repositoryConfig)
Creates and returns an instance of a concrete subclass of this class according to the specified configuration. |
abstract NamespaceRegistry |
PersistenceFactory.getNamespaceRegistry()
Returns an implementation of the NamespaceRegistry interface. |
abstract PersistentNodeTypeManager |
PersistenceFactory.getPersistentNodeTypeManager()
Returns an implementation of the PersistentNodeTypeManager
interface. |
abstract PersistentWorkspace |
PersistenceFactory.getPersistentWorkspace(java.lang.String workspaceName)
Returns a workspace with the specified name implementing the PersistentWorkspace interface. |
abstract void |
PersistenceFactory.init()
Initializes persistent storage of the repository removing existing data and building the schema from scratch. |
static void |
DbUtils.rethrow(java.sql.SQLException e,
java.sql.Statement statement,
org.apache.log4j.Logger logger)
Logt an SQL exception caused by the specified statement and rethrows it as a repository exception. |
NodeTypeInfo[] |
PersistentNodeTypeManager.getAllNodeTypes()
Returns infos of all node types in the persistent store. |
NodeTypeInfo |
PersistentNodeTypeManager.getNodeType(java.lang.String nodeTypeName)
Returns the info for the node type with the specified name or null if no such node type exists in the persistent store. |
void |
PersistentNodeTypeManager.insertNodeTypes(NodeTypeInfo[] nodeTypes)
Inserts node types into the persistent store. |
Transaction |
PersistentWorkspace.beginTransaction()
Begins a transaction on the persistent storage. |
void |
PersistentWorkspace.deleteProperty(Transaction transaction,
PropertyInfo propertyInfo)
Deletes a property from the persistent storage. |
void |
PersistentWorkspace.deleteSubtree(Transaction transaction,
java.lang.String nodeUuid)
Deletes the subtree below and including the specified node. |
NodeInfo |
PersistentWorkspace.getNode(Transaction transaction,
java.lang.String nodeUuid)
Returns the data for a node with the specified UUID or null if there is no such node. |
java.util.Map |
PersistentWorkspace.getNodes(Transaction transaction)
|
java.util.Map |
PersistentWorkspace.getProperties(Transaction transaction)
|
NodeInfo |
PersistentWorkspace.getRootNode(Transaction transaction)
Retrieves the data of the root node of this workspace. |
void |
PersistentWorkspace.insertNode(Transaction transaction,
NodeInfo nodeInfo)
Inserts a node into the persistent storage. |
void |
PersistentWorkspace.insertProperty(Transaction transaction,
PropertyInfo propertyInfo)
Inserts a property into the persistent storage. |
void |
PersistentWorkspace.moveNode(Transaction transaction,
java.lang.String srcNodeUuid,
java.lang.String destParentUuid,
java.lang.String destNodeName)
Makes a node with the specified UUID child node of the specified parent. |
void |
PersistentWorkspace.reorderNode(Transaction transaction,
NodeInfo nodeInfo)
Updates the position of a node under its parent in the persistent storage. |
void |
PersistentWorkspace.updateProperty(Transaction transaction,
PropertyInfo propertyInfo)
Updates a property in the persistent storage. |
Uses of RepositoryException in com.jeceira.persistence.hsqldb |
Methods in com.jeceira.persistence.hsqldb that throw RepositoryException | |
NodeTypeInfo[] |
HsqldbNodeTypeManager.getAllNodeTypes()
|
NodeTypeInfo |
HsqldbNodeTypeManager.getNodeType(java.lang.String nodeTypeName)
|
void |
HsqldbNodeTypeManager.insertNodeTypes(NodeTypeInfo[] nodeTypeInfos)
|
NamespaceRegistry |
HsqldbFactory.getNamespaceRegistry()
|
PersistentNodeTypeManager |
HsqldbFactory.getPersistentNodeTypeManager()
|
PersistentWorkspace |
HsqldbFactory.getPersistentWorkspace(java.lang.String workspaceName)
|
void |
HsqldbFactory.init()
|
void |
HsqldbTransaction.commit()
|
void |
HsqldbTransaction.disableReferentialIntegrity()
|
void |
HsqldbTransaction.rollback()
|
Transaction |
HsqldbWorkspace.beginTransaction()
|
void |
HsqldbWorkspace.deleteProperty(Transaction transaction,
PropertyInfo propertyInfo)
|
void |
HsqldbWorkspace.deleteSubtree(Transaction transaction,
java.lang.String nodeUuid)
|
NodeInfo |
HsqldbWorkspace.getNode(Transaction transaction,
java.lang.String nodeUuid)
|
java.util.Map |
HsqldbWorkspace.getNodes(Transaction transaction)
|
java.util.Map |
HsqldbWorkspace.getProperties(Transaction transaction)
|
NodeInfo |
HsqldbWorkspace.getRootNode(Transaction transaction)
|
void |
HsqldbWorkspace.insertNode(Transaction transaction,
NodeInfo nodeInfo)
|
void |
HsqldbWorkspace.insertProperty(Transaction transaction,
PropertyInfo propertyInfo)
|
void |
HsqldbWorkspace.moveNode(Transaction transaction,
java.lang.String srcNodeUuid,
java.lang.String destParentUuid,
java.lang.String destNodeName)
|
void |
HsqldbWorkspace.reorderNode(Transaction transaction,
NodeInfo nodeInfo)
|
void |
HsqldbWorkspace.updateProperty(Transaction transaction,
PropertyInfo propertyInfo)
|
java.lang.String |
HsqldbNamespaceRegistry.getPrefix(java.lang.String uri)
|
java.lang.String[] |
HsqldbNamespaceRegistry.getPrefixes()
|
java.lang.String |
HsqldbNamespaceRegistry.getURI(java.lang.String prefix)
|
java.lang.String[] |
HsqldbNamespaceRegistry.getURIs()
|
void |
HsqldbNamespaceRegistry.registerNamespace(java.lang.String prefix,
java.lang.String uri)
|
void |
HsqldbNamespaceRegistry.unregisterNamespace(java.lang.String prefix)
|
Constructors in com.jeceira.persistence.hsqldb that throw RepositoryException | |
HsqldbNodeTypeManager(java.util.Properties configProperties)
Creates a node type manager with the specified configuration properties. |
|
HsqldbFactory(RepositoryConfig repositoryConfig)
Creates HSQLDB factory and initializes the persistent storage. |
|
HsqldbTransaction(ConnectionManager connectionManager)
Creates a transaction with the specified connection manager. |
|
ConnectionManager(java.util.Properties configProperties)
Loads the HSQLDB driver class and creates a connection manager with the specified properties. |
|
HsqldbWorkspace(java.lang.String workspaceName,
java.util.Properties configProperties)
Creates a workspace with the specified name and the specified configuration properties. |
|
HsqldbNamespaceRegistry(java.util.Properties configProperties)
Creates a namespace registry for an HSQLDB database. |
Uses of RepositoryException in com.jeceira.persistence.info |
Methods in com.jeceira.persistence.info that throw RepositoryException | |
SessionNode |
NodeInfo.toSessionNode(SessionContext sessionContext,
SessionNode parentNode)
Converts this into an instance of SessionNode class. |
static ValueInfo |
ValueInfo.valueOf(java.sql.ResultSet resultSet,
int type)
Converts a result set column into an instance of this class using the specified value type. |
static ValueInfo |
ValueInfo.valueOf(SessionValue value)
Converts a session value into an instance of this class. |
SessionValue |
ValueInfo.toSessionValue(SessionContext sessionContext)
Converts this value info into a session value using the specified session context. |
static PropertyInfo |
PropertyInfo.valueOf(SessionProperty property)
Converts a session property into an instance of this class. |
SessionValue |
PropertyInfo.getSessionValue(SessionContext sessionContext)
Converts the value of this single-valued property info into a session value in the specified session context. |
SessionValue[] |
PropertyInfo.getSessionValues(SessionContext sessionContext)
Converts the values of this multi-valued property info into an array of session values in the specified session context. |
SessionProperty |
PropertyInfo.toSessionProperty(SessionContext sessionContext,
SessionNode parentNode)
Converts this into an instance of SessionProperty class. |
Constructors in com.jeceira.persistence.info that throw RepositoryException | |
ValueInfo(java.lang.String stringValue,
int type)
Creates value info with the specified string value and value type. |
Uses of RepositoryException in com.jeceira.repository |
Methods in com.jeceira.repository that throw RepositoryException | |
Session |
RepositoryImpl.login()
|
Session |
RepositoryImpl.login(Credentials credentials)
|
Session |
RepositoryImpl.login(Credentials credentials,
java.lang.String workspaceName)
|
Session |
RepositoryImpl.login(java.lang.String workspaceName)
|
static RepositoryFactory |
RepositoryFactory.getInstance()
Returns a repository factory with default configuration manager reading repository configurations from jeceira config file on the class path. |
PersistentNodeTypeManager |
RepositoryFactory.getPersistentNodeTypeManager(java.lang.String repositoryName)
Returns an implementation of the PersistentNodeTypeManager
interface working on the repository with the specified name. |
Repository |
RepositoryFactory.getRepository(java.lang.String repositoryName)
Returns an implementation of the Repository interface working on
the repository with the specified name. |
void |
RepositoryFactory.initRepository(java.lang.String repositoryName)
Initializes repository with the specified name including removal of existing data and building the schema from scratch. |
Uses of RepositoryException in com.jeceira.session |
Methods in com.jeceira.session that throw RepositoryException | |
void |
SessionContext.setRootNode(java.lang.String nodeTypeName)
Sets the root node of the current context. |
java.lang.String |
SessionNamespaceRegistry.getPrefix(java.lang.String uri)
|
java.lang.String[] |
SessionNamespaceRegistry.getPrefixes()
|
java.lang.String |
SessionNamespaceRegistry.getURI(java.lang.String prefix)
|
java.lang.String[] |
SessionNamespaceRegistry.getURIs()
|
void |
SessionNamespaceRegistry.registerNamespace(java.lang.String prefix,
java.lang.String uri)
|
void |
SessionNamespaceRegistry.unregisterNamespace(java.lang.String prefix)
|
void |
SessionImpl.exportDocumentView(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
|
void |
SessionImpl.exportDocumentView(java.lang.String absPath,
java.io.OutputStream out,
boolean skipBinary,
boolean noRecurse)
|
void |
SessionImpl.exportSystemView(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
|
void |
SessionImpl.exportSystemView(java.lang.String absPath,
java.io.OutputStream out,
boolean skipBinary,
boolean noRecurse)
|
org.xml.sax.ContentHandler |
SessionImpl.getImportContentHandler(java.lang.String parentAbsPath,
int uuidBehavior)
|
Item |
SessionImpl.getItem(java.lang.String absPath)
|
java.lang.String |
SessionImpl.getNamespacePrefix(java.lang.String uri)
|
java.lang.String[] |
SessionImpl.getNamespacePrefixes()
|
java.lang.String |
SessionImpl.getNamespaceURI(java.lang.String prefix)
|
Node |
SessionImpl.getNodeByUUID(java.lang.String uuid)
|
Node |
SessionImpl.getRootNode()
|
ValueFactory |
SessionImpl.getValueFactory()
|
boolean |
SessionImpl.hasPendingChanges()
|
Session |
SessionImpl.impersonate(Credentials credentials)
|
void |
SessionImpl.importXML(java.lang.String parentAbsPath,
java.io.InputStream in,
int uuidBehavior)
|
void |
SessionImpl.move(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
|
void |
SessionImpl.refresh(boolean keepChanges)
|
void |
SessionImpl.save()
|
void |
SessionImpl.setNamespacePrefix(java.lang.String prefix,
java.lang.String uri)
|
void |
TransientWorkspace.addReference(SessionProperty property)
Registers a reference property for lookup by the UUID of the referenced node. |
void |
TransientWorkspace.clone(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath,
boolean removeExisting)
|
void |
TransientWorkspace.copy(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
|
void |
TransientWorkspace.copy(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath)
|
java.lang.String[] |
TransientWorkspace.getAccessibleWorkspaceNames()
|
org.xml.sax.ContentHandler |
TransientWorkspace.getImportContentHandler(java.lang.String parentAbsPath,
int uuidBehavior)
|
NamespaceRegistry |
TransientWorkspace.getNamespaceRegistry()
|
NodeTypeManager |
TransientWorkspace.getNodeTypeManager()
|
ObservationManager |
TransientWorkspace.getObservationManager()
|
QueryManager |
TransientWorkspace.getQueryManager()
|
void |
TransientWorkspace.importXML(java.lang.String parentAbsPath,
java.io.InputStream in,
int uuidBehavior)
|
void |
TransientWorkspace.move(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
|
void |
TransientWorkspace.removeReference(SessionProperty property)
Unregisters a reference property. |
void |
TransientWorkspace.restore(Version[] versions,
boolean removeExisting)
|
void |
TransientWorkspace.updateReference(SessionProperty property)
Updates the lookup maps for a reference property. |
Constructors in com.jeceira.session that throw RepositoryException | |
SessionContext(java.lang.String workspaceName,
RepositoryContext repositoryContext)
Creates and initialiazes a session context. |
Uses of RepositoryException in com.jeceira.syntax |
Subclasses of RepositoryException in com.jeceira.syntax | |
class |
SyntaxException
|
Methods in com.jeceira.syntax that throw RepositoryException | |
static NodeTypeName |
NodeTypeName.parseMappedForm(NamespaceRegistry registry,
java.lang.String name)
Converts the specified name string into an ItemName
object. |
java.lang.String |
NodeTypeName.getMappedForm(NamespaceRegistry registry)
|
static Path |
Path.getAbsolutePath(SessionItem item)
Returns the absolute path of an item. |
static Path |
Path.parseAbsolutePath(NamespaceRegistry namespaceRegistry,
java.lang.String absPath)
Returns a Path object representing the absolute path
specified by the absPath argument. |
static Path |
Path.parseFullyQualifiedForm(java.lang.String path)
Returns a Path object representing the specified (either
relative or absolute) path in internal form. |
static Path |
Path.parseMappedForm(NamespaceRegistry namespaceRegistry,
java.lang.String path)
Returns a Path object representing the specified (either
relative or absolute) path. |
static Path |
Path.parseRelativePath(NamespaceRegistry registry,
java.lang.String relPath)
Returns a Path object representing the relative path
specified by the relPath argument. |
java.lang.String |
Path.getMappedForm(NamespaceRegistry registry)
|
Path |
Path.getNormalizedPath(SessionNode startNode)
Returns new Path instance representing the normalized form
of this path. |
SessionNode |
Path.resolveNode(SessionNode startNode)
Returns the node denoted by the last element (after normalization) of this path starting at the specified node. |
SessionProperty |
Path.resolveProperty(SessionNode startNode)
Returns the property denoted by the last element (after normalization) of this path starting at the specified node. |
(package private) void |
Path.Normalizer.addElement(PathElement pathElement)
Adds the specified path element to the normalized path. |
static ItemName |
ItemName.parseMappedForm(NamespaceRegistry registry,
java.lang.String name)
Converts the specified name string into an ItemName
object. |
java.lang.String |
ItemName.getMappedForm(NamespaceRegistry registry)
|
SessionNode |
ItemName.resolveNode(SessionNode currentNode)
|
SessionProperty |
ItemName.resolveProperty(SessionNode currentNode)
|
java.lang.String |
Mappable.getMappedForm(NamespaceRegistry registry)
Returns this string with URIs mapped onto corresponding prefixes using the specified namespace registry. |
static IndexedName |
IndexedName.parseMappedForm(NamespaceRegistry registry,
java.lang.String name)
Converts the specified name string into an IndexedName
object. |
java.lang.String |
IndexedName.getMappedForm(NamespaceRegistry registry)
|
SessionNode |
IndexedName.resolveNode(SessionNode currentNode)
|
SessionProperty |
IndexedName.resolveProperty(SessionNode currentNode)
|
static DefName |
DefName.parseMappedForm(NamespaceRegistry registry,
java.lang.String name)
Converts the specified name string into a DefName object. |
java.lang.String |
DefName.getMappedForm(NamespaceRegistry registry)
|
SessionNode |
PathElement.resolveNode(SessionNode currentNode)
Returns the node entity that this path element denotes relative to the specified node. |
SessionProperty |
PathElement.resolveProperty(SessionNode currentNode)
Returns the property entity that this path element denotes relative to the specified node. |
static Name |
Name.parseMappedForm(NamespaceRegistry registry,
java.lang.String name)
Converts the specified name string into a Name object. |
java.lang.String |
Name.getMappedForm(NamespaceRegistry registry)
|
static java.util.regex.Pattern |
NamePatternSyntax.compileNodeNamePattern(java.lang.String namePattern)
Returns a compiled Java Regex Pattern that matches the specified name pattern. |
Uses of RepositoryException in com.jeceira.value |
Methods in com.jeceira.value that throw RepositoryException | |
protected byte[] |
LongValue.toBinaryValue()
|
protected java.lang.Boolean |
LongValue.toBooleanValue()
|
protected java.util.Calendar |
LongValue.toDateValue()
|
protected java.lang.Double |
LongValue.toDoubleValue()
|
protected java.lang.Long |
LongValue.toLongValue()
|
protected Name |
LongValue.toNameValue()
|
protected Path |
LongValue.toPathValue()
|
protected Reference |
LongValue.toReferenceValue()
|
protected java.lang.String |
LongValue.toStringValue()
|
protected byte[] |
StreamValue.toBinaryValue()
|
protected java.lang.Boolean |
StreamValue.toBooleanValue()
|
protected java.util.Calendar |
StreamValue.toDateValue()
|
protected java.lang.Double |
StreamValue.toDoubleValue()
|
protected java.lang.Long |
StreamValue.toLongValue()
|
protected Name |
StreamValue.toNameValue()
|
protected Path |
StreamValue.toPathValue()
|
protected Reference |
StreamValue.toReferenceValue()
|
protected java.lang.String |
StreamValue.toStringValue()
|
boolean |
SessionValue.getBoolean()
|
byte[] |
SessionValue.getBytes()
Returns the byte array representation of this value. |
java.util.Calendar |
SessionValue.getDate()
|
double |
SessionValue.getDouble()
|
long |
SessionValue.getLong()
|
Name |
SessionValue.getName()
Returns a Name representation of this value. |
Path |
SessionValue.getPath()
Returns a Path representation of this value. |
Reference |
SessionValue.getReference()
Returns a Reference representation of this value. |
java.io.InputStream |
SessionValue.getStream()
|
java.lang.String |
SessionValue.getString()
|
protected abstract byte[] |
SessionValue.toBinaryValue()
Converts this into a stream value. |
protected abstract java.lang.Boolean |
SessionValue.toBooleanValue()
Converts this into a boolean value. |
protected abstract java.util.Calendar |
SessionValue.toDateValue()
Converts this into a date value. |
protected abstract java.lang.Double |
SessionValue.toDoubleValue()
Converts this into a double value. |
protected abstract java.lang.Long |
SessionValue.toLongValue()
Converts this into a long value. |
protected abstract Name |
SessionValue.toNameValue()
Converts this into a name value. |
protected abstract Path |
SessionValue.toPathValue()
Converts this into a path value. |
protected abstract Reference |
SessionValue.toReferenceValue()
Converts this into a reference value. |
protected abstract java.lang.String |
SessionValue.toStringValue()
Converts this into a string value. |
protected byte[] |
ReferenceValue.toBinaryValue()
|
protected java.lang.Boolean |
ReferenceValue.toBooleanValue()
|
protected java.util.Calendar |
ReferenceValue.toDateValue()
|
protected java.lang.Double |
ReferenceValue.toDoubleValue()
|
protected java.lang.Long |
ReferenceValue.toLongValue()
|
protected Name |
ReferenceValue.toNameValue()
|
protected Path |
ReferenceValue.toPathValue()
|
protected Reference |
ReferenceValue.toReferenceValue()
|
protected java.lang.String |
ReferenceValue.toStringValue()
|
protected byte[] |
BooleanValue.toBinaryValue()
|
protected java.lang.Boolean |
BooleanValue.toBooleanValue()
|
protected java.util.Calendar |
BooleanValue.toDateValue()
|
protected java.lang.Double |
BooleanValue.toDoubleValue()
|
protected java.lang.Long |
BooleanValue.toLongValue()
|
protected Name |
BooleanValue.toNameValue()
|
protected Path |
BooleanValue.toPathValue()
|
protected Reference |
BooleanValue.toReferenceValue()
|
protected java.lang.String |
BooleanValue.toStringValue()
|
static byte[] |
ValueConverter.toBinaryValue(java.lang.String s)
Converts a string into a stream value. |
static byte[] |
ValueConverter.toBinaryValue(Value v)
Converts a value into a byte array. |
static java.util.Calendar |
ValueConverter.toDateValue(java.lang.String s)
Converts a string into a date value. |
static java.lang.Double |
ValueConverter.toDoubleValue(java.lang.String s)
Converts a string into a double value. |
static java.lang.Long |
ValueConverter.toLongValue(java.lang.String s)
Converts a string into a long value. |
static Name |
ValueConverter.toNameValue(java.lang.String s,
NamespaceRegistry namespaceRegistry)
Converts a string into a name value using the specified namespace registry. |
static java.lang.String |
ValueConverter.toStringValue(byte[] bytes)
Converts a byte array into a string value. |
static java.lang.String |
ValueConverter.toStringValue(Name n,
NamespaceRegistry namespaceRegistry)
Converts a name into string value using the specified namespace registry. |
static java.lang.String |
ValueConverter.toStringValue(Path p,
NamespaceRegistry namespaceRegistry)
Converts a path into a string value using the specified namespace registry. |
SessionValue |
SessionValueFactory.createSessionValue(Node value)
Returns a SessionValue object of PropertyType.REFERENCE
type with the specified value. |
Value |
SessionValueFactory.createValue(Node value)
|
protected byte[] |
StringValue.toBinaryValue()
|
protected java.lang.Boolean |
StringValue.toBooleanValue()
|
protected java.util.Calendar |
StringValue.toDateValue()
|
protected java.lang.Double |
StringValue.toDoubleValue()
|
protected java.lang.Long |
StringValue.toLongValue()
|
protected Name |
StringValue.toNameValue()
|
protected Path |
StringValue.toPathValue()
|
protected Reference |
StringValue.toReferenceValue()
|
protected java.lang.String |
StringValue.toStringValue()
|
protected byte[] |
PathValue.toBinaryValue()
|
protected java.lang.Boolean |
PathValue.toBooleanValue()
|
protected java.util.Calendar |
PathValue.toDateValue()
|
protected java.lang.Double |
PathValue.toDoubleValue()
|
protected java.lang.Long |
PathValue.toLongValue()
|
protected Name |
PathValue.toNameValue()
|
protected Path |
PathValue.toPathValue()
|
protected Reference |
PathValue.toReferenceValue()
|
protected java.lang.String |
PathValue.toStringValue()
|
protected byte[] |
DateValue.toBinaryValue()
|
protected java.lang.Boolean |
DateValue.toBooleanValue()
|
protected java.util.Calendar |
DateValue.toDateValue()
|
protected java.lang.Double |
DateValue.toDoubleValue()
|
protected java.lang.Long |
DateValue.toLongValue()
|
protected Name |
DateValue.toNameValue()
|
protected Path |
DateValue.toPathValue()
|
protected Reference |
DateValue.toReferenceValue()
|
protected java.lang.String |
DateValue.toStringValue()
|
protected byte[] |
NameValue.toBinaryValue()
|
protected java.lang.Boolean |
NameValue.toBooleanValue()
|
protected java.util.Calendar |
NameValue.toDateValue()
|
protected java.lang.Double |
NameValue.toDoubleValue()
|
protected java.lang.Long |
NameValue.toLongValue()
|
protected Name |
NameValue.toNameValue()
|
protected Path |
NameValue.toPathValue()
|
protected Reference |
NameValue.toReferenceValue()
|
protected java.lang.String |
NameValue.toStringValue()
|
protected byte[] |
DoubleValue.toBinaryValue()
|
protected java.lang.Boolean |
DoubleValue.toBooleanValue()
|
protected java.util.Calendar |
DoubleValue.toDateValue()
|
protected java.lang.Double |
DoubleValue.toDoubleValue()
|
protected java.lang.Long |
DoubleValue.toLongValue()
|
protected Name |
DoubleValue.toNameValue()
|
protected Path |
DoubleValue.toPathValue()
|
protected Reference |
DoubleValue.toReferenceValue()
|
protected java.lang.String |
DoubleValue.toStringValue()
|
Uses of RepositoryException in com.jeceira.xml |
Methods in com.jeceira.xml that throw RepositoryException | |
void |
DocumentViewExporter.visit(Node node)
|
void |
DocumentViewExporter.visit(Property property)
|
void |
SystemViewExporter.visit(Node node)
|
void |
SystemViewExporter.visit(Property p)
|
Constructors in com.jeceira.xml that throw RepositoryException | |
DocumentViewExporter(org.xml.sax.ContentHandler contentHandler,
SessionContext sessionContext,
boolean skipBinary,
boolean noRecurse)
Creates an item visitor transforming retrieved item information into SAX events forwarded to the specified content handler. |
|
ContentExporter(SessionContext sessionContext,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Creates a basic item visitor to start and end generation of XML document and declare registered namespace mappings. |
|
SystemViewExporter(SessionContext sessionContext,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Creates an item visitor transforming retrieved item information into SAX events forwarded to the specified content handler. |
Uses of RepositoryException in info.magnolia.jeceira |
Methods in info.magnolia.jeceira that throw RepositoryException | |
void |
ProviderImpl.registerNamespace(java.lang.String prefix,
java.lang.String uri,
Workspace workspace)
|
void |
ProviderImpl.registerNodeType(java.util.Map nodeTypeInfo)
|
void |
ProviderImpl.unregisterNamespace(java.lang.String prefix,
Workspace workspace)
|
Uses of RepositoryException in javax.jcr |
Subclasses of RepositoryException in javax.jcr | |
class |
AccessDeniedException
Exception thrown by access-related methods. |
class |
InvalidItemStateException
Exception thrown by the write methods of Node and Property
and by save and refresh if an attempted change would conflict with a
change to the persistent workspace made through another
Session . |
class |
InvalidSerializedDataException
Exception thrown by the deserialization methods of Session
if the serialized data being input has an invalid format. |
class |
ItemExistsException
An exception thrown when an attempt is made to place an item in a position where another item already exists. |
class |
ItemNotFoundException
Exception thrown by methods of ,
and when an item is not found. |
class |
LoginException
Exception thrown by
and if the specified
credentials are invalid. |
class |
MergeException
Exception thrown by Node.merge(String srcWorkspace, boolean isDeep) . |
class |
NamespaceException
Exception thrown by
if the specified uri is not registered in the NamespaceRegistry |
class |
NoSuchWorkspaceException
Exception thrown by
when a specific workspace is not found. |
class |
PathNotFoundException
Exception thrown when no Item exists at the specified path
or when the specified path implies intermediary Node s that do
not exist. |
class |
ReferentialIntegrityException
Exception thrown on referential integrity violation. |
class |
UnsupportedRepositoryOperationException
Thrown by methods that are not supported by a particluar implementation |
class |
ValueFormatException
Exception thrown when an attempt is made to assign a value to a property that has an invalid format, given the type of the property. |
Methods in javax.jcr that throw RepositoryException | |
Value |
ValueFactory.createValue(Node value)
Returns a Value object of PropertyType.REFERENCE
that holds the UUID of the specified Node . |
void |
NamespaceRegistry.registerNamespace(java.lang.String prefix,
java.lang.String uri)
Sets a one-to-one mapping between prefix and URI in the global namespace registry of this repository. |
void |
NamespaceRegistry.unregisterNamespace(java.lang.String prefix)
Removes a namespace mapping from the registry. |
java.lang.String[] |
NamespaceRegistry.getPrefixes()
Returns an array holding all currently registered prefixes. |
java.lang.String[] |
NamespaceRegistry.getURIs()
Returns an array holding all currently registered URIs. |
java.lang.String |
NamespaceRegistry.getURI(java.lang.String prefix)
Returns the URI to which the given prefix is mapped. |
java.lang.String |
NamespaceRegistry.getPrefix(java.lang.String uri)
Returns the prefix to which the given URI is mapped |
void |
ItemVisitor.visit(Property property)
This method is called when the ItemVisitor is
passed to the accept method of a Property . |
void |
ItemVisitor.visit(Node node)
This method is called when the ItemVisitor is
passed to the accept method of a Node . |
java.lang.String |
Item.getPath()
Returns the absolute path to this item. |
java.lang.String |
Item.getName()
Returns the name of this Item . |
Item |
Item.getAncestor(int depth)
Returns the ancestor of the specified depth. |
Node |
Item.getParent()
Returns the parent of this Item . |
int |
Item.getDepth()
Returns the depth of this Item in the workspace tree. |
Session |
Item.getSession()
Returns the Session through which this Item
was acquired. |
boolean |
Item.isSame(Item otherItem)
Returns true if this Item object
(the Java object instance) represents the same actual repository item as the
object otherItem . |
void |
Item.accept(ItemVisitor visitor)
Accepts an ItemVistor . |
void |
Item.save()
Validates all pending changes currently recorded in this Session that apply to this Item
or any of its descendants (that is, the subtree rooted at this Item). |
void |
Item.refresh(boolean keepChanges)
If keepChanges is false , this method discards all pending changes
currently recorded in this Session that apply to this Item or any of its descendants
(that is, the subtree rooted at this Item)and returns all items to reflect the current
saved state. |
void |
Item.remove()
Removes this item (and its subtree). |
void |
Workspace.copy(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
This method copies the node at srcAbsPath to the new location at
destAbsPath . |
void |
Workspace.copy(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath)
This method copies the subtree at srcAbsPath in srcWorkspace
to destAbsPath in this workspace. |
void |
Workspace.clone(java.lang.String srcWorkspace,
java.lang.String srcAbsPath,
java.lang.String destAbsPath,
boolean removeExisting)
Clones the subtree at the node srcAbsPath in srcWorkspace to the new location at
destAbsPath in this workspace. |
void |
Workspace.move(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
Moves the node at srcAbsPath (and its entire subtree) to the
new location at destAbsPath . |
void |
Workspace.restore(Version[] versions,
boolean removeExisting)
Restores a set of versions at once. |
QueryManager |
Workspace.getQueryManager()
Gets the QueryManager . |
NamespaceRegistry |
Workspace.getNamespaceRegistry()
Returns the NamespaceRegistry object, which is used to access information
and (in level 2) set the mapping between namespace prefixes and URIs. |
NodeTypeManager |
Workspace.getNodeTypeManager()
Returns the NodeTypeManager through which node type
information can be queried. |
ObservationManager |
Workspace.getObservationManager()
If the the implementation supports observation this method returns the ObservationManager object;
otherwise it throws an UnsupportedRepositoryOperationException . |
java.lang.String[] |
Workspace.getAccessibleWorkspaceNames()
Returns an string array containing the names of all workspaces in this repository that are accessible to this user, given the Credentials that were used to get the Session
tied to this Workspace . |
org.xml.sax.ContentHandler |
Workspace.getImportContentHandler(java.lang.String parentAbsPath,
int uuidBehavior)
Returns an org.xml.sax.ContentHandler which can be used to push SAX events into the repository. |
void |
Workspace.importXML(java.lang.String parentAbsPath,
java.io.InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subtree as a child of the node at parentAbsPath . |
java.lang.String |
Value.getString()
Returns a String representation of this value. |
java.io.InputStream |
Value.getStream()
Returns an InputStream representation of this value. |
long |
Value.getLong()
Returns a long representation of this value. |
double |
Value.getDouble()
Returns a double representation of this value. |
java.util.Calendar |
Value.getDate()
Returns a Calendar representation of this value. |
boolean |
Value.getBoolean()
Returns a Boolean representation of this value. |
void |
Property.setValue(Value value)
Sets the value of this property to value . |
void |
Property.setValue(Value[] values)
Sets the value of this property to the values array. |
void |
Property.setValue(java.lang.String value)
Sets the value of this property to value . |
void |
Property.setValue(java.lang.String[] values)
Sets the value of this property to the values array. |
void |
Property.setValue(java.io.InputStream value)
Sets the value of this property to value . |
void |
Property.setValue(long value)
Sets the value of this property to value . |
void |
Property.setValue(double value)
Sets the value of this property to value . |
void |
Property.setValue(java.util.Calendar value)
Sets the value of this property to value . |
void |
Property.setValue(boolean value)
Sets the value of this property to value . |
void |
Property.setValue(Node value)
Sets this REFERENCE property to refer to the specified node. |
Value |
Property.getValue()
Returns the value of this property as a generic Value object. |
Value[] |
Property.getValues()
Returns an array of all the values of this property. |
java.lang.String |
Property.getString()
Returns a String representation of the value of this
property. |
java.io.InputStream |
Property.getStream()
Returns an InputStream representation of the value of this
property. |
long |
Property.getLong()
Returns a long representation of the value of this
property. |
double |
Property.getDouble()
Returns a double representation of the value of this
property. |
java.util.Calendar |
Property.getDate()
Returns a Calendar representation of the value of this
property. |
boolean |
Property.getBoolean()
Returns a boolean representation of the value of this
property. |
Node |
Property.getNode()
If this property is of type REFERENCE
this method returns the node to which this property refers. |
long |
Property.getLength()
Returns the length of the value of this property. |
long[] |
Property.getLengths()
Returns an array holding the lengths of the values of this (multi-value) property in bytes if the values are PropertyType.BINARY , otherwise it returns the number of
characters needed to display the value in its string form. |
PropertyDefinition |
Property.getDefinition()
Returns the property definition that applies to this property. |
int |
Property.getType()
Returns the type of this Property . |
Session |
Session.impersonate(Credentials credentials)
Returns a new session in accordance with the specified (new) Credentials. |
Node |
Session.getRootNode()
Returns the root node of the workspace. |
Node |
Session.getNodeByUUID(java.lang.String uuid)
Returns the node specifed by the given UUID. |
Item |
Session.getItem(java.lang.String absPath)
Returns the item at the specified absolute path in the workspace. |
boolean |
Session.itemExists(java.lang.String absPath)
Returns true if an item exists at absPath ; otherwise returns false . |
void |
Session.move(java.lang.String srcAbsPath,
java.lang.String destAbsPath)
Moves the node at srcAbsPath (and its entire subtree) to the new location
at destAbsPath . |
void |
Session.save()
Validates all pending changes currently recorded in this Session . |
void |
Session.refresh(boolean keepChanges)
If keepChanges is false , this method discards all pending changes
currently recorded in this Session and returns all items to reflect the current
saved state. |
boolean |
Session.hasPendingChanges()
Returns true if this session holds pending (that is, unsaved) changes;
otherwise returns false . |
ValueFactory |
Session.getValueFactory()
This method returns a ValueFactory that is used to create Value objects
for use when setting repository properties. |
void |
Session.checkPermission(java.lang.String absPath,
java.lang.String actions)
Determines whether this Session has permission to perform the specified actions
at the specified absPath . |
org.xml.sax.ContentHandler |
Session.getImportContentHandler(java.lang.String parentAbsPath,
int uuidBehavior)
Returns an org.xml.sax.ContentHandler which can be used to
push SAX events into the repository. |
void |
Session.importXML(java.lang.String parentAbsPath,
java.io.InputStream in,
int uuidBehavior)
Deserializes an XML document and adds the resulting item subtree as a child of the node at parentAbsPath. |
void |
Session.exportSystemView(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if noRecurse is false ,
the whole subtree) at absPath into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler . |
void |
Session.exportSystemView(java.lang.String absPath,
java.io.OutputStream out,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if noRecurse is false ,
the whole subtree) at absPath as an XML stream and outputs it to
the supplied OutputStream . |
void |
Session.exportDocumentView(java.lang.String absPath,
org.xml.sax.ContentHandler contentHandler,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if noRecurse is false ,
the whole subtree) at absPath into a series of SAX events by
calling the methods of the supplied org.xml.sax.ContentHandler . |
void |
Session.exportDocumentView(java.lang.String absPath,
java.io.OutputStream out,
boolean skipBinary,
boolean noRecurse)
Serializes the node (and if noRecurse is false ,
the whole subtree) at absPath as an XML stream and outputs it to
the supplied OutputStream . |
void |
Session.setNamespacePrefix(java.lang.String prefix,
java.lang.String uri)
Within the scope of this session, rename a persistently registered namespace URI to the new prefix. |
java.lang.String[] |
Session.getNamespacePrefixes()
Returns all prefixes currently set for this session. |
java.lang.String |
Session.getNamespaceURI(java.lang.String prefix)
For a given prefix, returns the URI to which it is mapped as currently set in this Session . |
java.lang.String |
Session.getNamespacePrefix(java.lang.String uri)
Returns the prefix to which the given URI is mapped |
Node |
Node.addNode(java.lang.String relPath)
Creates a new node at relPath . |
Node |
Node.addNode(java.lang.String relPath,
java.lang.String primaryNodeTypeName)
Creates a new node at relPath of the specified node type. |
void |
Node.orderBefore(java.lang.String srcChildRelPath,
java.lang.String destChildRelPath)
If this node supports child node ordering, this method inserts the child node at srcChildRelPath before its sibling, the child node at destChildRelPath ,
in the child node list. |
Property |
Node.setProperty(java.lang.String name,
Value value)
Sets the specified (single-value) property of this node to the specified value . |
Property |
Node.setProperty(java.lang.String name,
Value value,
int type)
Sets the specified (single-value) property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
Value[] values)
Sets the specified (multi-value) property to the specified array of values. |
Property |
Node.setProperty(java.lang.String name,
Value[] values,
int type)
Sets the specified (multi-value) property to the specified array of values. |
Property |
Node.setProperty(java.lang.String name,
java.lang.String[] values)
Sets the specified property to the specified array of values. |
Property |
Node.setProperty(java.lang.String name,
java.lang.String[] values,
int type)
Sets the specified property to the specified array of values and to the specified type. |
Property |
Node.setProperty(java.lang.String name,
java.lang.String value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
java.lang.String value,
int type)
Sets the specified (single-value) property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
java.io.InputStream value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
boolean value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
double value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
long value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
java.util.Calendar value)
Sets the specified property to the specified value. |
Property |
Node.setProperty(java.lang.String name,
Node value)
Sets the specified ( REFERENCE )property
to refer to the specified Node . |
Node |
Node.getNode(java.lang.String relPath)
Returns the node at relPath relative to this node. |
NodeIterator |
Node.getNodes()
Returns a NodeIterator over all child Node s of
this Node . |
NodeIterator |
Node.getNodes(java.lang.String namePattern)
Gets all child nodes of this node that match namePattern . |
Property |
Node.getProperty(java.lang.String relPath)
Returns the property at relPath relative to this
node. |
PropertyIterator |
Node.getProperties()
Returns all properties of this node. |
PropertyIterator |
Node.getProperties(java.lang.String namePattern)
Gets all properties of this node that match namePattern . |
Item |
Node.getPrimaryItem()
Returns the primary child item of this node. |
java.lang.String |
Node.getUUID()
Returns the UUID of this node as recorded in this node's jcr:uuid
property. |
int |
Node.getIndex()
This method returns the index of this node within the ordered set of its same-name sibling nodes. |
PropertyIterator |
Node.getReferences()
Returns all REFERENCE properties that refer to this node. |
boolean |
Node.hasNode(java.lang.String relPath)
Indicates whether a node exists at relPath
Returns true if a node exists at relPath and
false otherwise. |
boolean |
Node.hasProperty(java.lang.String relPath)
Indicates whether a property exists at relPath
Returns true if a property exists at relPath and
false otherwise. |
boolean |
Node.hasNodes()
Indicates whether this node has child nodes. |
boolean |
Node.hasProperties()
Indicates whether this node has properties. |
NodeType |
Node.getPrimaryNodeType()
Returns the primary node type of this node. |
NodeType[] |
Node.getMixinNodeTypes()
Returns an array of NodeType objects representing the mixin node types assigned to this node. |
boolean |
Node.isNodeType(java.lang.String nodeTypeName)
Indicates whether this node is of the specified node type. |
void |
Node.addMixin(java.lang.String mixinName)
Adds the specified mixin node type to this node. |
void |
Node.removeMixin(java.lang.String mixinName)
Removes the specified mixin node type from this node. |
boolean |
Node.canAddMixin(java.lang.String mixinName)
Returns true if the specified mixin node type, mixinName ,
can be added to this node. |
NodeDefinition |
Node.getDefinition()
Returns the node definition that applies to this node. |
Version |
Node.checkin()
Creates a new version with a system generated version name and returns that version (which will be the new base version of this node). |
void |
Node.checkout()
Sets this versionable node to checked-out status by setting its jcr:isCheckedOut property to true and adds to the
jcr:predecessors (multi-value) property a reference to the current
base version (the same value as held in jcr:baseVersion ). |
void |
Node.doneMerge(Version version)
Completes the merge process with respect to this node and the specified version . |
void |
Node.cancelMerge(Version version)
Cancels the merge process with respect to this node and specified version . |
void |
Node.update(java.lang.String srcWorkspaceName)
If this node does have a corresponding node in the workspace srcWorkspaceName ,
then this replaces this node and its subtree with a clone of the corresponding node and its
subtree. |
NodeIterator |
Node.merge(java.lang.String srcWorkspace,
boolean bestEffort)
This method can be thought of as a version-sensitive update (see 7.1.7 Updating and Cloning Nodes across Workspaces in the specification). |
java.lang.String |
Node.getCorrespondingNodePath(java.lang.String workspaceName)
Returns the absolute path of the node in the specified workspace that corresponds to this node. |
boolean |
Node.isCheckedOut()
Returns true if this node is either versionable and currently checked-out, non-versionable and its nearest versionable ancestor is checked-out or non-versionable and it has no versionable ancestor. |
void |
Node.restore(java.lang.String versionName,
boolean removeExisting)
Restores this node to the state defined by the
version with the specified versionName . |
void |
Node.restore(Version version,
boolean removeExisting)
Restores this node to the state defined by the specified
version . |
void |
Node.restore(Version version,
java.lang.String relPath,
boolean removeExisting)
Restores the specified version to relPath , relative to this node. |
void |
Node.restoreByLabel(java.lang.String versionLabel,
boolean removeExisting)
Restores the version of this node with the specified version label. |
VersionHistory |
Node.getVersionHistory()
Returns the VersionHistory object of this node. |
Version |
Node.getBaseVersion()
Returns the current base version of this versionable node. |
Lock |
Node.lock(boolean isDeep,
boolean isSessionScoped)
Places a lock on this node. |
Lock |
Node.getLock()
Returns the Lock object that applies to this node. |
void |
Node.unlock()
Removes the lock on this node. |
boolean |
Node.holdsLock()
Returns true if this node holds a lock; otherwise returns false . |
boolean |
Node.isLocked()
Returns true if this node is locked either as a result of a lock held by this node or by a deep
lock on a node above this node; otherwise returns false . |
Session |
Repository.login(Credentials credentials,
java.lang.String workspaceName)
Authenticates the user using the supplied credentials . |
Session |
Repository.login(Credentials credentials)
Equivalent to login(credentials, null) . |
Session |
Repository.login(java.lang.String workspaceName)
Equivalent to login(null, workspaceName) . |
Session |
Repository.login()
Equivalent to login(null, null) . |
Uses of RepositoryException in javax.jcr.lock |
Subclasses of RepositoryException in javax.jcr.lock | |
class |
LockException
Exception thrown by Item.save() and Session.save() when
persisting a change would conflict with a lock. |
Methods in javax.jcr.lock that throw RepositoryException | |
boolean |
Lock.isLive()
Returns true if this Lock object represents a lock that is currently in effect. |
void |
Lock.refresh()
If this lock's time-to-live is governed by a timer, this method resets that timer so that the lock does not timeout and expire. |
Uses of RepositoryException in javax.jcr.nodetype |
Subclasses of RepositoryException in javax.jcr.nodetype | |
class |
ConstraintViolationException
Exception thrown when an action would violate a constraint on repository structure. |
class |
NoSuchNodeTypeException
Exception thrown by node type-related methods. |
Methods in javax.jcr.nodetype that throw RepositoryException | |
NodeType |
NodeTypeManager.getNodeType(java.lang.String nodeTypeName)
Returns the named node type. |
NodeTypeIterator |
NodeTypeManager.getAllNodeTypes()
Returns an iterator over all available node types (primary and mixin). |
NodeTypeIterator |
NodeTypeManager.getPrimaryNodeTypes()
Returns an iterator over all available primary node types. |
NodeTypeIterator |
NodeTypeManager.getMixinNodeTypes()
Returns an iterator over all available mixin node types. |
Uses of RepositoryException in javax.jcr.observation |
Methods in javax.jcr.observation that throw RepositoryException | |
void |
ObservationManager.addEventListener(EventListener listener,
int eventTypes,
java.lang.String absPath,
boolean isDeep,
java.lang.String[] uuid,
java.lang.String[] nodeTypeName,
boolean noLocal)
Adds an event listener that listens for the specified eventTypes (a combination of one or more
event types encoded as a bit mask value). |
void |
ObservationManager.removeEventListener(EventListener listener)
Deregisters an event listener. |
EventListenerIterator |
ObservationManager.getRegisteredEventListeners()
Returns all event listeners that have been registered through this session. |
java.lang.String |
Event.getPath()
Returns the absolute path of the parent node connected with this event. |
Uses of RepositoryException in javax.jcr.query |
Subclasses of RepositoryException in javax.jcr.query | |
class |
InvalidQueryException
Thrown by methods of Query . |
Methods in javax.jcr.query that throw RepositoryException | |
QueryResult |
Query.execute()
Executes this query and returns a . |
java.lang.String |
Query.getStoredQueryPath()
If this is a Query object that has been stored using
Query.storeAsNode(java.lang.String) (regardless of whether it has been save d yet)
or retrieved using QueryManager.getQuery(javax.jcr.Node) ), then this method
returns the path of the nt:query node that stores the query. |
Node |
Query.storeAsNode(java.lang.String absPath)
Creates a node representing this Query in content. |
Query |
QueryManager.createQuery(java.lang.String statement,
java.lang.String language)
Creates a new query by specifying the query statement itself and the
language in which the query is stated. |
Query |
QueryManager.getQuery(Node node)
Retrieves an existing persistent query. |
java.lang.String[] |
QueryManager.getSupportedQueryLanguages()
Returns an array of strings representing all query languages supported by this repository. |
java.lang.String[] |
QueryResult.getColumnNames()
Returns an array of all the property names (column names) in this result set. |
RowIterator |
QueryResult.getRows()
Returns an iterator over the Row s of the query result table. |
NodeIterator |
QueryResult.getNodes()
Returns an iterator over all nodes that match the query. |
Value[] |
Row.getValues()
Returns an array of all the values in the same order as the column names returned by QueryResult.getColumnNames() . |
Value |
Row.getValue(java.lang.String propertyName)
Returns the value of the indicated property in this Row . |
Uses of RepositoryException in javax.jcr.util |
Methods in javax.jcr.util that throw RepositoryException | |
protected abstract void |
TraversingItemVisitor.entering(Property property,
int level)
Implement this method to add behaviour performed before a Property is visited. |
protected abstract void |
TraversingItemVisitor.entering(Node node,
int level)
Implement this method to add behaviour performed before a Node is visited. |
protected abstract void |
TraversingItemVisitor.leaving(Property property,
int level)
Implement this method to add behaviour performed after a Property is visited. |
protected abstract void |
TraversingItemVisitor.leaving(Node node,
int level)
Implement this method to add behaviour performed after a Node is visited. |
void |
TraversingItemVisitor.visit(Property property)
Called when the Visitor is passed to a Property . |
void |
TraversingItemVisitor.visit(Node node)
Called when the Visitor is passed to a Node . |
protected void |
TraversingItemVisitor.Default.entering(Node node,
int level)
|
protected void |
TraversingItemVisitor.Default.entering(Property property,
int level)
|
protected void |
TraversingItemVisitor.Default.leaving(Node node,
int level)
|
protected void |
TraversingItemVisitor.Default.leaving(Property property,
int level)
|
Uses of RepositoryException in javax.jcr.version |
Subclasses of RepositoryException in javax.jcr.version | |
class |
VersionException
Exception thrown by Version.addSuccessor if an invalid version graph operation is attempted. |
Methods in javax.jcr.version that throw RepositoryException | |
java.lang.String |
VersionHistory.getVersionableUUID()
Returns the UUID of the versionable node for which this is the version history. |
Version |
VersionHistory.getRootVersion()
Returns the root version of this version history. |
VersionIterator |
VersionHistory.getAllVersions()
Returns an iterator over all the versions within this version history The order of the returned objects will not necessarily correspond to the order of versions in terms of the successor relation. |
Version |
VersionHistory.getVersion(java.lang.String versionName)
Retrieves a particular version from this version history by version name. |
Version |
VersionHistory.getVersionByLabel(java.lang.String label)
Retrieves a particular version from this version history by version label. |
void |
VersionHistory.addVersionLabel(java.lang.String versionName,
java.lang.String label,
boolean moveLabel)
Adds the specified label to the specified version. |
void |
VersionHistory.removeVersionLabel(java.lang.String label)
Removes the specified label from among the labels of this version history. |
boolean |
VersionHistory.hasVersionLabel(java.lang.String label)
Returns true if any version in the history has the given label . |
boolean |
VersionHistory.hasVersionLabel(Version version,
java.lang.String label)
Returns true if the given version has the given label . |
java.lang.String[] |
VersionHistory.getVersionLabels()
Returns all version labels of the history or an empty array if there are none. |
java.lang.String[] |
VersionHistory.getVersionLabels(Version version)
Returns all version labels of the given version - empty array if none. |
void |
VersionHistory.removeVersion(java.lang.String versionName)
Removes the named version from this version history and automatically repairs the version graph. |
VersionHistory |
Version.getContainingHistory()
Returns the VersionHistory that contains this Version . |
java.util.Calendar |
Version.getCreated()
Returns the date this version was created. |
Version[] |
Version.getSuccessors()
Returns the successor versions of this version. |
Version[] |
Version.getPredecessors()
Returns the predecessor versions of this version. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |