mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merge of all UI clustering changes originally applied to 2.2
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8292 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -76,12 +76,12 @@ public class EditSearchDialog extends AdvancedSearchDialog
|
||||
// detect if was previously selected saved search (e.g.
|
||||
// NodeRef not null)
|
||||
NodeRef searchRef = new NodeRef(Repository.getStoreRef(), properties.getSavedSearch());
|
||||
if (nodeService.exists(searchRef))
|
||||
if (getNodeService().exists(searchRef))
|
||||
{
|
||||
Map<QName, Serializable> props = nodeService.getProperties(searchRef);
|
||||
Map<QName, Serializable> props = getNodeService().getProperties(searchRef);
|
||||
props.put(ContentModel.PROP_NAME, properties.getSearchName());
|
||||
props.put(ContentModel.PROP_DESCRIPTION, properties.getSearchDescription());
|
||||
nodeService.setProperties(searchRef, props);
|
||||
getNodeService().setProperties(searchRef, props);
|
||||
|
||||
ContentService contentService = Repository.getServiceRegistry(context).getContentService();
|
||||
ContentWriter writer = contentService.getWriter(searchRef, ContentModel.PROP_CONTENT, true);
|
||||
|
Reference in New Issue
Block a user