API Documentation

This topic provides you the list of all the APIs that help you to create, view, delete, and update tags, comments, or ratings.

  • IF_TFW_COMMENT

    You use this interface to manage (add, delete, update, and retrieve) comments for an object.

    • ADD_COMMENT
    • GET_COMMENTS
    • UPDATE_COMMENT
    • DELETE_COMMENT
  • IF_TFW_METADATA

    You use this interface to identify an object to which you want to add social metadata.

    The list of methods that are available in this interface are listed below:

    • GET_OBJECT_INFO
    • SET_OBJECT_INFO
  • IF_TFW_CONSTANTS

    You use this interface to define the global constants which are used by the other interfaces or classes.

  • IF_TFW_OBJECT_FACTORY

    You use this interface to create an instance of a tag, a comment, or a rating object.

    The list of methods that are available in this interface are listed below:

    • GET_INSTANCE
    • CREATE_TAG_OBJECT
    • CREATE_COMMENT_OBJECT
    • CREATE_RATING_OBJECT
  • IF_TFW_RATING

    You use this interface to add and retrieve rating information for an object.

    The list of methods that are available in this interface are listed below:

    • ADD_RATINGS
    • GET_RATINGS
    • GET_RATING_STATS_FOR_FEATURE
  • IF_TFW_TAG

    You use this interface to add, retrieve or delete tags for an object.

    The list of methods that are available in this interface are listed below:

    • ADD_TAGS
    • GET_TAGS
    • DELETE_TAGS
  • IF_TFW_TYPES

    You use this interface to define global data types that can be used by the other interfaces.

  • IF_TFW_FACADE

    You use this interface to define the social metadata operations.

    The list of methods that are available in this interface are listed below:

    • GET_FACADE_INSTANCE
    • ADD_COMMENT
    • ADD_RATING
    • ADD_TAGS
    • DELETE_COMMENT
    • DELETE_TAGS
    • GET_COMMENTS
    • GET_RATINGS
    • GET_RATING_STATS_FOR_FEATURE
    • GET_TAGS
    • UPDATE_COMMENT
    • RESET_BUFFER

For more information, look for Settings for OData Channel Service Development on Backend System in the documentation of SAP Gateway at http://help.sap.com.