|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.emframe.dev.GlobalRegistry
Class used to build the Global Registry of plug-ins for iManager. Use this class to dynamically add plug-ins to iManager. iManager will automatically create the Global Registry and read in all .xml files found in webapps\nps\portal\modules\*\plugins directories.
| Constructor Summary | |
GlobalRegistry()
|
|
| Method Summary | |
static void |
addNode(org.jdom.Document doc,
java.io.File xmlFile)
Add the node contained in the XML Document to the GlobalRegistry. |
static org.jdom.Document |
getAttributeHandlerDoc(java.lang.String attributeName)
Returns the attribute handler for a given attribute name. |
static java.lang.String |
getAttributeResourceFile(java.lang.String attributeName)
Returns the resource properties file for a given attribute name. |
static java.util.Vector |
getBlockedPageIds(java.lang.String strType)
Returns a list of blocked PropertyBookPages for a given object type. |
static org.jdom.Document |
getClassLoaderDoc(java.lang.String descriptorDir)
Returns the class loader for a specified descriptor ("page", "task", "book", or "chained-task"). |
static org.jdom.Document |
getCreatorDoc(java.lang.String strType)
Returns the create object plug-in for a given object type. |
static java.util.ArrayList |
getCreatorSilentChainingPlugins(java.lang.String objectTypeName)
Returns a list of object creator plug-ins that silently plug into the object creation chain for a given object type. |
static org.jdom.Document |
getDefaultUiHandlerDoc(java.lang.String syntaxName,
java.lang.String attributeName,
java.lang.String objectTypeName,
java.lang.String[] objectSuperClasses,
boolean multivalued,
boolean readOnlyEnabled,
java.lang.String client)
Returns the default UI handler for a given syntax name. |
static org.jdom.Document |
getDeletorDoc(java.lang.String strType)
Returns the delete object plug-in for a given object type. |
static java.util.ArrayList |
getGatewayConfigPlugins()
Returns a list of printer gateway plug-ins. |
static org.jdom.Document |
getMoveDoc(java.lang.String strType)
Returns the move object plug-in for a given object type. |
static java.lang.String |
getObjectTypeResourceFile(java.lang.String objectTypeName)
Returns the resource properties file for a given object type. |
static java.util.Vector |
getPageDocs(java.lang.String strType)
Returns a list of registered PropertyBookPages for a given object type. |
static org.jdom.Document |
getPluginDocument(java.lang.String id)
Returns an XML Document for a specified plug-in. |
static java.util.ArrayList |
getPrinterControlPlugins()
Returns a list of printer control plugins. |
static java.util.Vector |
getPrivatePageDocs(java.lang.String strType)
Returns a list of registered private PropertyBookPages for a given object type. |
static org.jdom.Document |
getRenameDoc(java.lang.String strType)
Returns the rename object plug-in for a given object type. |
static java.util.ArrayList |
getRolesInCategory(java.lang.String category)
Deprecated. Replaced by getRolesInView() |
static java.util.ArrayList |
getRolesInView(java.lang.String view)
Returns a list of roles to display in the specified view. |
static org.jdom.Document |
getSyntaxHandlerDoc(java.lang.String syntaxName)
Returns the syntax handler for a given syntax name. |
static java.util.ArrayList |
getTasksInRole(java.lang.String role)
Returns a list of tasks to display in the specified role. |
static org.jdom.Document[] |
getUiHandlerDocs(java.lang.String syntaxName,
java.lang.String attributeName,
java.lang.String objectTypeName,
java.lang.String[] objectSuperClasses,
boolean multivalued,
boolean readOnlyEnabled,
java.lang.String client)
Returns an array of UI handlers for a given syntax name. |
static java.util.ArrayList |
getViews()
Returns a list of views available in iManager. |
static void |
removeNode(org.jdom.Document doc)
Remove a node from the GlobalRegistry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GlobalRegistry()
| Method Detail |
public static void addNode(org.jdom.Document doc,
java.io.File xmlFile)
doc - XML Document containg the node to addxmlFile - File location of the XML Documentpublic static org.jdom.Document getAttributeHandlerDoc(java.lang.String attributeName)
attributeName - String containing the attribute name
public static java.lang.String getAttributeResourceFile(java.lang.String attributeName)
attributeName - String containing the attribute name
public static java.util.Vector getBlockedPageIds(java.lang.String strType)
strType - String containing the object type
public static org.jdom.Document getClassLoaderDoc(java.lang.String descriptorDir)
descriptorDir - String containing the descriptor ("page", "task", "book", or "chained-task")
public static org.jdom.Document getCreatorDoc(java.lang.String strType)
strType - String containing the object type
public static java.util.ArrayList getCreatorSilentChainingPlugins(java.lang.String objectTypeName)
objectTypeName - String containing the object type
public static org.jdom.Document getDefaultUiHandlerDoc(java.lang.String syntaxName,
java.lang.String attributeName,
java.lang.String objectTypeName,
java.lang.String[] objectSuperClasses,
boolean multivalued,
boolean readOnlyEnabled,
java.lang.String client)
syntaxName - String containing the syntax nameattributeName - String containing the attribute nameobjectTypeName - String containing the object's type nameobjectSuperClasses - String array containing the object's super classesmultivalued - boolean true if the attribute is multivalued, false if notreadOnlyEnabled - boolean true if the UI handler only displays read only, false if notclient - String containing the device type to check against the supported-device-type list
public static org.jdom.Document getDeletorDoc(java.lang.String strType)
strType - String containing the object type
public static java.util.ArrayList getGatewayConfigPlugins()
public static org.jdom.Document getMoveDoc(java.lang.String strType)
strType - String containing the object type
public static java.lang.String getObjectTypeResourceFile(java.lang.String objectTypeName)
objectTypeName - String containing the object type name
public static java.util.Vector getPageDocs(java.lang.String strType)
strType - String containing the object type
public static org.jdom.Document getPluginDocument(java.lang.String id)
id - String containing the unique ID of the plug-in
public static java.util.ArrayList getPrinterControlPlugins()
public static java.util.Vector getPrivatePageDocs(java.lang.String strType)
strType - String containing the object type
public static org.jdom.Document getRenameDoc(java.lang.String strType)
strType - String containing the object type
public static java.util.ArrayList getRolesInCategory(java.lang.String category)
category - String containing the name of the category
getRolesInView(java.lang.String)public static java.util.ArrayList getRolesInView(java.lang.String view)
view - String containing the unique ID of the view
public static org.jdom.Document getSyntaxHandlerDoc(java.lang.String syntaxName)
syntaxName - String containing the syntax name
public static java.util.ArrayList getTasksInRole(java.lang.String role)
role - String containing the unique ID of the role
public static org.jdom.Document[] getUiHandlerDocs(java.lang.String syntaxName,
java.lang.String attributeName,
java.lang.String objectTypeName,
java.lang.String[] objectSuperClasses,
boolean multivalued,
boolean readOnlyEnabled,
java.lang.String client)
syntaxName - String containing the syntax nameattributeName - String containing the attribute nameobjectTypeName - String containing the object's type nameobjectSuperClasses - String array containing the object's super classesmultivalued - boolean true if the attribute is multivalued, false if notreadOnlyEnabled - boolean true if the UI handler only displays read only, false if notclient - String containing the device type to check against the supported-device-type list
public static java.util.ArrayList getViews()
public static void removeNode(org.jdom.Document doc)
doc - XML Document containing the node to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||