|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.graph.connector.RepositorySourceCapabilities
@Immutable public class RepositorySourceCapabilities
The capabilities of a RepositorySource
. This class can be used as is, or subclassed by a connector to define more
complex behavior.
RepositorySource.getCapabilities()
Field Summary | |
---|---|
static boolean |
DEFAULT_SUPPORT_CREATING_WORKSPACES
The default support for creating workspaces is false . |
static boolean |
DEFAULT_SUPPORT_EVENTS
The default support for updates is false . |
static boolean |
DEFAULT_SUPPORT_LOCKS
The default support for creating locks is false . |
static boolean |
DEFAULT_SUPPORT_QUERIES
The default support for querying workspaces is false . |
static boolean |
DEFAULT_SUPPORT_REFERENCES
The default support for references is true . |
static boolean |
DEFAULT_SUPPORT_SAME_NAME_SIBLINGS
The default support for same-name-siblings is true . |
static boolean |
DEFAULT_SUPPORT_SEARCHES
The default support for searching workspaces is false . |
static boolean |
DEFAULT_SUPPORT_UPDATES
The default support for updates is false . |
Constructor Summary | |
---|---|
RepositorySourceCapabilities()
Create a capabilities object using the defaults, . |
|
RepositorySourceCapabilities(boolean supportsSameNameSiblings,
boolean supportsUpdates)
|
|
RepositorySourceCapabilities(boolean supportsSameNameSiblings,
boolean supportsUpdates,
boolean supportsEvents,
boolean supportsCreatingWorkspaces,
boolean supportsReferences)
|
|
RepositorySourceCapabilities(boolean supportsSameNameSiblings,
boolean supportsUpdates,
boolean supportsEvents,
boolean supportsCreatingWorkspaces,
boolean supportsReferences,
boolean supportsLocks,
boolean supportsQueries,
boolean supportsSearches)
|
|
RepositorySourceCapabilities(RepositorySourceCapabilities capabilities)
|
Method Summary | |
---|---|
boolean |
supportsCreatingWorkspaces()
Return whether the source supports creating workspaces through the connector. |
boolean |
supportsEvents()
Return whether the source supports publishing change events. |
boolean |
supportsLocks()
Return whether the source supports creating locks. |
boolean |
supportsQueries()
Return whether the source supports queries. |
boolean |
supportsReferences()
Return whether the source supports references by identifiers. |
boolean |
supportsSameNameSiblings()
Return whether the source supports same name siblings. |
boolean |
supportsSearches()
Return whether the source supports full-text searches. |
boolean |
supportsUpdates()
Return whether the source supports updates. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final boolean DEFAULT_SUPPORT_SAME_NAME_SIBLINGS
public static final boolean DEFAULT_SUPPORT_UPDATES
public static final boolean DEFAULT_SUPPORT_EVENTS
public static final boolean DEFAULT_SUPPORT_CREATING_WORKSPACES
public static final boolean DEFAULT_SUPPORT_REFERENCES
public static final boolean DEFAULT_SUPPORT_QUERIES
public static final boolean DEFAULT_SUPPORT_SEARCHES
public static final boolean DEFAULT_SUPPORT_LOCKS
Constructor Detail |
---|
public RepositorySourceCapabilities()
public RepositorySourceCapabilities(RepositorySourceCapabilities capabilities)
public RepositorySourceCapabilities(boolean supportsSameNameSiblings, boolean supportsUpdates)
public RepositorySourceCapabilities(boolean supportsSameNameSiblings, boolean supportsUpdates, boolean supportsEvents, boolean supportsCreatingWorkspaces, boolean supportsReferences)
public RepositorySourceCapabilities(boolean supportsSameNameSiblings, boolean supportsUpdates, boolean supportsEvents, boolean supportsCreatingWorkspaces, boolean supportsReferences, boolean supportsLocks, boolean supportsQueries, boolean supportsSearches)
Method Detail |
---|
public boolean supportsSameNameSiblings()
public boolean supportsUpdates()
false
implies that no connections would allow
updates to the content.
public boolean supportsReferences()
public boolean supportsEvents()
public boolean supportsCreatingWorkspaces()
public boolean supportsLocks()
public boolean supportsQueries()
public boolean supportsSearches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |