Changes between Version 11 and Version 12 of PRO_CHANGE_PRIMITIVES_R0


Ignore:
Timestamp:
03/16/09 17:24:40 (16 years ago)
Author:
gogov
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PRO_CHANGE_PRIMITIVES_R0

    v11 v12  
    1717 * Changes form the type of information that will be stored in the Histories responsible for logging Changes in ResourceSpaces 
    1818 
    19 This task is to develop a set of primitives which fulfils the requirements above. 
     19This task is to develop a set of primitives which fulfills the requirements above. 
    2020 
    2121== Task requirements == 
    2222 * The set of primitives should look like this: 
    23   * <id> probj-create <class-name> 
     23  * <id> '''probj-create''' ''<class-name>'' 
    2424   * creates a new ProObject given its class name and returns the id of the newly created ProObject 
    25   * probj-destroy proobj-id 
     25  * '''probj-destroy''' ''<proobj-id>'' 
    2626   * destroys an existing ProObject given its id 
    27   * probj-set <probj-id> <prop-name> <value> 
     27  * '''probj-set''' <probj-id> <prop-name> <value> 
    2828   * sets a new value to a Property by its name of a ProObject given its id 
    29   * prolist-add <proobj-id> <prolist-name> <pos> <object> 
     29  * '''prolist-add''' ''<proobj-id>'' ''<prolist-name>'' ''<pos>'' ''<object>'' 
    3030   * adds a new object at a given position to a given ListProperty of a given ProObject 
    31   * prolist-remove <proobj-id> <prolist-name> <pos> 
     31  * '''prolist-remove''' ''<proobj-id>'' ''<prolist-name>'' ''<pos>'' 
    3232   * remove the object at a given position of a given ListProperty of a given ProObject 
    33   * prolist-set <proobj-id> <prolist-name> <pos> <object> 
     33  * '''prolist-set''' ''<proobj-id>'' ''<prolist-name>'' ''<pos>'' ''<object>'' 
    3434   * sets a new object as a value of a given position to a given ListProperty of a given ProObject 
    35   * undo 
     35  * '''undo''' 
    3636   * undoes the last Change in the History 
    37   * redo 
     37  * '''redo''' 
    3838   * cancels the last Change in the History, if it is an UndoChange 
    39   * skip <change-id> 
     39  * '''skip''' ''<change-id>'' 
    4040   * skips a Change in the History given its id 
    4141 
    4242 * All ids used should be unique 
     43  * Maybe UUIDs could used 
    4344 
    4445 * Synchronization problems with list operations should be considered 
    4546  * An idea for solving those problems should be proposed 
     47   * For instance the problem with positions and merging. Some sort of smart positions could be implemented 
     48 
     49 * Each primitive should correspond to a Change in the History 
    4650 
    4751== Task result == 
     
    5155 
    5256== Implementation idea == 
    53  * For the use case describe what happens when a Sophie client is connected to a Sophie server and how the ChangeManagers running on both sides work together 
     57 * For the use case describe what happens when a Sophie client is connected to a Sophie server and how the Histories running on both sides work together 
    5458 
    5559== Related == 
     60 
     61[wiki:GROUP_PRO_CHANGE_R0] 
    5662 
    5763[wiki:PRO_CHANGE_COMMONS_R0] [[BR]]