org.nakedobjects.plugins.headless.viewer
Class DomainObjectContainerHeadlessViewer
java.lang.Object
org.nakedobjects.metamodel.services.container.DomainObjectContainerDefault
org.nakedobjects.plugins.headless.viewer.DomainObjectContainerHeadlessViewer
- All Implemented Interfaces:
- DomainObjectContainer, RuntimeContextAware, HeadlessViewer
public class DomainObjectContainerHeadlessViewer
- extends DomainObjectContainerDefault
- implements HeadlessViewer
A combined DomainObjectContainer and HeadlessViewer.
| Methods inherited from class org.nakedobjects.metamodel.services.container.DomainObjectContainerDefault |
allInstances, allMatches, allMatches, allMatches, allMatches, commit, doCreateTransientInstance, firstMatch, firstMatch, firstMatch, firstMatch, flush, getRuntimeContext, getUser, informUser, isPersistent, isValid, newInstance, newPersistentInstance, newTransientInstance, objectChanged, persist, persistIfNotAlready, raiseError, remove, resolve, resolve, uniqueMatch, uniqueMatch, uniqueMatch, uniqueMatch, validate, warnUser |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainObjectContainerHeadlessViewer
public DomainObjectContainerHeadlessViewer()
view
public <T> T view(T domainObject)
- Specified by:
view in interface HeadlessViewer
view
public <T> T view(T domainObject,
HeadlessViewer.ExecutionMode mode)
- Specified by:
view in interface HeadlessViewer
isView
public boolean isView(java.lang.Object possibleView)
- Specified by:
isView in interface HeadlessViewer
getListeners
public java.util.List<InteractionListener> getListeners()
- Specified by:
getListeners in interface HeadlessViewer
addInteractionListener
public boolean addInteractionListener(InteractionListener listener)
- Specified by:
addInteractionListener in interface HeadlessViewer
removeInteractionListener
public boolean removeInteractionListener(InteractionListener listener)
- Specified by:
removeInteractionListener in interface HeadlessViewer
notifyListeners
public void notifyListeners(InteractionEvent interactionEvent)
- Specified by:
notifyListeners in interface HeadlessViewer
setRuntimeContext
public void setRuntimeContext(RuntimeContext runtimeContext)
- As per superclass, but also initializes the delegate
HeadlessViewer.
- Specified by:
setRuntimeContext in interface RuntimeContextAware- Overrides:
setRuntimeContext in class DomainObjectContainerDefault
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.