public class ActionChainRPCCommon
extends java.lang.Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | ActionChainRPCCommon.IntegerToLongTransformerTransformer from Long to Integer for the XML-RPC compatibility. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String[] | COMBO_KEYS | 
| Constructor and Description | 
|---|
| ActionChainRPCCommon() | 
| Modifier and Type | Method and Description | 
|---|---|
| ActionChain | getActionChainByLabel(User requestor,
                     java.lang.String actionChainLabel)Find an Action Chain by label. | 
| Server | getServerById(java.lang.Integer serverId,
             User user)Find a server by Id and ensure it is available for the given user. | 
| java.util.List<java.util.Map<java.lang.String,java.lang.Long>> | resolvePackages(java.util.List<java.lang.Integer> userPackages,
               User user)Resolve packages from IDs. | 
public java.util.List<java.util.Map<java.lang.String,java.lang.Long>> resolvePackages(java.util.List<java.lang.Integer> userPackages,
                                                                                      User user)
userPackages - User packagesuser - User of the systempublic ActionChain getActionChainByLabel(User requestor, java.lang.String actionChainLabel)
actionChainLabel - Chaim labelrequestor - user whose chain we're getting