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

java.lang.Object
  extended by org.hudsonci.maven.plugin.ui.gwt.configure.documents.internal.DocumentManagerLiaisonImpl
All Implemented Interfaces:
DocumentManagerLiaison

@Singleton
public class DocumentManagerLiaisonImpl
extends Object
implements DocumentManagerLiaison

Default implementation of DocumentManagerLiaison.

Since:
2.1.0
Author:
Jason Dillon

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.hudsonci.maven.plugin.ui.gwt.configure.documents.DocumentManagerLiaison
DocumentManagerLiaison.MessagesResource
 
Constructor Summary
DocumentManagerLiaisonImpl(com.google.gwt.event.shared.EventBus eventBus, DocumentRestService documentRestService, DocumentDataProvider documentDataProvider, SilkIcons icons, WaitPresenter waitWidget, ServiceFailureNotifier serviceFailureNotifier, DocumentManagerLiaison.MessagesResource messages)
           
 
Method Summary
 void add(Document document)
          Add a new document.
 Document create()
          Create a new temporal document.
 void fetchAll()
          Fetch all documents.
 DocumentDataProvider getDataProvider()
          Get the data-provider for document data.
 void remove(Document document)
          Remove an existing document.
 void save(Document document)
          Add or update the document based on its state.
 void update(Document document)
          Update an existing document.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentManagerLiaisonImpl

@Inject
public DocumentManagerLiaisonImpl(com.google.gwt.event.shared.EventBus eventBus,
                                         DocumentRestService documentRestService,
                                         DocumentDataProvider documentDataProvider,
                                         SilkIcons icons,
                                         WaitPresenter waitWidget,
                                         ServiceFailureNotifier serviceFailureNotifier,
                                         DocumentManagerLiaison.MessagesResource messages)
Method Detail

getDataProvider

public DocumentDataProvider getDataProvider()
Description copied from interface: DocumentManagerLiaison
Get the data-provider for document data.

Specified by:
getDataProvider in interface DocumentManagerLiaison

fetchAll

public void fetchAll()
Description copied from interface: DocumentManagerLiaison
Fetch all documents.

Specified by:
fetchAll in interface DocumentManagerLiaison

create

public Document create()
Description copied from interface: DocumentManagerLiaison
Create a new temporal document.

Specified by:
create in interface DocumentManagerLiaison

save

public void save(Document document)
Description copied from interface: DocumentManagerLiaison
Add or update the document based on its state.

Specified by:
save in interface DocumentManagerLiaison

add

public void add(Document document)
Description copied from interface: DocumentManagerLiaison
Add a new document.

Specified by:
add in interface DocumentManagerLiaison

update

public void update(Document document)
Description copied from interface: DocumentManagerLiaison
Update an existing document.

Specified by:
update in interface DocumentManagerLiaison

remove

public void remove(Document document)
Description copied from interface: DocumentManagerLiaison
Remove an existing document.

Specified by:
remove in interface DocumentManagerLiaison


Copyright © 2004-2011 Hudson. All Rights Reserved.