com.sap.tc.cmi.model

Interface ICMIModelObjectManager


public interface ICMIModelObjectManager

Allows creation and deletion of objects in a specific scope. The scope depends on the way that this manager has been retrieved by:

Since:
NW Paris MS2

Type Classification Type Classification:

This interface is part of the Common Model Interface and is intended to be implemented by applications.


Method Summary
 void disposeInstance(ICMIModelClass modelObject)
          Remove the given modelObject from the scope of this manager and 'delete' it.
 ICMIModelClass newInstance()
          Create a new model object and add it to the scope represented by this manager.
 

Method Detail

newInstance

ICMIModelClass newInstance()
Create a new model object and add it to the scope represented by this manager.


disposeInstance

void disposeInstance(ICMIModelClass modelObject)
Remove the given modelObject from the scope of this manager and 'delete' it. The semantics of delete depend on the model implementation and might range from 'simply dereference it' to 'delete it from a data base'.

Throws:
IllegalArgumentException - if the modelObject can't be removed by the manager
Access Rights

This class can be accessed from:


SC DC
[sap.com] FRAMEWORK [sap.com] tc/cmi
[sap.com] FRAMEWORK [sap.com] tc/cm/ejb/api


Copyright 2010 SAP AG Complete Copyright Notice