RM: Capability configuration refactor

* consolidate the groups capabilities are within (rename and try to simpify)
 * 'deprecate' classification related capabilities into the dod specific package .. these capabilities didn't do anything so will be removed until such a time comes when we consider classified records.
 * remove legacy unit test .. becomming too difficult to maintain and is covered by newer tests



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@48750 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Roy Wetherall
2013-04-03 04:34:11 +00:00
parent 5084af61e5
commit 13d4f3f576
20 changed files with 385 additions and 3862 deletions

View File

@@ -102,9 +102,6 @@ public class RecordsManagementTypeFormFilter extends RecordsManagementFormFilter
addCustomRMProperties(aspect, form);
}
}
// Group fields
// groupFields(form);
}
/**
@@ -144,41 +141,4 @@ public class RecordsManagementTypeFormFilter extends RecordsManagementFormFilter
{
}
/**
* Puts all fields in a group to workaround ALF-6089.
*
* @param form The form being generated
*/
// protected void groupFields(Form form)
// {
// // to control the order of the fields add the name, title and description fields to
// // a field group containing just that field, all other fields that are not already
// // in a group go into an "other" field group. The client config can then declare a
// // client side set with the same id and order them correctly.
//
// List<FieldDefinition> fieldDefs = form.getFieldDefinitions();
// for (FieldDefinition fieldDef : fieldDefs)
// {
// FieldGroup group = fieldDef.getGroup();
// if (group == null)
// {
// if (fieldDef.getName().equals(ContentModel.PROP_NAME.toPrefixString(this.namespaceService)))
// {
// fieldDef.setGroup(NAME_FIELD_GROUP);
// }
// else if (fieldDef.getName().equals(ContentModel.PROP_TITLE.toPrefixString(this.namespaceService)))
// {
// fieldDef.setGroup(TITLE_FIELD_GROUP);
// }
// else if (fieldDef.getName().equals(ContentModel.PROP_DESCRIPTION.toPrefixString(this.namespaceService)))
// {
// fieldDef.setGroup(DESC_FIELD_GROUP);
// }
// else
// {
// fieldDef.setGroup(OTHER_FIELD_GROUP);
// }
// }
// }
// }
}

View File

@@ -167,6 +167,5 @@ public class RMv21CapabilityPatch extends AbstractModuleComponent
}
}
}
}
}
}