Foundations Apex API Developer Reference

fferpcore.FeatureConsoleUpdateWithOptions

global inherited sharing class FeatureConsoleUpdateWithOptions

Container for the classes that relate to the Lightning component that enables users to select items from a list in a feature step.

Properties

Name Type Description
LIGHTNING_APP String Name of the associated Lightning app.
LIGHTNING_COMPONENT String Name of the associated Lightning component.

fferpcore.FeatureConsoleUpdateWithOptions.DisplayData

global inherited sharing class DisplayData

Data required by the Lightning component.

Properties

Name Type Description
IsRevert Boolean Whether the feature step is being reverted.
Items List<fferpcore.FeatureConsoleUpdateWithOptions.DisplayItem> Data for the items to display in the component.
Title String Title of the dialog box.
HeaderText String Text displayed in the header of the dialog box.
Errors List<String> A list of errors that occurred when generating the display data.
NameColumnHeaderText String Text to replace the Name column heading.
ProposedColumnHeaderText String Text to replace the Proposed Value column heading.
CurrentColumnHeaderText String Text to replace the Current Value column heading.
ShowCurrentColumn Boolean Whether you want to display the Current Value column.
HasNothingToDo Boolean Whether the feature step has no actions to complete.

Methods

DisplayData

global DisplayData()

serialize

global String serialize()

fferpcore.FeatureConsoleUpdateWithOptions.DisplayItem

global inherited sharing class DisplayItem

Data for a single row in the component.

Properties

Name Type Description
Selected Boolean Whether you want the row to be selected by default.
ApiKey String Internal name of the item.
DisplayKey String Visible name of the item.
CurrentValue String Current value of the item in the org.
ProposedValue String Proposed value of the item to set in the org.

Methods

DisplayItem

global DisplayItem()

DisplayItem

global DisplayItem(String key)

withCurrentValue

global fferpcore.FeatureConsoleUpdateWithOptions.DisplayItem withCurrentValue(String value)

Specify the current value.

Input Parameters

Name Type Description
value String Value to be set.

Return Value

Current instance to enable chaining methods.

withProposedValue

global fferpcore.FeatureConsoleUpdateWithOptions.DisplayItem withProposedValue(String value)

Specify the proposed value.

Input Parameters

Name Type Description
value String Value to be set.

Return Value

Current instance to enable chaining methods.

withSelected

global fferpcore.FeatureConsoleUpdateWithOptions.DisplayItem withSelected(Boolean value)

Specify whether you want the checkbox of the row to be selected by default.

Input Parameters

Name Type Description
value Boolean Value of the checkbox. True indicates that the row is selected by default.

Return Value

Current instance to enable chaining methods.

© Copyright 2009–2022 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.