Class NewDigitalProductRequestBody

All Implemented Interfaces:
RequestIdService

public class NewDigitalProductRequestBody extends NewElementRequestBody
NewDigitalProductRequestBody describes a new digital product. The product itself is defined in the same way as any other new element; the additional fields name the existing elements that the new product is linked to. Each of them is optional.
  • Constructor Details

    • NewDigitalProductRequestBody

      public NewDigitalProductRequestBody()
      Default constructor
    • NewDigitalProductRequestBody

      public NewDigitalProductRequestBody(NewDigitalProductRequestBody template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getProductManagerGUID

      public String getProductManagerGUID()
      Return the unique identifier of the actor role that manages the product.
      Returns:
      guid
    • setProductManagerGUID

      public void setProductManagerGUID(String productManagerGUID)
      Set up the unique identifier of the actor role that manages the product.
      Parameters:
      productManagerGUID - guid
    • getProductCommunityGUID

      public String getProductCommunityGUID()
      Return the unique identifier of the community that discusses the product.
      Returns:
      guid
    • setProductCommunityGUID

      public void setProductCommunityGUID(String productCommunityGUID)
      Set up the unique identifier of the community that discusses the product.
      Parameters:
      productCommunityGUID - guid
    • getCollectionGUIDs

      public List<String> getCollectionGUIDs()
      Return the unique identifiers of the collections that the product is a member of - typically the product catalog folders and digital product families it belongs to.
      Returns:
      list of guids
    • setCollectionGUIDs

      public void setCollectionGUIDs(List<String> collectionGUIDs)
      Set up the unique identifiers of the collections that the product is a member of.
      Parameters:
      collectionGUIDs - list of guids
    • getQuestionGUIDs

      public List<String> getQuestionGUIDs()
      Return the unique identifiers of the glossary terms that describe the questions the product answers.
      Returns:
      list of guids
    • setQuestionGUIDs

      public void setQuestionGUIDs(List<String> questionGUIDs)
      Set up the unique identifiers of the glossary terms that describe the questions the product answers.
      Parameters:
      questionGUIDs - list of guids
    • getProductAssetGUID

      public String getProductAssetGUID()
      Return the unique identifier of the asset that holds the product's data.
      Returns:
      guid
    • setProductAssetGUID

      public void setProductAssetGUID(String productAssetGUID)
      Set up the unique identifier of the asset that holds the product's data.
      Parameters:
      productAssetGUID - guid
    • getGovernanceDefinitionGUIDs

      public List<String> getGovernanceDefinitionGUIDs()
      Return the unique identifiers of the governance definitions that the product is governed by, such as the license type granted to subscribers.
      Returns:
      list of guids
    • setGovernanceDefinitionGUIDs

      public void setGovernanceDefinitionGUIDs(List<String> governanceDefinitionGUIDs)
      Set up the unique identifiers of the governance definitions that the product is governed by.
      Parameters:
      governanceDefinitionGUIDs - list of guids
    • getDataSpecGUID

      public String getDataSpecGUID()
      Return the unique identifier of the data specification collection that describes the product's data.
      Returns:
      guid
    • setDataSpecGUID

      public void setDataSpecGUID(String dataSpecGUID)
      Set up the unique identifier of the data specification collection that describes the product's data.
      Parameters:
      dataSpecGUID - guid
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class NewElementRequestBody
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class NewElementRequestBody
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class NewElementRequestBody
      Returns:
      int hash code