Skip to content
  • Jörg Richter's avatar
    ChildTopics API: remove setDeletionRef() method (2x) (#341) · aca74c05
    Jörg Richter authored
    BREAKING CHANGE
    
    systems.dmx.core.ChildTopics
    
    remove the 2 setDeletionRef() methods:
    
    ChildTopics setDeletionRef(String compDefUri, long refTopicId);
    ChildTopics setDeletionRef(String compDefUri, String refTopicUri);
    
    CODE TRANSFORMATION
    
    Instead of
    
        topic.getChildTopics().setDeletionRef(compDefUri, ...);
    
    write
    
        topic.update(mf.newChildTopicsModel().set(compDefUri, mf.newTopicDeletionModel(...)));
    
    Note: "newTopicDeletionModel" is about to get a shorter Name, e.g. "delRef"
    aca74c05