|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.prefs.PrefSearch
This class is used to search the Windchill Database from a client, and return items that match the desired criteria. The PrefSearch Object itself contains all the data that was obtained from the Database for Preferences and should be sufficient to be able to search the Preferences API for matches to properly formed queries.
PrefSearchService
,
Supported API: true
Extendable: false
,
Serialized FormField Summary | |
static String |
CONTAINER_CONTEXT
The container context parameter string |
private String |
context
|
private static String |
FULLPATHNAME
The full path name parameter string |
static String |
KEY
The key parameter string |
private String |
name
|
private String |
node
|
static String |
NODE
The node parameter string |
private String |
parent
|
static String |
PARENT
The parent parameter string |
static String |
POLICY
The policy parameter string |
static String |
PREF_CONTEXT
The edit context parameter string |
static String |
RETURN_HREF
The return HREF parameter |
static String |
RETURN_LABEL
The return label parameter |
static String |
SEARCH_PARAMETER
The search string parameter |
static String |
SESSION_CONTEXT
The session context parameter string |
private String |
value
|
static String |
VALUE
The value parameter string |
Constructor Summary | |
PrefSearch()
|
Method Summary | |
Object |
clone()
|
String |
getContext()
|
static PrefSearch |
getEntry(String aSearchString,
String[] context)
This method will retrieve a single entry from the Preferences that matches a given Search String and a list of contexts. |
String |
getFullName()
This will return the fully qualified name for the Preference Node |
String |
getName()
|
String |
getNode()
This will return the node. |
String |
getParent()
This will return the parent of the node. |
String |
getValue()
|
static PrefSearch[] |
search(String aSearchString,
String[] context)
This method will search the preferences tree for any Preference OR Key which matches the Search String. |
void |
setContext(String aContext)
|
void |
setName(String aName)
|
void |
setNode(String aNode)
|
void |
setParent(String aParent)
This will set the parent of the node. |
void |
setValue(String aValue)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String FULLPATHNAME
public static final String SEARCH_PARAMETER
public static final String RETURN_LABEL
public static final String RETURN_HREF
public static final String NODE
public static final String PARENT
public static final String KEY
public static final String VALUE
public static final String POLICY
public static final String PREF_CONTEXT
public static final String SESSION_CONTEXT
public static final String CONTAINER_CONTEXT
private String context
private String parent
private String node
private String name
private String value
Constructor Detail |
public PrefSearch()
Method Detail |
public static PrefSearch getEntry(String aSearchString, String[] context) throws WTException
aSearchString
- The string to search for.context
- The list of contexts for the current context.
WTException
public static PrefSearch[] search(String aSearchString, String[] context) throws WTException
aSearchString
- The Search Stringcontext
- The context of the search
WTException
public Object clone()
public void setContext(String aContext)
public String getContext()
public void setName(String aName)
public String getName()
public void setValue(String aValue)
public String getValue()
public void setNode(String aNode)
public String getNode()
public void setParent(String aParent)
aParent
- the parent of the node.public String getParent()
public String getFullName()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |