This project has retired. For details please refer to its
Attic page.
CmisSpi xref
1/*2 * Licensed to the Apache Software Foundation (ASF) under one3 * or more contributor license agreements. See the NOTICE file4 * distributed with this work for additional information5 * regarding copyright ownership. The ASF licenses this file6 * to you under the Apache License, Version 2.0 (the7 * "License"); you may not use this file except in compliance8 * with the License. You may obtain a copy of the License at9 *10 * http://www.apache.org/licenses/LICENSE-2.011 *12 * Unless required by applicable law or agreed to in writing,13 * software distributed under the License is distributed on an14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY15 * KIND, either express or implied. See the License for the16 * specific language governing permissions and limitations17 * under the License.18 */19package org.apache.chemistry.opencmis.client.bindings.spi;
2021import org.apache.chemistry.opencmis.commons.spi.AclService;
22import org.apache.chemistry.opencmis.commons.spi.DiscoveryService;
23import org.apache.chemistry.opencmis.commons.spi.MultiFilingService;
24import org.apache.chemistry.opencmis.commons.spi.NavigationService;
25import org.apache.chemistry.opencmis.commons.spi.ObjectService;
26import org.apache.chemistry.opencmis.commons.spi.PolicyService;
27import org.apache.chemistry.opencmis.commons.spi.RelationshipService;
28import org.apache.chemistry.opencmis.commons.spi.RepositoryService;
29import org.apache.chemistry.opencmis.commons.spi.VersioningService;
3031/**32 * CMIS SPI interface.33 */34publicinterfaceCmisSpi {
35/**36 * Gets a Repository Service interface object.37 */38 RepositoryService getRepositoryService();
3940/**41 * Gets a Navigation Service interface object.42 */43 NavigationService getNavigationService();
4445/**46 * Gets an Object Service interface object.47 */48 ObjectService getObjectService();
4950/**51 * Gets a Versioning Service interface object.52 */53 VersioningService getVersioningService();
5455/**56 * Gets a Relationship Service interface object.57 */58 RelationshipService getRelationshipService();
5960/**61 * Gets a Discovery Service interface object.62 */63 DiscoveryService getDiscoveryService();
6465/**66 * Gets a Multifiling Service interface object.67 */68 MultiFilingService getMultiFilingService();
6970/**71 * Gets an ACL Service interface object.72 */73 AclService getAclService();
7475/**76 * Gets a Policy Service interface object.77 */78 PolicyService getPolicyService();
7980/**81 * Clears all caches of the current session.82 */83void clearAllCaches();
8485/**86 * Clears all caches of the current session that are related to the given87 * repository.88 * 89 * @param repositoryId90 * the repository id91 */92void clearRepositoryCache(String repositoryId);
9394/**95 * Releases all resources assigned to this SPI instance.96 */97void close();
98 }