org.hudsonci.maven.plugin.ui.gwt.configure.documents.internal
Class DocumentDetailPresenterImpl

java.lang.Object
  extended by org.hudsonci.maven.plugin.ui.gwt.configure.documents.internal.DocumentDetailPresenterImpl
All Implemented Interfaces:
com.google.gwt.event.shared.EventHandler, DocumentDetailPresenter, DocumentAddedEvent.Handler, DocumentSelectedEvent.Handler, DocumentUpdatedEvent.Handler

@Singleton
public class DocumentDetailPresenterImpl
extends Object
implements DocumentDetailPresenter

Default implementation of DocumentDetailPresenter.

Since:
2.1.0
Author:
Jason Dillon

Constructor Summary
DocumentDetailPresenterImpl(DocumentDetailView view, DocumentManagerLiaison documentManagerLiaison)
           
 
Method Summary
 void doCancel()
           
 void doSave()
           
 DocumentDetailView getView()
           
 void onDocumentAdded(DocumentAddedEvent event)
           
 void onDocumentSelected(DocumentSelectedEvent event)
           
 void onDocumentUpdated(DocumentUpdatedEvent event)
           
 void setDocument(Document document)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentDetailPresenterImpl

@Inject
public DocumentDetailPresenterImpl(DocumentDetailView view,
                                          DocumentManagerLiaison documentManagerLiaison)
Method Detail

getView

public DocumentDetailView getView()
Specified by:
getView in interface DocumentDetailPresenter

setDocument

public void setDocument(Document document)
Specified by:
setDocument in interface DocumentDetailPresenter

onDocumentSelected

public void onDocumentSelected(DocumentSelectedEvent event)
Specified by:
onDocumentSelected in interface DocumentSelectedEvent.Handler

onDocumentUpdated

public void onDocumentUpdated(DocumentUpdatedEvent event)
Specified by:
onDocumentUpdated in interface DocumentUpdatedEvent.Handler

onDocumentAdded

public void onDocumentAdded(DocumentAddedEvent event)
Specified by:
onDocumentAdded in interface DocumentAddedEvent.Handler

doSave

public void doSave()
Specified by:
doSave in interface DocumentDetailPresenter

doCancel

public void doCancel()
Specified by:
doCancel in interface DocumentDetailPresenter


Copyright © 2004-2011 Hudson. All Rights Reserved.