|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectilog.cpl.interactor.IlpInteractorManagerSupport
public class IlpInteractorManagerSupport
This class models a basic interactor manager implementation.
| Constructor Summary | |
|---|---|
IlpInteractorManagerSupport(IlpInteractorManager manager)
Creates a support class for the given instance to store interactors for objects and attributes. |
|
| Method Summary | |
|---|---|
IlpObjectInteractor |
getObjectInteractor(IlpObject object)
Returns the interactor associated with the given business object in the graphic view controlled by this instance. |
IlpObjectInteractor |
getObjectInteractor(IlpObject object,
IlpAttribute attribute)
Returns the interactor associated with the given object and attribute in the graphic view controlled by this instance. |
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object)
Returns the interactor associated with the given object in the graphic view controlled by this instance. |
IlpObjectInteractor |
getObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute)
Returns the interactor associated with the given object and attribute in the graphic view controlled by this instance. |
IlpObjectInteractor |
getObjectInteractor(Object key)
Returns the interactor associated with the given key in the graphic view controlled by this instance. |
void |
removeObjectInteractors()
Removes all the interactors associated with representation objects. |
void |
removeObjectInteractors(IlpObject object)
Removes all the interactors associated with the given business object. |
void |
removeObjectInteractors(IlpRepresentationObject object)
Removes all the interactors associated with the given object. |
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 |
|---|
public IlpInteractorManagerSupport(IlpInteractorManager manager)
| Method Detail |
|---|
public IlpObjectInteractor getObjectInteractor(Object key)
getObjectInteractor in interface IlpInteractorManagerkey - Interactor keypublic IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object)
If no interactor is registered for this representation object, the interactor registered for its business object is used.
getObjectInteractor in interface IlpInteractorManagerobject - Representation object whose interactor is being
queried.
public IlpObjectInteractor getObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute)
If no interactor is registered for this representation object and attribute, the interactor registered for its business object and the same attribute is used.
getObjectInteractor in interface IlpInteractorManagerobject - Representation object whose interactor is being queried.attribute - Business attributepublic IlpObjectInteractor getObjectInteractor(IlpObject object)
getObjectInteractor in interface IlpInteractorManagerobject - Business object whose interactor is being queried.
public IlpObjectInteractor getObjectInteractor(IlpObject object,
IlpAttribute attribute)
getObjectInteractor in interface IlpInteractorManagerobject - Business object whose interactor is being queried.attribute - Business attribute
public void setObjectInteractor(Object key,
IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerkey - Interactor keyinteractor - Interactor being set
public void setObjectInteractor(IlpRepresentationObject object,
IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerobject - Representation objectinteractor - Object interactor
public void setObjectInteractor(IlpRepresentationObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
null, the interactor is set to the attribute
and becomes the default interactor for this attribute.
setObjectInteractor in interface IlpMutableInteractorManagerobject - Representation objectattribute - Business attributeinteractor - Object interactor
public void setObjectInteractor(IlpObject object,
IlpObjectInteractor interactor)
setObjectInteractor in interface IlpMutableInteractorManagerobject - Business objectinteractor - Object interactor
public void setObjectInteractor(IlpObject object,
IlpAttribute attribute,
IlpObjectInteractor interactor)
null, the interactor is set to the attribute
and becomes the default interactor for this attribute.
setObjectInteractor in interface IlpMutableInteractorManagerobject - Business objectattribute - Business attributeinteractor - Object interactorpublic void removeObjectInteractors(IlpRepresentationObject object)
removeObjectInteractors in interface IlpMutableInteractorManagerobject - Representation objectpublic void removeObjectInteractors(IlpObject object)
removeObjectInteractors in interface IlpMutableInteractorManagerobject - Business objectpublic void removeObjectInteractors()
removeObjectInteractors in interface IlpMutableInteractorManager
|
||||||||||
| PREV CLASS Documentation homepage NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||