mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged DEV/CMIS_10 to HEAD
18731: SAIL-169: CMIS REST versioning compliance - Rendering of "via" link for working copy and "current-version" and "working-copy" links for documents - Added ability to dereference object IDs in cmisproperty() template function - Fixed broken CMIS index page git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@18896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -173,6 +173,14 @@ public class TemplateNode extends BasePermissionsNode implements NamespacePrefix
|
||||
{
|
||||
return this.services.getNodeService().exists(this.nodeRef);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return <code>true</code> if this node is a working copy
|
||||
*/
|
||||
public boolean getIsWorkingCopy()
|
||||
{
|
||||
return this.services.getNodeService().hasAspect(this.nodeRef, ContentModel.ASPECT_WORKING_COPY);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Returns the type.
|
||||
|
Reference in New Issue
Block a user