ccc.client.presenters
Class CreateAliasPresenter

java.lang.Object
  extended by ccc.client.core.AbstractPresenter<CreateAlias,ResourceSummary>
      extended by ccc.client.presenters.CreateAliasPresenter
All Implemented Interfaces:
Editable, EventHandler<CommandType>

public class CreateAliasPresenter
extends AbstractPresenter<CreateAlias,ResourceSummary>
implements Editable

MVP Presenter for creating alias.

Author:
Civic Computing Ltd.

Constructor Summary
CreateAliasPresenter(CreateAlias view, ResourceSummary model)
          Constructor.
 
Method Summary
 void cancel()
          Discard the edits.
 void handle(Event<CommandType> event)
          Handle an event.
 void save()
          Confirm the edits.
 
Methods inherited from class ccc.client.core.AbstractPresenter
clearHandlers, dispose, getModel, getView
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAliasPresenter

public CreateAliasPresenter(CreateAlias view,
                            ResourceSummary model)
Constructor.

Parameters:
view - View implementation.
model - Model implementation.
Method Detail

cancel

public void cancel()
Discard the edits.

Specified by:
cancel in interface Editable

save

public void save()
Confirm the edits.

Specified by:
save in interface Editable

handle

public void handle(Event<CommandType> event)
Handle an event.

Specified by:
handle in interface EventHandler<CommandType>
Parameters:
event - The event to handle.


Copyright © 2010. All Rights Reserved.