public class ActivationKeyCloneCommand
extends java.lang.Object
Constructor and Description |
---|
ActivationKeyCloneCommand(User userIn,
java.lang.String key,
java.lang.String cloneDescription)
Construct a ActivationKeyCloneCommand
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getclonedkey()
Get the key value of the ActivationKey
|
java.lang.Long |
getId()
Get the token id value of the ActivationKey
|
int |
setConfigChannels(User loggedInUser,
java.util.List<java.lang.String> keys,
java.util.List<java.lang.String> configChannelLabels)
replaces the existing set of config channels for a given activation key.
|
public ActivationKeyCloneCommand(User userIn, java.lang.String key, java.lang.String cloneDescription)
userIn
- user doing the cloningkey
- Activation key to be clonedcloneDescription
- The description of the cloned key.public int setConfigChannels(User loggedInUser, java.util.List<java.lang.String> keys, java.util.List<java.lang.String> configChannelLabels)
loggedInUser
- The current userkeys
- a lsit of activation keys.configChannelLabels
- sets channels labelspublic java.lang.String getclonedkey()
public java.lang.Long getId()