Uses of Interface
org.kuali.rice.krad.uif.view.ViewModel
Packages that use ViewModel
Package
Description
Data Dictionary validation objects.
-
Uses of ViewModel in org.kuali.rice.krad.datadictionary.validation
Constructors in org.kuali.rice.krad.datadictionary.validation with parameters of type ViewModelModifierConstructorDescriptionConstructor for ViewAttributeValueReader, the View must already be indexed and the InputFields must have already be initialized for this reader to work properly -
Uses of ViewModel in org.kuali.rice.krad.document
Methods in org.kuali.rice.krad.document with parameters of type ViewModelModifier and TypeMethodDescriptionbooleanDocumentViewAuthorizerBase.canEditView(View view, ViewModel model, Person user) Checks for an edit view permission for the view id, and if found verifies the user has that permissionbooleanDocumentViewPresentationControllerBase.canEditView(View view, ViewModel model) Verify the document can be edited in addition to the viewbooleanTransactionalDocumentViewAuthorizerBase.canEditView(View view, ViewModel model, Person user) Checks for an edit view permission for the view id, and if found verifies the user has that permissionbooleanDocumentViewAuthorizerBase.canOpenView(View view, ViewModel model, Person user) Checks for an open view permission for the view id, and if found verifies the user has that permissionbooleanDocumentViewAuthorizerBase.canUnmaskField(View view, ViewModel model, DataField field, String propertyName, Person user) Checks whether the mask authorization exists for the given property and if so whether the given user has the ability to unmask the valueDocumentViewAuthorizerBase.getActionFlags(View view, ViewModel model, Person user, Set<String> actions) Returns the set of action flags that are authorized for the given userprotected booleanDocumentViewAuthorizerBase.isInitiator(ViewModel model, Person user) Checks if the user is the initiator for the current document -
Uses of ViewModel in org.kuali.rice.krad.inquiry
Methods in org.kuali.rice.krad.inquiry with parameters of type ViewModelModifier and TypeMethodDescriptionbooleanInquiryViewAuthorizerBase.canOpenView(View view, ViewModel model, Person user) Augmenting the base Open View check with an additional check against the KR-NS / Inquire Into Records permission template. -
Uses of ViewModel in org.kuali.rice.krad.keyvalues
Methods in org.kuali.rice.krad.keyvalues with parameters of type ViewModelModifier and TypeMethodDescriptionAdHocActionRequestCodesValuesFinder.getKeyValues(ViewModel model) -
Uses of ViewModel in org.kuali.rice.krad.lookup
Classes in org.kuali.rice.krad.lookup that implement ViewModelMethods in org.kuali.rice.krad.lookup with parameters of type ViewModelModifier and TypeMethodDescriptionbooleanLookupViewAuthorizerBase.canOpenView(View view, ViewModel model, Person user) Override to check the for permissions of type 'Look Up Records' in addition to the open view check done in super -
Uses of ViewModel in org.kuali.rice.krad.maintenance
Methods in org.kuali.rice.krad.maintenance with parameters of type ViewModelModifier and TypeMethodDescriptionprotected booleanMaintainableImpl.performAddLineValidation(ViewModel viewModel, Object newLine, String collectionId, String collectionPath) voidMaintainableImpl.processAfterAddLine(ViewModel viewModel, Object addLine, String collectionId, String collectionPath, boolean isValidLine) In the case of edit maintenance adds a new blank line to the old side.voidMaintainableImpl.processAfterDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex) In the case of edit maintenance deleted the item on the old side. -
Uses of ViewModel in org.kuali.rice.krad.service
Methods in org.kuali.rice.krad.service with parameters of type ViewModelModifier and TypeMethodDescriptionViewValidationService.validateView(ViewModel model) This is the main validation method that should be used when validating Views Validates the view based on the model passed in, this will correctly use previousView by default as it automatically contains the generated data the validation requires.ViewValidationService.validateView(ViewModel model, String forcedValidationState) Validate the view against the specific validationState instead of the default (current state).ViewValidationService.validateViewAgainstNextState(ViewModel model) Validate the view against the next state based on the order of the states in the views StateMapping.voidViewValidationService.validateViewSimulation(ViewModel model) Simulate view validation - this will run all validations against all states from the current state to the last state in the list of states in the view's stateMapping.voidViewValidationService.validateViewSimulation(ViewModel model, String untilState) Simulate view validation - this will run all validations against all states from the current state to the untilState specified in the list of states in the view's stateMapping. -
Uses of ViewModel in org.kuali.rice.krad.uif.container
Methods in org.kuali.rice.krad.uif.container with parameters of type ViewModelModifier and TypeMethodDescriptionprotected booleanCollectionGroupLineBuilder.checkEditLineAuthorizationAndPresentationLogic(CollectionGroup collectionGroup, ViewModel model, Object currentLine) Invokes the view's configured authorizer and presentation controller to determine if the user has permission to edit the line (if a permission has been established). -
Uses of ViewModel in org.kuali.rice.krad.uif.container.collections
Methods in org.kuali.rice.krad.uif.container.collections that return ViewModelModifier and TypeMethodDescriptionLineBuilderContext.getModel()Object containing the view's data.Methods in org.kuali.rice.krad.uif.container.collections with parameters of type ViewModelConstructors in org.kuali.rice.krad.uif.container.collections with parameters of type ViewModelModifierConstructorDescriptionLineBuilderContext(int lineIndex, Object currentLine, String bindingPath, boolean bindToForm, ViewModel model, CollectionGroup collectionGroup, List<? extends Component> lineActions) Constructor.LineBuilderContext(int lineIndex, Object currentLine, String bindingPath, boolean bindToForm, ViewModel model, CollectionGroup collectionGroup, List<? extends Component> lineActions, List<DialogGroup> lineDialogs) Constructor. -
Uses of ViewModel in org.kuali.rice.krad.uif.control
Methods in org.kuali.rice.krad.uif.control with parameters of type ViewModelModifier and TypeMethodDescriptionUifKeyValuesFinder.getKeyValues(ViewModel model) Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the optionsUifKeyValuesFinder.getKeyValues(ViewModel model, InputField field) Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the optionsUifKeyValuesFinderBase.getKeyValues(ViewModel model) Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the optionsUifKeyValuesFinderBase.getKeyValues(ViewModel model, InputField field) Builds a list of key values representations for valid value selections using the given view model to retrieve values from other fields and conditionally building the options -
Uses of ViewModel in org.kuali.rice.krad.uif.layout.collections
Methods in org.kuali.rice.krad.uif.layout.collections with parameters of type ViewModelModifier and TypeMethodDescriptionprotected static voidDataTablesPagingHelper.applyTableJsonSort(List<Object> modelCollection, List<ColumnSort> oldColumnSorts, List<ColumnSort> newColumnSorts, CollectionGroup collectionGroup, ViewModel form, View view) Sort the given modelCollection (in place) according to the specified columnSorts.static voidDataTablesPagingHelper.processPagingRequest(View view, ViewModel form, CollectionGroup collectionGroup, DataTablesPagingHelper.DataTablesInputs dataTablesInputs) -
Uses of ViewModel in org.kuali.rice.krad.uif.mock
Classes in org.kuali.rice.krad.uif.mock that implement ViewModel -
Uses of ViewModel in org.kuali.rice.krad.uif.service
Methods in org.kuali.rice.krad.uif.service with parameters of type ViewModelModifier and TypeMethodDescriptionvoidViewHelperService.addCustomContainerComponents(ViewModel model, Container container) Hook for creating new components with code and adding them to a containervoidViewHelperService.processAfterAddLine(ViewModel model, Object addLine, String collectionId, String collectionPath, boolean isValidLine) Hook for service overrides to process the new collection line after it has been added to the collectionvoidViewHelperService.processAfterDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex) Hook for service overrides to process the collection line after it has been deletedvoidViewHelperService.processAfterEditLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the edit collection line after it has been validatedvoidViewHelperService.processAfterSaveLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the save collection line after it has been validatedvoidViewHelperService.processAndAddLineObject(ViewModel viewModel, Object newLine, String collectionId, String collectionPath) voidViewHelperService.processBeforeAddLine(ViewModel model, Object addLine, String collectionId, String collectionPath) Hook for service overrides to process the new collection line before it is added to the collectionvoidViewHelperService.processBeforeEditLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the edit collection line before it is validatedvoidViewHelperService.processBeforeSaveLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the save collection line before it is validatedvoidViewHelperService.processCollectionAddBlankLine(ViewModel model, String collectionId, String collectionPath) Adds a blank line to the collectionvoidViewHelperService.processCollectionAddLine(ViewModel model, String collectionId, String collectionPath) Invoked when the add line action is chosen for a collection.voidViewHelperService.processCollectionCloseEditLineDialog(ViewModel model, String collectionId, String collectionPath, int selectedLineIndex) Invoked when the close edit line dialog action is chosen for a collection.voidViewHelperService.processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex) Invoked when the delete line action is chosen for a collection.voidViewHelperService.processCollectionEditLine(ViewModel model, CollectionControllerServiceImpl.CollectionActionParameters parameters) Invoked when the edit line action is chosen for a collection.voidViewHelperService.processCollectionRetrieveEditLineDialog(ViewModel model, String collectionId, String collectionPath, int selectedLineIndex) Invoked when the retrieve edit line dialog action is chosen for a collection.voidViewHelperService.processCollectionSaveLine(ViewModel model, CollectionControllerServiceImpl.CollectionActionParameters parameters) Invoked when the save line action is chosen for a collection.voidViewHelperService.processMultipleValueLookupResults(ViewModel model, String collectionId, String collectionPath, String multiValueReturnFields, String lookupResultValues) Process the results returned from a multi-value lookup populating the lines for the collection given by the path -
Uses of ViewModel in org.kuali.rice.krad.uif.service.impl
Methods in org.kuali.rice.krad.uif.service.impl with parameters of type ViewModelModifier and TypeMethodDescriptionvoidViewHelperServiceImpl.addCustomContainerComponents(ViewModel model, Container container) Hook for creating new components with code and adding them to a containerprotected booleanDocumentViewHelperServiceImpl.performAddLineValidation(ViewModel model, Object addLine, String collectionId, String collectionPath) Performs validation on the new collection line before it is added to the corresponding collection.protected booleanViewHelperServiceImpl.performAddLineValidation(ViewModel viewModel, Object newLine, String collectionId, String collectionPath) Performs validation on the new collection line before it is added to the corresponding collection.protected booleanViewHelperServiceImpl.performDeleteLineValidation(ViewModel model, String collectionId, String collectionPath, Object deleteLine) Performs validation on the collection line before it is removed from the corresponding collection.voidViewHelperServiceImpl.processAfterAddLine(ViewModel model, Object lineObject, String collectionId, String collectionPath, boolean isValidLine) Hook for service overrides to process the new collection line after it has been added to the collectionvoidViewHelperServiceImpl.processAfterDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex) Hook for service overrides to process the collection line after it has been deletedvoidViewHelperServiceImpl.processAfterEditLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the edit collection line after it has been validatedvoidViewHelperServiceImpl.processAfterSaveLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the save collection line after it has been validatedvoidViewHelperServiceImpl.processAndAddLineObject(ViewModel viewModel, Object newLine, String collectionId, String collectionPath) Do all processing related to adding a line: calls processBeforeAddLine, performAddLineValidation, addLine, processAfterAddLinevoidViewHelperServiceImpl.processBeforeAddLine(ViewModel model, Object addLine, String collectionId, String collectionPath) Hook for service overrides to process the new collection line before it is added to the collectionvoidViewHelperServiceImpl.processBeforeEditLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the edit collection line before it is validatedvoidViewHelperServiceImpl.processBeforeSaveLine(ViewModel model, Object lineObject, String collectionId, String collectionPath) Hook for service overrides to process the save collection line before it is validatedvoidViewHelperServiceImpl.processCollectionAddBlankLine(ViewModel model, String collectionId, String collectionPath) Adds a blank line to the collectionvoidViewHelperServiceImpl.processCollectionAddLine(ViewModel model, String collectionId, String collectionPath) Invoked when the add line action is chosen for a collection.voidViewHelperServiceImpl.processCollectionCloseEditLineDialog(ViewModel model, String collectionId, String collectionPath, int selectedLineIndex) Invoked when the close edit line dialog action is chosen for a collection.voidViewHelperServiceImpl.processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex) Invoked when the delete line action is chosen for a collection.voidViewHelperServiceImpl.processCollectionEditLine(ViewModel model, CollectionControllerServiceImpl.CollectionActionParameters parameterData) Invoked when the edit line action is chosen for a collection.voidViewHelperServiceImpl.processCollectionRetrieveEditLineDialog(ViewModel model, String collectionId, String collectionPath, int selectedLineIndex) Invoked when the retrieve edit line dialog action is chosen for a collection.voidViewHelperServiceImpl.processCollectionSaveLine(ViewModel model, CollectionControllerServiceImpl.CollectionActionParameters parameterData) Invoked when the save line action is chosen for a collection.voidViewHelperServiceImpl.processMultipleValueLookupResults(ViewModel model, String collectionId, String collectionPath, String multiValueReturnFields, String lookupResultValues) Process the results returned from a multi-value lookup populating the lines for the collection given by the path -
Uses of ViewModel in org.kuali.rice.krad.uif.util
Constructors in org.kuali.rice.krad.uif.util with parameters of type ViewModelModifierConstructorDescriptionMultiColumnComparator(List<Object> modelCollection, CollectionGroup collectionGroup, List<ColumnSort> columnSorts, ViewModel form, View view) Constructs a MultiColumnComparator instance -
Uses of ViewModel in org.kuali.rice.krad.uif.view
Methods in org.kuali.rice.krad.uif.view with parameters of type ViewModelModifier and TypeMethodDescriptionbooleanViewAuthorizer.canEditField(View view, ViewModel model, Field field, String propertyName, Person user) booleanViewAuthorizerBase.canEditField(View view, ViewModel model, Field field, String propertyName, Person user) booleanViewPresentationController.canEditField(View view, ViewModel model, Field field, String propertyName) Determines if the given field within the view is allowed to be editedbooleanViewPresentationControllerBase.canEditField(View view, ViewModel model, Field field, String propertyName) booleanbooleanViewAuthorizerBase.canEditGroup(View view, ViewModel model, Group group, String groupId, Person user) booleanViewPresentationController.canEditGroup(View view, ViewModel model, Group group, String groupId) booleanViewPresentationControllerBase.canEditGroup(View view, ViewModel model, Group group, String groupId) booleanViewAuthorizer.canEditLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Person user) booleanViewAuthorizerBase.canEditLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Person user) booleanViewPresentationController.canEditLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line) booleanViewPresentationControllerBase.canEditLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line) booleanViewAuthorizer.canEditLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName, Person user) booleanViewAuthorizerBase.canEditLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName, Person user) booleanViewPresentationController.canEditLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName) booleanViewPresentationControllerBase.canEditLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName) booleanViewAuthorizer.canEditView(View view, ViewModel model, Person user) Determines if the given user is authorized to edit the given viewbooleanViewAuthorizerBase.canEditView(View view, ViewModel model, Person user) Checks for an edit view permission for the view id, and if found verifies the user has that permissionbooleanViewPresentationController.canEditView(View view, ViewModel model) Determines if the the given view and data is allowed to be editedbooleanViewPresentationControllerBase.canEditView(View view, ViewModel model) booleanViewAuthorizer.canEditWidget(View view, ViewModel model, Widget widget, String widgetId, Person user) booleanViewAuthorizerBase.canEditWidget(View view, ViewModel model, Widget widget, String widgetId, Person user) booleanViewPresentationController.canEditWidget(View view, ViewModel model, Widget widget, String widgetId) booleanViewPresentationControllerBase.canEditWidget(View view, ViewModel model, Widget widget, String widgetId) booleanViewAuthorizer.canOpenView(View view, ViewModel model, Person user) Determines if the given user is authorized to open the given viewbooleanViewAuthorizerBase.canOpenView(View view, ViewModel model, Person user) Checks for an open view permission for the view id, and if found verifies the user has that permissionbooleanViewAuthorizer.canPartialUnmaskField(View view, ViewModel model, DataField field, String propertyName, Person user) Checks whether the partial mask authorization exists for the given property and if so whether the given user has the ability to unmask the valuebooleanViewAuthorizerBase.canPartialUnmaskField(View view, ViewModel model, DataField field, String propertyName, Person user) booleanViewAuthorizer.canPerformAction(View view, ViewModel model, Action action, String actionEvent, String actionId, Person user) booleanViewAuthorizerBase.canPerformAction(View view, ViewModel model, Action action, String actionEvent, String actionId, Person user) booleanViewPresentationController.canPerformAction(View view, ViewModel model, Action action, String actionEvent, String actionId) booleanViewPresentationControllerBase.canPerformAction(View view, ViewModel model, Action action, String actionEvent, String actionId) booleanViewAuthorizer.canPerformLineAction(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Action action, String actionEvent, String actionId, Person user) booleanViewAuthorizerBase.canPerformLineAction(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Action action, String actionEvent, String actionId, Person user) booleanViewPresentationController.canPerformLineAction(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Action action, String actionEvent, String actionId) booleanViewPresentationControllerBase.canPerformLineAction(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Action action, String actionEvent, String actionId) booleanViewAuthorizer.canUnmaskField(View view, ViewModel model, DataField field, String propertyName, Person user) Checks whether the mask authorization exists for the given property and if so whether the given user has the ability to unmask the valuebooleanViewAuthorizerBase.canUnmaskField(View view, ViewModel model, DataField field, String propertyName, Person user) booleanViewAuthorizer.canViewField(View view, ViewModel model, Field field, String propertyName, Person user) booleanViewAuthorizerBase.canViewField(View view, ViewModel model, Field field, String propertyName, Person user) booleanViewPresentationController.canViewField(View view, ViewModel model, Field field, String propertyName) Determines if the given field within the view is allowed to be viewedbooleanViewPresentationControllerBase.canViewField(View view, ViewModel model, Field field, String propertyName) booleanbooleanViewAuthorizerBase.canViewGroup(View view, ViewModel model, Group group, String groupId, Person user) booleanViewPresentationController.canViewGroup(View view, ViewModel model, Group group, String groupId) booleanViewPresentationControllerBase.canViewGroup(View view, ViewModel model, Group group, String groupId) booleanViewAuthorizer.canViewLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Person user) booleanViewAuthorizerBase.canViewLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Person user) booleanViewPresentationController.canViewLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line) booleanViewPresentationControllerBase.canViewLine(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line) booleanViewAuthorizer.canViewLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName, Person user) booleanViewAuthorizerBase.canViewLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName, Person user) booleanViewPresentationController.canViewLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName) booleanViewPresentationControllerBase.canViewLineField(View view, ViewModel model, CollectionGroup collectionGroup, String collectionPropertyName, Object line, Field field, String propertyName) booleanViewAuthorizer.canViewWidget(View view, ViewModel model, Widget widget, String widgetId, Person user) booleanViewAuthorizerBase.canViewWidget(View view, ViewModel model, Widget widget, String widgetId, Person user) booleanViewPresentationController.canViewWidget(View view, ViewModel model, Widget widget, String widgetId) booleanViewPresentationControllerBase.canViewWidget(View view, ViewModel model, Widget widget, String widgetId) booleanViewPresentationController.fieldIsRequired(View view, ViewModel model, Field field, String propertyName) Determines if a value is required to be present for the given field (used to indicate in the client the field must be completed)booleanViewPresentationControllerBase.fieldIsRequired(View view, ViewModel model, Field field, String propertyName) Returns the set of action flags that are authorized for the given userprotected ObjectViewAuthorizerBase.getDataObjectContext(View view, ViewModel model) Retrieves the object from the model that is used as the context for permission checksReturns the set of edit modes that are authorized for the given userprotected booleanViewAuthorizerBase.isAuthorizedByTemplate(View view, Component component, ViewModel model, String permissionTemplateName, Person user, Map<String, String> additionalPermissionDetails, Map<String, String> additionalRoleQualifications, boolean checkPermissionExistence) Performs a permission check for the given template name in the context of the given view and component -
Uses of ViewModel in org.kuali.rice.krad.web.bind
Constructors in org.kuali.rice.krad.web.bind with parameters of type ViewModelModifierConstructorDescriptionUifViewBeanWrapper(ViewModel model, UifBeanPropertyBindingResult bindingResult) -
Uses of ViewModel in org.kuali.rice.krad.web.form
Classes in org.kuali.rice.krad.web.form that implement ViewModelModifier and TypeClassDescriptionclassBase form for allDocumentViewscreensclassForm class for incident reportsclassController forMaintenanceDocumentViewscreens which operate onMaintenanceDocumentinstancesclassForm class forInquiryViewscreensclassForm class forMaintenanceDocumentViewscreensclassForm class for the session timeout view.classForm class forTransactionalViewscreensclassBase form class for views within the KRAD User Interface Framework. -
Uses of ViewModel in org.kuali.rice.krad.web.login
Classes in org.kuali.rice.krad.web.login that implement ViewModel