Feed Component
A Feed Component is a ui5 component that applications can use to render a sap.m.App that embeds the JAM Feed Widget.
The Component class extends the base UI5 UIComponent class.
This class defines the Reusable UI5 Component structure, i.e properties, aggregations and events, if any, and creates the UI5 controls to be displayed.
Deprecated API:Since version 1.26.0. Please use sap.collaboration.components.fiori.feed.dialog.Component instead.
Since: version 1.16.
Method Summary
getHeight()Gets current value of property height
. getObject()Gets current value of property object
. getWidth()Gets current value of property width
. setFeedType(sFeedType)Sets a new value for property feedType
. setGroupIds(sGroupIds)Sets a new value for property groupIds
. setHeight(sHeight)Sets a new value for property height
. setObject(oObject)Sets a new value for property object
. setWidth(sWidth)Sets a new value for property width
. Constructor Detail
new sap.collaboration.components.fiori.feed.Component(oDataServiceUrl?, feedType, groupIds?)
Constructor for the Feed Component.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
Parameters:
{sap.ui.core.URI} | oDataServiceUrl? | The OData service URL needed for the Feed Component, the default value is "/sap/opu/odata/sap/SM_INTEGRATION_SRV". |
{sap.collaboration.FeedType} | feedType | The type of feed to be displayed. |
{string} | groupIds? | A comma separated list of group IDs. |
| | |
- Deprecated:
- Since version 1.26.0. Please use sap.collaboration.components.fiori.feed.dialog.Component instead.
Method Detail
sap.collaboration.components.fiori.feed.Component.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.collaboration.components.fiori.feed.Component with name
sClassName
and enriches it with the information contained in
oClassInfo
.
oClassInfo
might contain the same kind of information as described in Object.extend.
Parameters:
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
Returns:
{function} | Created class / constructor function |
Returns a metadata object for class sap.collaboration.components.fiori.feed.Component.
Returns:
sap.collaboration.components.fiori.feed.Component.setSettings()
Contract for passing the settings to the Component.
Parameters:
getFeedType(): string
Gets current value of property feedType
.
Returns:
{string} | Value of property feedType |
getGroupIds(): string
Gets current value of property groupIds
.
Returns:
{string} | Value of property groupIds |
Gets current value of property
height
.
Default value is
.
Returns:
getObject(): object
Gets current value of property object
.
Returns:
{object} | Value of property object |
Gets current value of property
oDataServiceUrl
.
Default value is /sap/opu/odata/sap/SM_INTEGRATION_SRV
.
Returns:
Gets current value of property
width
.
Default value is
.
Returns:
Sets a new value for property
feedType
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sFeedType | New value for property feedType |
Returns:
Sets a new value for property
groupIds
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{string} | sGroupIds | New value for property groupIds |
Returns:
Sets a new value for property
height
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is
.
Parameters:
Returns:
Sets a new value for property
object
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Parameters:
{object} | oObject | New value for property object |
Returns:
Sets a new value for property
oDataServiceUrl
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is /sap/opu/odata/sap/SM_INTEGRATION_SRV
.
Parameters:
Returns:
Sets a new value for property
width
.
When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is
.
Parameters:
Returns: