org.apache.chemistry.opencmis.server.impl.dummy
Class DummyService

java.lang.Object
  extended by org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
      extended by org.apache.chemistry.opencmis.server.impl.dummy.DummyService
All Implemented Interfaces:
org.apache.chemistry.opencmis.commons.server.CmisService, org.apache.chemistry.opencmis.commons.server.ObjectInfoHandler, org.apache.chemistry.opencmis.commons.spi.AclService, org.apache.chemistry.opencmis.commons.spi.DiscoveryService, org.apache.chemistry.opencmis.commons.spi.MultiFilingService, org.apache.chemistry.opencmis.commons.spi.NavigationService, org.apache.chemistry.opencmis.commons.spi.ObjectService, org.apache.chemistry.opencmis.commons.spi.PolicyService, org.apache.chemistry.opencmis.commons.spi.RelationshipService, org.apache.chemistry.opencmis.commons.spi.RepositoryService, org.apache.chemistry.opencmis.commons.spi.VersioningService

public class DummyService
extends org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

Simplest Repository Service implementation.


Constructor Summary
DummyService(java.lang.String id, java.lang.String name)
           
 
Method Summary
 org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(java.lang.String repositoryId, java.lang.String folderId, java.lang.String filter, java.lang.String orderBy, java.lang.Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, java.lang.String renditionFilter, java.lang.Boolean includePathSegment, java.math.BigInteger maxItems, java.math.BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 org.apache.chemistry.opencmis.commons.data.ObjectData getObject(java.lang.String repositoryId, java.lang.String objectId, java.lang.String filter, java.lang.Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, java.lang.String renditionFilter, java.lang.Boolean includePolicyIds, java.lang.Boolean includeAcl, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(java.lang.String repositoryId, java.lang.String objectId, java.lang.String filter, java.lang.Boolean includeAllowableActions, org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships, java.lang.String renditionFilter, java.lang.Boolean includeRelativePathSegment, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(java.lang.String repositoryId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 java.util.List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(java.lang.String repositoryId, java.lang.String typeId, java.lang.Boolean includePropertyDefinitions, java.math.BigInteger maxItems, java.math.BigInteger skipCount, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(java.lang.String repositoryId, java.lang.String typeId, org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
           
 
Methods inherited from class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService
addObjectInfo, addObjectToFolder, applyAcl, applyAcl, applyPolicy, cancelCheckOut, checkIn, checkOut, clearObjectInfos, close, create, createDocument, createDocumentFromSource, createFolder, createPolicy, createRelationship, deleteContentStream, deleteObject, deleteObjectOrCancelCheckOut, deleteTree, getAcl, getAllowableActions, getAllVersions, getAppliedPolicies, getBooleanProperty, getCheckedOutDocs, getContentChanges, getContentStream, getDateTimeProperty, getDescendants, getFolderParent, getFolderTree, getIdProperty, getIntegerProperty, getObjectByPath, getObjectInfo, getObjectInfoIntern, getObjectOfLatestVersion, getObjectRelationships, getProperties, getPropertiesOfLatestVersion, getRenditions, getStringProperty, getTypeDescendants, moveObject, query, removeObjectFromFolder, removePolicy, setContentStream, updateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyService

public DummyService(java.lang.String id,
                    java.lang.String name)
Method Detail

getRepositoryInfo

public org.apache.chemistry.opencmis.commons.data.RepositoryInfo getRepositoryInfo(java.lang.String repositoryId,
                                                                                   org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getRepositoryInfo in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
Overrides:
getRepositoryInfo in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getRepositoryInfos

public java.util.List<org.apache.chemistry.opencmis.commons.data.RepositoryInfo> getRepositoryInfos(org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getRepositoryInfos in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
Specified by:
getRepositoryInfos in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getChildren

public org.apache.chemistry.opencmis.commons.data.ObjectInFolderList getChildren(java.lang.String repositoryId,
                                                                                 java.lang.String folderId,
                                                                                 java.lang.String filter,
                                                                                 java.lang.String orderBy,
                                                                                 java.lang.Boolean includeAllowableActions,
                                                                                 org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                                                                 java.lang.String renditionFilter,
                                                                                 java.lang.Boolean includePathSegment,
                                                                                 java.math.BigInteger maxItems,
                                                                                 java.math.BigInteger skipCount,
                                                                                 org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getChildren in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
Specified by:
getChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getObject

public org.apache.chemistry.opencmis.commons.data.ObjectData getObject(java.lang.String repositoryId,
                                                                       java.lang.String objectId,
                                                                       java.lang.String filter,
                                                                       java.lang.Boolean includeAllowableActions,
                                                                       org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                                                       java.lang.String renditionFilter,
                                                                       java.lang.Boolean includePolicyIds,
                                                                       java.lang.Boolean includeAcl,
                                                                       org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getObject in interface org.apache.chemistry.opencmis.commons.spi.ObjectService
Specified by:
getObject in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getObjectParents

public java.util.List<org.apache.chemistry.opencmis.commons.data.ObjectParentData> getObjectParents(java.lang.String repositoryId,
                                                                                                    java.lang.String objectId,
                                                                                                    java.lang.String filter,
                                                                                                    java.lang.Boolean includeAllowableActions,
                                                                                                    org.apache.chemistry.opencmis.commons.enums.IncludeRelationships includeRelationships,
                                                                                                    java.lang.String renditionFilter,
                                                                                                    java.lang.Boolean includeRelativePathSegment,
                                                                                                    org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getObjectParents in interface org.apache.chemistry.opencmis.commons.spi.NavigationService
Specified by:
getObjectParents in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getTypeChildren

public org.apache.chemistry.opencmis.commons.definitions.TypeDefinitionList getTypeChildren(java.lang.String repositoryId,
                                                                                            java.lang.String typeId,
                                                                                            java.lang.Boolean includePropertyDefinitions,
                                                                                            java.math.BigInteger maxItems,
                                                                                            java.math.BigInteger skipCount,
                                                                                            org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getTypeChildren in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
Specified by:
getTypeChildren in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService

getTypeDefinition

public org.apache.chemistry.opencmis.commons.definitions.TypeDefinition getTypeDefinition(java.lang.String repositoryId,
                                                                                          java.lang.String typeId,
                                                                                          org.apache.chemistry.opencmis.commons.data.ExtensionsData extension)
Specified by:
getTypeDefinition in interface org.apache.chemistry.opencmis.commons.spi.RepositoryService
Specified by:
getTypeDefinition in class org.apache.chemistry.opencmis.commons.impl.server.AbstractCmisService


Copyright © 2012 Mairie de Paris. All Rights Reserved.