Merged BRANCHES/V2.0 to HEAD:

47857: RM-626: Alfresco is not started with RM module applied



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@51942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-07-02 01:51:08 +00:00
parent 4500028a1c
commit 6cd2266772
5 changed files with 5 additions and 5 deletions

View File

@@ -467,7 +467,7 @@ public class RecordsManagementAdminServiceImpl implements RecordsManagementAdmin
if (name.endsWith("Properties") == true) if (name.endsWith("Properties") == true)
{ {
QName type = null; QName type = null;
String prefixString = aspectDef.getDescription(); String prefixString = aspectDef.getDescription(dictionaryService);
if (prefixString == null) if (prefixString == null)
{ {
// Backward compatibility from previous RM V1.0 custom models // Backward compatibility from previous RM V1.0 custom models

View File

@@ -818,7 +818,7 @@ public class RecordsManagementAuditServiceImpl
if (nodeTypeQname != null) if (nodeTypeQname != null)
{ {
TypeDefinition typeDef = dictionaryService.getType(nodeTypeQname); TypeDefinition typeDef = dictionaryService.getType(nodeTypeQname);
nodeType = (typeDef != null) ? typeDef.getTitle() : null; nodeType = (typeDef != null) ? typeDef.getTitle(dictionaryService) : null;
} }
} }
else if (values.containsKey(RecordsManagementAuditService.RM_AUDIT_DATA_LOGIN_USERNAME)) else if (values.containsKey(RecordsManagementAuditService.RM_AUDIT_DATA_LOGIN_USERNAME))

View File

@@ -96,7 +96,7 @@ public class CustomisableGet extends DeclarativeWebScript
if (definition != null) if (definition != null)
{ {
String name = qname.toPrefixString(namespaceService); String name = qname.toPrefixString(namespaceService);
String title = definition.getTitle(); String title = definition.getTitle(dictionaryService);
if (title == null || title.length() == 0) if (title == null || title.length() == 0)
{ {
title = qname.getLocalName(); title = qname.getLocalName();

View File

@@ -94,7 +94,7 @@ public class RecordMetaDataAspectsGet extends DeclarativeWebScript
if (aspectDefinition != null) if (aspectDefinition != null)
{ {
// Fet the label from the aspect definition // Fet the label from the aspect definition
label = aspectDefinition.getTitle(); label = aspectDefinition.getTitle(dictionaryService);
} }
aspect.put("value", label); aspect.put("value", label);

View File

@@ -105,7 +105,7 @@ public class RMSearchPropertiesGet extends DeclarativeWebScript
} }
AspectDefinition aspectDefinition = dictionaryService.getAspect(aspect); AspectDefinition aspectDefinition = dictionaryService.getAspect(aspect);
Group group = new Group(aspect.getLocalName(), aspectDefinition.getTitle(), propObjs); Group group = new Group(aspect.getLocalName(), aspectDefinition.getTitle(dictionaryService), propObjs);
groups.add(group); groups.add(group);
} }