|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.client.core.AbstractPresenter<CreateUser,User>
ccc.client.presenters.CreateUserPresenter
public class CreateUserPresenter
A controller for user creation.
Constructor Summary | |
---|---|
CreateUserPresenter(CreateUser view)
Constructor. |
Method Summary | |
---|---|
void |
cancel()
Discard the edits. |
void |
handle(Event<CommandType> event)
Handle an event. |
protected void |
render()
Render this presenter. |
void |
save()
Confirm the edits. |
protected void |
unbind(User dto)
Extract data from the view into a DTO. |
protected boolean |
valid()
Check that the data in the view is valid. |
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 |
---|
public CreateUserPresenter(CreateUser view)
view
- The create user dialog this controller will manage.Method Detail |
---|
protected final void render()
public final void cancel()
cancel
in interface Editable
public void save()
save
in interface Editable
protected final boolean valid()
protected final void unbind(User dto)
dto
- The DTO that will receive the view's data.public void handle(Event<CommandType> event)
handle
in interface EventHandler<CommandType>
event
- The event to handle.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |