org.alfresco.repo.webservice.classification
Class ClassificationWebService

java.lang.Object
  extended by org.alfresco.repo.webservice.AbstractWebService
      extended by org.alfresco.repo.webservice.classification.ClassificationWebService
All Implemented Interfaces:
java.rmi.Remote, org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort

public class ClassificationWebService
extends AbstractWebService
implements org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort

Web service implementation of the ClassificationService. The WSDL for this service can be accessed from http://localhost:8080/alfresco/wsdl/classification-service.wsdl


Field Summary
 
Fields inherited from class org.alfresco.repo.webservice.AbstractWebService
contentService, namespaceService, nodeService, querySessionCache, searchService, serviceRegistry
 
Constructor Summary
ClassificationWebService()
           
 
Method Summary
 org.alfresco.repo.webservice.types.ClassDefinition describeClassification(java.lang.String classification)
           
 org.alfresco.repo.webservice.classification.CategoriesResult[] getCategories(org.alfresco.repo.webservice.types.Predicate items)
           
 org.alfresco.repo.webservice.types.Category[] getChildCategories(org.alfresco.repo.webservice.types.Reference parentCategory)
           
 org.alfresco.repo.webservice.types.Classification[] getClassifications(org.alfresco.repo.webservice.types.Store store)
           
 org.alfresco.repo.webservice.classification.CategoriesResult[] setCategories(org.alfresco.repo.webservice.types.Predicate items, org.alfresco.repo.webservice.classification.AppliedCategory[] categories)
           
 void setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
          Set the category service
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
          Set the dictionary service
 void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
          Set the transaction service
 
Methods inherited from class org.alfresco.repo.webservice.AbstractWebService
setContentService, setNamespaceService, setNodeService, setQuerySessionCache, setSearchService, setServiceRegistry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassificationWebService

public ClassificationWebService()
Method Detail

setCategoryService

public void setCategoryService(org.alfresco.service.cmr.search.CategoryService categoryService)
Set the category service

Parameters:
categoryService - the category service

setTransactionService

public void setTransactionService(org.alfresco.service.transaction.TransactionService transactionService)
Set the transaction service

Parameters:
transactionService - the transaction service

setDictionaryService

public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
Set the dictionary service

Overrides:
setDictionaryService in class AbstractWebService
Parameters:
dictionaryService - the dictionary service

getClassifications

public org.alfresco.repo.webservice.types.Classification[] getClassifications(org.alfresco.repo.webservice.types.Store store)
                                                                       throws java.rmi.RemoteException,
                                                                              org.alfresco.repo.webservice.classification.ClassificationFault
Specified by:
getClassifications in interface org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.classification.ClassificationFault
See Also:
org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#getClassifications()

getChildCategories

public org.alfresco.repo.webservice.types.Category[] getChildCategories(org.alfresco.repo.webservice.types.Reference parentCategory)
                                                                 throws java.rmi.RemoteException,
                                                                        org.alfresco.repo.webservice.classification.ClassificationFault
Specified by:
getChildCategories in interface org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.classification.ClassificationFault
See Also:
ClassificationServiceSoapPort.getChildCategories(org.alfresco.repo.webservice.types.Reference)

getCategories

public org.alfresco.repo.webservice.classification.CategoriesResult[] getCategories(org.alfresco.repo.webservice.types.Predicate items)
                                                                             throws java.rmi.RemoteException,
                                                                                    org.alfresco.repo.webservice.classification.ClassificationFault
Specified by:
getCategories in interface org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.classification.ClassificationFault
See Also:
ClassificationServiceSoapPort.getCategories(org.alfresco.repo.webservice.types.Predicate)

setCategories

public org.alfresco.repo.webservice.classification.CategoriesResult[] setCategories(org.alfresco.repo.webservice.types.Predicate items,
                                                                                    org.alfresco.repo.webservice.classification.AppliedCategory[] categories)
                                                                             throws java.rmi.RemoteException,
                                                                                    org.alfresco.repo.webservice.classification.ClassificationFault
Specified by:
setCategories in interface org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.classification.ClassificationFault
See Also:
ClassificationServiceSoapPort.setCategories(org.alfresco.repo.webservice.types.Predicate, org.alfresco.repo.webservice.classification.AppliedCategory[])

describeClassification

public org.alfresco.repo.webservice.types.ClassDefinition describeClassification(java.lang.String classification)
                                                                          throws java.rmi.RemoteException,
                                                                                 org.alfresco.repo.webservice.classification.ClassificationFault
Specified by:
describeClassification in interface org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort
Throws:
java.rmi.RemoteException
org.alfresco.repo.webservice.classification.ClassificationFault
See Also:
org.alfresco.repo.webservice.classification.ClassificationServiceSoapPort#describeClassification(org.alfresco.repo.webservice.types.Reference)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.