Class NetmarketURL

java.lang.Object
com.ptc.netmarkets.util.misc.NetmarketURL
All Implemented Interfaces:
Externalizable, Serializable

public class NetmarketURL extends Object implements Externalizable
Utility methods for constructing Windchill URLs.

Supported API: true

Extendable: false
See Also:
  • Field Details

    • APPPREFIX

      public static final String APPPREFIX
      The shell component of a Windchill URL: "app/#"

      Supported API: true
      See Also:
  • Method Details

    • buildURL

      public static String buildURL(NmURLFactoryBean factory, String type, String action, NmOid oid, HashMap params, boolean fullyQualified) throws WTException
      Creates a Windchill URL for an action.

      Supported API: true
      Parameters:
      factory - - Instance of the bean. Required.
      type - - Type for which action is defined. Required.
      action - - Action name. Required.
      oid - - Oid parameter to add to the URL. Optional.
      params - - Additional URL parameters. Optional.
      fullyQualified - - Specifies whether to generate a fully qualified URL or not.
      Returns:
      URL string
      Throws:
      WTException