public class SearchData extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static int |
CTRL_INFO
Indicates an operation for retrieving control information for a given
template.
|
static int |
GENERIC_SEARCH_FLDS
Indicates an operation for stopping a search
|
static int |
GENERIC_TMPL
Indicates an operation required to display information for a generic
template.
|
static int |
GENERIC_TMPL_FIELDS
Indicates an operation required for retrieving fields information to
display in the generic template.
|
ControlInfo |
mClass |
ControlInfo |
mField |
static int |
SEARCH
Indicates a search operation.
|
static int |
SET_RESULTS
Indicates an operation for setting the results for the search.
|
static int |
STOP_SEARCH
Indicates an operation for stopping a search
|
Constructor and Description |
---|
SearchData(int type)
Creates an instance of this data class.
|
SearchData(int type,
SearchTemplate tmpl)
Creates an instance of this data class.
|
SearchData(int type,
SearchTemplate[] templates)
Creates an instance of this data class.
|
SearchData(int type,
String str)
Creates an instance of this data class.
|
SearchData(int type,
String[] fields)
Creates an instance of this data class.
|
SearchData(int type,
String[] arg,
ControlInfo ciClass,
ControlInfo ciField,
SearchTemplate st)
Creates an instance of this data class.
|
Modifier and Type | Method and Description |
---|---|
String |
getClassString() |
Hashtable |
getControlInfo() |
String[] |
getFields() |
String[] |
getGenericSearchArgs() |
PModelHandle |
getHandle() |
String |
getSpec() |
String[] |
getSubclasses() |
SearchTemplate |
getTemplate() |
SearchTemplate[] |
getTemplates() |
int |
getType() |
void |
setControlInfo(Hashtable cInfo)
Sets the ControlInfo property.
|
void |
setFields(String[] flds)
Sets the fields for the generic template.
|
void |
setHandle(PModelHandle h)
Sets the model handle to be used in the client.
|
void |
setSpec(String s)
Sets the Spec property for a template.
|
void |
setSubclasses(String[] sclass)
Sets the subclasses for the generic template.
|
void |
setTemplates(SearchTemplate[] tmpls)
Sets the search templates property.
|
public static final int SEARCH
public static final int GENERIC_TMPL
public static final int GENERIC_TMPL_FIELDS
public static final int SET_RESULTS
public static final int CTRL_INFO
public static final int STOP_SEARCH
public static final int GENERIC_SEARCH_FLDS
public ControlInfo mClass
public ControlInfo mField
public SearchData(int type, SearchTemplate[] templates)
type
- the operation this is used fortemplates
- the templates to use in the search.public SearchData(int type, String str)
type
- the operation this is used forstr
- the string representing a classpublic SearchData(int type)
type
- the operation this is used forpublic SearchData(int type, SearchTemplate tmpl)
type
- the operation this is used fortmpl
- the SearchTemplate this control is forpublic SearchData(int type, String[] fields)
type
- the operation this is used forfields
- the fields to use for search resultspublic SearchData(int type, String[] arg, ControlInfo ciClass, ControlInfo ciField, SearchTemplate st)
type
- the operation this is used forarg
- 4 fieldspublic void setSubclasses(String[] sclass)
sclass
- the array of subclassespublic String[] getSubclasses()
public void setFields(String[] flds)
flds
- the fields for the generic templatepublic String[] getFields()
public void setTemplates(SearchTemplate[] tmpls)
tmpls
- the array of SearchTemplatespublic SearchTemplate[] getTemplates()
public SearchTemplate getTemplate()
public void setHandle(PModelHandle h)
h
- the model handlepublic PModelHandle getHandle()
public int getType()
public String getClassString()
public void setControlInfo(Hashtable cInfo)
cInfo
- hashtable containing control informationpublic Hashtable getControlInfo()
public void setSpec(String s)
s
- the string used in when building the searchpublic String getSpec()
public String[] getGenericSearchArgs()
Copyright © 2003, 2023, Oracle and/or its affiliates.