public class XmlRpcActivationKeysHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static XmlRpcActivationKeysHelper |
getInstance() |
ActivationKey |
lookupKey(User user,
java.lang.String key)
Helper method to lookup a ActivationKey object from key, and throws a FaultException
if the key cannot be found.
|
java.util.List<ActivationKey> |
lookupKeys(User user,
java.util.List<java.lang.String> keys)
Helper method to lookup a bunch of activationkeys
from a list of key values
|
public static XmlRpcActivationKeysHelper getInstance()
public ActivationKey lookupKey(User user, java.lang.String key)
user
- The user looking up the ActivationKeykey
- The key value of the ActivationKeypublic java.util.List<ActivationKey> lookupKeys(User user, java.util.List<java.lang.String> keys)
user
- The user looking up the ActivationKeykeys
- activationkeys ids we're looking for