Modifier and Type | Method and Description |
---|---|
List<RemotableAttributeField> |
UIfComponentsViewHelperServiceImpl.retrieveRemoteFields(View view,
Object model,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
PeopleFlowMaintainableImpl.processCollectionAddLine(View view,
Object model,
String collectionPath) |
List<RemotableAttributeField> |
PeopleFlowMaintainableImpl.retrieveTypeAttributes(View view,
Object model,
Container container)
Invokes the
KewTypeRepositoryService to retrieve the remotable
field definitions for the attributes associated with the selected type |
List<RemotableAttributeField> |
PeopleFlowInquirableImpl.retrieveTypeAttributes(View view,
Object model,
Container container)
Invokes the
KewTypeRepositoryService to retrieve the remotable
field definitions for the attributes associated with the selected type |
Modifier and Type | Method and Description |
---|---|
View |
DataDictionary.getViewById(String viewId)
Returns the View entry identified by the given id
|
View |
UifDictionaryIndex.getViewById(String viewId)
Retrieves the View instance with the given id from the bean factory.
|
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 |
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 |
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) |
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> |
UifDictionaryIndex.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) |
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 |
DocumentViewAuthorizerBase.canEditView(View view,
ViewModel model,
Person user) |
boolean |
DocumentViewAuthorizerBase.canOpenView(View view,
ViewModel model,
Person user) |
Set<String> |
DocumentViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
Set<String> |
DocumentViewAuthorizerBase.getActionFlags(View view,
ViewModel model,
Person user,
Set<String> actions) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
InquiryViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
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
|
void |
LookupableImpl.performInitialization(View view,
Object model)
Initialization of Lookupable requires that the business object class be set for the
#initializeAttributeFieldFromDataDictionary(View, org.kuali.rice.krad.uif.field.InputField) method |
void |
LookupableImpl.populateViewFromRequestParameters(View view,
Map<String,String> parameters) |
Modifier and Type | Method and Description |
---|---|
protected void |
MaintainableImpl.processAfterAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
In the case of edit maintenance adds a new blank line to the old side
TODO: should this write some sort of missing message on the old side
instead?
|
protected void |
MaintainableImpl.processAfterDeleteLine(View view,
CollectionGroup collectionGroup,
Object model,
int lineIndex)
In the case of edit maintenance deleted the item on the old side
|
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 |
---|---|
View |
DataDictionaryServiceImpl.getViewById(String viewId) |
View |
DataDictionaryServiceImpl.getViewByTypeIndex(UifConstants.ViewType viewTypeName,
Map<String,String> indexKey) |
Modifier and Type | Method and Description |
---|---|
void |
Component.performApplyModel(View view,
Object model,
Component parent)
Called after the initialize phase to perform conditional logic based on
the model data
|
void |
ComponentBase.performApplyModel(View view,
Object model,
Component parent)
The following updates are done here:
Evaluate the progressive render condition (if set) and combine with the current render status to set the
render status
|
void |
Component.performFinalize(View view,
Object model,
Component parent)
The last phase before the view is rendered.
|
void |
ComponentBase.performFinalize(View view,
Object model,
Component parent)
The following finalization is done here:
progressiveRender and conditionalRefresh variables are processed if set
If any of the style properties were given, sets the style string on
the style property
Set the skipInTabOrder flag for nested components
|
void |
Component.performInitialization(View view,
Object model)
Should be called to initialize the component
|
void |
ComponentBase.performInitialization(View view,
Object model)
The following updates are done here:
|
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 |
---|---|
protected void |
CollectionGroupBuilder.applyLineFieldAuthorizationAndPresentationLogic(View view,
ViewModel model,
CollectionGroup collectionGroup,
Object line,
boolean readOnlyLine,
List<Field> lineFields,
List<ActionField> actions)
Iterates through the line fields and checks the view field authorization using the view's configured authorizer
and presentation controller.
|
void |
CollectionGroupBuilder.build(View view,
Object model,
CollectionGroup collectionGroup)
Creates the
Field instances that make up the table |
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.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
String bindingPath,
List<ActionField> actions,
boolean bindToForm,
Object currentLine,
int lineIndex)
Builds the field instances for the collection line.
|
protected void |
TreeGroup.buildTreeGroups(View view,
Object model)
Builds the components that will be rendered as part of the tree group
|
protected boolean |
CollectionGroupBuilder.checkEditLineAuthorizationAndPresentationLogic(View view,
ViewModel model,
CollectionGroup collectionGroup,
Object line)
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)
|
protected boolean |
CollectionGroupBuilder.checkSubCollectionRender(View view,
Object model,
CollectionGroup collectionGroup,
CollectionGroup subCollectionGroup)
Checks whether the given sub-collection should be rendered, any
conditional render string is evaluated
|
protected boolean |
CollectionGroupBuilder.checkViewLineAuthorizationAndPresentationLogic(View view,
ViewModel model,
CollectionGroup collectionGroup,
Object line)
Invokes the view's configured authorizer and presentation controller to determine if the user has permission
to view the line (if a permission has been established)
|
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> |
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> |
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 |
protected List<ActionField> |
CollectionGroupBuilder.getAddLineActions(View view,
Object model,
CollectionGroup collectionGroup)
Creates new
ActionField instances for the add line |
protected Map<String,Object> |
CollectionGroupBuilder.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<ActionField> |
CollectionGroupBuilder.getLineActions(View view,
Object model,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex)
Creates new
ActionField instances for the line |
void |
CollectionGroupBuilder.initializeNewCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
boolean clearExistingLine)
Initializes a new instance of the collection class
|
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 void |
TreeGroup.initializeNodePrototypeComponents(View view,
Object model) |
void |
ContainerBase.performApplyModel(View view,
Object model,
Component parent) |
void |
TreeGroup.performApplyModel(View view,
Object model,
Component parent) |
void |
CollectionGroup.performApplyModel(View view,
Object model,
Component parent)
Calls the configured
CollectionGroupBuilder to build the
necessary components based on the collection data |
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
|
void |
PageGroup.performFinalize(View view,
Object model,
Component parent)
Perform finalize here adds to its document ready script the
setupValidator js function for setting up the validator for this view.
|
void |
ContainerBase.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Sets the headerText of the header Group if it is blank
Set the messageText of the summary MessageField if it is blank
Finalizes LayoutManager
|
void |
ContainerBase.performInitialization(View view,
Object model)
The following initialization is performed:
Sorts the containers list of components
Initializes LayoutManager
|
void |
TreeGroup.performInitialization(View view,
Object model)
The following actions are performed:
Set fieldBindModelPath to the collection model path (since the fields
have to belong to the same model as the collection)
Set defaults for binding
Calls view helper service to initialize prototypes
|
void |
Group.performInitialization(View view,
Object model)
The following actions are performed:
Sets the bindByNamePrefix if blank on any InputField and
FieldGroup instances within the items List
|
void |
CollectionGroup.performInitialization(View view,
Object model)
The following actions are performed:
Set fieldBindModelPath to the collection model path (since the fields
have to belong to the same model as the collection)
Set defaults for binding
Default add line field list to groups items list
Sets default active collection filter if not set
Sets the dictionary entry (if blank) on each of the items to the
collection class
|
protected List<Field> |
CollectionGroupBuilder.processAnyRemoteFieldsHolder(View view,
Object model,
CollectionGroup group,
List<? extends Component> items)
Iterates through the given items checking for
RemotableFieldsHolder , if found
the holder is invoked to retrieved the remotable fields and translate to attribute fields. |
protected List<Field> |
CollectionGroupBuilder.removeNonRenderLineFields(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
Object currentLine,
int lineIndex)
Evaluates the render property for the given list of
Field
instances for the line and removes any fields from the returned list that
have render false. |
Modifier and Type | Method and Description |
---|---|
void |
UserControl.performApplyModel(View view,
Object model,
Component parent) |
void |
GroupControl.performApplyModel(View view,
Object model,
Component parent) |
void |
TextControl.performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Defaults maxLength, minLength (if not set) to maxLength of parent field
|
void |
TextAreaControl.performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Defaults maxLength, minLength (if not set) to maxLength of parent field
|
Modifier and Type | Method and Description |
---|---|
void |
InputField.copyFromAttributeDefinition(View view,
AttributeDefinition attributeDefinition)
Defaults the properties of the
InputField to the
corresponding properties of its AttributeDefinition
retrieved from the dictionary (if such an entry exists). |
void |
DataField.copyFromAttributeDefinition(View view,
AttributeDefinition attributeDefinition)
Defaults the properties of the
DataField to the
corresponding properties of its AttributeDefinition
retrieved from the dictionary (if such an entry exists). |
void |
LookupInputField.copyFromAttributeDefinition(View view,
AttributeDefinition attributeDefinition)
Override of InputField copy to setup properties necessary to make the field usable for inputting
search criteria
|
List<InputField> |
RemoteFieldsHolder.fetchAndTranslateRemoteFields(View view,
Object model,
Container parent)
Invokes the configured fetching method to retrieve a list of remotable fields, then invoked the
ComponentFactory to translate the fields, and finally sets up the binding for the attribute fields |
void |
ErrorsField.generateMessages(boolean reset,
View view,
Object model,
Component parent) |
void |
DataField.performApplyModel(View view,
Object model,
Component parent)
The following updates are done here:
If readOnlyHidden set to true, set field to readonly and add to hidden property names
|
void |
ActionField.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Add methodToCall action parameter if set and setup event code for
setting action parameters
|
void |
FieldBase.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Set the labelForComponentId to this component id
Set the label text on the label field from the field's label property
Set the render property on the label's required message field if this
field is marked as required
If label placement is right, set render colon to false
|
void |
ErrorsField.performFinalize(View view,
Object model,
Component parent)
PerformFinalize will generate the messages and counts used by the
errorsField based on the keys that were matched from the MessageMap for
this ErrorsField.
|
void |
InputField.performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Set the ids for the various attribute components
Sets up the client side validation for constraints on this field.
|
void |
ImageField.performFinalize(View view,
Object model,
Component parent) |
void |
HeaderField.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Set render on group to false if no items are configured
|
void |
DataField.performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Set the ids for the various attribute components
Sets up the client side validation for constraints on this field.
|
void |
AjaxActionField.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Add methodToCall action parameter if set and setup event code for
setting action parameters
|
void |
LabelField.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
If label text is blank, set render to false for field
|
void |
ActionField.performInitialization(View view,
Object model)
The following initialization is performed:
Set the actionLabel if blank to the Field label
|
void |
FieldBase.performInitialization(View view,
Object model)
The following initialization is performed:
|
void |
FieldGroup.performInitialization(View view,
Object model)
The following initialization is performed:
Set the align on group if empty and the align has been set on the
field
|
void |
DataField.performInitialization(View view,
Object model)
The following initialization is performed:
Set defaults for binding
Default the model path if not set
|
void |
LinkField.performInitialization(View view,
Object model)
The following initialization is performed:
Set the linkLabel if blank to the Field label
|
protected void |
DataField.setAlternateAndAdditionalDisplayValue(View view,
Object model)
Sets alternate and additional property value for this field.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<ActionField> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Call to the layout manager to build the components necessary for the
given collection line
|
void |
TableLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<ActionField> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Assembles the field instances for the collection line.
|
void |
StackedLayoutManager.buildLine(View view,
Object model,
CollectionGroup collectionGroup,
List<Field> lineFields,
List<FieldGroup> subCollectionFields,
String bindingPath,
List<ActionField> actions,
String idSuffix,
Object currentLine,
int lineIndex)
Builds a
Group instance for a collection line. |
void |
LayoutManager.performApplyModel(View view,
Object model,
Container container)
Called after the initialize phase to perform conditional logic based on
the model data
|
void |
LayoutManagerBase.performApplyModel(View view,
Object model,
Container container) |
void |
StackedLayoutManager.performApplyModel(View view,
Object model,
Container container)
The following actions are performed:
If wrapper group is specified, places the stacked groups into the wrapper
|
void |
GridLayoutManager.performFinalize(View view,
Object model,
Container container)
The following finalization is performed:
If suppressLineWrapping is true, sets the number of columns to the
container's items list size
|
void |
TableLayoutManager.performFinalize(View view,
Object model,
Container container)
Sets up the final column count for rendering based on whether the
sequence and action fields have been generated
|
void |
BoxLayoutManager.performFinalize(View view,
Object model,
Container container) |
void |
LayoutManager.performFinalize(View view,
Object model,
Container container)
The last phase before the view is rendered.
|
void |
LayoutManagerBase.performFinalize(View view,
Object model,
Container container) |
void |
TableLayoutManager.performInitialization(View view,
Object model,
Container container)
The following actions are performed:
Sets sequence field prototype if auto sequence is true
Initializes the prototypes
|
void |
BoxLayoutManager.performInitialization(View view,
Object model,
Container container)
The following initialization is performed:
Set the itemSpanStyle
|
void |
LayoutManager.performInitialization(View view,
Object model,
Container container)
Should be called to initialize the layout manager
|
void |
LayoutManagerBase.performInitialization(View view,
Object model,
Container container) |
void |
StackedLayoutManager.performInitialization(View view,
Object model,
Container container)
The following actions are performed:
Initializes the prototypes
|
Modifier and Type | Method and Description |
---|---|
void |
ComponentModifier.performInitialization(View view,
Object model,
Component component)
Should be called to initialize the ComponentModifier
|
void |
CompareFieldCreateModifier.performInitialization(View view,
Object model,
Component component)
Calls
ViewHelperService to initialize the header field prototype |
void |
ComponentModifierBase.performInitialization(View view,
Object model,
Component component)
Default performInitialization impl (does nothing)
|
void |
ComponentModifier.performModification(View view,
Object model,
Component component)
Invoked within the configured phase of the component lifecycle.
|
void |
CompareFieldCreateModifier.performModification(View view,
Object model,
Component component)
Generates the comparison fields
|
void |
ComponentConvertModifier.performModification(View view,
Object model,
Component component) |
void |
LabelFieldSeparateModifier.performModification(View view,
Object model,
Component component)
Iterates through the
Group items and if the label field is
not null and should be rendered, adds it to the new field list
immediately before the Field item the label applies to. |
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 |
---|---|
void |
ViewHelperService.applyDefaultValuesForCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
Object line)
Applies configured default values for the line fields to the line
instance
|
void |
ViewService.buildView(View view,
Object model,
Map<String,String> parameters)
Executes the view lifecycle on the given
View instance which will
prepare it for rendering |
void |
ViewHelperService.performApplyModel(View view,
Object model)
Executes the ApplyModel phase.
|
void |
ViewHelperService.performComponentInitialization(View view,
Object model,
Component component)
Performs the Initialization phase for the given
Component |
void |
ViewHelperService.performComponentLifecycle(View view,
Object model,
Component component,
String origId)
Performs the complete component lifecycle on the component passed in for use during a refresh process
|
AttributeQueryResult |
AttributeQueryService.performFieldQuery(View view,
String fieldId,
Map<String,String> queryParameters)
Executes the
AttributeQuery associated with the field given by the id. |
AttributeQueryResult |
AttributeQueryService.performFieldSuggestQuery(View view,
String fieldId,
String fieldTerm,
Map<String,String> queryParameters)
Executes the
AttributeQuery associated with the Suggest widget within
the field given by the Id. |
void |
ViewHelperService.performFinalize(View view,
Object model)
The last phase before the view is rendered.
|
void |
ViewHelperService.performInitialization(View view,
Object model)
Performs the Initialization phase for the
View . |
void |
ViewHelperService.populateViewFromRequestParameters(View view,
Map<String,String> parameters)
Populates the
View properties from the given request
parameters |
void |
ViewHelperService.processCollectionAddLine(View view,
Object model,
String collectionPath)
Invoked when the add line action is chosen for a collection.
|
void |
ViewHelperService.processCollectionDeleteLine(View view,
Object model,
String collectionPath,
int lineIndex)
Invoked when the delete line action is chosen for a collection.
|
void |
ViewHelperService.processMultipleValueLookupResults(View view,
Object model,
String collectionPath,
String lookupResultValues)
Process the results returned from a multi-value lookup populating the lines for the collection given
by the path
|
Modifier and Type | Method and Description |
---|---|
View |
ViewServiceImpl.getViewById(String viewId) |
View |
ViewServiceImpl.getViewByType(UifConstants.ViewType viewType,
Map<String,String> parameters)
Retrieves the
ViewTypeService for the given view type, then builds up the index based
on the supported view type parameters and queries the dictionary service to retrieve the view
based on its type and index |
Modifier and Type | Method and Description |
---|---|
protected void |
ViewHelperServiceImpl.addCustomContainerComponents(View view,
Object model,
Container container)
Hook for creating new components with code and adding them to a container
|
protected void |
ViewHelperServiceImpl.applyAuthorizationAndPresentationLogic(View view,
Component component,
ViewModel model)
Invokes the view's configured
ViewAuthorizer and ViewPresentationController to set state of
the component |
protected void |
ViewHelperServiceImpl.applyDefaultValues(View view,
Component component,
Object model)
Iterates through the view components picking up data fields and applying an default value configured
|
void |
ViewHelperServiceImpl.applyDefaultValuesForCollectionLine(View view,
Object model,
CollectionGroup collectionGroup,
Object line) |
protected String |
ViewHelperServiceImpl.buildClientSideStateScript(View view,
Map<String,Object> clientSideState,
boolean updateOnly)
Builds script that will initialize configuration parameters and component state on the client
|
void |
ViewServiceImpl.buildView(View view,
Object model,
Map<String,String> parameters) |
protected Object |
AttributeQueryServiceImpl.executeAttributeQueryMethod(View view,
AttributeQuery attributeQuery,
Map<String,String> queryParameters)
Prepares the method configured on the attribute query then performs the method invocation
|
protected AttributeDefinition |
ViewHelperServiceImpl.findNestedDictionaryAttribute(View view,
DataField field,
String parentPath,
String propertyPath)
Recursively drills down the property path (if nested) to find an
AttributeDefinition, the first attribute definition found will be
returned
|
protected Map<String,Object> |
ViewHelperServiceImpl.getCommonContext(View view,
Component component)
Gets global objects for the context map and pushes them to the context
for the component
|
protected Map<String,Object> |
ViewHelperServiceImpl.getPreModelContext(View view)
Returns the general context that is available before the apply model
phase (during the initialize phase)
|
protected void |
ViewHelperServiceImpl.initializeDataFieldFromDataDictionary(View view,
DataField field)
Sets properties of the
InputField (if blank) to the
corresponding attribute entry in the data dictionary |
protected void |
ViewHelperServiceImpl.invokeMethodFinalizer(View view,
Component component,
Object model)
Invokes the finalize method for the component (if configured) and sets
the render output for the component to the returned method string (if
method is not a void type)
|
protected boolean |
ViewHelperServiceImpl.performAddLineValidation(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
Performs validation on the new collection line before it is added to the
corresponding collection
|
protected boolean |
DocumentViewHelperServiceImpl.performAddLineValidation(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
Performs validation on the new collection line before it is added to the
corresponding collection
|
void |
ViewHelperServiceImpl.performApplyModel(View view,
Object model) |
protected void |
ViewHelperServiceImpl.performComponentApplyModel(View view,
Component component,
Object model)
Applies the model data to a component of the View instance
|
protected void |
ViewHelperServiceImpl.performComponentFinalize(View view,
Component component,
Object model,
Component parent,
Map<String,Object> clientSideState)
Update state of the given component and does final preparation for
rendering
|
void |
ViewHelperServiceImpl.performComponentInitialization(View view,
Object model,
Component component)
Performs initialization of a component by these steps:
If component id not set, assigns to next available int for view
For
InputField instances, set defaults from the data
dictionary.
Invoke the initialize method on the component. |
void |
ViewHelperServiceImpl.performComponentLifecycle(View view,
Object model,
Component component,
String origId)
Performs the complete component lifecycle on the component passed in, in this order:
performComponentInitialization, performComponentApplyModel, and performComponentFinalize.
|
protected void |
ViewHelperServiceImpl.performCustomApplyModel(View view,
Component component,
Object model)
Hook for service overrides to perform custom apply model logic on the
component
|
protected void |
ViewHelperServiceImpl.performCustomFinalize(View view,
Component component,
Object model,
Component parent)
Hook for service overrides to perform custom component finalization
|
protected void |
ViewHelperServiceImpl.performCustomInitialization(View view,
Component component)
Hook for service overrides to perform custom initialization on the
component
|
protected boolean |
ViewHelperServiceImpl.performDeleteLineValidation(View view,
CollectionGroup collectionGroup,
Object deleteLine)
Performs validation on the collection line before it is removed from the
corresponding collection
|
AttributeQueryResult |
AttributeQueryServiceImpl.performFieldQuery(View view,
String fieldId,
Map<String,String> queryParameters) |
AttributeQueryResult |
AttributeQueryServiceImpl.performFieldSuggestQuery(View view,
String fieldId,
String fieldTerm,
Map<String,String> queryParameters) |
void |
ViewHelperServiceImpl.performFinalize(View view,
Object model) |
void |
ViewHelperServiceImpl.performInitialization(View view,
Object model) |
protected void |
ViewServiceImpl.performViewLifecycle(View view,
Object model,
Map<String,String> parameters)
Initializes a newly created
View instance. |
protected void |
ViewHelperServiceImpl.populateDefaultValueForField(View view,
Object object,
DataField dataField,
String bindingPath)
Applies the default value configured for the given field (if any) to the
line given object property that is determined by the given binding path
|
void |
ViewHelperServiceImpl.populateViewFromRequestParameters(View view,
Map<String,String> parameters)
Uses reflection to find all fields defined on the
View instance that have
the RequestParameter annotation (which indicates the field may be populated by the request). |
protected void |
ViewHelperServiceImpl.processAfterAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
Hook for service overrides to process the new collection line after it
has been added to the collection
|
protected void |
ViewHelperServiceImpl.processAfterDeleteLine(View view,
CollectionGroup collectionGroup,
Object model,
int lineIndex)
Hook for service overrides to process the collection line after it has been deleted
|
protected void |
ViewHelperServiceImpl.processAnyRemoteFieldsHolder(View view,
Object model,
Container container)
Iterates through the containers configured items checking for
RemotableFieldsHolder , if found
the holder is invoked to retrieved the remotable fields and translate to attribute fields. |
protected void |
ViewHelperServiceImpl.processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
Hook for service overrides to process the new collection line before it
is added to the collection
|
void |
ViewHelperServiceImpl.processCollectionAddLine(View view,
Object model,
String collectionPath) |
void |
ViewHelperServiceImpl.processCollectionDeleteLine(View view,
Object model,
String collectionPath,
int lineIndex) |
void |
ViewHelperServiceImpl.processMultipleValueLookupResults(View view,
Object model,
String collectionPath,
String lookupResultValues) |
protected void |
ViewHelperServiceImpl.retrieveEditModesAndActionFlags(View view,
UifFormBase model)
Invokes the configured
PresentationController and
Authorizer for the view to get the exported action flags
and edit modes that can be used in conditional logic |
protected void |
ViewHelperServiceImpl.runComponentModifiers(View view,
Component component,
Object model,
String runPhase)
Runs any configured
ComponentModifiers for the given
component that match the given run phase and who run condition evaluation
succeeds |
protected void |
ViewHelperServiceImpl.setViewContext(View view,
Object model)
Sets up the view context which will be available to other components
through their context for conditional logic evaluation
|
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.
|
static void |
ExpressionUtils.adjustPropertyExpressions(View view,
Object object)
Adjusts the property expressions for a given object.
|
static Component |
ComponentFactory.getNewInstanceForRefresh(View view,
String id)
Gets a fresh copy of the component by the id passed in which used to look up the component in
the view index, then retrieve a new instance with initial state configured using the factory id
|
static Class<?> |
ViewModelUtils.getObjectClassForMetadata(View view,
Object model,
String propertyPath) |
static Class<?> |
ViewModelUtils.getParentObjectClassForMetadata(View view,
DataField field) |
static Class<?> |
ViewModelUtils.getParentObjectClassForMetadata(View view,
Object model,
DataField field) |
static Object |
ViewModelUtils.getParentObjectForMetadata(View view,
Object model,
DataField field) |
static Class<?> |
ViewModelUtils.getPropertyTypeByClassAndView(View view,
String propertyPath)
Determines the associated type for the property within the View context
|
static void |
ClientValidationUtils.processAndApplyConstraints(InputField field,
View view)
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)
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)
This method is a simpler version of processPrerequisiteConstraint
|
static void |
ClientValidationUtils.processPrerequisiteConstraint(InputField field,
PrerequisiteConstraint constraint,
View view,
String booleanStatement)
This method processes a Prerequisite constraint that should be applied
when the booleanStatement passed in evaluates to true.
|
static String |
ExpressionUtils.replaceBindingPrefixes(View view,
Object object,
String expression)
Adjusts the property expressions for a given object
|
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 |
InquiryView
Type of
View that provides a read-only display of a record of
data (object instance) |
class |
LookupView
View type for Maintenance documents
|
class |
MaintenanceView
View type for Maintenance documents
|
Modifier and Type | Method and Description |
---|---|
View |
ViewModel.getPreviousView()
View instance for the page that made a request.
|
View |
ViewModel.getView()
View instance associated with the model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ViewPresentationController.canEditField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationControllerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewAuthorizer.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizerBase.canEditField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canEditGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewPresentationControllerBase.canEditGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewAuthorizer.canEditGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewAuthorizerBase.canEditGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewPresentationController.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewPresentationControllerBase.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewAuthorizer.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewAuthorizerBase.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewPresentationController.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationControllerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizer.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizerBase.canEditLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canEditView(View view,
ViewModel model)
Determines if the the given view and data is allowed to be edited
|
boolean |
ViewPresentationControllerBase.canEditView(View view,
ViewModel model) |
boolean |
ViewAuthorizer.canEditView(View view,
ViewModel model,
Person user)
Determines if the given user is authorized to edit the given view
|
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 |
ViewPresentationController.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewPresentationControllerBase.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewAuthorizer.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizerBase.canEditWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizer.canOpenView(View view,
ViewModel model,
Person user)
Determines if the given user is authorized to open the given view
|
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.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 |
ViewAuthorizerBase.canPartialUnmaskField(View view,
ViewModel model,
DataField field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canPerformAction(View view,
ViewModel model,
ActionField actionField,
String actionEvent,
String actionId) |
boolean |
ViewPresentationControllerBase.canPerformAction(View view,
ViewModel model,
ActionField actionField,
String actionEvent,
String actionId) |
boolean |
ViewAuthorizer.canPerformAction(View view,
ViewModel model,
ActionField actionField,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewAuthorizerBase.canPerformAction(View view,
ViewModel model,
ActionField actionField,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewPresentationController.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
ActionField actionField,
String actionEvent,
String actionId) |
boolean |
ViewPresentationControllerBase.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
ActionField actionField,
String actionEvent,
String actionId) |
boolean |
ViewAuthorizer.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
ActionField actionField,
String actionEvent,
String actionId,
Person user) |
boolean |
ViewAuthorizerBase.canPerformLineAction(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
ActionField actionField,
String actionEvent,
String actionId,
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 |
ViewAuthorizerBase.canUnmaskField(View view,
ViewModel model,
DataField field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canViewField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationControllerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewAuthorizer.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizerBase.canViewField(View view,
ViewModel model,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canViewGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewPresentationControllerBase.canViewGroup(View view,
ViewModel model,
Group group,
String groupId) |
boolean |
ViewAuthorizer.canViewGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewAuthorizerBase.canViewGroup(View view,
ViewModel model,
Group group,
String groupId,
Person user) |
boolean |
ViewPresentationController.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewPresentationControllerBase.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line) |
boolean |
ViewAuthorizer.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewAuthorizerBase.canViewLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Person user) |
boolean |
ViewPresentationController.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewPresentationControllerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName) |
boolean |
ViewAuthorizer.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewAuthorizerBase.canViewLineField(View view,
ViewModel model,
CollectionGroup collectionGroup,
String collectionPropertyName,
Object line,
Field field,
String propertyName,
Person user) |
boolean |
ViewPresentationController.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewPresentationControllerBase.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId) |
boolean |
ViewAuthorizer.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewAuthorizerBase.canViewWidget(View view,
ViewModel model,
Widget widget,
String widgetId,
Person user) |
boolean |
ViewPresentationController.fieldIsRequired(View view,
ViewModel model,
Field field,
String propertyName) |
boolean |
ViewPresentationControllerBase.fieldIsRequired(View view,
ViewModel model,
Field field,
String propertyName) |
Set<String> |
ViewPresentationController.getActionFlags(View view,
UifFormBase model) |
Set<String> |
ViewPresentationControllerBase.getActionFlags(View view,
UifFormBase model) |
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
|
Set<String> |
ViewAuthorizerBase.getActionFlags(View view,
ViewModel model,
Person user,
Set<String> actions) |
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> |
ViewPresentationController.getEditModes(View view,
UifFormBase model) |
Set<String> |
ViewPresentationControllerBase.getEditModes(View view,
UifFormBase model) |
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
|
Set<String> |
ViewAuthorizerBase.getEditModes(View view,
ViewModel model,
Person user,
Set<String> editModes) |
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 void |
ViewIndex.index(View view)
Walks through the View tree and indexes all components found.
|
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
|
void |
LookupView.performApplyModel(View view,
Object model,
Component parent) |
void |
View.performFinalize(View view,
Object model,
Component parent)
The following is performed:
Adds to its document ready script the setupValidator js function for setting
up the validator for this view
|
void |
InquiryView.performInitialization(View view,
Object model)
The following initialization is performed:
Set the abstractTypeClasses map for the inquiry object path
|
void |
LookupView.performInitialization(View view,
Object model)
The following initialization is performed:
Set the abstractTypeClasses map for the lookup object path
|
void |
DocumentView.performInitialization(View view,
Object model)
The following initialization is performed:
Retrieve the document entry
Set up the document view authorizer and presentation controller
|
void |
View.performInitialization(View view,
Object model)
The following initialization is performed:
If a single paged view, set items in page group and put the page in
the items list
|
void |
MaintenanceView.performInitialization(View view,
Object model)
The following initialization is performed:
Set the abstractTypeClasses map for the maintenance object path
|
void |
ViewModel.setPreviousView(View previousView)
Setter for the previous view instance
|
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) |
void |
BreadCrumbs.performApplyModel(View view,
Object model,
Component parent)
The following updates are done here:
Evaluate expression on howeward path list
|
void |
Spinner.performFinalize(View view,
Object model,
Component parent) |
void |
RichTable.performFinalize(View view,
Object model,
Component component)
The following initialization is performed:
Initializes component options for empty table message
|
void |
Suggest.performFinalize(View view,
Object model,
Component parent)
The following actions are performed:
Adjusts the query field mappings on the query based on the binding configuration of the field
TODO: determine query if render is true and query is not set
|
void |
DirectInquiry.performFinalize(View view,
Object model,
Component parent) |
void |
QuickFinder.performFinalize(View view,
Object model,
Component parent)
The following finalization is performed:
Sets defaults on collectionLookup such as collectionName, and the class if not set
|
void |
Reorderer.performFinalize(View view,
Object model,
Component component)
The following initialization is performed:
Adds the movable style class to each group item
Prepares the movable widget option based on the movable style class
|
void |
Inquiry.performFinalize(View view,
Object model,
Component parent) |
void |
Inquiry.setupLink(View view,
Object model,
DataField field)
Get parent object and field name and build the inquiry link
This was moved from the performFinalize because overlapping and to be used
by DirectInquiry
|
Modifier and Type | Method and Description |
---|---|
protected View |
UifServletRequestDataBinder.getViewFromPreviousModel(UifFormBase form) |
Modifier and Type | Field and Description |
---|---|
protected View |
UifFormBase.previousView |
protected View |
UifFormBase.view |
Modifier and Type | Method and Description |
---|---|
View |
UifFormBase.getPreviousView() |
View |
UifFormBase.getView() |
Modifier and Type | Method and Description |
---|---|
void |
UifFormBase.setPreviousView(View previousView) |
void |
UifFormBase.setView(View view) |
Modifier and Type | Method and Description |
---|---|
List<RemotableAttributeField> |
AgendaInquiryHelperServiceImpl.retrieveAgendaCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
AgendaInquiryHelperServiceImpl.retrieveRuleActionCustomAttributes(View view,
Object model,
Container container)
This only supports a single action within a rule.
|
List<RemotableAttributeField> |
AgendaInquiryHelperServiceImpl.retrieveRuleCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
AgendaInquiryHelperServiceImpl.retrieveTermParameters(View view,
Object model,
Container container)
Retrieve a list of
RemotableAttributeField s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit. |
Modifier and Type | Method and Description |
---|---|
protected void |
TermSpecificationMaintainable.processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine) |
protected void |
TermMaintainable.processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine) |
protected void |
AgendaEditorMaintainable.processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine) |
List<RemotableAttributeField> |
AgendaEditorMaintainable.retrieveAgendaCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
TermMaintainable.retrieveCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
AgendaEditorMaintainable.retrieveRuleActionCustomAttributes(View view,
Object model,
Container container)
This only supports a single action within a rule.
|
List<RemotableAttributeField> |
AgendaEditorMaintainable.retrieveRuleCustomAttributes(View view,
Object model,
Container container) |
List<RemotableAttributeField> |
AgendaEditorMaintainable.retrieveTermParameters(View view,
Object model,
Container container)
Retrieve a list of
RemotableAttributeField s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit. |
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.