public class SsmManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
addServersToSsm(User user,
java.lang.String[] serverIds)
Adds the selected server IDs to the SSM RhnSet.
|
static void |
clearSsm(User user)
Clears the list of servers in the SSM.
|
static java.util.List<java.lang.Long> |
listServerIds(User user)
Returns a list of server-ids of the servers in the SSM selection, for the specified
user
|
static void |
performChannelActions(User user,
java.util.Collection<ChannelActionDAO> sysMapping)
Performs channel actions
|
public static void performChannelActions(User user, java.util.Collection<ChannelActionDAO> sysMapping)
user
- user performing the action creationssysMapping
- a collection of ChannelActionDAOspublic static void addServersToSsm(User user, java.lang.String[] serverIds)
user
- cannot be null
serverIds
- cannot be null
public static void clearSsm(User user)
user
- cannot be null
public static java.util.List<java.lang.Long> listServerIds(User user)
user
- user whose system-set we care about