|
|
|||||
| 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 |
| 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 |
| public static final String | ALWAYS
|
| public static final String | BOTH
Tells that this Command can be runned both in Nomade mode and Connected mode |
| public static final String | CONNECTED_ONLY
Tells that this Command can only be runned in Connected mode |
| public static final 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 |
| public static final String | DEFAULT_DESCRIPTION
The value of the description for a default command of a MIME Type |
| public static final String | NEVER
|
| public static final String | NOMADE_ONLY
Tells that this Command can only be runned in Nomade mode |
| Constructor Summary |
| Method Summary |
| public boolean | equals(Object obj)
Compares 2 PortalMIMECommand instances. |
| public PortalMIMETypes | getAssociatedMIMEType()
Return the MIMEtype to which this command is associated |
| public String | getCommandDescription()
Returns the description of the command. |
| public String | getCommandName()
Returns the class name of the command to launch. |
| public String | getCommandUrl()
Returns the url to launch. |
| public String | getMode()
Returns the mode in which this command can be runned: Nomade, Connected or Both |
| public String | getNewInstanceFlag()
Returns the newInstance fag value (status for the creation). |
| public String | getNLSName()
Returns the NLS name of this command. |
| public String | toString()
Returns a string representation of this PortalMIMECommand. |
| Field Detail |
public static final String ALWAYS
public static final String BOTH
Tells that this Command can be runned both in Nomade mode and Connected mode
public static final String CONNECTED_ONLY
Tells that this Command can only be runned in Connected mode
public static final 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
public static final String DEFAULT_DESCRIPTION
The value of the description for a default command of a MIME Type
public static final String NEVER
public static final String NOMADE_ONLY
Tells that this Command can only be runned in Nomade mode
| Constructor Detail |
| Method Detail |
public boolean equals(Object obj)
Compares 2 PortalMIMECommand instances.
public PortalMIMETypes getAssociatedMIMEType()
Return the MIMEtype to which this command is associated
public 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
public String getCommandName()
Returns the class name of the command to launch.
public String getCommandUrl()
Returns the url to launch.
public String getMode()
Returns the mode in which this command can be runned: Nomade, Connected or Both
public String getNewInstanceFlag()
Returns the newInstance fag value (status for the creation).
public 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
public String toString()
Returns a string representation of this PortalMIMECommand.