ilog.cpl.interactor
Class IlpDefaultInteractorManager

java.lang.Object
  extended by ilog.cpl.interactor.IlpDefaultInteractorManager
All Implemented Interfaces:
IlpInteractorManager, IlpMutableInteractorManager

public class IlpDefaultInteractorManager
extends Object
implements IlpMutableInteractorManager

This class stores the association between object, attributes and interactors. It is also possible to register interactors with given keys.

Since:
JTGO 3.0

Constructor Summary
IlpDefaultInteractorManager()
          Creates a new manager to store shared interactors.
 
Method Summary
 IlpInteractorManager getDefaultInteractorManager()
          Gets the default interactor manager.
 IlpObjectInteractor getObjectInteractor(IlpObject object)
          Returns the interactor associated with the given business object.
 IlpObjectInteractor getObjectInteractor(IlpObject object, IlpAttribute attribute)
          Return the interactor associated with the given business object and attribute.
 IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
          Returns the interactor associated with the given object.
 IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute)
          Return the interactor associated with the given object and attribute.
 IlpObjectInteractor getObjectInteractor(Object key)
          Returns the interactor associated with the given key.
 void removeObjectInteractors()
          Remove all the interactors associated with representation objects.
 void removeObjectInteractors(IlpObject object)
          Remove all the interactors associated with the given business object.
 void removeObjectInteractors(IlpRepresentationObject object)
          Remove all the interactors associated with the given object.
 void setDefaultInteractorManager(IlpInteractorManager defaultManager)
          Sets the default interactor manager.
 void setObjectInteractor(IlpObject object, IlpAttribute attribute, IlpObjectInteractor interactor)
          Sets the interactor associated with the given business object and attribute.
 void setObjectInteractor(IlpObject object, IlpObjectInteractor interactor)
          Sets the interactor associated with the given business object.
 void setObjectInteractor(IlpRepresentationObject object, IlpAttribute attribute, IlpObjectInteractor interactor)
          Sets the interactor associated with the given object and attribute.
 void setObjectInteractor(IlpRepresentationObject object, IlpObjectInteractor interactor)
          Sets the interactor associated with the given object.
 void setObjectInteractor(Object key, IlpObjectInteractor interactor)
          Sets the interactor associated with the given key.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpDefaultInteractorManager

public IlpDefaultInteractorManager()
Creates a new manager to store shared interactors.

Method Detail

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(Object key)
Returns the interactor associated with the given key.

Specified by:
getObjectInteractor in interface IlpInteractorManager

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
Returns the interactor associated with the given object.

Specified by:
getObjectInteractor in interface IlpInteractorManager

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object,
                                               IlpAttribute attribute)
Return the interactor associated with the given object and attribute.

Specified by:
getObjectInteractor in interface IlpInteractorManager

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpObject object)
Returns the interactor associated with the given business object.

Specified by:
getObjectInteractor in interface IlpInteractorManager

getObjectInteractor

public IlpObjectInteractor getObjectInteractor(IlpObject object,
                                               IlpAttribute attribute)
Return the interactor associated with the given business object and attribute.

Specified by:
getObjectInteractor in interface IlpInteractorManager

setObjectInteractor

public void setObjectInteractor(Object key,
                                IlpObjectInteractor interactor)
Sets the interactor associated with the given key.

Specified by:
setObjectInteractor in interface IlpMutableInteractorManager

setObjectInteractor

public void setObjectInteractor(IlpRepresentationObject object,
                                IlpObjectInteractor interactor)
Sets the interactor associated with the given object.

Specified by:
setObjectInteractor in interface IlpMutableInteractorManager

setObjectInteractor

public void setObjectInteractor(IlpRepresentationObject object,
                                IlpAttribute attribute,
                                IlpObjectInteractor interactor)
Sets the interactor associated with the given object and attribute.

Specified by:
setObjectInteractor in interface IlpMutableInteractorManager

setObjectInteractor

public void setObjectInteractor(IlpObject object,
                                IlpObjectInteractor interactor)
Sets the interactor associated with the given business object.

Specified by:
setObjectInteractor in interface IlpMutableInteractorManager

setObjectInteractor

public void setObjectInteractor(IlpObject object,
                                IlpAttribute attribute,
                                IlpObjectInteractor interactor)
Sets the interactor associated with the given business object and attribute.

Specified by:
setObjectInteractor in interface IlpMutableInteractorManager

removeObjectInteractors

public void removeObjectInteractors(IlpRepresentationObject object)
Remove all the interactors associated with the given object.

Specified by:
removeObjectInteractors in interface IlpMutableInteractorManager

removeObjectInteractors

public void removeObjectInteractors(IlpObject object)
Remove all the interactors associated with the given business object.

Specified by:
removeObjectInteractors in interface IlpMutableInteractorManager

removeObjectInteractors

public void removeObjectInteractors()
Remove all the interactors associated with representation objects.

Specified by:
removeObjectInteractors in interface IlpMutableInteractorManager
Since:
JTGO 4.0

getDefaultInteractorManager

public IlpInteractorManager getDefaultInteractorManager()
Gets the default interactor manager. This default manager is used to retrieve interactor information, when it can not be found in this instance.


setDefaultInteractorManager

public void setDefaultInteractorManager(IlpInteractorManager defaultManager)
Sets the default interactor manager. This default manager is used to retrieve interactor information, when it cannot be found in this instance.



Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.