Class IndexService_JAXWS


  • public class IndexService_JAXWS
    extends java.lang.Object
    IndexService defines the service that is reponsible for performing operations on the index.
    Version:
    2013-08-26
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ExtractResponse extractObjects​(java.lang.String[] objects, java.lang.String target)
      Marks a set of objects for extraction to the index.
      java.lang.String[] getObjectsInDateRange​(java.util.Date fromDate, java.util.Date toDate, java.lang.String target)
      Gets a list of objects that should be in the index.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IndexService_JAXWS

        public IndexService_JAXWS()
    • Method Detail

      • extractObjects

        public ExtractResponse extractObjects​(java.lang.String[] objects,
                                              java.lang.String target)
        Marks a set of objects for extraction to the index.
        Parameters:
        objects - A list of objects to be extracted. Objects should be formatted 'dataId=1234&version=2' or 'dataId=1234'
        target - The index to extract to.
        Returns:
        Indicates which objects failed to be extracted and how many were successfully extracted.
      • getObjectsInDateRange

        public java.lang.String[] getObjectsInDateRange​(java.util.Date fromDate,
                                                        java.util.Date toDate,
                                                        java.lang.String target)
        Gets a list of objects that should be in the index.
        Parameters:
        fromDate - The beginning of the date range to consider.
        toDate - The end of the date range to consider.
        target - The index we are getting the list for.
        Returns:
        A list of object OTURNs indicating objects that should be in the index.