|
manage_addUserCommand(self,
newId=None,
desc='
' ,
cmd='
' ,
REQUEST=None)
Add a UserCommand to this device |
source code
|
|
|
manage_deleteUserCommand(self,
ids=( ) ,
REQUEST=None)
Delete User Command(s) to this device |
source code
|
|
|
manage_editUserCommand(self,
commandId,
REQUEST=None)
Want to redirect back to management tab after a save |
source code
|
|
|
|
|
doCommandForTarget(self,
cmd,
target,
out)
Execute the given UserCommand on the given target |
source code
|
|
|
compile(self,
cmd,
target)
Evaluate command as a tales expression |
source code
|
|
|
getUserCommandIds(self)
Get the user command ids available in this context |
source code
|
|
|
getUserCommands(self,
asDict=False)
Get the user commands available in this context |
source code
|
|
|
|
|
redirectToUserCommands(self,
REQUEST,
commandId=None)
Redirect to the page which lists UserCommands for this Commandable
object. |
source code
|
|
|
getUrlForUserCommands(self)
Return url for page which manages user commands |
source code
|
|
|
getUserCommand(self,
commandId)
Returns the command from the current context if it exists |
source code
|
|
|
getUserCommandEnvironment(self)
Get the environment that provides context for the tales evaluation
of a UserCommand. |
source code
|
|
|
getUserCommandTargets(self)
Called by Commandable.doCommand() to ascertain objects on which a
UserCommand should be executed. |
source code
|
|
|
write(self,
out,
lines)
Output (maybe partial) result text from a UserCommand. |
source code
|
|