Tag: alfresco share

与alfresco cmis连接

我正在尝试使用配置参数连接alfresco,但我收到错误: Config: sessionParameters.put(SessionParameter.USER, “admin”); sessionParameters.put(SessionParameter.PASSWORD, “admin”); sessionParameters.put(SessionParameter.ATOMPUB_URL, “http://localhost:8080/alfresco/service/cmis”); sessionParameters.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value()); sessionParameters.put(SessionParameter.REPOSITORY_ID, “CIPBASE”); sessionParameters.put(SessionParameter.AUTH_HTTP_BASIC, “true” ); sessionParameters.put(SessionParameter.COOKIES, “true” ); 错误是: org.apache.chemistry.opencmis.commons.exceptions.CmisObjectNotFoundException: Not Found at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:499) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.read(AbstractAtomPubService.java:701) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.getRepositoriesInternal(AbstractAtomPubService.java:873) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:66) at org.apache.chemistry.opencmis.client.bindings.impl.RepositoryServiceImpl.getRepositoryInfos(RepositoryServiceImpl.java:92) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:137) at org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl.getRepositories(SessionFactoryImpl.java:114) at com.bvonesource.rsm.common.AlfrescoConnection.AlfrescoDument(AlfrescoConnection.java:71) at com.bvonesource.rsm.mgtbean.AdminManagement.MatrixMgtView.callAlfresco(MatrixMgtView.java:208) at com.bvonesource.rsm.mgtbean.AdminManagement.MatrixMgtView$$FastClassByCGLIB$$9e86b32e.invoke() at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149) at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:692) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) at com.bvonesource.foundation.aspect.TracingAspect.invoke(TracingAspect.java:81) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) […]

如何使用CMIS更新文档属性

我有一个外部Web应用程序通过我使用CMIS连接到alfresco存储库。 我已经能够将文档上传到存储库或能够下载n视图文档。 现在我的要求是,我必须更新特定文档属性。 任何人都可以提供示例代码或步骤来使用CMIS更新文档属性。 提前致谢…

如何使用CMIS在Alfresco中进行批量更新

是否可以在露天使用CMIS进行批量更新。 我有不同的文档类型,每种文档类型在alfresco存储库中都有多个文档。 现在我的要求是,如果我将更新任何文档的任何单个属性,那么它应该反映所有相同类型的文档。 我可以使用CMIS吗? 如果是,请提供相应的步骤和示例代码。 提前致谢