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.map
Interface MapRepositorySource

All Superinterfaces:
  Referenceable, RepositorySource, Serializable

    public interface MapRepositorySource

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.
`CachePolicy` | `getDefaultCachePolicy()` Returns the `cache policy` for the repository source
`RepositoryContext` | `getRepositoryContext()` Returns the `repository context` for the repository source
`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()`

### getDefaultCachePolicy

    CachePolicy getDefaultCachePolicy()

  Returns the `cache policy` for the repository source

  Returns:
    the `cache policy` for the repository source

### 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.