railo.runtime.search
Class SearchIndex

java.lang.Object
  extended by railo.runtime.search.SearchIndex

public final class SearchIndex
extends Object


Field Summary
static short TYPE_CUSTOM
          Field TYPE_CUSTOM
static short TYPE_FILE
          Field TYPE_FILE
static short TYPE_PATH
          Field TYPE_PATH
static short TYPE_URL
          Field TYPE_URL
 
Method Summary
 boolean equals(Object o)
           
 String[] getCategories()
           
 String getCategoryTree()
           
 String getCustom1()
           
 String getCustom2()
           
 String getCustom3()
           
 String getCustom4()
           
 String[] getExtensions()
           
 String getId()
           
 String getKey()
           
 String getLanguage()
           
 String getQuery()
           
 String getTitle()
           
 short getType()
           
 String getUrlpath()
           
static String toId(short type, String key, String queryName)
           
 String toString()
           
static String toStringType(short type)
          cast short type to string
static String toStringTypeEL(short type)
          cast short type to string
static short toType(String type)
          cast string type to short
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_FILE

public static final short TYPE_FILE
Field TYPE_FILE

See Also:
Constant Field Values

TYPE_PATH

public static final short TYPE_PATH
Field TYPE_PATH

See Also:
Constant Field Values

TYPE_CUSTOM

public static final short TYPE_CUSTOM
Field TYPE_CUSTOM

See Also:
Constant Field Values

TYPE_URL

public static final short TYPE_URL
Field TYPE_URL

See Also:
Constant Field Values
Method Detail

toType

public static short toType(String type)
                    throws SearchException
cast string type to short

Parameters:
type - type to cast
Returns:
casted type
Throws:
SearchException

toStringType

public static String toStringType(short type)
                           throws SearchException
cast short type to string

Parameters:
type - type to cast
Returns:
casted type
Throws:
SearchException

toStringTypeEL

public static String toStringTypeEL(short type)
cast short type to string

Parameters:
type - type to cast
Returns:
casted type
Throws:
SearchException

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getCustom1

public String getCustom1()
Returns:
Returns the custom1.

getCustom2

public String getCustom2()
Returns:
Returns the custom2.

getCustom3

public String getCustom3()
Returns:
Returns the custom3.

getCustom4

public String getCustom4()
Returns:
Returns the custom4.

getExtensions

public String[] getExtensions()
Returns:
Returns the extensions.

getKey

public String getKey()
Returns:
Returns the key.

getLanguage

public String getLanguage()
Returns:
Returns the language.

getTitle

public String getTitle()
Returns:
Returns the title.

getType

public short getType()
Returns:
Returns the type.

getId

public String getId()
Returns:
Returns the id.

getUrlpath

public String getUrlpath()
Returns:
Returns the urlpath.

getQuery

public String getQuery()
Returns:
Returns the query.

toString

public String toString()
Overrides:
toString in class Object

toId

public static String toId(short type,
                          String key,
                          String queryName)
Parameters:
type -
key -
queryName -
Returns:
id from given data

getCategories

public String[] getCategories()
Returns:
the categories

getCategoryTree

public String getCategoryTree()
Returns:
the categoryTree


Copyright © 2012 Railo