Modifier and Type | Method and Description |
---|---|
boolean |
DemoCollectionEditLinePresentationController.canEditLine(View view,
ViewModel model,
CollectionGroup collectionGroup,
String propertyName,
Object currentLine) |
Modifier and Type | Method and Description |
---|---|
CollectionGroup |
LookupView.getResultsGroup()
Component
CollectionGroup instance to render for the lookup results. |
Modifier and Type | Method and Description |
---|---|
void |
LookupView.setResultsGroup(CollectionGroup resultsGroup) |
Modifier and Type | Class and Description |
---|---|
class |
CollectionGroupBase
Group that holds a collection of objects and configuration for presenting the
collection in the UI.
|
Modifier and Type | Method and Description |
---|---|
List<CollectionGroup> |
CollectionGroupBase.getSubCollections()
List of
CollectionGroup instances that are sub-collections
of the collection represented by this collection group |
List<CollectionGroup> |
CollectionGroup.getSubCollections()
List of
CollectionGroup instances that are sub-collections
of the collection represented by this collection group |
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.
|
protected boolean |
CollectionGroupLineBuilder.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).
|
protected boolean |
CollectionGroupLineBuilder.checkSubCollectionRender(CollectionGroup subCollectionGroup)
Checks whether the given sub-collection should be rendered, any conditional render string is evaluated.
|
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)
|
void |
CollectionGroupBuilder.initializeActions(List<Action> actions,
CollectionGroup collectionGroup,
int lineIndex)
Updates the action parameters, jump to, refresh id, and validation configuration for the list of actions
associated with the given collection group and line index.
|
protected void |
CollectionGroupBuilder.initializeEditLineDialog(CollectionGroup collectionGroup,
int lineIndex,
Object currentLine,
Object model)
Helper method to initialize the edit line dialog and add it to the line dialogs for the group.
|
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.
|
List<Field> |
CollectionGroupLineBuilder.processAnyRemoteFieldsHolder(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. |
boolean |
CollectionGroupBuilder.refreshEditLineDialogContents(DialogGroup dialogGroup,
Object model,
CollectionGroup collectionGroup,
int lineIndex)
Helper method that checks if this is a refresh lifecycle and if the component to be refreshed is the
dialog group, and if the action parameters bind to the same object as the collection's current line, and
if they are then it returns true.
|
protected Action |
CollectionGroupBuilder.setupEditLineActionForDialog(CollectionGroup collectionGroup,
String lineSuffix,
int lineIndex,
int actionIndex)
Helper method to setup the edit line action to show the dialog
|
protected void |
CollectionGroupBuilder.setupEditLineDialog(DialogGroup editLineDialog,
CollectionGroup group,
int lineIndex,
String lineSuffix,
Object currentLine)
Helper method to create and setup the edit line dialog for the indexed line.
|
Modifier and Type | Method and Description |
---|---|
void |
CollectionGroupBase.setSubCollections(List<CollectionGroup> subCollections)
Setter for the sub collection list
|
void |
CollectionGroup.setSubCollections(List<CollectionGroup> subCollections)
Setter for the sub collection list
|
Modifier and Type | Method and Description |
---|---|
CollectionGroup |
LineBuilderContext.getCollectionGroup()
Collection group the line is being built for.
|
Modifier and Type | Method and Description |
---|---|
void |
LineBuilderContext.setCollectionGroup(CollectionGroup collectionGroup) |
Constructor and Description |
---|
LineBuilderContext(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.
|
Modifier and Type | Method and Description |
---|---|
CollectionGroup |
MultiFileUploadCollection.getCollection()
The collection which holds the files uploaded
|
Modifier and Type | Method and Description |
---|---|
void |
MultiFileUploadCollection.setCollection(CollectionGroup collection) |
Modifier and Type | Method and Description |
---|---|
static void |
FreeMarkerInlineRenderUtils.renderCollectionGroup(freemarker.core.Environment env,
CollectionGroup group)
Render a collection group inline.
|
static void |
FreeMarkerInlineRenderUtils.renderStacked(freemarker.core.Environment env,
List<? extends Component> items,
StackedLayoutManager manager,
CollectionGroup container)
Render a stacked collection inline.
|
Modifier and Type | Method and Description |
---|---|
protected void |
TableLayoutManagerBase.addActionColumn(CollectionGroup collectionGroup,
String idSuffix,
Object currentLine,
int lineIndex,
int rowSpan,
List<? extends Component> actions)
Creates a field group wrapper for the given actions based on
TableLayoutManagerBase.getActionFieldPrototype() . |
protected void |
TableLayoutManagerBase.buildTableHeaderRows(CollectionGroup collectionGroup,
List<Field> lineFields)
Create the
Label instances that will be used to render the table header |
protected void |
StackedLayoutManagerBase.determineLineActionPlacement(Group lineGroup,
CollectionGroup collectionGroup,
LineBuilderContext lineBuilderContext,
List<Component> groupFields)
Places actions in the appropriate location for the stacked group line based on placement
flags set on this layout manager
|
static void |
CollectionLayoutUtils.prepareSelectFieldForLine(Field selectField,
CollectionGroup collectionGroup,
String lineBindingPath,
Object line) |
void |
TableLayoutManagerBase.processPagingRequest(Object model,
CollectionGroup collectionGroup)
Invokes instance of
DataTablesPagingHelper to carry out
the paging request using data tables API. |
void |
StackedLayoutManagerBase.processPagingRequest(Object model,
CollectionGroup collectionGroup)
Invokes
CollectionPagingHelper to carry out the
paging request. |
void |
CollectionLayoutManager.processPagingRequest(Object model,
CollectionGroup collectionGroup)
Invoked when a paging request occurs to carry out the paging request.
|
void |
TableLayoutManagerBase.setupDetails(CollectionGroup collectionGroup)
Creates the details group for the line using the information setup through the setter methods
of this interface.
|
protected void |
TableLayoutManagerBase.setupGrouping(Object model,
CollectionGroup collectionGroup)
Sets up the grouping MessageField to be used in the first column of the table layout for
grouping collection content into groups based on values of the line's fields.
|
protected static void |
CollectionLayoutUtils.setupPagerWidget(Pager pagerWidget,
CollectionGroup collectionGroup,
Object model)
Setup a pagerWidget's values for numberOfPages and currentPage, based on the collection size, displayStart,
and displayLength
|
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.
|
static String |
TableExporter.buildExportTableData(CollectionGroup collectionGroup,
Object model,
String formatType)
Generates formatted table data based on the posted view results and format type.
|
protected static List<Integer> |
TableExporter.findIgnoredColumns(TableLayoutManager layoutManager,
CollectionGroup collectionGroup)
Helper function to determine whether if column should be displayed.
|
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) |
Constructor and Description |
---|
TableRowBuilder(CollectionGroup collectionGroup,
LineBuilderContext lineBuilderContext)
Constructor taking the collection group instance and context for the line.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MockView.createSampleLineData(CollectionGroup collectionGroup,
Object model)
Creates sample collection lines for the give collection group.
|
protected void |
MockView.mockCollectionGroup(CollectionGroup collectionGroup,
DynaForm dynaForm,
String bindingPrefix)
Adjusts binding paths for the given collection group and sets the collection object class to be
DynaDataObject |
Modifier and Type | Method and Description |
---|---|
void |
ViewHelperService.applyDefaultValuesForCollectionLine(CollectionGroup collectionGroup,
Object line)
Populate default values the model backing a line in a collection group.
|
Modifier and Type | Method and Description |
---|---|
protected CollectionGroup |
UifDefaultingServiceImpl.createCollectionInquirySection(String groupId,
String headerText) |
Modifier and Type | Method and Description |
---|---|
void |
ViewHelperServiceImpl.applyDefaultValuesForCollectionLine(CollectionGroup collectionGroup,
Object line)
Populate default values the model backing a line in a collection group.
|
Modifier and Type | Method and Description |
---|---|
static CollectionGroup |
ComponentFactory.getCollectionGroup()
Gets the collection group
|
static CollectionGroup |
ComponentFactory.getCollectionGroupTableLayout()
Gets the collection group table layout
|
static CollectionGroup |
ComponentFactory.getCollectionWithDisclosureGroup()
Gets the collection group with disclosure behavior
|
static CollectionGroup |
ComponentFactory.getCollectionWithDisclosureGroupTableLayout()
Gets the collection group table layout with disclosure behavior
|
static CollectionGroup |
ComponentFactory.getListGroup()
Gets the list group
|
Modifier and Type | Method and Description |
---|---|
static void |
ContextUtils.updateContextForLine(Component component,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex,
String lineSuffix)
Update the context map for the given component with the collection context.
|
static void |
ComponentUtils.updateContextForLine(Component component,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex,
String lineSuffix)
update the context map for the given component
|
static void |
ContextUtils.updateContextsForLine(List<? extends Component> components,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex,
String lineSuffix)
Update the contexts of the given components.
|
static void |
ComponentUtils.updateContextsForLine(List<? extends Component> components,
CollectionGroup collectionGroup,
Object collectionLine,
int lineIndex,
String lineSuffix)
Update the contexts of the given components.
|
Constructor and Description |
---|
MultiColumnComparator(List<Object> modelCollection,
CollectionGroup collectionGroup,
List<ColumnSort> columnSorts,
ViewModel form,
View view)
Constructs a MultiColumnComparator instance
|
Modifier and Type | Method and Description |
---|---|
CollectionGroup |
ViewIndex.getCollectionGroupByPath(String collectionPath)
Retrieves a
CollectionGroup instance from the index |
Modifier and Type | Method and Description |
---|---|
Map<String,CollectionGroup> |
ViewIndex.getCollectionsIndex()
Gets the Map that contains collection indexing information.
|
Modifier and Type | Method and Description |
---|---|
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.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 |
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) |
Modifier and Type | Method and Description |
---|---|
protected void |
RichTable.buildSortOptions(LookupView lookupView,
CollectionGroup collectionGroup)
Builds default sorting options.
|
protected void |
RichTable.buildTableOptions(CollectionGroup collectionGroup)
Builds column options for sorting
|
protected String |
RichTable.getDataFieldColumnOptions(int target,
CollectionGroup collectionGroup,
DataField field)
Construct the column options for a data field
|
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).
|
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.