|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.enterprise.search.server.SearchPreferencesHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static String |
FC_RESOURCE
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
(package private) static boolean |
SERVER
|
private static boolean |
VERBOSE
|
Fields inherited from interface wt.method.RemoteAccess |
versionID |
Constructor Summary | |
SearchPreferencesHelper()
|
Method Summary | |
protected static String |
_getPreferenceValue(String node,
String key)
Returns a preference value given the node and key. |
protected static String[] |
_getPreferenceValueAsList(String node,
String key,
String delim)
Returns a preference value given the node and key. |
static String |
getPreferenceValue(String node,
String key)
Returns a preference value given the node and key. |
static String |
getPreferenceValue(String node,
String key,
String aContainer)
Gets a Preference value based on the node, key and specified container Supported API: false |
static String |
getPreferenceValue(String key,
WTPreferences pref)
This function is a helper to get a preference based on a key and an already defined WTPreference Supported API: false |
static String[] |
getPreferenceValueAsList(String node,
String key,
String delim)
Returns a preference value given the node and key. |
static String[] |
getPreferenceValueAsList(String node,
String key,
String delim,
String aContainer)
Returns a preference value given the node and key. |
static String[] |
getPreferenceValueAsList(String key,
String delim,
WTPreferences pref)
Returns a preference value given the node and key. |
static String[] |
getSearchableTypesFromPrefsByContainer(String aContainer)
Supported API: false |
static TypeIdentifier[] |
getTypeIdentifiersFromStrings(String[] prefsTypeList)
|
static void |
main(String[] args)
|
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(SearchPreferencesHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static void |
setPreferenceValue(String node,
String key,
String value)
Stores a preference value given the node and key. |
static void |
setPreferenceValue(String key,
String value,
WTPreferences pref)
Stores a preference value given the key, value and an already defined WTPreferences. |
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final boolean SERVER
private static final String FC_RESOURCE
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final boolean VERBOSE
Constructor Detail |
public SearchPreferencesHelper()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(SearchPreferencesHelper thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public static String getPreferenceValue(String node, String key) throws WTException
node
- key
-
WTException
protected static String _getPreferenceValue(String node, String key) throws WTException
node
- key
-
WTException
public static String[] getPreferenceValueAsList(String node, String key, String delim) throws WTException
node
- key
- delim
-
WTException
protected static String[] _getPreferenceValueAsList(String node, String key, String delim) throws WTException
node
- key
- delim
-
WTException
public static void setPreferenceValue(String node, String key, String value) throws WTException
node
- key
- value
-
WTException
public static String getPreferenceValue(String node, String key, String aContainer) throws WTException
node
- key
- aContainer
-
WTException
public static String[] getPreferenceValueAsList(String node, String key, String delim, String aContainer) throws WTException
node
- key
- delim
- aContainer
-
WTException
public static String[] getSearchableTypesFromPrefsByContainer(String aContainer) throws WTException
aContainer
-
WTException
public static void setPreferenceValue(String key, String value, WTPreferences pref) throws WTException
key
- value
- pref
-
WTException
public static String getPreferenceValue(String key, WTPreferences pref) throws WTException
pref
-
WTException
public static String[] getPreferenceValueAsList(String key, String delim, WTPreferences pref) throws WTException
key
- delim
-
WTException
public static TypeIdentifier[] getTypeIdentifiersFromStrings(String[] prefsTypeList) throws WTException
WTException
public static void main(String[] args)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |