public class RepositoryServiceImpl extends RepositoryServiceImpl
RepositoryServiceImpl...MAX_CONNECTIONS_DEFAULTcreationDateFormat, DEPTH_0, DEPTH_1, DEPTH_INFINITY, DEPTH_INFINITY_S, HEADER_AUTHORIZATION, HEADER_CONTENT_LANGUAGE, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_DAV, HEADER_DEPTH, HEADER_DESTINATION, HEADER_ETAG, HEADER_IF, HEADER_LAST_MODIFIED, HEADER_LOCK_TOKEN, HEADER_OVERWRITE, HEADER_TIMEOUT, INFINITE_TIMEOUT, modificationDateFormat, NAMESPACE, OPAQUE_LOCK_TOKEN_PREFIX, PROPERTY_CREATIONDATE, PROPERTY_DISPLAYNAME, PROPERTY_GETCONTENTLANGUAGE, PROPERTY_GETCONTENTLENGTH, PROPERTY_GETCONTENTTYPE, PROPERTY_GETETAG, PROPERTY_GETLASTMODIFIED, PROPERTY_LOCKDISCOVERY, PROPERTY_RESOURCETYPE, PROPERTY_SOURCE, PROPERTY_SUPPORTEDLOCK, PROPFIND_ALL_PROP, PROPFIND_ALL_PROP_INCLUDE, PROPFIND_BY_PROPERTY, PROPFIND_PROPERTY_NAMES, TIMEOUT_INFINITE, UNDEFINED_TIME, UNDEFINED_TIMEOUT, XML_ACTIVELOCK, XML_ALLPROP, XML_COLLECTION, XML_DEPTH, XML_DST, XML_EXCLUSIVE, XML_HREF, XML_INCLUDE, XML_KEEPALIVE, XML_LINK, XML_LOCKENTRY, XML_LOCKINFO, XML_LOCKROOT, XML_LOCKSCOPE, XML_LOCKTOKEN, XML_LOCKTYPE, XML_MULTISTATUS, XML_OMIT, XML_OWNER, XML_PROP, XML_PROPERTYBEHAVIOR, XML_PROPERTYUPDATE, XML_PROPFIND, XML_PROPNAME, XML_PROPSTAT, XML_REMOVE, XML_RESPONSE, XML_RESPONSEDESCRIPTION, XML_SET, XML_SHARED, XML_SOURCE, XML_STATUS, XML_TIMEOUT, XML_WRITE| Constructor and Description |
|---|
RepositoryServiceImpl(String jcrServerURI,
BatchReadConfig batchReadConfig)
Same as
#RepositoryServiceImpl(String, String, BatchReadConfig, int, int))
using null workspace name, ItemInfoCacheImpl#DEFAULT_CACHE_SIZE)
as size for the item cache and RepositoryServiceImpl.MAX_CONNECTIONS_DEFAULT for the
maximum number of connections on the client. |
RepositoryServiceImpl(String jcrServerURI,
String defaultWorkspaceName,
BatchReadConfig batchReadConfig,
int itemInfoCacheSize)
Same as
#RepositoryServiceImpl(String, String, BatchReadConfig, int, int))
using RepositoryServiceImpl.MAX_CONNECTIONS_DEFAULT for the maximum number of
connections on the client. |
RepositoryServiceImpl(String jcrServerURI,
String defaultWorkspaceName,
BatchReadConfig batchReadConfig,
int itemInfoCacheSize,
int maximumHttpConnections)
Creates a new instance of this repository service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clone(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String srcWorkspaceName,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName,
boolean removeExisting) |
void |
copy(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String srcWorkspaceName,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName) |
org.apache.jackrabbit.spi.Batch |
createBatch(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
org.apache.jackrabbit.spi.ItemId itemId) |
void |
dispose(org.apache.jackrabbit.spi.SessionInfo sessionInfo) |
Iterator<? extends org.apache.jackrabbit.spi.ItemInfo> |
getItemInfos(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
org.apache.jackrabbit.spi.ItemId itemId) |
org.apache.jackrabbit.spi.PropertyInfo |
getPropertyInfo(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
org.apache.jackrabbit.spi.PropertyId propertyId) |
org.apache.jackrabbit.spi2davex.QValueFactoryImpl |
getQValueFactory(org.apache.jackrabbit.spi.SessionInfo sessionInfo) |
org.apache.jackrabbit.spi.SessionInfo |
obtain(Credentials credentials,
String workspaceName)
If the specified
workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0 |
org.apache.jackrabbit.spi.SessionInfo |
obtain(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String workspaceName)
If the specified
workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0 |
void |
submit(org.apache.jackrabbit.spi.Batch batch) |
addVersionLabel, checkin, checkout, checkout, checkpoint, checkpoint, checkQueryStatement, clearItemUriCache, computeRepositoryUri, createActivity, createConfiguration, createEventFilter, createSubscription, createWorkspace, deleteWorkspace, dispose, executeQuery, getChildInfos, getClient, getEvents, getEvents, getIdFactory, getItemInfoCache, getItemUri, getItemUri, getLockInfo, getNameFactory, getNamePathResolver, getNamespacePrefix, getNamespaceURI, getNodeDefinition, getNodeInfo, getPathFactory, getPropertyDefinition, getQNodeTypeDefinitions, getQNodeTypeDefinitions, getQValueFactory, getReferences, getRegisteredNamespaces, getRepositoryDescriptors, getSupportedQueryLanguages, getWorkspaceNames, impersonate, importXml, initMethod, initMethod, isGranted, lock, lock, merge, merge, mergeActivity, move, refreshLock, registerNamespace, registerNodeTypes, removeActivity, removeVersion, removeVersionLabel, resolveMergeConflict, restore, restore, unlock, unregisterNamespace, unregisterNodeTypes, update, updateEventFilterspublic RepositoryServiceImpl(String jcrServerURI, BatchReadConfig batchReadConfig) throws RepositoryException
#RepositoryServiceImpl(String, String, BatchReadConfig, int, int))
using null workspace name, ItemInfoCacheImpl#DEFAULT_CACHE_SIZE)
as size for the item cache and RepositoryServiceImpl.MAX_CONNECTIONS_DEFAULT for the
maximum number of connections on the client.jcrServerURI - The server uri.batchReadConfig - The batch read configuration.RepositoryException - If an exception occurs.public RepositoryServiceImpl(String jcrServerURI, String defaultWorkspaceName, BatchReadConfig batchReadConfig, int itemInfoCacheSize) throws RepositoryException
#RepositoryServiceImpl(String, String, BatchReadConfig, int, int))
using RepositoryServiceImpl.MAX_CONNECTIONS_DEFAULT for the maximum number of
connections on the client.jcrServerURI - The server uri.defaultWorkspaceName - The default workspace name.batchReadConfig - The batch read configuration.itemInfoCacheSize - The size of the item info cache.RepositoryException - If an exception occurs.public RepositoryServiceImpl(String jcrServerURI, String defaultWorkspaceName, BatchReadConfig batchReadConfig, int itemInfoCacheSize, int maximumHttpConnections) throws RepositoryException
jcrServerURI - The server uri.defaultWorkspaceName - The default workspace name.batchReadConfig - The batch read configuration.itemInfoCacheSize - The size of the item info cache.maximumHttpConnections - maximumHttpConnections A int >0 defining
the maximum number of connections per host to be configured on
HttpConnectionManagerParams.setDefaultMaxConnectionsPerHost(int).RepositoryException - If an exception occurs.public org.apache.jackrabbit.spi2davex.QValueFactoryImpl getQValueFactory(org.apache.jackrabbit.spi.SessionInfo sessionInfo)
throws RepositoryException
RepositoryExceptionRepositoryService.getQValueFactory()public org.apache.jackrabbit.spi.SessionInfo obtain(Credentials credentials, String workspaceName) throws RepositoryException
workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0obtain in interface org.apache.jackrabbit.spi.RepositoryServiceobtain in class RepositoryServiceImplRepositoryExceptionRepositoryService.obtain(Credentials, String)public org.apache.jackrabbit.spi.SessionInfo obtain(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String workspaceName)
throws RepositoryException
workspaceName the default workspace name
is used for backwards compatibility with jackrabbit-jcr-server < 1.5.0obtain in interface org.apache.jackrabbit.spi.RepositoryServiceobtain in class RepositoryServiceImplRepositoryExceptionRepositoryService.obtain(SessionInfo, String)public void dispose(org.apache.jackrabbit.spi.SessionInfo sessionInfo)
throws RepositoryException
dispose in interface org.apache.jackrabbit.spi.RepositoryServicedispose in class RepositoryServiceImplRepositoryExceptionRepositoryService.dispose(SessionInfo)public Iterator<? extends org.apache.jackrabbit.spi.ItemInfo> getItemInfos(org.apache.jackrabbit.spi.SessionInfo sessionInfo, org.apache.jackrabbit.spi.ItemId itemId) throws ItemNotFoundException, RepositoryException
getItemInfos in interface org.apache.jackrabbit.spi.RepositoryServicegetItemInfos in class RepositoryServiceImplItemNotFoundExceptionRepositoryExceptionRepositoryService.getItemInfos(SessionInfo, ItemId)public org.apache.jackrabbit.spi.PropertyInfo getPropertyInfo(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
org.apache.jackrabbit.spi.PropertyId propertyId)
throws RepositoryException
getPropertyInfo in interface org.apache.jackrabbit.spi.RepositoryServicegetPropertyInfo in class RepositoryServiceImplRepositoryExceptionRepositoryService.getPropertyInfo(SessionInfo, PropertyId)public org.apache.jackrabbit.spi.Batch createBatch(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
org.apache.jackrabbit.spi.ItemId itemId)
throws RepositoryException
createBatch in interface org.apache.jackrabbit.spi.RepositoryServicecreateBatch in class RepositoryServiceImplRepositoryExceptionRepositoryService.createBatch(SessionInfo,ItemId)public void submit(org.apache.jackrabbit.spi.Batch batch)
throws RepositoryException
submit in interface org.apache.jackrabbit.spi.RepositoryServicesubmit in class RepositoryServiceImplRepositoryExceptionRepositoryService.submit(Batch)public void copy(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String srcWorkspaceName,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName)
throws RepositoryException
copy in interface org.apache.jackrabbit.spi.RepositoryServicecopy in class RepositoryServiceImplRepositoryExceptionRepositoryService.copy(SessionInfo, String, NodeId, NodeId, Name)public void clone(org.apache.jackrabbit.spi.SessionInfo sessionInfo,
String srcWorkspaceName,
org.apache.jackrabbit.spi.NodeId srcNodeId,
org.apache.jackrabbit.spi.NodeId destParentNodeId,
org.apache.jackrabbit.spi.Name destName,
boolean removeExisting)
throws RepositoryException
clone in interface org.apache.jackrabbit.spi.RepositoryServiceclone in class RepositoryServiceImplRepositoryExceptionRepositoryService.clone(SessionInfo, String, NodeId, NodeId, Name, boolean)Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.