Package com.dassault_systemes.catweb.base.net.registry

   
Class PortalMIMECommand

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catweb.base.net.registry.PortalMIMECommand
Class Location

Framework : PortalBase

Module : PLBbase

Class Description

public class PortalMIMECommand

This class contains the name of the command to launch for a given MIMEtype. sample: CommandDescription = "Visu3D" CommandName = "com.dassault_systemes.catweb.Local3DCATlet" or CommandUrl = "bean://com.dassault_systemes.catweb.Local3DCATlet"

Field Summary
String DEFAULT
String ALWAYS
String NEVER
String NOMADE_ONLY
String CONNECTED_ONLY
String BOTH
String DEFAULT_DESCRIPTION

Constructor Summary

Method Summary
PortalMIMETypes getAssociatedMIMEType()
String getCommandName()
String getCommandUrl()
String getCommandDescription()
String getNLSName()
String getNewInstanceFlag()
String getMode()
boolean equals(Object obj)
String toString()


Field Detail

DEFAULT

    String DEFAULT
The different value of the creation status ALWAYS --> always create a new instance NEVER --> always use the same instance DEFAULT --> use the last instance created


ALWAYS

    String ALWAYS


NEVER

    String NEVER


NOMADE_ONLY

    String NOMADE_ONLY
Tells that this Command can only be runned in Nomade mode


CONNECTED_ONLY

    String CONNECTED_ONLY
Tells that this Command can only be runned in Connected mode


BOTH

    String BOTH
Tells that this Command can be runned both in Nomade mode and Connected mode


DEFAULT_DESCRIPTION

    String DEFAULT_DESCRIPTION
The value of the description for a default command of a MIME Type


Constructor Detail

Method Detail

getAssociatedMIMEType

    PortalMIMETypes getAssociatedMIMEType()

Return the MIMEtype to which this command is associated

Returns:
the MIMEtype to which this command is associated

getCommandName

    String getCommandName()

Returns the class name of the command to launch.


getCommandUrl

    String getCommandUrl()

Returns the url to launch.


getCommandDescription

    String getCommandDescription()

Returns the description of the command. The command description is defined by the "value" parameter of the "Command" tag in the xml file MIMEtypes.xml


getNLSName

    String getNLSName()

Returns the NLS name of this command. The NLS name is first searched in the CATlet list then in the command bean info. If nothing is found we take the command description for the NLS name


getNewInstanceFlag

    String getNewInstanceFlag()

Returns the newInstance fag value (status for the creation).


getMode

    String getMode()

Returns the mode in which this command can be runned: Nomade, Connected or Both


equals

    boolean equals(Object obj)

Compares 2 PortalMIMECommand instances.


toString

    String toString()

Returns a string representation of this PortalMIMECommand.



Copyright © 2000, Dassault Systèmes. All rights reserved