Class sap.ca.ui.CustomerControlListItemModule: sap/ca/ui/CustomerControlListItem


Extends the ObjectListItem to display a line in the customer context control.

Deprecated API:Since version 1.24.3. This control is not required anymore as per central UX requirements. Please use Contextual Filter design instead! This control will not be supported anymore.

Constructor Summary
new sap.ca.ui.CustomerControlListItem(sId?, mSettings?)Constructor for a new CustomerControlListItem.
Fields borrowed from class sap.m.ListItemBase
Events borrowed from class sap.m.ListItemBase
Events borrowed from class sap.ui.core.Control
Method Summary
sap.ca.ui.CustomerControlListItem.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.ca.ui.CustomerControlListItem with name sClassName and enriches it with the information contained in oClassInfo.
sap.ca.ui.CustomerControlListItem.getMetadata()Returns a metadata object for class sap.ca.ui.CustomerControlListItem.
getCustomerID()Getter for property customerID.
getCustomerName()Getter for property customerName.
getDistributionChannelName()Getter for property distributionChannelName.
getDivisionName()Getter for property divisionName.
getSalesOrganizationName()Getter for property salesOrganizationName.
getShowSalesArea()Getter for property showSalesArea.
setCustomerID(sCustomerID)Setter for property customerID.
setCustomerName(sCustomerName)Setter for property customerName.
setDistributionChannelName(sDistributionChannelName)Setter for property distributionChannelName.
setDivisionName(sDivisionName)Setter for property divisionName.
setSalesOrganizationName(sSalesOrganizationName)Setter for property salesOrganizationName.
setShowSalesArea(bShowSalesArea)Setter for property showSalesArea.
Constructor Detail
new sap.ca.ui.CustomerControlListItem(sId?, mSettings?)
Constructor for a new CustomerControlListItem.

Accepts an object literal mSettings that defines initial property values, aggregated and associated objects as well as event handlers.

If the name of a setting is ambiguous (e.g. a property has the same name as an event), then the framework assumes property, aggregation, association, event in that order. To override this automatic resolution, one of the prefixes "aggregation:", "association:" or "event:" can be added to the name of the setting (such a prefixed name must be enclosed in single or double quotes).

The supported settings are:

In addition, all settings applicable to the base type sap.m.CustomListItem can be used as well.

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Deprecated:
Since version 1.24.3. This control is not required anymore as per central UX requirements. Please use Contextual Filter design instead! This control will not be supported anymore.
Method Detail
sap.ca.ui.CustomerControlListItem.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.ca.ui.CustomerControlListItem with name sClassName and enriches it with the information contained in oClassInfo.

oClassInfo might contain the same kind of informations as described in Element.extend.

Parameters:
{string}sClassName name of the class to be created
{object}oClassInfo? object literal with informations about the class
{function}FNMetaImpl? constructor function for the metadata object. If not given, it defaults to sap.ui.core.ElementMetadata.
Returns:
{function} the created class / constructor function
sap.ca.ui.CustomerControlListItem.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.ca.ui.CustomerControlListItem.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getCustomerID(): string
Getter for property customerID. The ID of the customer

Default value is CustomerID

Returns:
{string} the value of property customerID
getCustomerName(): string
Getter for property customerName. The name of the customer

Default value is CustomerName

Returns:
{string} the value of property customerName
getDistributionChannelName(): string
Getter for property distributionChannelName. The distribution channel name

Default value is DistributionChannelName

Returns:
{string} the value of property distributionChannelName
getDivisionName(): string
Getter for property divisionName. The division name

Default value is DivisionName

Returns:
{string} the value of property divisionName
getSalesOrganizationName(): string
Getter for property salesOrganizationName. The sales organization name

Default value is SalesOrganizationName

Returns:
{string} the value of property salesOrganizationName
getShowSalesArea(): boolean
Getter for property showSalesArea. Display or not the customers sales area as well as its name and id.

Default value is false

Returns:
{boolean} the value of property showSalesArea
setCustomerID(sCustomerID): sap.ca.ui.CustomerControlListItem
Setter for property customerID.

Default value is CustomerID

Parameters:
{string}sCustomerID new value for property customerID
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining
setCustomerName(sCustomerName): sap.ca.ui.CustomerControlListItem
Setter for property customerName.

Default value is CustomerName

Parameters:
{string}sCustomerName new value for property customerName
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining
setDistributionChannelName(sDistributionChannelName): sap.ca.ui.CustomerControlListItem
Setter for property distributionChannelName.

Default value is DistributionChannelName

Parameters:
{string}sDistributionChannelName new value for property distributionChannelName
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining
setDivisionName(sDivisionName): sap.ca.ui.CustomerControlListItem
Setter for property divisionName.

Default value is DivisionName

Parameters:
{string}sDivisionName new value for property divisionName
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining
setSalesOrganizationName(sSalesOrganizationName): sap.ca.ui.CustomerControlListItem
Setter for property salesOrganizationName.

Default value is SalesOrganizationName

Parameters:
{string}sSalesOrganizationName new value for property salesOrganizationName
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining
setShowSalesArea(bShowSalesArea): sap.ca.ui.CustomerControlListItem
Setter for property showSalesArea.

Default value is false

Parameters:
{boolean}bShowSalesArea new value for property showSalesArea
Returns:
{sap.ca.ui.CustomerControlListItem}this to allow method chaining