gov.nih.nci.cagrid.introduce.portal.extension.tools
Class ExtensionTools
java.lang.Object
gov.nih.nci.cagrid.introduce.portal.extension.tools.ExtensionTools
public class ExtensionTools
- extends java.lang.Object
|
Method Summary |
static ExtensionType |
getAddAuthorizationExtension(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getAddDiscoveryExtension(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getAddExtension(java.lang.String extensionName,
java.lang.String extensionType,
ServiceInformation info)
|
static ExtensionType |
getAddServiceExtension(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getAuthorizationExtension(java.lang.String extensionName,
ServiceInformation info)
|
static CreationExtensionUIDialog |
getCreationUIDialog(java.awt.Frame owner,
java.lang.String extensionName,
ServiceInformation info)
|
static DeploymentUIPanel |
getDeploymentUIPanel(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getDiscoveryExtension(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getExtension(java.lang.String extensionName,
java.lang.String extensionType,
ServiceInformation info)
|
static ResourcePropertyEditorPanel |
getMetadataEditorComponent(java.lang.String extensionName,
java.lang.String rpData,
java.io.File schemaFile,
java.io.File schemaDir)
|
static AbstractMethodAuthorizationPanel |
getMethodAuthorizationPanel(java.lang.String extensionName,
ServiceInformation info,
ServiceType service,
MethodType method)
|
static NamespaceTypeDiscoveryComponent |
getNamespaceTypeDiscoveryComponent(java.lang.String extensionName,
NamespacesType currentNamespaces)
|
static NamespaceTypeToolsComponent |
getNamespaceTypeToolsComponent(java.lang.String extensionName)
|
static ResourcePropertyEditorExtensionDescriptionType |
getResourcePropertyEditorExtensionDescriptor(javax.xml.namespace.QName qname)
|
static AbstractServiceAuthorizationPanel |
getServiceAuthorizationPanel(java.lang.String extensionName,
ServiceInformation info,
ServiceType service)
|
static ServiceDeploymentUIPanel |
getServiceDeploymentUIPanel(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
getServiceExtension(java.lang.String extensionName,
ServiceInformation info)
|
static ServiceModificationUIPanel |
getServiceModificationUIPanel(java.lang.String extensionName,
ServiceInformation info)
|
static ExtensionType |
removeAuthorizationServiceExtensios(ServiceInformation info)
|
static void |
setSchemaElements(NamespaceType namespace,
org.jdom.Document schemaContents)
Reads the schema and sets the SchemaElements of the NamespaceType for
each. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionTools
public ExtensionTools()
getCreationUIDialog
public static CreationExtensionUIDialog getCreationUIDialog(java.awt.Frame owner,
java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceModificationUIPanel
public static ServiceModificationUIPanel getServiceModificationUIPanel(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceDeploymentUIPanel
public static ServiceDeploymentUIPanel getServiceDeploymentUIPanel(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDeploymentUIPanel
public static DeploymentUIPanel getDeploymentUIPanel(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceAuthorizationPanel
public static AbstractServiceAuthorizationPanel getServiceAuthorizationPanel(java.lang.String extensionName,
ServiceInformation info,
ServiceType service)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMethodAuthorizationPanel
public static AbstractMethodAuthorizationPanel getMethodAuthorizationPanel(java.lang.String extensionName,
ServiceInformation info,
ServiceType service,
MethodType method)
throws java.lang.Exception
- Throws:
java.lang.Exception
getMetadataEditorComponent
public static ResourcePropertyEditorPanel getMetadataEditorComponent(java.lang.String extensionName,
java.lang.String rpData,
java.io.File schemaFile,
java.io.File schemaDir)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNamespaceTypeToolsComponent
public static NamespaceTypeToolsComponent getNamespaceTypeToolsComponent(java.lang.String extensionName)
throws java.lang.Exception
- Throws:
java.lang.Exception
getNamespaceTypeDiscoveryComponent
public static NamespaceTypeDiscoveryComponent getNamespaceTypeDiscoveryComponent(java.lang.String extensionName,
NamespacesType currentNamespaces)
throws java.lang.Exception
- Throws:
java.lang.Exception
getServiceExtension
public static ExtensionType getServiceExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAuthorizationExtension
public static ExtensionType getAuthorizationExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDiscoveryExtension
public static ExtensionType getDiscoveryExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getExtension
public static ExtensionType getExtension(java.lang.String extensionName,
java.lang.String extensionType,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
removeAuthorizationServiceExtensios
public static ExtensionType removeAuthorizationServiceExtensios(ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddServiceExtension
public static ExtensionType getAddServiceExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddAuthorizationExtension
public static ExtensionType getAddAuthorizationExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddDiscoveryExtension
public static ExtensionType getAddDiscoveryExtension(java.lang.String extensionName,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
getAddExtension
public static ExtensionType getAddExtension(java.lang.String extensionName,
java.lang.String extensionType,
ServiceInformation info)
throws java.lang.Exception
- Throws:
java.lang.Exception
setSchemaElements
public static void setSchemaElements(NamespaceType namespace,
org.jdom.Document schemaContents)
throws java.lang.Exception
- Reads the schema and sets the SchemaElements of the NamespaceType for
each.
- Parameters:
namespace - the namespace to populateschemaContents - the schema's text contents
- Throws:
java.lang.Exception
getResourcePropertyEditorExtensionDescriptor
public static ResourcePropertyEditorExtensionDescriptionType getResourcePropertyEditorExtensionDescriptor(javax.xml.namespace.QName qname)