Class CommandNameService
- java.lang.Object
-
- com._1c.g5.v8.dt.form.service.command.impl.CommandNameService
-
- All Implemented Interfaces:
ICommandNameService
public class CommandNameService extends Object implements ICommandNameService
The default implementation ofICommandNameService
-
-
Constructor Summary
Constructors Constructor Description CommandNameService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFullyQualifiedCommandName(Command command)
Get fully qualified command nameString
getName(UnresolvedCommand command)
Get full command nameString
getName(FormCommand command)
Get full command nameString
getName(Command command)
Get full command nameString
getName(BasicCommand command)
Get full command nameString
getName(StandardCommand command)
Get full command nameString
getNameForCommandInterface(Command command)
Get command representation to be used in command interfaceString
getNameForFormItem(Command command)
Get command representation for form item which corresponds to the specified command
-
-
-
Method Detail
-
getName
public String getName(Command command)
Description copied from interface:ICommandNameService
Get full command name- Specified by:
getName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getName
public String getName(BasicCommand command)
Description copied from interface:ICommandNameService
Get full command name- Specified by:
getName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name
-
getName
public String getName(FormCommand command)
Description copied from interface:ICommandNameService
Get full command name- Specified by:
getName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getName
public String getName(StandardCommand command)
Description copied from interface:ICommandNameService
Get full command name- Specified by:
getName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getName
public String getName(UnresolvedCommand command)
Description copied from interface:ICommandNameService
Get full command name- Specified by:
getName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getFullyQualifiedCommandName
public String getFullyQualifiedCommandName(Command command)
Description copied from interface:ICommandNameService
Get fully qualified command name- Specified by:
getFullyQualifiedCommandName
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getNameForFormItem
public String getNameForFormItem(Command command)
Description copied from interface:ICommandNameService
Get command representation for form item which corresponds to the specified command- Specified by:
getNameForFormItem
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
getNameForCommandInterface
public String getNameForCommandInterface(Command command)
Description copied from interface:ICommandNameService
Get command representation to be used in command interface- Specified by:
getNameForCommandInterface
in interfaceICommandNameService
- Parameters:
command
- the command, cannot benull
- Returns:
- return command name, never
null
-
-