com.atlassian.jira.plugin.webfragment.conditions
Class HasLastSearchRequestCondition

java.lang.Object
  extended by com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
      extended by com.atlassian.jira.plugin.webfragment.conditions.HasLastSearchRequestCondition
All Implemented Interfaces:
com.atlassian.plugin.web.baseconditions.BaseCondition, com.atlassian.plugin.web.Condition

public class HasLastSearchRequestCondition
extends AbstractJiraCondition

Condition that checks if a user has a current search.

Since:
v4.0

Constructor Summary
HasLastSearchRequestCondition(VelocityRequestContextFactory requestContextFactory, SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
           
 
Method Summary
 boolean shouldDisplay(com.atlassian.crowd.embedded.api.User user, JiraHelper jiraHelper)
           
 
Methods inherited from class com.atlassian.jira.plugin.webfragment.conditions.AbstractJiraCondition
init, shouldDisplay
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HasLastSearchRequestCondition

public HasLastSearchRequestCondition(VelocityRequestContextFactory requestContextFactory,
                                     SessionSearchObjectManagerFactory sessionSearchObjectManagerFactory)
Method Detail

shouldDisplay

public boolean shouldDisplay(com.atlassian.crowd.embedded.api.User user,
                             JiraHelper jiraHelper)
Specified by:
shouldDisplay in class AbstractJiraCondition


Copyright © 2002-2014 Atlassian. All Rights Reserved.