Class IDocumentPopularityProvider.DocumentPopularityKey

    • Constructor Summary

      Constructors 
      Constructor Description
      DocumentPopularityKey​(java.lang.String serviceInstanceId, java.lang.String sourceId, java.lang.String itemId)
      Creates a new key object with the given parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getItemId()
      Returns the item identifier.
      java.lang.String getServiceInstanceId()
      Returns the service instance identifier.
      java.lang.String getSourceId()
      Returns the source identifier.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentPopularityKey

        public DocumentPopularityKey​(java.lang.String serviceInstanceId,
                                     java.lang.String sourceId,
                                     java.lang.String itemId)
        Creates a new key object with the given parameters.
        Parameters:
        serviceInstanceId - the service instance identifier.
        sourceId - the source identifier.
        itemId - the item identifier.
        Throws:
        java.lang.IllegalArgumentException - if any of the parameters is null or an empty string.
        Since:
        11.1.0
    • Method Detail

      • getServiceInstanceId

        public java.lang.String getServiceInstanceId()
        Returns the service instance identifier.
        Returns:
        the service instance identifier
        Since:
        11.1.0
      • getSourceId

        public java.lang.String getSourceId()
        Returns the source identifier.
        Returns:
        the source identifier
        Since:
        11.1.0
      • getItemId

        public java.lang.String getItemId()
        Returns the item identifier.
        Returns:
        the item identifier
        Since:
        11.1.0
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object