Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.modeshape.graph.connector.path
Interface PathRepositorySource

All Superinterfaces:
  Referenceable, RepositorySource, Serializable

All Known Implementing Classes:
  AbstractPathRepositorySource

    public interface PathRepositorySource

extends RepositorySource

An extension of the `RepositorySource` class that provides a `cache policy` and a `repository context`.

Method Summary
`boolean` | `areUpdatesAllowed()` Get whether this source allows updates.
`PathCachePolicy` | `getCachePolicy()` Returns the `cache policy` for the repository source
`String` | `getDefaultWorkspaceName()` Get the name of the default workspace.
`RepositoryContext` | `getRepositoryContext()` Returns the `repository context` for the repository source
`UUID` | `getRootNodeUuid()` Get the UUID that is used for the root node of each workspace
`void` | `setUpdatesAllowed(boolean updatesAllowed)` Set whether this source allows updates to data within workspaces

Methods inherited from interface org.modeshape.graph.connector.RepositorySource
`close, getCapabilities, getConnection, getName, getRetryLimit, initialize, setRetryLimit`

Methods inherited from interface javax.naming.Referenceable
`getReference`

Method Detail

### areUpdatesAllowed

    boolean areUpdatesAllowed()

  Get whether this source allows updates.

  Returns:
    true if this source allows updates by clients, or false if no updates are allowed
  See Also:
    `setUpdatesAllowed(boolean)`

### setUpdatesAllowed

    void setUpdatesAllowed(boolean updatesAllowed)

  Set whether this source allows updates to data within workspaces

  Parameters:
    `updatesAllowed` - true if this source allows updates to data within workspaces clients, or false if updates are not allowed.
  See Also:
    `areUpdatesAllowed()`

### getCachePolicy

    PathCachePolicy getCachePolicy()

  Returns the `cache policy` for the repository source

  Returns:
    the `cache policy` for the repository source

### getRootNodeUuid

    UUID getRootNodeUuid()

  Get the UUID that is used for the root node of each workspace

  Returns:
    the UUID that is used for the root node of each workspace

### getDefaultWorkspaceName

    String getDefaultWorkspaceName()

  Get the name of the default workspace.

  Returns:
    the name of the workspace that should be used by default; never null

### getRepositoryContext

    RepositoryContext getRepositoryContext()

  Returns the `repository context` for the repository source

  Returns:
    the `repository context` for the repository source

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2011 JBoss, a division of Red Hat. All Rights Reserved.