Refactor duplicated code in Actor and Information Object models, and Elasticsearch plugin classes
|Google Code Legacy ID:||Tested version:||2.5|
1) There is code to do with digital objects that is very close to identical in both QubitActor.class.php and QubitInformationObject.class.php. It would be desirable to refactor this code so that generic versions of the following class methods are removed to QubitObject.class.php:
2) Similarly, there is code that is nearly identical the ES indexing plugin that could be moved to a common location:
arElasticSearchPluginUtil could be a place to stash getProperty, given that it doesn't access $this.