Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.search.api.client.querymodel
Class QueryModel

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.client.querymodel.QueryModel
All Implemented Interfaces:
Serializable

Deprecated. use ContentView instances in conjunction with PageProvider instead.

@Deprecated
public class QueryModel
extends Object
implements Serializable

Query model maintaining the context about a query descriptor, and for stateful models a document containing parameters that can be used by the model.

Author:
Olivier Grisel, Georges Racinet, Florent Guillaume
See Also:
Serialized Form

Constructor Summary
QueryModel(QueryModelDescriptor descriptor)
          Deprecated.  
QueryModel(QueryModelDescriptor descriptor, DocumentModel documentModel)
          Deprecated.  
 
Method Summary
 boolean detachResults()
          Deprecated.  
 QueryModelDescriptor getDescriptor()
          Deprecated.  
 DocumentModel getDocumentModel()
          Deprecated.  
 DocumentModelList getDocuments(CoreSession session)
          Deprecated.  
 DocumentModelList getDocuments(CoreSession session, Object[] params)
          Deprecated.  
 int getMax()
          Deprecated.  
 Object getProperty(String schemaName, String name)
          Deprecated.  
 Object getPropertyValue(String xpath)
          Deprecated.  
 PagedDocumentsProvider getResultsProvider(CoreSession session, Object[] params)
          Deprecated.  
 PagedDocumentsProvider getResultsProvider(CoreSession session, Object[] params, SortInfo sortInfo)
          Deprecated.  
 boolean getSortAscending()
          Deprecated.  
 String getSortColumn()
          Deprecated.  
 boolean isPersisted()
          Deprecated.  
 boolean isSortable()
          Deprecated.  
 void reset()
          Deprecated.  
 void setMax(int max)
          Deprecated.  
 void setPersisted(boolean isPersisted)
          Deprecated.  
 void setProperty(String schemaName, String name, Object value)
          Deprecated.  
 void setPropertyValue(String xpath, Serializable value)
          Deprecated.  
 void setSortAscending(boolean sortAscending)
          Deprecated.  
 void setSortColumn(String value)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryModel

public QueryModel(QueryModelDescriptor descriptor,
                  DocumentModel documentModel)
Deprecated. 

QueryModel

public QueryModel(QueryModelDescriptor descriptor)
Deprecated. 
Method Detail

detachResults

public boolean detachResults()
Deprecated. 

isPersisted

public boolean isPersisted()
Deprecated. 

setPersisted

public void setPersisted(boolean isPersisted)
Deprecated. 

getDocumentModel

public DocumentModel getDocumentModel()
Deprecated. 

getDocuments

public DocumentModelList getDocuments(CoreSession session)
                               throws ClientException
Deprecated. 
Throws:
ClientException

getDocuments

public DocumentModelList getDocuments(CoreSession session,
                                      Object[] params)
                               throws ClientException
Deprecated. 
Throws:
ClientException

getResultsProvider

public PagedDocumentsProvider getResultsProvider(CoreSession session,
                                                 Object[] params)
                                          throws ClientException
Deprecated. 
Throws:
ClientException

getResultsProvider

public PagedDocumentsProvider getResultsProvider(CoreSession session,
                                                 Object[] params,
                                                 SortInfo sortInfo)
                                          throws ClientException
Deprecated. 
Throws:
ClientException

getDescriptor

public QueryModelDescriptor getDescriptor()
Deprecated. 

getProperty

public Object getProperty(String schemaName,
                          String name)
Deprecated. 

setProperty

public void setProperty(String schemaName,
                        String name,
                        Object value)
Deprecated. 

getPropertyValue

public Object getPropertyValue(String xpath)
Deprecated. 

setPropertyValue

public void setPropertyValue(String xpath,
                             Serializable value)
Deprecated. 

setSortColumn

public void setSortColumn(String value)
Deprecated. 

getSortColumn

public String getSortColumn()
Deprecated. 

getSortAscending

public boolean getSortAscending()
Deprecated. 

setSortAscending

public void setSortAscending(boolean sortAscending)
Deprecated. 

isSortable

public boolean isSortable()
Deprecated. 

reset

public void reset()
Deprecated. 

getMax

public int getMax()
Deprecated. 

setMax

public void setMax(int max)
Deprecated. 

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.