com.plumtree.portaluiinfrastructure.search
Class SearchUIUtility

java.lang.Object
  extended by com.plumtree.portaluiinfrastructure.search.SearchUIUtility

public class SearchUIUtility
extends java.lang.Object

Some common stuff for the Search UI.

Author:
MatthewF

Field Summary
static java.lang.String COM_BAD_COMPARISON_VALUE
           
static java.lang.String COM_CANT_CONNECT
           
static java.lang.String COM_EMPTY_QUERY
           
static java.lang.String COM_EMPTY_SEARCH_STRING
           
static java.lang.String COM_EMPTY_SERVER_LIST
           
static java.lang.String COM_ENDS_OPERATOR
           
static java.lang.String COM_INAPPROPRIATE_OP
           
static java.lang.String COM_MIDSTRING_WILDCARD
           
static java.lang.String COM_NO_ACTIVE
           
static java.lang.String COM_NO_CONSTRAINTS
           
static java.lang.String COM_SOCKET_TIMEOUT
           
static java.lang.String COM_TOO_MANY_PARENS
           
static java.lang.String COM_TWO_OPERATORS
           
 
Constructor Summary
SearchUIUtility()
           
 
Method Summary
static boolean ExceptionHiddenInPageSource(SearchExecutionException exception)
           
static SearchExecutionException GetI18NException(java.lang.Exception e, AActivitySpace m_asOwner)
          Helper method to translate a COM exception into an internationalized SearchExecutionException
static HTMLImg GetImage(AActivitySpace space, PTImageType imageType, java.lang.String altText, java.lang.String width, java.lang.String height)
           
static HTMLElement makeSpacer(AActivitySpace activitySpace, java.lang.String height)
           
static void RethrowCOMExecutionException(java.lang.Exception e, AActivitySpace m_asOwner)
          Helper method to translate and rethrow a COM exception as a SearchExecutionException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COM_EMPTY_SEARCH_STRING

public static final java.lang.String COM_EMPTY_SEARCH_STRING
See Also:
Constant Field Values

COM_EMPTY_QUERY

public static final java.lang.String COM_EMPTY_QUERY
See Also:
Constant Field Values

COM_CANT_CONNECT

public static final java.lang.String COM_CANT_CONNECT
See Also:
Constant Field Values

COM_EMPTY_SERVER_LIST

public static final java.lang.String COM_EMPTY_SERVER_LIST
See Also:
Constant Field Values

COM_NO_ACTIVE

public static final java.lang.String COM_NO_ACTIVE
See Also:
Constant Field Values

COM_MIDSTRING_WILDCARD

public static final java.lang.String COM_MIDSTRING_WILDCARD
See Also:
Constant Field Values

COM_INAPPROPRIATE_OP

public static final java.lang.String COM_INAPPROPRIATE_OP
See Also:
Constant Field Values

COM_BAD_COMPARISON_VALUE

public static final java.lang.String COM_BAD_COMPARISON_VALUE
See Also:
Constant Field Values

COM_SOCKET_TIMEOUT

public static final java.lang.String COM_SOCKET_TIMEOUT
See Also:
Constant Field Values

COM_TWO_OPERATORS

public static final java.lang.String COM_TWO_OPERATORS
See Also:
Constant Field Values

COM_ENDS_OPERATOR

public static final java.lang.String COM_ENDS_OPERATOR
See Also:
Constant Field Values

COM_TOO_MANY_PARENS

public static final java.lang.String COM_TOO_MANY_PARENS
See Also:
Constant Field Values

COM_NO_CONSTRAINTS

public static final java.lang.String COM_NO_CONSTRAINTS
See Also:
Constant Field Values
Constructor Detail

SearchUIUtility

public SearchUIUtility()
Method Detail

GetImage

public static HTMLImg GetImage(AActivitySpace space,
                               PTImageType imageType,
                               java.lang.String altText,
                               java.lang.String width,
                               java.lang.String height)

makeSpacer

public static HTMLElement makeSpacer(AActivitySpace activitySpace,
                                     java.lang.String height)
Parameters:
height -
Returns:
Throws:
HTMLException

RethrowCOMExecutionException

public static void RethrowCOMExecutionException(java.lang.Exception e,
                                                AActivitySpace m_asOwner)
Helper method to translate and rethrow a COM exception as a SearchExecutionException


GetI18NException

public static SearchExecutionException GetI18NException(java.lang.Exception e,
                                                        AActivitySpace m_asOwner)
Helper method to translate a COM exception into an internationalized SearchExecutionException


ExceptionHiddenInPageSource

public static boolean ExceptionHiddenInPageSource(SearchExecutionException exception)



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.