Webfrontend #737

Adjust the model wrappers

Added by Alexander Blum over 5 years ago. Updated over 4 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 about 5 years ago

  • Estimated time set to 1.00

#2 Updated by Alexander Blum about 5 years ago

  • Priority changed from Normal to Niedrig

#3 Updated by Alexander Blum over 4 years ago

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

#4 Updated by Alexander Blum over 4 years ago

  • Project changed from repertoire to collecting_society

Also available in: Atom PDF