mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix merge - delete duplicate method.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.3@112665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -365,23 +365,6 @@ public class JSONConversionComponent extends org.alfresco.repo.jscript.app.JS
|
|||||||
}, AuthenticationUtil.getAdminUserName());
|
}, AuthenticationUtil.getAdminUserName());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Helper method to get the display path.
|
|
||||||
*
|
|
||||||
* @param nodeRef node reference
|
|
||||||
* @return String display path
|
|
||||||
*/
|
|
||||||
private String getDisplayPath(final NodeRef nodeRef)
|
|
||||||
{
|
|
||||||
return AuthenticationUtil.runAs(new RunAsWork<String>()
|
|
||||||
{
|
|
||||||
public String doWork() throws Exception
|
|
||||||
{
|
|
||||||
return PathUtil.getDisplayPath(nodeService.getPath(nodeRef), true);
|
|
||||||
}
|
|
||||||
}, AuthenticationUtil.getAdminUserName());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Helper method to set the RM node values
|
* Helper method to set the RM node values
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user