Reimplementation of the Community Mashup - started beginning of May 2021
Sourcecode can be found at:
https://athene2.informatik.unibw-muenchen.de/MASH/communitymashup2
Anzeige untergeordneter Seiten |
---|
Data model
v1:
View file | ||||
---|---|---|---|---|
|
Edit at: https://app.diagrams.net/#DCommunityMashup2%20Model
Basic Implementation
Server
TBD
Client
TBD
DataSetImpl
Stores Item objects in "protected Map<Long,Item> items" - i.e. indexed by the id of the item - ids are Long values!
- getItems()
- getItemsByType(String type)
- getItemById(Long id)
- add(Item item) - add the item to the DataSet - after checking for duplicates (equal) items - return new item or merged item
- addForce(Item item) - add the item to the DataSet without looking for duplicates or merging
For creating new Item objects, the class DataFactory should be used:
- createItem(String type)
- createItem(String type, DataSet dataSet) - just set DataSet in Item - do NOT add to DataSet yet
DateSetImplDB (extends DataSetImpl)
Stores Item objects additionally in relational database - TBD tables
Item
Relevant functions for merging in DataSet
- getTypeString()
- getAttributeTNames()
- getRelationshipTypes()
- isEqualItem(Item item) - check if items are equal (should be merged)
- update(Item item) - merge item to the current one
Todos
...
Current Input Source Implementations
- org.sociotech.cm2.source.wordpress - e.g. CommunityMirror CMS
- org.sociotech.cm2.source.mediatum - e.g. Athene Forschung
- org.sociotech.cm2.source.feed - e.g. Atom or RSS Feeds