[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

3291.0. "Deregister/Delete and Iconicmap" by ANNECY::ROUX (Denis @AEO (887-4059)) Thu Jul 02 1992 07:18

Hi,

	Could any one tell me in which order the following directives 
	are executed: (REGISTRATION FM MRM)
	 
	The question I have is :

	If a DEREGISTER fails (for example with an exception as 
	Cannot completed
	Is this instance deleted form the instance MIR ? 

	Is the instance deleted from the iconicmap ?
	
	How is the refresh of the iconicmap done ?
	automatically or not ?  

	It seems to me that the execution of the directives are 
	as follows and if the deregister fails the instance 
	is not deleted but I'd like to make sure that I'm right.

	1- DEREGISTER in the namespace
	2- DELETE  instance
	

	And in the other case
	1- Register in the namespace
		(register fails ..) 
	2- create  not executed 

Denis

T.RTitleUserPersonal
Name
DateLines
3291.1re:.0BARREL::LEMMONThu Jul 02 1992 12:2923
    When adding an entity, the iconic map issues
    
    	1. create - if entity has create 
    	2. register - if entity has register 
        3. set reference - if entity has register
    
    when deleting an entity using the (//) tool, the iconic map issues
    
       	1. deregister - if entity has deregister
       	2. delete - if  entity has delete
        3. delete domain member
    
    If any of the above operations fail, that is an exception is
    returned, the next operation is not executed. This does have some interesting
    side effects.  The most obvious one is the deregister operation, if
    successful, will attempt to remove the entity from all domains.  So
    if the deregister works but the delete fails, the icon is left on the
    map even though it is no longer a member of the domain.  
    
    The iconic map is not refreshed at this point so the user must re-open
    the domain to have the icon removed.  
    
    /Jim