public class KickstartCryptoKeyCommand extends BaseKickstartCommand
ksdata, rebuildPartitionCommands, user
Constructor and Description |
---|
KickstartCryptoKeyCommand(java.lang.Long ksidIn,
User userIn)
Construct a new Command.
|
Modifier and Type | Method and Description |
---|---|
void |
addKeysByDescriptionAndOrg(java.util.List<java.lang.String> descriptions,
Org org)
Adds a list of crypto keys to the kickstart profile
where the list is a series of key descriptions.
|
void |
addKeysByIds(java.util.List<java.lang.Long> ids)
Add a List of cryptoKey objects to the KickstartData
based on the Long IDs passed in on the list.
|
java.util.Set<CryptoKey> |
getCryptoKeys()
Get the Set of CryptoKeys associated with this Profile.
|
void |
removeKeysByDescriptionAndOrg(java.util.List<java.lang.String> descriptions,
Org org)
Removes a list of crypto keys from the kickstart profile
where the list is a series of key descriptions.
|
void |
removeKeysById(java.util.List<java.lang.Long> ids)
Remove the CryptoKeys from this Kickstart.
|
findCommandName, getKickstartData, getUser, store
public KickstartCryptoKeyCommand(java.lang.Long ksidIn, User userIn)
ksidIn
- of the Kicstart you want to edituserIn
- who wants to edit the profilepublic void addKeysByIds(java.util.List<java.lang.Long> ids)
ids
- to addpublic void addKeysByDescriptionAndOrg(java.util.List<java.lang.String> descriptions, Org org)
descriptions
- identifies all of the keys to associateorg
- org in which the keys are locatedpublic void removeKeysByDescriptionAndOrg(java.util.List<java.lang.String> descriptions, Org org)
descriptions
- identifies all of the keys to associateorg
- org in which the keys are locatedpublic void removeKeysById(java.util.List<java.lang.Long> ids)
ids
- List of Long crypto key IDs.public java.util.Set<CryptoKey> getCryptoKeys()