Webfrontend #737

Adjust the model wrappers

Added by Alexander Blum almost 3 years ago. Updated about 2 years ago.

Status:NeuStart date:
Priority:NiedrigDue date:
Assignee:-% Done:

0%

Category:-Estimated time:1.00 h
Target version:Repertoire 2) Testing phase II

Description

  • Pass the object, not the id (i see no reason for that)
  • Put all general functions, which are the same for each model, into the base class Tdb (e.g. search, search_by_id, search_by_oid, etc).
  • Think about the special functions: if too special and only needed in one place, a search(DOMAIN) in the calling method could make more sense to keep the models thin.

History

#1 Updated by Alexander Blum over 2 years ago

  • Estimated time set to 1.00

#2 Updated by Alexander Blum over 2 years ago

  • Priority changed from Normal to Niedrig

#3 Updated by Alexander Blum about 2 years ago

  • Target version changed from 2) Testing phase II to Repertoire 2) Testing phase II

#4 Updated by Alexander Blum about 2 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF