| Modifier and Type | Method and Description |
|---|---|
View |
DataDictionary.getImmutableViewById(String viewId)
Returns the View entry identified by the given id, meant for view readonly
access (not running the lifecycle but just checking configuration)
|
View |
DataDictionaryMapper.getImmutableViewById(UifDictionaryIndex index,
String viewId)
Gets a view instance from the pool or factory but does not replace the view, meant for view readonly
access (not running the lifecycle but just checking configuration)
|
View |
DataDictionaryIndexMapper.getImmutableViewById(UifDictionaryIndex index,
String viewId)
Gets a view instance from the pool or factory but does not replace the view, meant for view readonly
access (not running the lifecycle but just checking configuration)
|
View |
DataDictionary.getViewById(String viewId)
Returns the View entry identified by the given id
|
View |
DataDictionaryMapper.getViewById(UifDictionaryIndex index,
String viewId)
Returns the View entry identified by the given id
|
View |
DataDictionaryIndexMapper.getViewById(UifDictionaryIndex index,
String viewId) |
View |
DataDictionary.getViewByTypeIndex(UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Returns View instance identified by the view type name and index
|
View |
DataDictionaryMapper.getViewByTypeIndex(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Called to retrieve a
View instance that is of the given type
based on the index key |
View |
DataDictionaryIndexMapper.getViewByTypeIndex(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Called to retrieve a
View instance that is of the given type
based on the index key |
| Modifier and Type | Method and Description |
|---|---|
List<View> |
DataDictionary.getViewsForType(UifConstants.ViewType viewTypeName)
Gets all
View prototypes configured for the given view type
name |
List<View> |
DataDictionaryMapper.getViewsForType(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName)
Gets all
View prototypes configured for the given view type
name |
List<View> |
DataDictionaryIndexMapper.getViewsForType(UifDictionaryIndex index,
UifConstants.ViewType viewTypeName)
Gets all
View prototypes configured for the given view type
name |
| Modifier and Type | Method and Description |
|---|---|
View |
UifDictionaryIndex.getImmutableViewById(String viewId)
Retrieves the view singleton from spring that has the given id.
|
View |
UifDictionaryIndex.getViewById(String viewId)
Retrieves the View instance with the given id.
|
View |
UifDictionaryIndex.getViewByTypeIndex(UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Retrieves a
View instance that is of the given type based on
the index key |
View |
UifViewPool.getViewInstance()
Retrieves a view instance from the pool and removes the instance
|
View |
UifViewPool.getViewSharedInstance()
Retrieves a view instance from the pool without removing it
|
| Modifier and Type | Method and Description |
|---|---|
List<View> |
UifDictionaryIndex.getViewsForType(UifConstants.ViewType viewTypeName)
Gets all
View prototypes configured for the given view type
name |
| Modifier and Type | Method and Description |
|---|---|
void |
UifViewPool.addViewInstance(View view)
Adds a view instance to the pool
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DocumentViewPresentationControllerBase.canEditView(View view,
ViewModel model)
Verify the document can be edited in addition to the view
|
boolean |
TransactionalDocumentViewAuthorizerBase.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 permission
|
boolean |
DocumentViewAuthorizerBase.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 permission
|
boolean |
DocumentViewAuthorizerBase.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 permission
|
boolean |
DocumentViewAuthorizerBase.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 value
|
Set<String> |
DocumentViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
Set<String> |
DocumentViewAuthorizerBase.getActionFlags(View view,
ViewModel model,
Person user,
Set<String> actions)
Returns the set of action flags that are authorized for the given user
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
InquiryViewAuthorizerBase.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.
|
Set<String> |
InquiryViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
| Modifier and Type | Class and Description |
|---|---|
class |
LookupView
View type for lookups.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LookupViewAuthorizerBase.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
|
| Modifier and Type | Method and Description |
|---|---|
View |
DataDictionaryService.getViewById(String viewId)
Returns the View entry identified by the given id
|
View |
DataDictionaryService.getViewByTypeIndex(UifConstants.ViewType viewTypeName,
Map<String,String> indexKey)
Returns View instance identified by the view type name and index
|
| Modifier and Type | Method and Description |
|---|---|
void |
BindingInfo.setDefaults(View view,
String propertyName)
Sets up some default binding properties based on the view configuration
and the component's property name
|
| Modifier and Type | Method and Description |
|---|---|
void |
CollectionGroupBuilder.build(View view,
Object model,
CollectionGroup collectionGroup)
Invoked within the lifecycle to carry out the collection build process.
|
protected void |
CollectionGroupBuilder.buildAddLine(View view,
Object model,
CollectionGroup collectionGroup)
Builds the fields for holding the collection add line and if necessary makes call to setup
the new line instance.
|
protected void |
CollectionGroupBuilder.buildLinesForDisplayedRows(List<org.kuali.rice.krad.uif.container.CollectionGroupBuilder.IndexedElement> filteredIndexedElements,
View view,
Object model,
CollectionGroup collectionGroup)
Build the lines for the collection rows to be rendered.
|
void |
LightTable.buildRows(View view,
String rowTemplate,
UifFormBase model)
Build the rows from the rowTemplate passed in.
|
List<Integer> |
MaintenanceActiveCollectionFilter.filter(View view,
Object model,
CollectionGroup collectionGroup)
Iterates through the collection and if the collection line type implements
Inactivatable
active indexes are added to the show indexes list |
List<Integer> |
ELCollectionFilter.filter(View view,
Object model,
CollectionGroup collectionGroup)
Iterates through the collection and evaluates the el expression in context of the line.
|
List<Integer> |
CollectionFilter.filter(View view,
Object model,
CollectionGroup collectionGroup)
Invoked to filter the collection data before the collection group is
built.
|
List<Integer> |
ActiveCollectionFilter.filter(View view,
Object model,
CollectionGroup collectionGroup)
Iterates through the collection and if the collection line type implements
Inactivatable,
active indexes are added to the show indexes list
Invoked to filter the collection data before the collection group is
built. |
protected List<? extends Component> |
CollectionGroupBuilder.getAddLineActionComponents(View view,
Object model,
CollectionGroup collectionGroup)
Creates new
Component instances for the add line |
protected Map<String,Object> |
CollectionGroupLineBuilder.getContextForField(View view,
CollectionGroup collectionGroup,
Field field)
Helper method to build the context for a field (needed because the apply model phase for line fields has
not been applied yet and their full context not set)
|
protected List<? extends Component> |
CollectionGroupBuilder.initializeLineActions(List<? extends Component> lineActions,
View view,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex)
Creates new
Action instances for the line. |
void |
CollectionGroupBuilder.initializeNewCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
boolean clearExistingLine)
Initializes a new instance of the collection data object class for the add line.
|
void |
CollectionGroupBase.initializeNewCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
boolean clearExistingLine)
New collection lines are handled in the framework by maintaining a map on
the form.
|
void |
CollectionGroup.initializeNewCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
boolean clearExistingLine)
New collection lines are handled in the framework by maintaining a map on
the form.
|
protected List<Integer> |
CollectionGroupBuilder.performCollectionFiltering(View view,
Object model,
CollectionGroup collectionGroup,
Collection<?> collection)
Performs any filtering necessary on the collection before building the collection fields.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Action.buildActionData(View view,
Object model,
LifecycleElement parent)
Builds the data attributes that will be read client side to determine how to
handle the action and the additional data that should be submitted with the action
|
void |
ValidationMessages.generateMessages(View view,
Object model,
Component parent)
Generates the messages based on the content in the messageMap
|
void |
PageValidationMessages.generateMessages(View view,
Object model,
Component parent)
Generates the messages based on the content in the messageMap
|
void |
GroupValidationMessages.generateMessages(View view,
Object model,
Component parent)
Generates the messages based on the content in the messageMap
|
void |
FieldValidationMessages.generateMessages(View view,
Object model,
Component parent)
Calls super and add dataAttributes that are appropriate for field level validationMessages
data.
|
protected List<String> |
ValidationMessages.getMessages(View view,
String key,
List<List<ErrorMessage>> lists)
Gets all the messages from the list of lists passed in (which are
lists of ErrorMessages associated to the key) and uses the configuration
service to get the message String associated.
|
void |
PageValidationMessages.processEvent(ViewLifecycle.LifecycleEvent lifecycleEvent,
View view,
Object model,
LifecycleElement eventElement)
Check for message keys that are not matched anywhere on the page, these unmatched messages must still be
displayed at the page level.
|
protected void |
Action.setupRefreshAction(View view)
When the action is updating a component sets up the refresh script for the component (found by the
given refresh id or refresh property name.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
InputFieldBase.setAlternateAndAdditionalDisplayValue(View view,
Object model)
Overriding to check quickfinder when masked is being applied.
|
protected void |
DataFieldBase.setAlternateAndAdditionalDisplayValue(View view,
Object model)
Sets alternate and additional property value for this field.
|
protected void |
InputFieldBase.setupFieldQuery(View view)
Performs setup of the field attribute query and informational display properties.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
DataTablesPagingHelper.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.
|
void |
CollectionPagingHelper.processPagingRequest(View view,
CollectionGroup collectionGroup,
UifFormBase form,
String page)
Process the paging request by determining the displayStart value based on the page requested.
|
static void |
DataTablesPagingHelper.processPagingRequest(View view,
ViewModel form,
CollectionGroup collectionGroup,
DataTablesPagingHelper.DataTablesInputs dataTablesInputs) |
| Modifier and Type | Method and Description |
|---|---|
static View |
ViewLifecycle.getView()
Gets the view active within a lifecycle on the current thread.
|
| Modifier and Type | Method and Description |
|---|---|
ViewLifecyclePhase |
ViewLifecyclePhaseBuilderBase.buildPhase(View view,
String viewPhase,
List<String> refreshPaths)
Creates a lifecycle phase instance for the given view.
|
ViewLifecyclePhase |
ViewLifecyclePhaseBuilder.buildPhase(View view,
String viewPhase,
List<String> refreshPaths)
Creates a lifecycle phase instance for the given view.
|
static ViewPostMetadata |
ViewLifecycle.buildView(View view,
Object model,
javax.servlet.http.HttpServletRequest request,
Map<String,String> parameters)
Executes the view lifecycle on the given
View instance which will prepare it for
rendering |
static void |
ViewLifecycle.encapsulateLifecycle(View view,
Object model,
javax.servlet.http.HttpServletRequest request,
Runnable lifecycleProcess)
Encapsulate a new view lifecycle process on the current thread.
|
static void |
ViewLifecycle.encapsulateLifecycle(View view,
Object model,
ViewPostMetadata viewPostMetadata,
ComponentPostMetadata refreshComponentPostMetadata,
javax.servlet.http.HttpServletRequest request,
Runnable lifecycleProcess)
Encapsulate a new view lifecycle process on the current thread.
|
void |
ViewLifecycle.invokeEventListeners(ViewLifecycle.LifecycleEvent event,
View view,
Object model,
LifecycleElement eventElement)
Invoked when an event occurs to invoke registered listeners.
|
static Component |
ViewLifecycle.performComponentLifecycle(View view,
Object model,
javax.servlet.http.HttpServletRequest request,
ViewPostMetadata viewPostMetadata,
String componentId)
Performs a lifecycle process to rebuild the component given by the update id.
|
static void |
LifecycleBase.performPostLifecycleProcessing(View view,
Object model,
ViewPostMetadata viewPostMetadata) |
static void |
ViewLifecycle.preProcess(View view)
Performs preliminary processing on a view, prior to caching.
|
void |
LifecycleEventListener.processEvent(ViewLifecycle.LifecycleEvent lifecycleEvent,
View view,
Object model,
LifecycleElement eventElement)
Invoked on a component listener when an event occurs for the given event component.
|
protected static void |
ViewLifecycle.setupStandaloneComponentForRefresh(View view,
String componentId,
ComponentPostMetadata componentPostMetadata)
Before running the lifecycle on a component that is not attached to a view, we need to retrieve the component,
add it to the dialogs list, and setup its refresh paths.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
AssignIdsTask.generateId(LifecycleElement element,
View view)
Generate a new ID for a lifecycle element at the current phase.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MockView
View class for developing UI mocks.
|
| Modifier and Type | Method and Description |
|---|---|
View |
ViewService.getViewById(String viewId)
Returns the
View entry identified by the given id |
View |
ViewService.getViewByType(UifConstants.ViewType viewType,
Map<String,String> parameters)
Retrieves the
View instance that is of the given view type and matches the
given parameters (that are applicable for that type). |
| Modifier and Type | Method and Description |
|---|---|
static void |
ClientValidationUtils.addScriptToPage(View view,
InputField field,
String script)
Adds the script to the view to execute on a jQuery document ready event.
|
List<BreadcrumbItem> |
ParentLocation.constructParentLocationBreadcrumbItems(View view,
Object currentModel,
Map<String,Object> currentContext)
Construct the parent location breadcrumbItems that represent all the parent views/pages configured through
parentLocation by traversing through each view by id referenced in parentViewUrl in a chain recursively.
|
static String |
ConstraintStateUtils.getClientViewValidationState(Object model,
View view)
Gets the client validation state.
|
static Class<?> |
ViewModelUtils.getObjectClassForMetadata(View view,
Object model,
String propertyPath)
Determines the associated type for the property within the View context
|
static Class<?> |
ViewModelUtils.getParentObjectClassForMetadata(View view,
Object model,
DataField field)
Determines the associated type for the property within the View context
|
static Object |
ViewModelUtils.getParentObjectForMetadata(View view,
Object model,
DataField field)
Retrieves the parent object if it exists or attempts to create a new instance
|
static Class<?> |
ViewModelUtils.getPropertyTypeByClassAndView(View view,
Object model,
String propertyPath)
Determines the associated type for the property within the View context
|
static List<Component> |
MessageStructureUtils.parseMessage(String messageId,
String messageText,
List<Component> componentList,
View view,
boolean parseComponents)
Parses the message text passed in and returns the resulting rich message component structure.
|
static void |
ClientValidationUtils.processAndApplyConstraints(InputField field,
View view,
Object model)
This method processes all the constraints on the InputField passed in and adds all the
necessary jQuery and js required (validator's rules, methods, and messages) to the View's
onDocumentReady call.
|
static void |
ClientValidationUtils.processCaseConstraint(InputField field,
View view,
CaseConstraint constraint,
String andedCase,
String validationState,
StateMapping stateMapping)
This method processes a single CaseConstraint.
|
static void |
ClientValidationUtils.processMustOccurConstraint(InputField field,
View view,
MustOccurConstraint mc,
String booleanStatement)
This method processes the MustOccurConstraint.
|
static void |
ClientValidationUtils.processPrerequisiteConstraint(InputField field,
PrerequisiteConstraint constraint,
View view)
Simpler version of processPrerequisiteConstraint
|
static void |
ClientValidationUtils.processPrerequisiteConstraint(InputField field,
PrerequisiteConstraint constraint,
View view,
String booleanStatement)
Processes a Prerequisite constraint that should be applied when the booleanStatement passed
in evaluates to true.
|
| Constructor and Description |
|---|
MultiColumnComparator(List<Object> modelCollection,
CollectionGroup collectionGroup,
List<ColumnSort> columnSorts,
ViewModel form,
View view)
Constructs a MultiColumnComparator instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
DocumentView
View type for KRAD documents.
|
class |
FormView
Provides configuration for
View instances that render an HTML form. |
class |
IframeView
IframeView is a View component that shows another website's content in an iframe.
|
class |
InquiryView
Type of
View that provides a read-only display of a record of
data (object instance) |
class |
MaintenanceDocumentView
View type for Maintenance documents
|
class |
MessageView
View that presents a message to the user (for example an application error message)
|
class |
TransactionalDocumentView
View type for Transactional documents.
|
| Modifier and Type | Method and Description |
|---|---|
View |
View.clone() |
View |
ViewModel.getView()
View instance associated with the model.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ViewPresentationControllerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canEditField(View view,
ViewModel model,
Field field,
String propertyName)
Determines if the given field within the view is allowed to be edited
|
boolean |
ViewAuthorizerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canEditGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewPresentationController.canEditGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewAuthorizerBase.canEditGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewAuthorizer.canEditGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewPresentationControllerBase.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewPresentationController.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewAuthorizerBase.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewAuthorizer.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewPresentationControllerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canEditView(View view,
ViewModel model) |
boolean |
ViewPresentationController.canEditView(View view,
ViewModel model)
Determines if the the given view and data is allowed to be edited
|
boolean |
ViewAuthorizerBase.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 permission
|
boolean |
ViewAuthorizer.canEditView(View view,
ViewModel model,
Person user)
Determines if the given user is authorized to edit the given view
|
boolean |
ViewPresentationControllerBase.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewPresentationController.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewAuthorizerBase.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizer.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizerBase.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 permission
|
boolean |
ViewAuthorizer.canOpenView(View view,
ViewModel model,
Person user)
Determines if the given user is authorized to open the given view
|
boolean |
ViewAuthorizerBase.canPartialUnmaskField(View view,
ViewModel model,
DataField field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.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 value
|
boolean |
ViewPresentationControllerBase.canPerformAction(View view,
ViewModel model,
Action action,
String actionEvent,
String actionId) |
boolean |
ViewPresentationController.canPerformAction(View view,
ViewModel model,
Action action,
String actionEvent,
String actionId) |
boolean |
ViewAuthorizerBase.canPerformAction(View view,
ViewModel model,
Action action,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewAuthorizer.canPerformAction(View view,
ViewModel model,
Action action,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewPresentationControllerBase.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Action action,
String actionEvent,
String actionId) |
boolean |
ViewPresentationController.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Action action,
String actionEvent,
String actionId) |
boolean |
ViewAuthorizerBase.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Action action,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewAuthorizer.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Action action,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewAuthorizerBase.canUnmaskField(View view,
ViewModel model,
DataField field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.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 value
|
boolean |
ViewPresentationControllerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canViewField(View view,
ViewModel model,
Field field,
String propertyName)
Determines if the given field within the view is allowed to be viewed
|
boolean |
ViewAuthorizerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canViewGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewPresentationController.canViewGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewAuthorizerBase.canViewGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewAuthorizer.canViewGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewPresentationControllerBase.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewPresentationController.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewAuthorizerBase.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewAuthorizer.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewPresentationControllerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationController.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizer.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationControllerBase.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewPresentationController.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewAuthorizerBase.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizer.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
protected void |
ViewIndex.clearIndex(View view)
Clears view indexes, for reinitializing indexes at the start of each phase.
|
void |
ExpressionEvaluator.evaluateExpressionsOnConfigurable(View view,
UifDictionaryBean expressionConfigurable,
Map<String,Object> evaluationParameters)
Evaluates any el expressions that are found as a string property value
for the object
|
void |
DefaultExpressionEvaluator.evaluateExpressionsOnConfigurable(View view,
UifDictionaryBean expressionConfigurable,
Map<String,Object> evaluationParameters)
Evaluates any el expressions that are found as a string property value
for the object
|
void |
ExpressionEvaluator.evaluatePropertyExpression(View view,
Map<String,Object> evaluationParameters,
UifDictionaryBean expressionConfigurable,
String propertyName,
boolean removeExpression)
Evaluates the configured expression for the given property name (if not exists) on the given configurable
|
void |
DefaultExpressionEvaluator.evaluatePropertyExpression(View view,
Map<String,Object> evaluationParameters,
UifDictionaryBean expressionConfigurable,
String propertyName,
boolean removeExpression)
Evaluates the configured expression for the given property name (if not exists) on the given configurable
|
protected void |
DefaultExpressionEvaluator.evaluatePropertyExpressions(View view,
UifDictionaryBean expressionConfigurable,
Map<String,Object> evaluationParameters)
Iterates through the keys of the property expressions map and invokes
DefaultExpressionEvaluator.evaluatePropertyExpression(org.kuali.rice.krad.uif.view.View, java.util.Map,
org.kuali.rice.krad.datadictionary.uif.UifDictionaryBean, String, boolean) |
protected void |
DefaultExpressionEvaluator.evaluatePropertyReplacers(View view,
UifDictionaryBean expressionConfigurable,
Map<String,Object> evaluationParameters)
Iterates through any configured
PropertyReplacer instances for the component and
evaluates the given condition. |
boolean |
ViewPresentationControllerBase.fieldIsRequired(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationController.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)
|
Set<String> |
ViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
Set<String> |
ViewPresentationController.getActionFlags(View view,
UifFormBase model) |
Set<String> |
ViewAuthorizerBase.getActionFlags(View view,
ViewModel model,
Person user,
Set<String> actions) |
Set<String> |
ViewAuthorizer.getActionFlags(View view,
ViewModel model,
Person user,
Set<String> actions)
Returns the set of action flags that are authorized for the given user
|
protected Map<String,String> |
ViewAuthorizerBase.getActionPermissionDetails(View view,
Object dataObject,
Action action)
Builds the permission details map for an action which includes the namespace, view id, and
action id and event
|
protected Object |
ViewAuthorizerBase.getDataObjectContext(View view,
ViewModel model)
Retrieves the object from the model that is used as the context for permission checks
|
Set<String> |
ViewPresentationControllerBase.getEditModes(View view,
UifFormBase model) |
Set<String> |
ViewPresentationController.getEditModes(View view,
UifFormBase model) |
Set<String> |
ViewAuthorizerBase.getEditModes(View view,
ViewModel model,
Person user,
Set<String> editModes) |
Set<String> |
ViewAuthorizer.getEditModes(View view,
ViewModel model,
Person user,
Set<String> editModes)
Returns the set of edit modes that are authorized for the given user
|
protected Map<String,String> |
ViewAuthorizerBase.getFieldPermissionDetails(View view,
Object dataObject,
Field field)
Builds the permission details map for a field which includes the component namespace, component name, and
field id, in addition to property name for data binding fields
|
protected Map<String,String> |
ViewAuthorizerBase.getGroupPermissionDetails(View view,
Object dataObject,
Group group)
Builds the permission details map for a group which includes the component namespace, component name, and
group id, in addition to property name for collection groups
|
protected Map<String,String> |
ViewAuthorizerBase.getWidgetPermissionDetails(View view,
Object dataObject,
Widget widget)
Builds the permission details map for a widget which includes the namespace, view id, and
widget id
|
protected boolean |
ViewAuthorizerBase.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
|
String |
ExpressionEvaluator.replaceBindingPrefixes(View view,
Object object,
String expression)
Adjusts the property expressions for a given object
|
String |
DefaultExpressionEvaluator.replaceBindingPrefixes(View view,
Object object,
String expression)
Adjusts the property expressions for a given object
|
void |
ViewModel.setView(View view)
Setter for the view instance
|
| Modifier and Type | Method and Description |
|---|---|
protected DataObjectRelationship |
QuickFinder.getRelationshipForField(View view,
Object model,
InputField field)
Retrieves any
DataObjectRelationship that is associated with the given
field and has a configured lookup view. |
void |
QuickFinder.processEvent(ViewLifecycle.LifecycleEvent lifecycleEvent,
View view,
Object model,
LifecycleElement eventComponent)
Adds post context data for the quickfinder so when the lookup return occurs the focus and jump point
of the quickfinder action can be retrieved.
|
protected void |
Suggest.retrieveSuggestOptions(View view)
Invokes the configured query method and sets the returned method value as the suggest options or
suggest options JS string
|
protected void |
QuickFinder.setupForCollectionGroup(View view,
Object model,
CollectionGroup collectionGroup)
Configures the quickfinder for the given collection group instance by setting the data object class,
field conversions, and lookup collection name (if necessary).
|
protected void |
QuickFinder.setupForInputField(View view,
Object model,
InputField inputField)
If quickfinder not manually configured attempts to find a relationship to build the quickfinder on, then also
adjusts the path for any configured field conversions, lookup parameters, and refresh refreshes.
|
protected void |
QuickFinder.setupQuickfinderAction(View view,
Object model,
LifecycleElement parent)
Adjusts the id for the quickfinder action, and then adds action parameters for passing along the
quickfinder configuration to the lookup view.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
KRADUtils.generateUniqueViewTitle(UifFormBase form,
View view)
Attempts to generate a unique view title by combining the View's headerText with the title attribute for the
dataObjectClass found through the DataObjectMetaDataService.
|
| Modifier and Type | Method and Description |
|---|---|
protected View |
UifServletRequestDataBinder.getViewByType(javax.servlet.ServletRequest request,
UifFormBase form)
Attempts to get a view instance by looking for a view type name in the request or the form and querying
that view type with the request parameters
|
protected View |
UifServletRequestDataBinder.getViewFromPreviousModel(UifFormBase form)
Attempts to get a view instance based on the view id stored on the form (which might not be populated
from the request but remaining from session)
|
| Modifier and Type | Field and Description |
|---|---|
protected View |
UifFormBase.view |
| Modifier and Type | Method and Description |
|---|---|
View |
UifFormBase.getView() |
| Modifier and Type | Method and Description |
|---|---|
void |
UifFormBase.setView(View view) |
Copyright © 2005–2018 The Kuali Foundation. All rights reserved.