public abstract class WritableConnector extends Connector
Connector
class that is support both reads and writes. In addition, this class has a readonly
flag allowing clients to configure a writable connector (external source) as read-only. In this case, all of the write operations
will throw an exception.Connector.ExtraProperties
DEFAULT_ROOT_ID
Constructor and Description |
---|
WritableConnector() |
Modifier and Type | Method and Description |
---|---|
boolean |
isReadonly()
Indicates if the connector instance has been configured in read-only mode.
|
checkFieldNotNull, extraPropertiesFor, extraPropertiesStore, factories, getBinaryValue, getChildReference, getContext, getDocumentById, getDocumentId, getDocumentPathsById, getEnvironment, getLogger, getMimeTypeDetector, getRepositoryName, getRootDocumentId, getSourceName, getTransactionManager, hasDocument, initialize, isCacheable, isQueryable, log, moveExtraProperties, nameFrom, nameFrom, nameFrom, newChildReference, newConnectorChangedSet, newDocument, newDocumentId, newPageDocument, pathFactory, pathFrom, pathFrom, propertyFactory, readDocument, removeDocument, setExtraPropertiesStore, shutdown, storeDocument, translator, updateDocument, writeDocument
public boolean isReadonly()
Connector
isReadonly
in class Connector
true
if the connector has been configured in read-only mode, false otherwise.Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.