04-16-2012 11:42 AM
nodeRef=workspace://SpacesStore/d6e441a7-a4e1-4c21-96bf-20583aa9e5d1|oderIndex=1|isGallery=true|hasAnotherProperty=false,
nodeRef=workspace://SpacesStore/e9f552b8-b5f2-5d32-07cg-31694bb0f6e2|oderIndex=2|isGallery=false|hasAnotherProperty=false
04-16-2012 02:05 PM
public NodeRef mapSourceNodeRef(NodeRef node)
{
StringBuilder nodeId = new StringBuilder(node.getId());
if (nodeId.length() == 36)
{
for (int index = 35; index >= 0; –index)
{
int srcChar = nodeId.charAt(index);
if (srcChar == '-')
{
continue;
}
int destChar = srcCharToDestChar(srcChar);
if (destChar != srcChar)
{
nodeId.setCharAt(index, (char)destChar);
break;
}
}
}
else
{
nodeId.append('f');
}
return new NodeRef(node.getStoreRef(), nodeId.toString());
}
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.