org.kuali.student.lum.lu.ui.dependency.client.controllers
Class DependencyAnalysisController

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.google.gwt.user.client.ui.Composite
              extended by org.kuali.student.common.ui.client.mvc.Controller
                  extended by org.kuali.student.common.ui.client.configurable.mvc.LayoutController
                      extended by org.kuali.student.common.ui.client.configurable.mvc.layouts.BasicLayout
                          extended by org.kuali.student.lum.lu.ui.dependency.client.controllers.DependencyAnalysisController
All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers, com.google.gwt.event.shared.HasHandlers, com.google.gwt.user.client.EventListener, com.google.gwt.user.client.ui.IsWidget, ViewLayoutController, BreadcrumbSupport, HistorySupport, View, ReportExport, RequiresAuthorization

public class DependencyAnalysisController
extends BasicLayout
implements RequiresAuthorization


Nested Class Summary
static class DependencyAnalysisController.DependencyViews
           
 
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
 
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
 
Fields inherited from interface org.kuali.student.common.ui.client.reporting.ReportExport
exportTemplateName
 
Constructor Summary
DependencyAnalysisController(String controllerId)
           
 
Method Summary
 void checkAuthorization(AuthorizationCallback authCallback)
           
 DataModel getExportDataModel()
          This method needs to be implemented on every controller that want's to export the data
 List<ExportElement> getExportElementsFromView()
          This method returns array of ExportElements which represent the elements on the view that must be exported
 String getExportTemplateName()
          This overridden method only needs to be implemented if the Generic Export reports has to be overwritten for a particular COntroller.
 String getName()
          This overridden method return the view name when the controller name is null.
 boolean isAuthorizationRequired()
           
 boolean isExportButtonActive()
          This method needs to be implemented only on views that want the export button to display.
 void setAuthorizationRequired(boolean required)
           
 void showExport(boolean show)
           
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.layouts.BasicLayout
hideView, renderView, updateModel
 
Methods inherited from class org.kuali.student.common.ui.client.configurable.mvc.LayoutController
addStartViewPopup, addView, asWidget, beforeHide, beforeShow, beforeViewChange, checkForErrors, clear, clearAllWarnings, collectBreadcrumbNames, findParentLayout, getController, getDefaultView, getStartPopup, getStartPopupView, getView, getViewEnum, getViewEnumValue, isStartViewShowing, isValid, isValid, setController, setDefaultView, setName, setViewEnum, showDefaultView, showFirstView, showStartPopup, showWarnings, updateModelFromCurrentView, updateModelFromView
 
Methods inherited from class org.kuali.student.common.ui.client.mvc.Controller
addApplicationEventHandler, collectHistory, doReportExport, findController, fireApplicationEvent, fireNavigationEvent, getCurrentView, getCurrentViewEnum, getDefaultModelId, getHistoryToken, getParentController, getView, getViewContext, onHistoryEvent, registerModel, requestModel, requestModel, requestModel, resetCurrentView, setCurrentViewEnum, setDefaultModelId, setParentController, setViewContext, 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
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidgetOrNull, createHandlerManager, 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, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, 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
showView
 
Methods inherited from interface org.kuali.student.common.ui.client.mvc.history.HistorySupport
collectHistory, onHistoryEvent
 

Constructor Detail

DependencyAnalysisController

public DependencyAnalysisController(String controllerId)
Method Detail

showExport

public void showExport(boolean show)
Specified by:
showExport in interface View
Overrides:
showExport in class LayoutController

isExportButtonActive

public boolean isExportButtonActive()
Description copied from interface: View
This method needs to be implemented only on views that want the export button to display. The default implementation is not to display the export button

Specified by:
isExportButtonActive in interface View
Overrides:
isExportButtonActive in class LayoutController
Returns:

getExportDataModel

public DataModel getExportDataModel()
Description copied from interface: ReportExport
This method needs to be implemented on every controller that want's to export the data

Specified by:
getExportDataModel in interface ReportExport
Overrides:
getExportDataModel in class Controller
Returns:

getExportElementsFromView

public List<ExportElement> getExportElementsFromView()
Description copied from interface: ReportExport
This method returns array of ExportElements which represent the elements on the view that must be exported

Specified by:
getExportElementsFromView in interface ReportExport
Overrides:
getExportElementsFromView in class Controller
Returns:

getExportTemplateName

public String getExportTemplateName()
Description copied from interface: ReportExport
This overridden method only needs to be implemented if the Generic Export reports has to be overwritten for a particular COntroller.

Specified by:
getExportTemplateName in interface ReportExport
Overrides:
getExportTemplateName in class Controller
See Also:
ReportExport.getExportTemplateName()

getName

public String getName()
This overridden method return the view name when the controller name is null.

Specified by:
getName in interface View
Overrides:
getName in class LayoutController
Returns:
See Also:
LayoutController.getName()

isAuthorizationRequired

public boolean isAuthorizationRequired()
Specified by:
isAuthorizationRequired in interface RequiresAuthorization

setAuthorizationRequired

public void setAuthorizationRequired(boolean required)
Specified by:
setAuthorizationRequired in interface RequiresAuthorization

checkAuthorization

public void checkAuthorization(AuthorizationCallback authCallback)
Specified by:
checkAuthorization in interface RequiresAuthorization


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.