Class sap.uiext.inbox.composite.InboxCommentModule: sap/uiext/inbox/composite/InboxComment

extends Control

fsgg

Constructor Summary
new sap.uiext.inbox.composite.InboxComment(sId?, mSettings?)Constructor for a new composite/InboxComment.
Events borrowed from class sap.ui.core.Control
Method Summary
sap.uiext.inbox.composite.InboxComment.extend(sClassName, oClassInfo?, FNMetaImpl?)Creates a new subclass of class sap.uiext.inbox.composite.InboxComment with name sClassName and enriches it with the information contained in oClassInfo.
sap.uiext.inbox.composite.InboxComment.getMetadata()Returns a metadata object for class sap.uiext.inbox.composite.InboxComment.
getCreatedBy()Getter for property createdBy.
getSapOrigin()Getter for property sapOrigin.
getSender()Getter for property sender.
getText()Getter for property text.
getThumbnailSrc()Getter for property thumbnailSrc.
getTimestamp()Getter for property timestamp.
setCreatedBy(sCreatedBy)Setter for property createdBy.
setSapOrigin(sSapOrigin)Setter for property sapOrigin.
setSender(sSender)Setter for property sender.
setText(sText)Setter for property text.
setThumbnailSrc(sThumbnailSrc)Setter for property thumbnailSrc.
setTimestamp(sTimestamp)Setter for property timestamp.
Constructor Detail
new sap.uiext.inbox.composite.InboxComment(sId?, mSettings?)
Constructor for a new composite/InboxComment.

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:

Parameters:
{string}sId? id for the new control, generated automatically if no id is given
{object}mSettings? initial settings for the new control
Method Detail
sap.uiext.inbox.composite.InboxComment.extend(sClassName, oClassInfo?, FNMetaImpl?): function
Creates a new subclass of class sap.uiext.inbox.composite.InboxComment 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.uiext.inbox.composite.InboxComment.getMetadata(): sap.ui.base.Metadata
Returns a metadata object for class sap.uiext.inbox.composite.InboxComment.
Returns:
{sap.ui.base.Metadata} Metadata object describing this class
getCreatedBy(): string
Getter for property createdBy. Unique username of the user responsible for adding comment

Default value is empty/undefined

Returns:
{string} the value of property createdBy
getSapOrigin(): string
Getter for property sapOrigin. Represent system origin in case of multi origin scenario

Default value is empty/undefined

Returns:
{string} the value of property sapOrigin
getSender(): string
Getter for property sender. Sender of the comment chunk

Default value is empty/undefined

Returns:
{string} the value of property sender
getText(): string
Getter for property text. The FeedChunk text

Default value is empty/undefined

Returns:
{string} the value of property text
getThumbnailSrc(): sap.ui.core.URI
Getter for property thumbnailSrc. URL to the thumbnail image.

Default value is empty/undefined

Returns:
{sap.ui.core.URI} the value of property thumbnailSrc
getTimestamp(): string
Getter for property timestamp. Format is ISO 8601 YYYY-MM-DDThh:mm:ss.sZ, Z meaning the time is in UTC time zone

Default value is empty/undefined

Returns:
{string} the value of property timestamp
setCreatedBy(sCreatedBy): sap.uiext.inbox.composite.InboxComment
Setter for property createdBy.

Default value is empty/undefined

Parameters:
{string}sCreatedBy new value for property createdBy
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining
setSapOrigin(sSapOrigin): sap.uiext.inbox.composite.InboxComment
Setter for property sapOrigin.

Default value is empty/undefined

Parameters:
{string}sSapOrigin new value for property sapOrigin
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining
Setter for property sender.

Default value is empty/undefined

Parameters:
{string}sSender new value for property sender
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining
Setter for property text.

Default value is empty/undefined

Parameters:
{string}sText new value for property text
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining
setThumbnailSrc(sThumbnailSrc): sap.uiext.inbox.composite.InboxComment
Setter for property thumbnailSrc.

Default value is empty/undefined

Parameters:
{sap.ui.core.URI}sThumbnailSrc new value for property thumbnailSrc
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining
setTimestamp(sTimestamp): sap.uiext.inbox.composite.InboxComment
Setter for property timestamp.

Default value is empty/undefined

Parameters:
{string}sTimestamp new value for property timestamp
Returns:
{sap.uiext.inbox.composite.InboxComment}this to allow method chaining