org.kuali.rice.krad.uif.view
Class MaintenanceView
java.lang.Object
org.kuali.rice.krad.uif.component.ConfigurableBase
org.kuali.rice.krad.uif.component.ComponentBase
org.kuali.rice.krad.uif.container.ContainerBase
org.kuali.rice.krad.uif.view.View
org.kuali.rice.krad.uif.view.FormView
org.kuali.rice.krad.uif.view.DocumentView
org.kuali.rice.krad.uif.view.MaintenanceView
- All Implemented Interfaces:
- Serializable, Component, Configurable, ScriptEventSupport, Container, 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.view.View |
addToClientSideState, assignComponentIds, getAbstractTypeClasses, getActionFlags, getAdditionalCssFiles, getAdditionalScriptFiles, getAppendOption, getApplicationFooter, getApplicationHeader, getAuthorizer, getBreadcrumbs, getClientSideState, getComponentPrototypes, getComponentsForLifecycle, getComponentTypeName, getCurrentPage, getCurrentPageId, getDefaultBindingObjectPath, getEditModes, getEntryPageId, getExpressionVariables, getFormClass, getGrowls, getIdSequence, getItems, getNavigation, getNextId, getPage, getPreLoadScript, getPresentationController, getSupportedComponents, getSupportsOnDocumentReady, getSupportsOnLoad, getSupportsOnSubmit, getTheme, getViewHelperService, getViewHelperServiceClassName, getViewIndex, getViewLabelFieldPropertyName, getViewMenuGrouping, getViewMenuLink, getViewName, getViewNamespaceCode, getViewRequestParameters, getViewStatus, getViewTypeName, index, isBreadcrumbsInApplicationHeader, isDialogMode, isFinal, isGrowlMessagingEnabled, isInitialized, isSinglePageView, isSupportsReadOnlyFieldsOverride, isTranslateCodes, isValidateDirty, performFinalize, setAbstractTypeClasses, setActionFlags, setAdditionalCssFiles, setAdditionalScriptFiles, setAppendOption, setApplicationFooter, setApplicationHeader, setAuthorizer, setAuthorizerClass, setBreadcrumbs, setBreadcrumbsInApplicationHeader, setClientSideState, setCurrentPageId, setDefaultBindingObjectPath, setDialogMode, setEditModes, setEntryPageId, setExpressionVariables, setFormClass, setGrowlMessagingEnabled, setGrowls, setIdSequence, setItems, setNavigation, setPage, setPreLoadScript, setPresentationController, setPresentationControllerClass, setSinglePageView, setSupportsReadOnlyFieldsOverride, setTheme, setTranslateCodes, setValidateDirty, setViewHelperServiceClassName, setViewLabelFieldPropertyName, setViewMenuGrouping, setViewMenuLink, setViewName, setViewNamespaceCode, setViewRequestParameters, setViewStatus, setViewTypeName |
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase |
getAdditionalMessageKeys, getAllInputFields, getErrorsField, getFooter, getHeader, getHelp, getInputFields, getInstructionalMessageField, getInstructionalText, getItemOrderingSequence, getLayoutManager, isFieldContainer, performApplyModel, setAdditionalMessageKeys, setErrorsField, setFieldContainer, setFooter, setHeader, setHelp, setInstructionalMessageField, setInstructionalText, setItemOrderingSequence, setLayoutManager, setRenderFooter, setRenderHeader |
Methods inherited from class org.kuali.rice.krad.uif.component.ComponentBase |
addStyleClass, appendToStyle, getAlign, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentSecurity, getComponentSecurityClass, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getEventCode, getFactoryId, 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, getPropertyReplacerComponents, getPropertyReplacers, getRefreshDiscloseMethodToCall, 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, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, isSkipInTabOrder, pushAllToContext, pushObjectToContext, pushToPropertyReplacerContext, setAlign, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setFinalizeMethodAdditionalArguments, setFinalizeMethodInvoker, setFinalizeMethodToCall, setHidden, setId, setOnBlurScript, setOnChangeScript, setOnClickScript, setOnCloseScript, setOnDblClickScript, setOnDocumentReadyScript, setOnFocusScript, setOnKeyDownScript, setOnKeyPressScript, setOnKeyUpScript, setOnLoadScript, setOnMouseDownScript, setOnMouseMoveScript, setOnMouseOutScript, setOnMouseOverScript, setOnMouseUpScript, setOnSubmitScript, setOnUnloadScript, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshDiscloseMethodToCall, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, 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.component.Component |
addStyleClass, appendToStyle, getColSpan, getComponentModifiers, getComponentOptions, getComponentOptionsJSString, getComponentSecurity, getConditionalRefresh, getConditionalRefreshConditionJs, getConditionalRefreshControlNames, getContext, getFactoryId, getFinalizeMethodAdditionalArguments, getFinalizeMethodInvoker, getFinalizeMethodToCall, getId, getOrder, getProgressiveDisclosureConditionJs, getProgressiveDisclosureControlNames, getProgressiveRender, getPropertyReplacerComponents, getPropertyReplacers, getRefreshWhenChanged, getRefreshWhenChangedControlNames, getRenderOutput, getRequired, getRowSpan, getStyle, getStyleClasses, getTemplate, getTitle, isHidden, isPersistInSession, isProgressiveRenderAndRefresh, isProgressiveRenderViaAJAX, isReadOnly, isRefresh, isRefreshedByAction, isRender, isResetDataOnRefresh, isSelfRendered, pushAllToContext, pushObjectToContext, setColSpan, setComponentModifiers, setComponentOptions, setComponentOptionsJSString, setComponentSecurity, setConditionalRefresh, setContext, setFactoryId, setHidden, setId, setOrder, setPersistInSession, setProgressiveRender, setProgressiveRenderAndRefresh, setProgressiveRenderViaAJAX, setPropertyReplacers, setReadOnly, setRefresh, setRefreshedByAction, setRefreshWhenChanged, setRender, setRenderOutput, setRequired, setResetDataOnRefresh, setRowSpan, setSelfRendered, setStyle, setStyleClasses, setTemplate, setTitle |
Methods inherited from interface org.kuali.rice.krad.uif.component.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, setOnDocumentReadyScript, setOnLoadScript |
MaintenanceView
public MaintenanceView()
performInitialization
public void performInitialization(View view,
Object model)
- The following initialization is performed:
- Set the abstractTypeClasses map for the maintenance object path
- Specified by:
performInitialization
in interface Component
- Overrides:
performInitialization
in class DocumentView
- Parameters:
view
- - view instance in which the component belongsmodel
- - object instance containing the view data- See Also:
ContainerBase.performInitialization(org.kuali.rice.krad.uif.view.View, java.lang.Object)
getDocumentEntryForView
protected MaintenanceDocumentEntry getDocumentEntryForView()
- Overrides to retrieve the a
MaintenanceDocumentEntry
based on the configured data object class
- Overrides:
getDocumentEntryForView
in class DocumentView
- Returns:
- MaintenanceDocumentEntry document entry (exception thrown if not found)
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 © 2005-2013 The Kuali Foundation. All Rights Reserved.