08-02-2011 03:38 AM
<association name="dl:assignee">
<title>Assignee</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>cm:person</class>
<mandatory>false</mandatory>
<many>false</many>
</target>
</association>
ServiceRegistry registry;
String strStoreRef = StoreRef.PROTOCOL_WORKSPACE + StoreRef.URI_FILLER + "SpacesStore";
StoreRef storeRef = new StoreRef(strStoreRef);
SearchService search = registry.getSearchService();
NodeService nodeSvc = registry.getNodeService();
nodeSvc.getProperty(row.getNodeRef(), myProperty);
08-04-2011 08:51 AM
08-12-2011 08:41 AM
05-24-2012 10:46 AM
QName qName = QName.createQName("your.dl.model", "assignee");
List<AssociationRef> list = nodeService.getTargetAssocs(nodeRef, qName);
if(list.size()>0)
assignee = list.get(0).getTargetRef();
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.