Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 2 (11.1.2.2.0)
E17494-03


oracle.alm.view.model
Class AlmFilterQueryModel

java.lang.Object
  extended by oracle.alm.view.model.AlmSimpleQueryModel
      extended by oracle.alm.view.model.AlmFilterQueryModel


public abstract class AlmFilterQueryModel
extends AlmSimpleQueryModel

Constructor Summary
AlmFilterQueryModel()
           

 

Method Summary
 WorkItemQuerySet getCurrentQuery(RenderingContext rContext, AlmComponent component, boolean forceOrginal)
           
 java.util.List<Criterion> getCustomCriteria(RenderingContext rcontext, AlmComponent component)
           
 java.lang.String getCustomMetaFile()
           
abstract  java.util.List<Criterion> getFilterCriteria(RenderingContext rcontext, AlmComponent component)
           
 java.lang.Object getQueryResources(RenderingContext rContext, AlmComponent component)
           
 void setCurrentQuery(RenderingContext rContext, AlmComponent component, WorkItemQuerySet query)
          Set the current query object.

 

Methods inherited from class oracle.alm.view.model.AlmSimpleQueryModel
getDescription, getQueryType, search

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AlmFilterQueryModel

public AlmFilterQueryModel()

Method Detail

getFilterCriteria

public abstract java.util.List<Criterion> getFilterCriteria(RenderingContext rcontext,
                                                            AlmComponent component)
Parameters:
rcontext - The current RenderingContext object
component - The current AlmQuickSearchComponent component
Returns:
the filter criteria for current quick search.

getCustomCriteria

public java.util.List<Criterion> getCustomCriteria(RenderingContext rcontext,
                                                   AlmComponent component)
Parameters:
rcontext - The current RenderingContext object
component - The current AlmQuickSearchComponent component
Returns:
the custumized crtieria part for the curretn quick search.

getCustomMetaFile

public java.lang.String getCustomMetaFile()
Returns:
the customized UI metaData file name for the search customization dialog.

getQueryResources

public java.lang.Object getQueryResources(RenderingContext rContext,
                                          AlmComponent component)
Specified by:
getQueryResources in class AlmSimpleQueryModel
Parameters:
rContext - The current RenderingContext object
component - The current component with the search functionality, such as a AlmSerchComponent or an AlmQuickSearchComponent object
Returns:
the resources (category) from which the search will perform. resources is used for the search by type part in the search control

getCurrentQuery

public WorkItemQuerySet getCurrentQuery(RenderingContext rContext,
                                        AlmComponent component,
                                        boolean forceOrginal)
Parameters:
rContext - The current RenderingContext object
component - The current AlmQuickSearchComponent component
forceOrginal - boolean value to indicate if need to retreive the original query as current query.
Returns:
the current query object

setCurrentQuery

public void setCurrentQuery(RenderingContext rContext,
                            AlmComponent component,
                            WorkItemQuerySet query)
Set the current query object.
Parameters:
rContext - The current RenderingContext object
component - The current AlmQuickSearchComponent component
query - the query object

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Team Productivity Center
11g Release 2 (11.1.2.2.0)
E17494-03


Copyright © 1998,2012, Oracle. All rights reserved.