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