org.kuali.rice.krad.uif.container
Class MaintenanceView
java.lang.Object
org.kuali.rice.krad.uif.core.ComponentBase
org.kuali.rice.krad.uif.container.ContainerBase
org.kuali.rice.krad.uif.container.View
org.kuali.rice.krad.uif.container.FormView
org.kuali.rice.krad.uif.container.DocumentView
org.kuali.rice.krad.uif.container.MaintenanceView
- All Implemented Interfaces:
- Serializable, Container, Component, ScriptEventSupport, org.springframework.core.Ordered
public class MaintenanceView
- extends DocumentView
View type for Maintenance documents
Supports primary display for a new maintenance record, in which case the
fields are display for populating the new record, and an edit maintenance
record, which is a comparison view with the old record read-only on the left
side and the new record (changed record) on the right side
The MaintenanceView
provides the interface for the maintenance
framework. It works with the Maintainable
service and
maintenance controller.
Maintenance views are primarily configured by the object class they are
associated with. This provides the default dictionary information for the
fields. If more than one maintenance view is needed for the same object
class, the view name can be used to further identify an unique view
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.kuali.rice.krad.uif.container.View |
determineViewLabelPropertyName, getAbstractTypeClasses, getActionFlags, getAdditionalCssFiles, getAdditionalScriptFiles, getAppendOption, getAuthorizerClass, getBreadcrumbs, getComponentTypeName, getCurrentPage, getCurrentPageId, getDefaultBindingObjectPath, getEditModes, getEntryPageId, getExpressionVariables, getFormClass, getGrowlsWidget, getItems, getNavigation, getNestedComponents, getPage, getPresentationControllerClass, getReturnTarget, getSupportedComponents, getSupportsOnDocumentReady, getSupportsOnLoad, getSupportsOnSubmit, getViewHelperService, getViewHelperServiceClassName, getViewIndex, getViewLabelFieldBindingInfo, getViewLabelFieldPropertyName, getViewMenuGrouping, getViewMenuLink, getViewName, getViewRequestParameters, getViewStatus, getViewTypeName, index, isDialogMode, isFinal, isGrowlMessagingEnabled, isInitialized, isSinglePageView, isTranslateCodes, isValidateDirty, performFinalize, setAbstractTypeClasses, setActionFlags, setAdditionalCssFiles, setAdditionalScriptFiles, setAppendOption, setAuthorizerClass, setBreadcrumbs, setCurrentPageId, setDefaultBindingObjectPath, setDialogMode, setEditModes, setEntryPageId, setExpressionVariables, setFormClass, setGrowlMessagingEnabled, setGrowlsWidget, setItems, setNavigation, setPage, setPresentationControllerClass, setReturnTarget, setSinglePageView, setTranslateCodes, setValidateDirty, setViewHelperServiceClassName, setViewLabelFieldBindingInfo, setViewLabelFieldPropertyName, setViewMenuGrouping, setViewMenuLink, setViewName, setViewRequestParameters, setViewStatus, setViewTypeName |
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase |
getAdditionalMessageKeys, getAttributeFields, getErrorsField, getFooter, getHeader, getHelp, getItemOrderingSequence, getLayoutManager, getSummary, getSummaryMessageField, isFieldContainer, performApplyModel, setAdditionalMessageKeys, setErrorsField, setFieldContainer, setFooter, setHeader, setHelp, setItemOrderingSequence, setLayoutManager, setRenderFooter, setRenderHeader, setSummary, setSummaryMessageField |
Methods inherited from class org.kuali.rice.krad.uif.core.ComponentBase |
addStyleClass, appendToStyle, getAlign, getBaseId, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getConditionalColSpan, getConditionalReadOnly, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getConditionalRender, getConditionalRequired, getConditionalRowSpan, getContext, getEventCode, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertiesForReferenceCopy, getPropertyExpressions, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getStyleClassesAsString, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnUnload, getTemplate, getTitle, getValign, getWidth, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRender, isSelfRendered, isSkipInTabOrder, pushObjectToContext, setAlign, setBaseId, setColSpan, setComponentModifiers, setComponentOptions, setConditionalColSpan, setConditionalReadOnly, setConditionalRefresh, setConditionalRender, setConditionalRequired, setConditionalRowSpan, setContext, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyExpressions, setPropertyReplacers, setReadOnly, setRefresh, setRefreshWhenChanged, setRender, setRender, setRenderOutput, setRequired, setRowSpan, setSelfRendered, setSkipInTabOrder, setStyle, setStyleClasses, setTemplate, setTitle, setValign, setWidth |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.core.Component |
addStyleClass, appendToStyle, getBaseId, getColSpan, getComponentModifiers, getComponentOptions, getConditionalReadOnly, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getConditionalRender, getContext, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertiesForReferenceCopy, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRender, isSelfRendered, pushObjectToContext, setBaseId, setColSpan, setComponentModifiers, setComponentOptions, setConditionalReadOnly, setConditionalRefresh, setConditionalRender, setContext, setHidden, setId, setOrder, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setRowSpan, setSelfRendered, setStyle, setStyleClasses, setTemplate, setTitle |
Methods inherited from interface org.kuali.rice.krad.uif.core.ScriptEventSupport |
getOnBlurScript, getOnChangeScript, getOnClickScript, getOnCloseScript, getOnDblClickScript, getOnDocumentReadyScript, getOnFocusScript, getOnKeyDownScript, getOnKeyPressScript, getOnKeyUpScript, getOnLoadScript, getOnMouseDownScript, getOnMouseMoveScript, getOnMouseOutScript, getOnMouseOverScript, getOnMouseUpScript, getOnSubmitScript, getOnUnloadScript, getSupportsOnBlur, getSupportsOnChange, getSupportsOnClick, getSupportsOnClose, getSupportsOnDblClick, getSupportsOnFocus, getSupportsOnKeyDown, getSupportsOnKeyPress, getSupportsOnKeyUp, getSupportsOnMouseDown, getSupportsOnMouseMove, getSupportsOnMouseOut, getSupportsOnMouseOver, getSupportsOnMouseUp, getSupportsOnUnload, setOnBlurScript |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
LOG
private static final org.apache.log4j.Logger LOG
dataObjectClassName
private Class<?> dataObjectClassName
oldObjectBindingPath
private String oldObjectBindingPath
maintenanceAction
@RequestParameter
private String maintenanceAction
MaintenanceView
public MaintenanceView()
performInitialization
public void performInitialization(View view)
- The following initialization is performed:
- Retrieve the maintenance document entry for defaults and context
- Set the abstractTypeClasses map for the maintenance object path
- Specified by:
performInitialization
in interface Component
- Overrides:
performInitialization
in class View
- Parameters:
view
- - view instance in which the component belongs- See Also:
ContainerBase.performInitialization(org.kuali.rice.krad.uif.container.View)
getDataObjectClassName
public Class<?> getDataObjectClassName()
- Class name for the object the maintenance document applies to
The object class name is used to pick up a dictionary entry which will
feed the attribute field definitions and other configuration. In addition
it is used to configure the Maintainable
which will carry
out the maintenance action
- Returns:
- Class> maintenance object class
setDataObjectClassName
public void setDataObjectClassName(Class<?> dataObjectClassName)
- Setter for the object class name
- Parameters:
dataObjectClassName
-
getOldObjectBindingPath
public String getOldObjectBindingPath()
- Gives the binding path to the old object (record being edited) to display
for comparison
- Returns:
- String old object binding path
setOldObjectBindingPath
public void setOldObjectBindingPath(String oldObjectBindingPath)
- Setter for the old object binding path
- Parameters:
oldObjectBindingPath
-
getMaintenanceAction
public String getMaintenanceAction()
- Indicates what maintenance action (new, edit, copy) was
requested
- Returns:
- String maintenance action
setMaintenanceAction
public void setMaintenanceAction(String maintenanceAction)
- Setter for the maintenance action
- Parameters:
maintenanceAction
-
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.