public QValueFactory getQValueFactory() throws RepositoryException {
return QValueFactoryImpl.getInstance();
}
protected AbstractRepositoryService() throws RepositoryException {
QValueFactory qvf = QValueFactoryImpl.getInstance();
QValue[] vFalse = new QValue[] {qvf.create(false)};
descriptors.put(Repository.WRITE_SUPPORTED, vFalse);
descriptors.put(Repository.IDENTIFIER_STABILITY,
new QValue[] {qvf.create(Repository.IDENTIFIER_STABILITY_SAVE_DURATION, PropertyType.STRING)});
descriptors.put(Repository.OPTION_XML_IMPORT_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_XML_EXPORT_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_UNFILED_CONTENT_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_VERSIONING_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_SIMPLE_VERSIONING_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_ACCESS_CONTROL_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_LOCKING_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_OBSERVATION_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_JOURNALED_OBSERVATION_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_RETENTION_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_LIFECYCLE_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_TRANSACTIONS_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_WORKSPACE_MANAGEMENT_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_UPDATE_PRIMARY_NODE_TYPE_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_UPDATE_MIXIN_NODE_TYPES_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_SHAREABLE_NODES_SUPPORTED, vFalse);
descriptors.put(Repository.OPTION_NODE_TYPE_MANAGEMENT_SUPPORTED, vFalse);
descriptors.put(Repository.QUERY_LANGUAGES, new QValue[0]);
descriptors.put(Repository.QUERY_STORED_QUERIES_SUPPORTED, vFalse);
descriptors.put(Repository.QUERY_FULL_TEXT_SEARCH_SUPPORTED, vFalse);
descriptors.put(Repository.QUERY_JOINS,
new QValue[] {qvf.create(Repository.QUERY_JOINS_NONE, PropertyType.STRING)});
descriptors.putAll(descriptors);
}