org.apache.chemistry.opencmis.server.impl.webservices
Class RepositoryService

java.lang.Object
  extended by org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
      extended by org.apache.chemistry.opencmis.server.impl.webservices.RepositoryService
All Implemented Interfaces:
RepositoryServicePort

@MTOM
public class RepositoryService
extends AbstractService
implements RepositoryServicePort

CMIS Repository Service.


Field Summary
 
Fields inherited from class org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
CALL_CONTEXT_MAP
 
Constructor Summary
RepositoryService()
           
 
Method Summary
 java.util.List<CmisRepositoryEntryType> getRepositories(CmisExtensionType extension)
           
 CmisRepositoryInfoType getRepositoryInfo(java.lang.String repositoryId, CmisExtensionType extension)
           
 CmisTypeDefinitionListType getTypeChildren(java.lang.String repositoryId, java.lang.String typeId, java.lang.Boolean includePropertyDefinitions, java.math.BigInteger maxItems, java.math.BigInteger skipCount, CmisExtensionType extension)
           
 CmisTypeDefinitionType getTypeDefinition(java.lang.String repositoryId, java.lang.String typeId, CmisExtensionType extension)
           
 java.util.List<CmisTypeContainer> getTypeDescendants(java.lang.String repositoryId, java.lang.String typeId, java.math.BigInteger depth, java.lang.Boolean includePropertyDefinitions, CmisExtensionType extension)
           
 
Methods inherited from class org.apache.chemistry.opencmis.server.impl.webservices.AbstractService
closeService, convertException, createContext, getService, getServiceFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryService

public RepositoryService()
Method Detail

getRepositories

public java.util.List<CmisRepositoryEntryType> getRepositories(CmisExtensionType extension)
                                                        throws CmisException
Specified by:
getRepositories in interface RepositoryServicePort
Returns:
returns java.util.List
Throws:
CmisException

getRepositoryInfo

public CmisRepositoryInfoType getRepositoryInfo(java.lang.String repositoryId,
                                                CmisExtensionType extension)
                                         throws CmisException
Specified by:
getRepositoryInfo in interface RepositoryServicePort
Returns:
returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisRepositoryInfoType
Throws:
CmisException

getTypeChildren

public CmisTypeDefinitionListType getTypeChildren(java.lang.String repositoryId,
                                                  java.lang.String typeId,
                                                  java.lang.Boolean includePropertyDefinitions,
                                                  java.math.BigInteger maxItems,
                                                  java.math.BigInteger skipCount,
                                                  CmisExtensionType extension)
                                           throws CmisException
Specified by:
getTypeChildren in interface RepositoryServicePort
Returns:
returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisTypeDefinitionListType
Throws:
CmisException

getTypeDefinition

public CmisTypeDefinitionType getTypeDefinition(java.lang.String repositoryId,
                                                java.lang.String typeId,
                                                CmisExtensionType extension)
                                         throws CmisException
Specified by:
getTypeDefinition in interface RepositoryServicePort
Returns:
returns org.apache.chemistry.opencmis.commons.impl.jaxb.CmisTypeDefinitionType
Throws:
CmisException

getTypeDescendants

public java.util.List<CmisTypeContainer> getTypeDescendants(java.lang.String repositoryId,
                                                            java.lang.String typeId,
                                                            java.math.BigInteger depth,
                                                            java.lang.Boolean includePropertyDefinitions,
                                                            CmisExtensionType extension)
                                                     throws CmisException
Specified by:
getTypeDescendants in interface RepositoryServicePort
Returns:
returns java.util.List
Throws:
CmisException


Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.