|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.user.client.ui.UIObject com.google.gwt.user.client.ui.Widget com.google.gwt.user.client.ui.Composite org.kuali.student.common.ui.client.mvc.Controller org.kuali.student.common.ui.client.configurable.mvc.LayoutController org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController org.kuali.student.lum.program.client.ProgramController org.kuali.student.lum.program.client.credential.CredentialController org.kuali.student.lum.program.client.credential.edit.CredentialEditController
public class CredentialEditController
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.user.client.ui.UIObject |
---|
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled |
Field Summary | |
---|---|
private KSButton |
cancelButton
|
private ProgramStatus |
previousState
|
private KSButton |
saveButton
|
Fields inherited from class org.kuali.student.lum.program.client.ProgramController |
---|
configurer, eventBus, initialized, programModel, programRemoteService, reloadMetadata, sideBar, statusLabel |
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController |
---|
menuViewMap, viewMenuItemMap |
Fields inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController |
---|
defaultView, name, startPopupView, startViewWindow, viewEnumMap, viewMap, viewType |
Fields inherited from class org.kuali.student.common.ui.client.mvc.Controller |
---|
context, NO_OP_CALLBACK, parentController |
Fields inherited from class com.google.gwt.user.client.ui.UIObject |
---|
DEBUG_ID_PREFIX |
Constructor Summary | |
---|---|
CredentialEditController(DataModel programModel,
ViewContext viewContext,
com.google.gwt.event.shared.HandlerManager eventBus)
Constructor. |
Method Summary | |
---|---|
private void |
bind()
|
protected void |
configureView()
|
protected void |
createNewVersionAndLoadModel(ModelRequestCallback<DataModel> callback,
ViewContext viewContext)
|
private void |
doCancel()
|
protected void |
doSave()
|
private void |
doSave(Callback<Boolean> okCallback)
|
protected void |
loadModel(ModelRequestCallback<DataModel> callback)
Loads data model from the server. |
void |
onModelLoadedEvent()
|
private void |
saveData(Callback<Boolean> okCallback)
|
private void |
throwAfterSaveEvent()
|
Methods inherited from class org.kuali.student.lum.program.client.credential.CredentialController |
---|
createProgramRemoteService |
Methods inherited from class org.kuali.student.lum.program.client.ProgramController |
---|
afterMetadataLoaded, beforeShow, beforeViewChange, createCommentPanel, fireUpdateEvent, getProgramModel, getProgramName, loadMetadata, loadMetadataCondition, requestModel, resetFieldInteractionFlag, resetModel, setHeaderTitle, setStatus, setViewContext |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.MenuSectionController |
---|
addButtonForView, addCommonButton, addCommonButton, addContentWidget, addMenu, addMenuItem, addSpecialMenuItem, addStartMenuItem, hideView, removeMenuNavigation, renderView, revealMenuItems, setContentInfo, setContentTitle, setContentWarning, setSideBarWidget, showNextViewOnMenu, showPrint, updateModel |
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController |
---|
addStartViewPopup, addView, asWidget, beforeHide, checkForErrors, clear, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getName, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, getViewsEnum, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showFirstView, showStartPopup, updateModelFromCurrentView, updateModelFromView |
Methods inherited from class org.kuali.student.common.ui.client.mvc.Controller |
---|
addApplicationEventHandler, clearViewContext, collectHistory, findController, fireApplicationEvent, fireNavEvents, fireNavigationEvent, getControllerId, getCurrentView, getCurrentViewEnum, getDefaultModelId, getHistoryToken, getParentController, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, showView, showView |
Methods inherited from class com.google.gwt.user.client.ui.Composite |
---|
getWidget, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, setWidget |
Methods inherited from class com.google.gwt.user.client.ui.Widget |
---|
addDomHandler, addHandler, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents |
Methods inherited from class com.google.gwt.user.client.ui.UIObject |
---|
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, toString, unsinkEvents |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.kuali.student.common.ui.client.configurable.mvc.layouts.ViewLayoutController |
---|
addStartViewPopup, addView, setDefaultView, showView |
Methods inherited from interface org.kuali.student.common.ui.client.mvc.history.HistorySupport |
---|
collectHistory, onHistoryEvent |
Field Detail |
---|
private final KSButton saveButton
private final KSButton cancelButton
private ProgramStatus previousState
Constructor Detail |
---|
public CredentialEditController(DataModel programModel, ViewContext viewContext, com.google.gwt.event.shared.HandlerManager eventBus)
programModel
- Method Detail |
---|
protected void configureView()
configureView
in class CredentialController
private void bind()
private void doCancel()
protected void doSave()
doSave
in class ProgramController
private void doSave(Callback<Boolean> okCallback)
private void saveData(Callback<Boolean> okCallback)
protected void loadModel(ModelRequestCallback<DataModel> callback)
ProgramController
loadModel
in class ProgramController
callback
- we have to invoke this callback when model is loaded or failed.protected void createNewVersionAndLoadModel(ModelRequestCallback<DataModel> callback, ViewContext viewContext)
private void throwAfterSaveEvent()
public void onModelLoadedEvent()
onModelLoadedEvent
in class ProgramController
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |