org.alfresco.sample.webservice
Class Query2

java.lang.Object
  extended by org.alfresco.sample.webservice.SamplesBase
      extended by org.alfresco.sample.webservice.Query2

public class Query2
extends SamplesBase


Nested Class Summary
 class Query2.ContentResult
          Class to contain the information about the result from the query
 
Field Summary
 
Fields inherited from class org.alfresco.sample.webservice.SamplesBase
PASSWORD, SAMPLE_FOLDER, STORE, USERNAME
 
Constructor Summary
Query2()
           
 
Method Summary
 java.util.List<Query2.ContentResult> getRankedContent(java.lang.String spaceName, java.lang.String searchValue)
          Get a list of ordered results of documents in the space specified matching the search text provided.
static void main(java.lang.String[] args)
          Main method
 
Methods inherited from class org.alfresco.sample.webservice.SamplesBase
createSampleData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Query2

public Query2()
Method Detail

main

public static void main(java.lang.String[] args)
Main method

Parameters:
args -

getRankedContent

public java.util.List<Query2.ContentResult> getRankedContent(java.lang.String spaceName,
                                                             java.lang.String searchValue)
Get a list of ordered results of documents in the space specified matching the search text provided.

Parameters:
spaceName - the name of the space (immediatly beneth the company home space) to search
searchValue - the FTS search value
Returns:
list of results


Copyright © 2008. All Rights Reserved.