- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
upd:
The problem of working with getSpaceContents : i made a variable doclist ( list<CRCResult> ). After getSpaceContents operation doclist looks like that :
<list>
<com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
<attributeMap>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}creator</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
<string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/42dbbb75-abfa-43e1-96cd-b3454477d541/ID_1_Урожай.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
<string>workspace</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
<string>contentUrl=store://2010/11/17/18/54/d143cd65-1dfc-460e-88cb-1f08975ecfea.bin|mimetype=text/xml|size=3968|encoding=UTF-8|locale=en_</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
<string>42dbbb75-abfa-43e1-96cd-b3454477d541</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modifier</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}name</string>
<string>ID_1_Урожай.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
<string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_1_Урожай.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modified</string>
<date>2010-11-17 18:54:32.622 MSK</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}node-type</string>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
<string>/Company Home/RetailerSupplierInteraction/Proposal</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}created</string>
<date>2010-08-26 12:45:12.512 MSD</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
<string>SpacesStore</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
<string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_1_Урожай.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
<long>629</long>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content-type</string>
<string>text/xml</string>
</entry>
</attributeMap>
<document serialization="custom">
<com.adobe.idp.Document>
<int>3</int>
<boolean>false</boolean>
<boolean>false</boolean>
<null/>
<string>81.5.113.36/127.0.0.1</string>
<null/>
<null/>
<null/>
<string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
<int>82</int>
<string>text/xml</string>
<null/>
<map>
<entry>
<string>basename</string>
<string>ID_1_Урожай.xml</string>
</entry>
<entry>
<string>file</string>
<string>ID_1_Урожай.xml</string>
</entry>
<entry>
<string>wsfilename</string>
<string>ID_1_Урожай.xml</string>
</entry>
</map>
<string>adobe/idp/DocumentPullServant/adobejb_null</string>
<long>-1</long>
</com.adobe.idp.Document>
</document>
</com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
<com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
<attributeMap>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}creator</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
<string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/0ac06777-e5ae-48ef-99d8-1ed029253987/ID_2_Три топора.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
<string>workspace</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
<string>contentUrl=store://2010/11/17/18/55/3ad2fac7-2b6e-4dae-a87a-382ca0f35fd4.bin|mimetype=text/xml|size=3979|encoding=UTF-8|locale=en_</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
<string>0ac06777-e5ae-48ef-99d8-1ed029253987</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modifier</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}name</string>
<string>ID_2_Три топора.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
<string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_2_Три_x0020_топора.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modified</string>
<date>2010-11-17 18:55:26.206 MSK</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}node-type</string>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
<string>/Company Home/RetailerSupplierInteraction/Proposal</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}created</string>
<date>2010-08-26 12:49:54.431 MSD</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
<string>SpacesStore</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
<string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_2_Три_x0020_топора.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
<long>630</long>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content-type</string>
<string>text/xml</string>
</entry>
</attributeMap>
<document serialization="custom">
<com.adobe.idp.Document>
<int>3</int>
<boolean>false</boolean>
<boolean>false</boolean>
<null/>
<string>81.5.113.36/127.0.0.1</string>
<null/>
<null/>
<null/>
<string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
<int>83</int>
<string>text/xml</string>
<null/>
<map>
<entry>
<string>basename</string>
<string>ID_2_Три топора.xml</string>
</entry>
<entry>
<string>file</string>
<string>ID_2_Три топора.xml</string>
</entry>
<entry>
<string>wsfilename</string>
<string>ID_2_Три топора.xml</string>
</entry>
</map>
<string>adobe/idp/DocumentPullServant/adobejb_null</string>
<long>-1</long>
</com.adobe.idp.Document>
</document>
</com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
<com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
<attributeMap>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}creator</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}browse-link</string>
<string>http://81.5.113.36:8080/contentspace/wcs/api/node/content/workspace/SpacesStore/c793f4b8-0f42-462c-a75b-d104f286f66f/ID_3_Теремок.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-protocol</string>
<string>workspace</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
<string>contentUrl=store://2010/11/17/18/56/b57edc81-c288-4258-9710-18632ad86a66.bin|mimetype=text/xml|size=3974|encoding=UTF-8|locale=en_</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-uuid</string>
<string>c793f4b8-0f42-462c-a75b-d104f286f66f</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modifier</string>
<string>usersystemcontext/DefaultDom</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}name</string>
<string>ID_3_Теремок.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}qualified-path</string>
<string>/app:company_home/cm:RetailerSupplierInteraction/cm:Proposal/cm:ID_3_Теремок.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}modified</string>
<date>2010-11-17 18:56:05.332 MSK</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}node-type</string>
<string>{http://www.alfresco.org/model/content/1.0}content</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}folder-path</string>
<string>/Company Home/RetailerSupplierInteraction/Proposal</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}created</string>
<date>2010-08-26 12:51:10.671 MSD</date>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}store-identifier</string>
<string>SpacesStore</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}resolved-path</string>
<string>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/content/1.0}RetailerSupplierInteraction/{http://www.alfresco.org/model/content/1.0}Proposal/{http://www.alfresco.org/model/content/1.0}ID_3_Теремок.xml</string>
</entry>
<entry>
<string>{http://www.alfresco.org/model/system/1.0}node-dbid</string>
<long>631</long>
</entry>
<entry>
<string>{http://www.alfresco.org/model/content/1.0}content-type</string>
<string>text/xml</string>
</entry>
</attributeMap>
<document serialization="custom">
<com.adobe.idp.Document>
<int>3</int>
<boolean>false</boolean>
<boolean>false</boolean>
<null/>
<string>81.5.113.36/127.0.0.1</string>
<null/>
<null/>
<null/>
<string>IOR:000000000000002849444C3A636F6D2F61646F62652F6964702F49446F63756D656E7443616C6C6261636B3A312E30000000000200000000000000EC000102000000000C38312E352E3131332E3336000DC8000000000015353834393831363137302F01163C37231524460635000000000000050000000000000008000000004A414300000000010000001C000000000501000100000001050100010001010900000001050100010000002100000060000000000000000100000000000000240000001E0000007E00000000000000010000000C38312E352E3131332E3336000DC9004000000000000000000000001004010008060667810201010100000000000000000000000000000000000000000000002000000004000000000000001F0000000400000003000000010000002000000000000000020000002000000004000000000000001F0000000400000003</string>
<int>84</int>
<string>text/xml</string>
<null/>
<map>
<entry>
<string>basename</string>
<string>ID_3_Теремок.xml</string>
</entry>
<entry>
<string>file</string>
<string>ID_3_Теремок.xml</string>
</entry>
<entry>
<string>wsfilename</string>
<string>ID_3_Теремок.xml</string>
</entry>
</map>
<string>adobe/idp/DocumentPullServant/adobejb_null</string>
<long>-1</long>
</com.adobe.idp.Document>
</document>
</com.adobe.livecycle.contentservices.client.impl.CRCResultImpl>
</list>
I read Help about CRCResult variable, it is said there ,that we can receive the information like document, link , etc. from it. I can't figure out how to do it.So the question : what function should we apply or how can we get access to what we need? For example, i want to get document from the doclist.
Thanks in advance.
Views
Replies
0 Likes
Total Likes