Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Diagram is "symmetric", since similar apis can be used for both StorageProperty and StorageBinary management.
  • Like "current" DSpace 2 storage-api, proposed solution also separates read-only and writable storage interfaces.
  • Service naming is used for interfaces.
  • After changes to storage-api, StorageEntity class basically contains only entityId, so it is proposed that it should probably disappear from model. This also solves entity versionability question, since properties essentially can have versions, not the entities themselves. In this case, IEntityStorageService becomes entity identifier (simple string) management service.
  • IMetadataStorageService (and its variants) is a service for management of both - metadata and relations.
  • IBinaryWritableStorageService method saveBinary(...) like saveMetaProperties(...) creates or updates property/binary depending whether it exists or not. Of course, these can be split into create and update methods if needed.
  • It should be noted, that final property/binary storage implementation will have to store not only property/binary value and its name, but also entityId. Name and entityId could be combined into one name, however it is left up to implementation.

...