|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.toolkit.server.util.xml.SearchChoiceListUtil
SearchChoiceListUtil class provides utility methods for merging Search Choice Values list XML.
Nested Class Summary | |
static class |
SearchChoiceListUtil.ChoiceListItem
This class is a data structure of the returned choice list item used by the getChoiceValuesList method. |
static class |
SearchChoiceListUtil.ClassDescriptionRef
This class is a data structure used by the getClassDescriptionList method for flatten out the classes. |
Constructor Summary | |
SearchChoiceListUtil(java.lang.String URL,
java.lang.String token,
java.lang.String cookie)
Deprecated. |
|
SearchChoiceListUtil(WcmDataStore dataStore,
WcmBootstrapPrefs bootstrapPrefs)
|
Method Summary | |
static void |
clear()
Clear the search choice list state |
java.util.List |
getChoiceValuesList(java.lang.String objectStoreName,
java.util.List classNames,
java.lang.String propName)
This method returns the merged choice value list for the selected property and classes. |
java.util.List |
getChoiceValuesList(java.lang.String objectStoreName,
java.util.List classNames,
java.lang.String propName,
boolean retrieveFromServer)
This method returns the merged choice value list for the selected property and classes. |
java.util.TreeMap |
getChoiceValuesListProxy(java.lang.String objectStoreName,
java.util.List classNames,
java.lang.String propName,
boolean retrieveFromServer)
Deprecated. |
java.util.List |
getClassDescriptionList(java.lang.String objectStoreName,
java.util.List classDescriptionRefs)
This method returns a list of flatten class name for the choice list merge. |
java.lang.String |
getClassName(java.lang.String objectStoreName,
java.lang.String classId)
This method returns the class name |
boolean |
getscvlShowChoiceValue()
Deprecated. |
boolean |
isSearchChoiceListXMLExisted()
Returns true to indicate that the search choice value list existed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SearchChoiceListUtil(WcmDataStore dataStore, WcmBootstrapPrefs bootstrapPrefs) throws java.lang.Exception
public SearchChoiceListUtil(java.lang.String URL, java.lang.String token, java.lang.String cookie) throws java.lang.Exception
URL
- token
- cookie
-
java.lang.Exception
Method Detail |
public boolean getscvlShowChoiceValue()
public java.util.List getChoiceValuesList(java.lang.String objectStoreName, java.util.List classNames, java.lang.String propName) throws java.lang.Exception
objectStoreName
- String The objectstore name.classNames
- List A list of class names.propName
- String The property symbolic name.
java.lang.Exception
public java.util.List getChoiceValuesList(java.lang.String objectStoreName, java.util.List classNames, java.lang.String propName, boolean retrieveFromServer) throws java.lang.Exception
objectStoreName
- String The objectstore name.classNames
- List A list of class names.propName
- String The property symbolic name.retrieveFromServer
- True to retrieve choice list from server if the Search Choice Value List XML is not found.
java.lang.Exception
public java.util.TreeMap getChoiceValuesListProxy(java.lang.String objectStoreName, java.util.List classNames, java.lang.String propName, boolean retrieveFromServer) throws java.lang.Exception
objectStoreName
- classNames
- propName
- retrieveFromServer
-
java.lang.Exception
public boolean isSearchChoiceListXMLExisted()
public static void clear()
public java.util.List getClassDescriptionList(java.lang.String objectStoreName, java.util.List classDescriptionRefs) throws java.lang.Exception
objectStoreName
- String The objectstore name.classDescriptionRefs
- List A list of ClassDescriptionRef objects.
java.lang.Exception
public java.lang.String getClassName(java.lang.String objectStoreName, java.lang.String classId) throws java.lang.Exception
objectStoreName
- String The objectstore name.classId
- String The class Id
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |