public class GlobalRegistry
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static com.novell.emframe.fw.Registry |
reg
Static Registry that contains global plugins.
|
| Constructor and Description |
|---|
GlobalRegistry() |
| Modifier and Type | Method and Description |
|---|---|
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 java.lang.String |
getChapter(java.lang.String pageId) |
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)
Deprecated.
as of 2.6 use getCreatorDocForSystem(String type, String system)
to get the system specific creator for the specified type
|
static org.jdom.Document |
getCreatorDoc(java.lang.String strType,
MContext context)
Returns the create object plug-in for a given object type.
|
static java.util.ArrayList |
getCreatorSilentChainingPlugins(java.lang.String objectTypeName)
Deprecated.
as of 2.7 This functionality has been replaced by UI Participants.
|
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 org.jdom.Document |
getDirectoryEventListenerDoc(java.lang.String strType)
Returns the director event listener object plug-in for a given object type.
|
static java.util.Hashtable |
getDirectoryEventListenerRegistry()
Returns the directory-event-listener registry.
|
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 org.jdom.Document[] |
getRenameDocs(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(String view, MContext context)
|
static java.util.ArrayList |
getRolesInView(java.lang.String view)
Returns a list of roles to display in the specified view.
|
static java.util.ArrayList |
getRolesInView(java.lang.String view,
MContext context)
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 java.util.ArrayList |
getTasksInRole(java.lang.String role,
MContext context)
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 boolean |
isOES() |
static void |
populateTables()
Deprecated.
|
static void |
populateTables(java.io.File xmlDirPath,
java.io.File webappHome)
Deprecated.
|
static void |
removeNode(org.jdom.Document doc)
Remove a node from the GlobalRegistry.
|
public static com.novell.emframe.fw.Registry reg
public static org.jdom.Document getPluginDocument(java.lang.String id)
id - String containing the unique ID of the plug-inpublic static void populateTables()
public static void populateTables(java.io.File xmlDirPath,
java.io.File webappHome)
xmlDirPath - UnusedwebappHome - Unusedpublic 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 void removeNode(org.jdom.Document doc)
doc - XML Document containing the node to removepublic static java.util.ArrayList getGatewayConfigPlugins()
public static java.util.ArrayList getRolesInView(java.lang.String view)
view - String containing the unique ID of the viewpublic static java.util.ArrayList getRolesInView(java.lang.String view,
MContext context)
view - String containing the unique ID of the viewcontext - MContextpublic static java.util.ArrayList getPrinterControlPlugins()
public static java.util.ArrayList getRolesInCategory(java.lang.String category)
category - String containing the name of the categorygetRolesInView(String)public static java.util.ArrayList getTasksInRole(java.lang.String role)
role - String containing the unique ID of the rolepublic static java.util.ArrayList getTasksInRole(java.lang.String role,
MContext context)
role - String containing the unique ID of the rolecontext - - MContextpublic static java.util.Vector getPageDocs(java.lang.String strType)
strType - String containing the object typepublic static java.lang.String getChapter(java.lang.String pageId)
public static java.util.Vector getPrivatePageDocs(java.lang.String strType)
strType - String containing the object typepublic static java.util.Vector getBlockedPageIds(java.lang.String strType)
strType - String containing the object typepublic static org.jdom.Document getAttributeHandlerDoc(java.lang.String attributeName)
attributeName - String containing the attribute namepublic static org.jdom.Document getSyntaxHandlerDoc(java.lang.String syntaxName)
syntaxName - String containing the syntax namepublic 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 listpublic 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 listpublic static org.jdom.Document getCreatorDoc(java.lang.String strType)
strType - String containing the object typepublic static org.jdom.Document getCreatorDoc(java.lang.String strType,
MContext context)
strType - String containing the object typecontext - public static org.jdom.Document getDeletorDoc(java.lang.String strType)
strType - String containing the object typepublic static org.jdom.Document getMoveDoc(java.lang.String strType)
strType - String containing the object typepublic static org.jdom.Document getRenameDoc(java.lang.String strType)
strType - String containing the object typepublic static org.jdom.Document getDirectoryEventListenerDoc(java.lang.String strType)
strType - String containing the object typepublic static java.util.Hashtable getDirectoryEventListenerRegistry()
public static org.jdom.Document[] getRenameDocs(java.lang.String strType)
strType - String containing the object typepublic static java.lang.String getObjectTypeResourceFile(java.lang.String objectTypeName)
objectTypeName - String containing the object type namepublic static java.lang.String getAttributeResourceFile(java.lang.String attributeName)
attributeName - String containing the attribute namepublic static org.jdom.Document getClassLoaderDoc(java.lang.String descriptorDir)
descriptorDir - String containing the descriptor ("page", "task", "book", or "chained-task")public static java.util.ArrayList getViews()
public static boolean isOES()
public static java.util.ArrayList getCreatorSilentChainingPlugins(java.lang.String objectTypeName)
objectTypeName - String containing the object type
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.