|
|
|||||
| Package com.dassault_systemes.catweb.base.net.registry |
Class PortalRegistry
|
| Class Hierarchy |
java.lang.Object | +-com.dassault_systemes.catweb.base.net.registry.PortalRegistry
| Class Location |
| Class Description |
public class PortalRegistry
PortalRegistry offers access to the MIMEtype registry of the applicationimport com.dassault_systemes.catweb.base.util.
| Field Summary |
| Constructor Summary |
| Method Summary |
| public static PortalMIMECommand[] | getAllMIMECommandsForDescription(String description)
Returns all the PortalMIMECommands that are defined for in the Portal Registry and which have the specified description. |
| public static String | getCommandForType(String type, String desc)
Returns the command class name for the specified type and description if no description, returns the default command of this type |
| public static String | getIconPathForExtension(String extension)
Returns the Icon Path declared in the registry for this extension. |
| public static String | getIconPathForMIMETypes(PortalMIMETypes mimeTypes)
Returns the Icon Path declared in the registry for this MIME types. |
| public static String[] | getInstancesNameForType(String type)
Returns all the already instanciated CATlet name that can handle the specified type |
| public static String[] | getInstancesNameForType(String type, String desc)
Returns all instance name of the already instanciated CATlet that can handle the specified type and they have the description desc |
| public static PortalMIMECommand | getMIMECommandForType(String type, String desc)
Returns the PortalMIMECommand for the specified type and description if no description, returns the default command of this type |
| public static PortalMIMETypes | getMIMETypesForExtension(String extension)
Returns the MIME type declared in the registry for this extension |
| public static PortalMIMETypes[] | getMIMETypesForOptionalExtension(String extension)
Returns a list of MIME type declared in the registry for this optional extension |
| public static PortalMIMETypes | getMIMETypesForType(String type)
Returns the MIME type declared in the registry for this type |
| public static String[] | getSupportedExtensions()
Returns the list of extension declared and recognized by the PortalRegistry |
| Field Detail |
| Constructor Detail |
| Method Detail |
public static PortalMIMECommand[] getAllMIMECommandsForDescription(String description)
Returns all the PortalMIMECommands that are defined for in the Portal Registry and
which have the specified description.
description
public static String getCommandForType(String type, String desc)
Returns the command class name for the specified type and description
if no description, returns the default command of this type
typedesc
public static String getIconPathForExtension(String extension)
Returns the Icon Path declared in the registry for this extension.
extension
public static String getIconPathForMIMETypes(PortalMIMETypes mimeTypes)
Returns the Icon Path declared in the registry for this MIME types.
mimeTypes
public static String[] getInstancesNameForType(String type)
Returns all the already instanciated CATlet name that can handle
the specified type
type
public static String[] getInstancesNameForType(String type, String desc)
Returns all instance name of the already instanciated CATlet that can
handle the specified type and they have the description desc
typedesc
public static PortalMIMECommand getMIMECommandForType(String type, String desc)
Returns the PortalMIMECommand for the specified type and description
if no description, returns the default command of this type
typedesc
public static PortalMIMETypes getMIMETypesForExtension(String extension)
Returns the MIME type declared in the registry for this extension
extension
public static PortalMIMETypes[] getMIMETypesForOptionalExtension(String extension)
Returns a list of MIME type declared in the registry for this optional extension
extension
public static PortalMIMETypes getMIMETypesForType(String type)
Returns the MIME type declared in the registry for this type
type
public static String[] getSupportedExtensions()
Returns the list of extension declared and recognized by the PortalRegistry