@@ -22,16 +22,19 @@ public interface ITopicRepository {
2222 /// <summary>
2323 /// Instantiates the <see cref="DeleteEventArgs"/> event handler.
2424 /// </summary>
25+ [ Obsolete ( "The TopicRepository events will be removed in OnTopic Library 5.0." , false ) ]
2526 event EventHandler < DeleteEventArgs > DeleteEvent ;
2627
2728 /// <summary>
2829 /// Instantiates the <see cref="MoveEventArgs"/> event handler.
2930 /// </summary>
31+ [ Obsolete ( "The TopicRepository events will be removed in OnTopic Library 5.0." , false ) ]
3032 event EventHandler < MoveEventArgs > MoveEvent ;
3133
3234 /// <summary>
3335 /// Instantiates the <see cref="RenameEventArgs"/> event handler.
3436 /// </summary>
37+ [ Obsolete ( "The TopicRepository events will be removed in OnTopic Library 5.0." , false ) ]
3538 event EventHandler < RenameEventArgs > RenameEvent ;
3639
3740 /*==========================================================================================================================
@@ -74,21 +77,6 @@ public interface ITopicRepository {
7477 /// <returns>A topic object.</returns>
7578 Topic ? Load ( int topicId , DateTime version ) ;
7679
77- /*==========================================================================================================================
78- | ###TODO JJC080314: An overload to Load() should be created to accept an XmlDocument or XmlNode based on the proposed
79- | Import/Export schema.
80- >---------------------------------------------------------------------------------------------------------------------------
81- | ###NOTE JJC080313: If the topic already exists, return the existing node, by calling its Merge() function. Otherwise,
82- | construct a new node using its XmlNode constructor.
83- >---------------------------------------------------------------------------------------------------------------------------
84- public static Topic Load(XmlNode node, ImportStrategy importStrategy = ImportStrategy.Merge) {
85- //Process XML
86- //Construct children objects
87- //###NOTE JJC080314: May need to cross-reference with Load() and/or TopicRepository to validate against whatever objects
88- //are already created and available.
89- }
90- \-------------------------------------------------------------------------------------------------------------------------*/
91-
9280 /*==========================================================================================================================
9381 | METHOD: ROLLBACK
9482 \-------------------------------------------------------------------------------------------------------------------------*/
0 commit comments