1 17 package org.alfresco.service; 18 19 import java.util.Collection ; 20 21 import org.alfresco.service.cmr.action.ActionService; 22 import org.alfresco.service.cmr.coci.CheckOutCheckInService; 23 import org.alfresco.service.cmr.dictionary.DictionaryService; 24 import org.alfresco.service.cmr.lock.LockService; 25 import org.alfresco.service.cmr.model.FileFolderService; 26 import org.alfresco.service.cmr.repository.ContentService; 27 import org.alfresco.service.cmr.repository.CopyService; 28 import org.alfresco.service.cmr.repository.MimetypeService; 29 import org.alfresco.service.cmr.repository.NodeService; 30 import org.alfresco.service.cmr.repository.TemplateService; 31 import org.alfresco.service.cmr.rule.RuleService; 32 import org.alfresco.service.cmr.search.CategoryService; 33 import org.alfresco.service.cmr.search.SearchService; 34 import org.alfresco.service.cmr.security.AuthenticationService; 35 import org.alfresco.service.cmr.security.AuthorityService; 36 import org.alfresco.service.cmr.security.PermissionService; 37 import org.alfresco.service.cmr.version.VersionService; 38 import org.alfresco.service.cmr.view.ExporterService; 39 import org.alfresco.service.cmr.view.ImporterService; 40 import org.alfresco.service.descriptor.DescriptorService; 41 import org.alfresco.service.namespace.NamespaceService; 42 import org.alfresco.service.namespace.QName; 43 import org.alfresco.service.transaction.TransactionService; 44 45 46 53 public interface ServiceRegistry 54 { 55 57 static final String SERVICE_REGISTRY = "ServiceRegistry"; 58 59 static final QName REGISTRY_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "ServiceRegistry"); 60 static final QName DESCRIPTOR_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "DescriptorService"); 61 static final QName TRANSACTION_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "TransactionService"); 62 static final QName AUTHENTICATION_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "AuthenticationService"); 63 static final QName NAMESPACE_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "NamespaceService"); 64 static final QName DICTIONARY_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "DictionaryService"); 65 static final QName NODE_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "NodeService"); 66 static final QName CONTENT_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "ContentService"); 67 static final QName MIMETYPE_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "MimetypeService"); 68 static final QName SEARCH_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "SearchService"); 69 static final QName CATEGORY_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "CategoryService"); 70 static final QName COPY_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "CopyService"); 71 static final QName LOCK_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "LockService"); 72 static final QName VERSION_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "VersionService"); 73 static final QName COCI_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "CheckoutCheckinService"); 74 static final QName RULE_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "RuleService"); 75 static final QName IMPORTER_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "ImporterService"); 76 static final QName EXPORTER_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "ExporterService"); 77 static final QName ACTION_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "ActionService"); 78 static final QName PERMISSIONS_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "PermissionService"); 79 static final QName AUTHORITY_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "AuthorityService"); 80 static final QName TEMPLATE_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "TemplateService"); 81 static final QName FILE_FOLDER_SERVICE = QName.createQName(NamespaceService.ALFRESCO_URI, "FileFolderService"); 82 83 88 Collection <QName> getServices(); 89 90 96 boolean isServiceProvided(QName service); 97 98 104 ServiceDescriptor getServiceDescriptor(QName service); 105 106 112 Object getService(QName service); 113 114 117 DescriptorService getDescriptorService(); 118 119 122 TransactionService getTransactionService(); 123 124 127 NamespaceService getNamespaceService(); 128 129 132 AuthenticationService getAuthenticationService(); 133 134 137 NodeService getNodeService(); 138 139 142 ContentService getContentService(); 143 144 147 MimetypeService getMimetypeService(); 148 149 152 SearchService getSearchService(); 153 154 157 VersionService getVersionService(); 158 159 162 LockService getLockService(); 163 164 167 DictionaryService getDictionaryService(); 168 169 172 CopyService getCopyService(); 173 174 177 CheckOutCheckInService getCheckOutCheckInService(); 178 179 182 CategoryService getCategoryService(); 183 184 187 ImporterService getImporterService(); 188 189 192 ExporterService getExporterService(); 193 194 197 RuleService getRuleService(); 198 199 202 ActionService getActionService(); 203 204 207 PermissionService getPermissionService(); 208 209 212 AuthorityService getAuthorityService(); 213 214 217 TemplateService getTemplateService(); 218 219 222 FileFolderService getFileFolderService(); 223 } 224 | Popular Tags |