|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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
public class MaintenanceView
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
Field Summary |
---|
Fields inherited from interface org.kuali.rice.krad.uif.component.Ordered |
---|
INITIAL_ORDER_VALUE |
Fields inherited from interface org.springframework.core.Ordered |
---|
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Constructor Summary | |
---|---|
MaintenanceView()
|
Method Summary | |
---|---|
Class<?> |
getDataObjectClassName()
Class name for the object the maintenance document applies to |
protected MaintenanceDocumentEntry |
getDocumentEntryForView()
Overrides to retrieve the a MaintenanceDocumentEntry based on the configured data object class |
String |
getMaintenanceAction()
Indicates what maintenance action (new, edit, copy) was requested |
String |
getOldObjectBindingPath()
Gives the binding path to the old object (record being edited) to display for comparison |
void |
performInitialization(View view,
Object model)
The following initialization is performed: Set the abstractTypeClasses map for the maintenance object path |
void |
setDataObjectClassName(Class<?> dataObjectClassName)
Setter for the object class name |
void |
setMaintenanceAction(String maintenanceAction)
Setter for the maintenance action |
void |
setOldObjectBindingPath(String oldObjectBindingPath)
Setter for the old object binding path |
Methods inherited from class org.kuali.rice.krad.uif.view.DocumentView |
---|
getAttachmentTypesValuesFinderClass, getDocumentClass, isAllowsNoteAttachments, isAllowsNoteFYI, isDisplayTopicFieldInNotes, setAllowsNoteAttachments, setAllowsNoteFYI, setAttachmentTypesValuesFinderClass, setDisplayTopicFieldInNotes, setDocumentClass |
Methods inherited from class org.kuali.rice.krad.uif.view.FormView |
---|
getFormPostUrl, isRenderForm, isValidateClientSide, isValidateServerSide, setFormPostUrl, setRenderForm, setValidateClientSide, setValidateServerSide |
Methods inherited from class org.kuali.rice.krad.uif.container.ContainerBase |
---|
getComponentPrototypes, getDefaultItemPosition, getFooter, getHeader, getHeaderText, getHelp, getHelpTitle, getInstructionalMessage, getInstructionalText, getLayoutManager, getValidationMessages, setDefaultItemPosition, setFooter, setHeader, setHeaderText, setHelp, setInstructionalMessage, setInstructionalText, setLayoutManager, setRenderFooter, setRenderHeader, setTooltipOfComponent, setValidationMessages |
Methods inherited from class org.kuali.rice.krad.uif.component.ConfigurableBase |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
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.Configurable |
---|
getExpressionGraph, getPropertyExpression, getPropertyExpressions, getRefreshExpressionGraph, setExpressionGraph, setPropertyExpressions, setRefreshExpressionGraph |
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, setOnBlurScript, setOnLoadScript |
Constructor Detail |
---|
public MaintenanceView()
Method Detail |
---|
public void performInitialization(View view, Object model)
performInitialization
in interface Component
performInitialization
in class DocumentView
view
- - view instance in which the component belongsmodel
- - object instance containing the view dataContainerBase.performInitialization(org.kuali.rice.krad.uif.view.View, java.lang.Object)
protected MaintenanceDocumentEntry getDocumentEntryForView()
MaintenanceDocumentEntry
based on the configured data object class
getDocumentEntryForView
in class DocumentView
public Class<?> getDataObjectClassName()
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
public void setDataObjectClassName(Class<?> dataObjectClassName)
dataObjectClassName
- public String getOldObjectBindingPath()
public void setOldObjectBindingPath(String oldObjectBindingPath)
oldObjectBindingPath
- public String getMaintenanceAction()
public void setMaintenanceAction(String maintenanceAction)
maintenanceAction
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |