Merged V3.1 to HEAD

13700: ETHREEOH-1724 - Site finder does not search site names

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2009-03-23 09:52:17 +00:00
parent 384f4abdf9
commit 886f0295b3
3 changed files with 48 additions and 4 deletions

View File

@@ -483,6 +483,18 @@ public abstract class BaseContentNode implements TemplateContent
return (o instanceof TemplateContentData);
}
/**
* Helper to return true if the supplied property value is a TemplateNodeRef object
*
* @param o Object to test
*
* @return true if instanceof isTemplateNodeRef, false otherwise
*/
public boolean isTemplateNodeRef(Object o)
{
return (o instanceof TemplateNodeRef);
}
// ------------------------------------------------------------------------------
// Inner classes