public interface ClipboardService
| Modifier and Type | Method and Description |
|---|---|
void |
addClipboardCommand(String userId,
ClipboardCommand command,
boolean isVirtual)
Adds a clipboard command for user
|
void |
clearClipboardList(String userId,
boolean isVirtual)
Clears the list of clipboard command
|
Set<ClipboardCommand> |
getClipboardList(String userId,
boolean isVirtual)
Gets the list of clipboard command added by given user
check in clipboard.
|
ClipboardCommand |
getLastClipboard(String userId)
Gets the last clipboard command of user
|
void |
removeClipboardCommand(String userId,
ClipboardCommand command)
Remove one command form clipboard
|
void addClipboardCommand(String userId, ClipboardCommand command, boolean isVirtual)
userId - user to add commandcommand - the commandisVirtual - if the command is virtualClipboardCommand getLastClipboard(String userId)
userId - user to get commandSet<ClipboardCommand> getClipboardList(String userId, boolean isVirtual)
userId - the user who added the commandsisVirtual - if the commands are virtualvoid clearClipboardList(String userId, boolean isVirtual)
userId - the user who added the commandsisVirtual - if the commands are virtualvoid removeClipboardCommand(String userId, ClipboardCommand command)
userId - the user who added the commandscommand - the command
command need to removeCopyright © 2003–2019 eXo Platform SAS. All rights reserved.