|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.cadx.common.picker.PickerHelper
Supported API: false
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
static long |
EXTERNALIZATION_VERSION_UID
|
protected static long |
OLD_FORMAT_VERSION_UID
|
static String |
PICKER_PROPERTY_PREFIX
This is the selection mode value for single selection. |
private static String[] |
pickerSubmitProperties
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
Constructor Summary | |
PickerHelper()
|
Method Summary | |
static boolean |
containerRequiresFolderPathConversion(WTContainer container)
|
private static String |
fixDisplayPathForContainer(String path,
WTContainer container)
|
static String |
getDisplayLocation(Folder folder)
|
static String |
getDisplayLocation(String folderPath,
WTContainer folderContainer)
|
static Folder |
getFolderFromDisplayLocation(String folderDisplayName,
WTContainer container)
|
private static Object |
getLastObject(List list)
|
static Object |
getLastSelectedObject(ContextHolder contextHolder)
Returns the last selected object found in the ContextHolder. |
static String |
getLastSelectedObjectNumber(ContextHolder contextHolder)
|
static String |
getLastSelectedOID(ContextHolder contextHolder)
Returns the last selected OID found in the ContextHolder. |
static WTReference |
getLastSelectedReferenceObject(ContextHolder contextHolder)
Returns the last selected reference object found in the ContextHolder. |
static Map |
getPickerProperties(ContextHolder contextHolder)
Returns Map of properties passed to the initial Picker page, via form data or query data, that have names pre-pended with PickerHelper.PICKER_PROPERTY_PREFIX. |
private static PickerUtilities |
getPickerUtilities(Properties props)
|
static List |
getSelectedObjects(ContextHolder contextHolder)
Returns list of selected objects found in the ContextHolder. |
static List |
getSelectedOIDs(ContextHolder contextHolder)
Returns list of selected OIDs found in the ContextHolder. |
static List |
getSelectedReferenceObjects(ContextHolder contextHolder)
Returns list of selected reference objects found in the ContextHolder. |
static Map |
getSubmitProperties(ContextHolder contextHolder)
Returns Map object which contains Picker related properties available in the Context Holders form data. |
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(PickerHelper thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
static List |
removeSelectedObjects(ContextHolder contextHolder)
Removes the selected object entries from the ContextHolder. |
static Map |
removeSubmitProperties(ContextHolder contextHolder)
Removes the following properties from the Context Holders form data: PickerUtilities. |
static boolean |
showAllCabinetsForContainer(WTContainer container)
|
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
public static final String PICKER_PROPERTY_PREFIX
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static String[] pickerSubmitProperties
Constructor Detail |
public PickerHelper()
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(PickerHelper 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 List getSelectedObjects(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static Object getLastSelectedObject(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static List getSelectedReferenceObjects(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static WTReference getLastSelectedReferenceObject(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static List getSelectedOIDs(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static String getLastSelectedOID(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static Map getPickerProperties(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static Map getSubmitProperties(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static List removeSelectedObjects(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
public static Map removeSubmitProperties(ContextHolder contextHolder) throws WTException
contextHolder
-
WTException
private static Object getLastObject(List list) throws WTException
WTException
private static PickerUtilities getPickerUtilities(Properties props)
public static String getLastSelectedObjectNumber(ContextHolder contextHolder) throws Exception
Exception
public static String getDisplayLocation(Folder folder) throws WTException
WTException
public static String getDisplayLocation(String folderPath, WTContainer folderContainer) throws WTException
WTException
private static String fixDisplayPathForContainer(String path, WTContainer container)
public static Folder getFolderFromDisplayLocation(String folderDisplayName, WTContainer container) throws WTException
WTException
public static boolean containerRequiresFolderPathConversion(WTContainer container)
public static boolean showAllCabinetsForContainer(WTContainer container)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |