Class PCMetaHelper

java.lang.Object
com.webmethods.caf.portalclient.meta.PCMetaHelper

public class PCMetaHelper extends Object
  • Constructor Details

    • PCMetaHelper

      public PCMetaHelper()
  • Method Details

    • getView

      public static View getView(URI uri) throws Exception
      Get a View of a MWS thing, given it's URI
      Parameters:
      uri - the MWS thing URI
      Returns:
      a View that exposes properties of the MWS thing
      Throws:
      Exception
    • delete

      public static void delete(URI uri) throws Exception
      Delete a MWS resource, given it's MWS thing URI
      Parameters:
      uri - the MWS thing URI
      Throws:
      Exception
    • listChildren

      public static ListView listChildren(URI uri) throws Exception
      Retrieve a list of child resources within a MWS container
      Parameters:
      uri - the MWS thing URI of the container
      Returns:
      a ListView of Views for each child resource within the container
      Throws:
      Exception
    • convertViewPropertiesToMap

      public static Map convertViewPropertiesToMap(View view)
      Convert a View into a map of name/value pairs of the properties contained within that view.
      Parameters:
      view - the View to retrieve properties from
      Returns:
      a Map of key/value pairs representing the properties of the View target