com.ibm.designer.domino.scripting.api.published
Class PublishedUtil

java.lang.Object
  extended by com.ibm.designer.domino.scripting.api.published.PublishedUtil

public class PublishedUtil
extends java.lang.Object

Published Data Source Utilities.


Constructor Summary
PublishedUtil()
           
 
Method Summary
static void getAllPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map, org.w3c.dom.Node node, DesignerProject project)
          Given a map, a node and the current project, this method will return all PublishedObjects that are relevant to the provided node.
static void getAllPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map, org.w3c.dom.Node node, DesignerProject project, boolean addCurrentDocument)
          Given a map, a node and the current project, this method will return all PublishedObjects that are relevant to the provided node.
static void getPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map, org.w3c.dom.Node node, DesignerProject project, boolean addCurrentDocument)
          Given a map, a node and the current project, this method will return PublishedObjects that are relevent to the provided node.
static boolean isViewDataSupported(IScriptData.PublishedObject po)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublishedUtil

public PublishedUtil()
Method Detail

getAllPublishedObjects

public static void getAllPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map,
                                          org.w3c.dom.Node node,
                                          DesignerProject project)
                                   throws com.ibm.designer.prj.resources.commons.DesignerProjectException
Given a map, a node and the current project, this method will return all PublishedObjects that are relevant to the provided node.

Parameters:
map - a map containing name - PublishedObject pairs
node - the currently selected node on the XSP page.
project - the current project.
Throws:
com.ibm.designer.prj.resources.commons.DesignerProjectException

getAllPublishedObjects

public static void getAllPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map,
                                          org.w3c.dom.Node node,
                                          DesignerProject project,
                                          boolean addCurrentDocument)
                                   throws com.ibm.designer.prj.resources.commons.DesignerProjectException
Given a map, a node and the current project, this method will return all PublishedObjects that are relevant to the provided node.

Parameters:
map - a map containing name - PublishedObject pairs
node - the currently selected node on the XSP page.
project - the current project.
addCurrentDocument - a flag which indicates whether or not the current document datasource should be added to the map.
Throws:
com.ibm.designer.prj.resources.commons.DesignerProjectException

getPublishedObjects

public static void getPublishedObjects(java.util.Map<java.lang.String,IScriptData.PublishedObject> map,
                                       org.w3c.dom.Node node,
                                       DesignerProject project,
                                       boolean addCurrentDocument)
                                throws com.ibm.designer.prj.resources.commons.DesignerProjectException
Given a map, a node and the current project, this method will return PublishedObjects that are relevent to the provided node.

Parameters:
map - a map containing name - PublishedObject pairs
node - the currently selected node on the XSP page.
project - the current project.
Throws:
com.ibm.designer.prj.resources.commons.DesignerProjectException

isViewDataSupported

public static boolean isViewDataSupported(IScriptData.PublishedObject po)
                                   throws java.lang.NullPointerException
Parameters:
po -
Returns:
Throws:
java.lang.NullPointerException