Class PCMetaHelper
java.lang.Object
com.webmethods.caf.portalclient.meta.PCMetaHelper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Map
Convert aView
into a map of name/value pairs of the properties contained within that view.static void
Delete a MWS resource, given it's MWS thing URIstatic View
Get a View of a MWS thing, given it's URIstatic ListView
listChildren
(URI uri) Retrieve a list of child resources within a MWS container
-
Constructor Details
-
PCMetaHelper
public PCMetaHelper()
-
-
Method Details
-
getView
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
Delete a MWS resource, given it's MWS thing URI- Parameters:
uri
- the MWS thing URI- Throws:
Exception
-
listChildren
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
Convert aView
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
-