1.登录界面
2.登录成功以后主页面
3.查看属性
4.其它操作。。。
5.连接documentum界面
6.认证成功以后界面
7.通过选择alfresco中某对象,以及documentum中路径,系统根据配置文件配置的类型与属性的对应关系,将alfresco中该对象的元数据及内容导入documentum中
目前只实现了手工选择文件(或文件夹,选择文件夹可以深度导入)alfresco与documentum之间的对导。
下一步的计划是:
1.目前两个内容库中类型对应是通过XML配置,在系统启动的时候加载到内容,下一步计划做成可以界面维护的方式。
2.实现任务计划的功能,可以由用户通过维护数据传输计划,实现定期以及指定规则的数据传导,做成类似documentum中的job。
3.实现alfresco、documentum与其它内容管理产品之间的数据传递。
由于工程相关jar包太大,不能上传到此,所以在这里我就只将源码打包放上来,供参考。
注:两个内容库之间类型映射配置
1.alfresco到documentum
<?xml version="1.0" encoding="UTF-8"?>
<config model_id="alfresco2documentum" version='1.0'>
<mapping_type sourcetype="cm:content" sourcetypelabel="文档" mappingtype="dm_document" mappingtypelabel="文档" iscontentmapping="true">
<mapping_attributes>
<mapping_attribute sourceattr="cm:title" label="标题">
<mappingattr label="标题" name="title" default="" >
</mappingattr>
<mappingvalues>
<value key="test" value="TEST"></value>
</mappingvalues>
</mapping_attribute>
<mapping_attribute sourceattr="cm:name" label="名称">
<mappingattr label="名称" name="object_name" default="">
</mappingattr>
</mapping_attribute>
</mapping_attributes>
<requiredattrs>
<requiredattr>cm:name</requiredattr>
<requiredattr>cm:title</requiredattr>
</requiredattrs>
</mapping_type>
</config>
2.documentum到alfresco
<?xml version="1.0" encoding="UTF-8"?>
<config model_id="documentum2alfresco" version='1.0'>
<mapping_type sourcetype="dm_folder" sourcetypelabel="文件夹" mappingtype="cm:folder" mappingtypelabel="文件夹" iscontentmapping="false">
<mapping_attributes>
<mapping_attribute sourceattr="title" label="标题">
<mappingattr label="标题" name="cm:title" default="" >
</mappingattr>
<mappingvalues>
<value key="test" value="TEST"></value>
</mappingvalues>
</mapping_attribute>
<mapping_attribute sourceattr="object_name" label="名称">
<mappingattr label="名称" name="cm:name" default="">
</mappingattr>
</mapping_attribute>
</mapping_attributes>
<requiredattrs>
<requiredattr>object_name</requiredattr>
<requiredattr>title</requiredattr>
</requiredattrs>
</mapping_type>
</config>