public class SystemManager extends BaseManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CAP_CONFIGFILES_BASE64_ENC |
static java.lang.String |
CAP_CONFIGFILES_DEPLOY |
static java.lang.String |
CAP_CONFIGFILES_DIFF |
static java.lang.String |
CAP_CONFIGFILES_MTIME_UPLOAD |
static java.lang.String |
CAP_CONFIGFILES_UPLOAD |
static java.lang.String |
CAP_PACKAGES_VERIFY |
Modifier and Type | Method and Description |
---|---|
static void |
activateProxy(Server server,
java.lang.String version)
Activates the given proxy for the given version.
|
static void |
addServerToServerGroup(Server server,
ServerGroup serverGroup)
Adds a server to a server group
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
allInstallablePackages(java.lang.Long sid)
Get all installable packages for a given system.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
availableSystemGroups(Server server,
User user)
Returns a list of available server groups for a given server
|
static int |
bulkRemoveCustomValue(User user,
java.lang.String setLabel,
java.lang.Long keyId)
Removes the custom info values from the systems in the set
|
static void |
bulkSetCustomValue(User user,
java.lang.String setLabel,
java.lang.String keyLabel,
java.lang.String value)
Sets the custom info values for the systems in the set
|
static boolean |
canEntitleServer(java.lang.Long serverId,
Entitlement ent)
Tests whether or not a given server can be entitled with a specific entitlement
|
static boolean |
canEntitleServer(Server server,
Entitlement ent)
Tests whether or not a given server can be entitled with a specific entitlement
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
channelsForServer(Server server)
Returns a DataResult containing maps representing the channels a particular system
is subscribed to.
|
static boolean |
clientCapable(java.lang.Long sid,
java.lang.String capability)
Returns true if server has capability.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
compatibleWithServer(User user,
Server server)
Returns a list of Servers which are compatible with the given server.
|
static int |
countActions(java.lang.Long sid)
Returns the number of actions associated with a system
|
static int |
countCriticalErrataForSystem(User user,
java.lang.Long sid)
Returns a count of the number of critical errata that are present on the system.
|
static int |
countNoncriticalErrataForSystem(User user,
java.lang.Long sid)
Returns a count of the number of non-critical errata that are present on the system.
|
static int |
countPackageActions(java.lang.Long sid)
Returns the number of package actions associated with a system
|
static java.lang.Long |
countPendingActions(java.lang.Long sid) |
static int |
countSubscribedToChannelWithoutOrg(java.lang.Long orgId,
java.lang.Long cid)
Returns the number of systems subscribed to the channel that are
not in the given org.
|
static int |
countSystemsInSetWithoutEntitlement(User user,
java.lang.String setLabel,
java.lang.String entitlementLabel)
Returns a count of systems without a certain entitlement in a set.
|
static int |
countSystemsInSetWithoutFeature(User user,
java.lang.String setLabel,
java.lang.String featureLabel)
Returns a count of systems without a certain feature in a set.
|
static int |
countSystemsSubscribedToChannel(java.lang.Long channelId,
User user)
Returns the number of systems subscribed to the given channel.
|
static ClientCertificate |
createClientCertificate(Server server)
Creates the client certificate (systemid) file for the given Server.
|
static Server |
deactivateProxy(Server server)
Deactivates the given proxy.
|
static void |
deleteNote(User user,
java.lang.Long serverId,
java.lang.Long noteId)
Deletes the indicates note, assuming the user has the proper permissions to the
server.
|
static void |
deleteNotes(User user,
java.lang.Long serverId)
Deletes all notes on the given server, assuming the user has the proper permissions
to the server.
|
static void |
deleteServer(User user,
java.lang.Long sid)
Deletes a Server and associated VirtualInstances:
- If the server was a virtual guest, remove the VirtualInstance that links it to its
host server.
|
static void |
ensureAvailableToUser(User user,
java.lang.Long sid)
Checks if the user has permissions to see the Server
|
static java.util.List<SystemOverview> |
entitledInSet(User user,
java.lang.String setLabel,
java.util.List<java.lang.String> entitlements)
Returns ids and names for systems in a given set with at least one of the
specified entitlements.
|
static ValidatorResult |
entitleServer(Org orgIn,
java.lang.Long sid,
Entitlement ent)
Entitles the given server to the given Entitlement.
|
static ValidatorResult |
entitleServer(Server server,
Entitlement ent)
Entitles the given server to the given Entitlement.
|
static DataResult |
errataInSet(User user,
java.lang.String label,
PageControl pc)
Returns a list of errata in a specified set
|
static DataResult<ActivationKeyDto> |
getActivationKeys(Server serverIn)
Returns the list of activation keys used when the system was
registered.
|
static DataResult<ServerPath> |
getConnectionPath(java.lang.Long sid)
Gets the list of proxies that the given system connects
through in order to reach the server.
|
static DataResult<SystemOverview> |
getExtraPackagesSystems(User user,
PageControl pc)
Returns a list of systems with extra packages installed.
|
static HardwareDeviceDto |
getHardwareDeviceById(java.lang.Long hwId)
Looks up a hardware device by the hardware device id
|
static java.util.List<Entitlement> |
getServerEntitlements(java.lang.Long sid)
Returns the entitlements for the given server id.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getSsmSystemsSubscribedToChannel(User user,
java.lang.Long channelId)
Return the system names and IDs that are selected in the SSM for the given user,
which also have been subscribed to the given channel.
|
static DataResult<SystemOverview> |
getSystemEntitlements(User user,
PageControl pc)
Returns list of inactive systems visible to user, sorted by name.
|
static DataResult<SystemGroupOverview> |
groupList(User user,
PageControl pc)
Returns list of system groups visible to user.
|
static DataResult<SystemGroupOverview> |
groupListWithServerCount(User user,
PageControl pc)
Returns list of system groups visible to user, with system-counts.
|
static boolean |
hasEntitlement(java.lang.Long sid,
Entitlement ent)
Used to test if the server has a specific entitlement.
|
static boolean |
hasPackageAvailable(Server server,
java.lang.Long nameId,
java.lang.Long archId,
java.lang.Long evrId)
Is the package with nameId, archId, and evrId available in the
provided server's subscribed channels
|
static boolean |
hasUnscheduledErrata(User user,
java.lang.Long sid)
Returns whether a system has unscheduled relevant errata
|
static java.util.List<Server> |
hydrateServerFromIds(java.util.Collection<java.lang.Long> serverIds,
User userIn)
Returns a List of hydrated server objects from server ids.
|
static DataResult<SystemOverview> |
inactiveList(User user,
PageControl pc)
Returns list of inactive systems visible to user, sorted by name.
|
static DataResult<SystemOverview> |
inactiveList(User user,
PageControl pc,
int inactiveDays)
Returns list of inactive systems visible to user, sorted by name.
|
static DataResult<SystemOverview> |
inactiveListSortbyCheckinTime(User user,
PageControl pc)
Returns list of inactive systems visible to user, sorted by the systems' last
checkin time instead of by name.
|
static java.util.List<SystemOverview> |
inSet(User user,
java.lang.String setLabel)
Get a list of SystemOverview objects for the systems in an rhnset
|
static java.util.List<SystemOverview> |
inSet(User user,
java.lang.String setLabel,
boolean elaborate)
Get a list of SystemOverview objects for the systems in an rhnset with option
to elaborate the result
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
installedPackages(java.lang.Long sid,
boolean expanded)
Gets the installed packages on a system
|
static boolean |
isAvailableToUser(User user,
java.lang.Long sid)
Checks if the user has permissions to see the Server
|
static boolean |
isKickstarting(User user,
java.lang.Long sid)
Returns whether or not a server is kickstarting
|
static boolean |
isVirtualHost(java.lang.Long oid,
java.lang.Long sid)
Checks if the System is a virtual host
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
latestInstallablePackages(java.lang.Long sid)
Gets the latest installable packages for a system
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
latestUpgradablePackages(java.lang.Long sid)
Gets the latest upgradable packages for a system
|
static DataResult<SystemOverview> |
listClientsThroughProxy(java.lang.Long sid)
Returns list of client systems that connect through a proxy
|
static DataResult<CustomDataKeyOverview> |
listDataKeys(User user)
List all virtual hosts for a user
|
static java.util.List<DuplicateSystemGrouping> |
listDuplicatesByHostname(User user,
java.lang.Long inactiveHours)
List duplicate systems by hostname
|
static java.util.List<SystemOverview> |
listDuplicatesByHostname(User user,
java.lang.String hostName)
List duplicate systems by hostName
|
static java.util.List<DuplicateSystemGrouping> |
listDuplicatesByIP(User user,
long inactiveHours)
List duplicate systems by ip address
|
static java.util.List<SystemOverview> |
listDuplicatesByIP(User user,
java.lang.String ip)
List duplicate systems by ip address
|
static java.util.List<DuplicateSystemGrouping> |
listDuplicatesByIPv6(User user,
long inactiveHours)
List duplicate systems by ipv6 address
|
static java.util.List<SystemOverview> |
listDuplicatesByIPv6(User user,
java.lang.String ip)
List duplicate systems by ipv6 address
|
static java.util.List<DuplicateSystemGrouping> |
listDuplicatesByMac(User user,
java.lang.Long inactiveHours)
List duplicate systems by mac address
|
static java.util.List<SystemOverview> |
listDuplicatesByMac(User user,
java.lang.String mac)
List duplicate systems by mac address
|
static DataResult<PackageListItem> |
listExtraPackages(java.lang.Long serverId)
Returns the list of extra packages for a system.
|
static java.util.List<java.util.Map<java.lang.String,java.lang.Long>> |
listInstalledPackage(java.lang.String packageName,
Server server)
List all of the installed packages with the given name
|
static DataResult<SystemOverview> |
listPotentialSystemsForPackage(User user,
java.lang.Long id)
lists systems that can upgrade to the package id
|
static DataResult<OrgProxyServer> |
listProxies(Org org)
returns a List proxies available in the given org
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
listSystemGroups(java.lang.Long sid)
Returns a list of server groups for a given server
|
static java.util.List<SystemOverview> |
listSystemsByName(User user,
java.lang.String name)
Find a system by it's name (must be an exact string match)
|
static java.util.List<SystemOverview> |
listSystemsWithNeededPackage(User user,
java.lang.Long id)
lists systems with the given needed/upgrade package id
|
static DataResult<SystemOverview> |
listSystemsWithPackage(User user,
java.lang.Long id)
lists systems with the given installed package id
|
static java.util.List<SystemOverview> |
listSystemsWithPackage(User user,
java.lang.String name,
java.lang.String version,
java.lang.String release)
lists systems with the given installed NVR
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
listTagsForSystemsInSet(User user)
Get a list of all tags that are applicable to entitled systems in the set
|
static java.util.List<SystemOverview> |
listTargetSystemForChannel(User user,
Channel chan)
list systems that can be subscribed to a particular child channel
|
static java.util.List<SystemOverview> |
listVirtualHosts(User user)
List all virtual hosts for a user
|
static void |
lockServer(User locker,
Server server,
java.lang.String reason)
Locks a server if the user has permissions on the server
|
static Server |
lookupByCert(ClientCertificate cert)
Looks up a Server by it's client certificate.
|
static Server |
lookupByIdAndOrg(java.lang.Long sid,
Org org)
Looks up a server by its Id
|
static Server |
lookupByIdAndUser(java.lang.Long sid,
User userIn)
Looks up a server by its Id
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
lookupKeysSansValueForServer(java.lang.Long orgId,
java.lang.Long sid)
Lookup all the custom info keys not assigned to this server
|
static DataResult<KickstartSessionDto> |
lookupKickstartSession(User user,
java.lang.Long sid)
Returns Kickstart sessions associated with a server
|
static Note |
lookupNoteByIdAndSystem(User user,
java.lang.Long nid,
java.lang.Long sid)
Return a note by ID and Server ID
|
static DataResult<SystemOverview> |
mostCriticalSystems(User user,
PageControl pc)
Returns a list of all systems visible to user with pending errata.
|
static DataResult<SystemOverview> |
outOfDateList(User user,
PageControl pc)
Returns list of out of date systems visible to user.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
packagesFromChannel(java.lang.Long sid,
java.lang.Long cid)
Gets packages from a channel for a system
|
static DataResult<SystemOverview> |
physicalList(User user,
PageControl pc)
Returns list of all physical systems visible to user.
|
static DataResult<SystemOverview> |
proxyList(User user,
PageControl pc)
Returns list of proxy systems visible to user.
|
static DataResult<SystemOverview> |
registeredList(User user,
PageControl pc,
int threshold)
Returns a list of systems recently registered by the user
|
static DataResult<ErrataOverview> |
relevantCurrencyErrata(User user,
java.lang.Long sid,
java.lang.String type,
java.lang.String synopsis)
Returns a list of errata relevant to a system
|
static DataResult<ErrataOverview> |
relevantErrata(User user,
java.lang.Long sid)
Returns a list of errata relevant to a system
|
static DataResult<ErrataOverview> |
relevantErrata(User user,
java.lang.Long sid,
java.util.List<java.lang.String> types)
Returns a list of errata relevant to a system
|
static DataResult<ErrataOverview> |
relevantErrataByType(User user,
java.lang.Long sid,
java.lang.String type)
Returns a list of errata relevant to a system by type
|
static void |
removeAllServerEntitlements(java.lang.Long sid)
Removes all the entitlements related to a server..
|
static void |
removeServerEntitlement(java.lang.Long sid,
Entitlement ent)
Removes a specific level of entitlement from the given Server.
|
static void |
removeServerFromServerGroup(Server server,
ServerGroup serverGroup)
Removes a server from a group
|
static boolean |
requiresReboot(User user,
java.lang.Long sid) |
static DataResult<SystemOverview> |
requiringRebootList(User user,
PageControl pc)
Returns list of systems requiring a reboot i.e: because kernel updates,
visible to user, sorted by name.
|
static boolean |
serverHasFeature(java.lang.Long sid,
java.lang.String feat)
Used to test if the server has a specific feature.
|
static boolean |
serverHasVirtuaizationEntitlement(java.lang.Long sid,
Org org)
Return
true the given server has virtualization entitlements,
false otherwise. |
static void |
setAutoUpdateBulk(User user,
java.lang.Boolean value)
Set auto_update for all systems in the system set
|
static void |
setUserSystemPreferenceBulk(User user,
java.lang.String preference,
java.lang.Boolean value,
java.lang.Boolean defaultIn)
Set the vaules for the user system prefrence for all systems in the system set
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
sidsInOrgTrust(long orgA,
long orgB)
List of distinct servers subscribed to shared channels via org trust.
|
static void |
snapshotServer(Server server,
java.lang.String reason)
Takes a snapshot for a server by calling the snapshot_server stored proc.
|
static DataResult<SnapshotTagDto> |
snapshotTagsForSystem(java.lang.Long sid,
PageControl pc) |
static DataResult<SnapshotTagDto> |
snapshotTagsForSystemAndSnapshot(java.lang.Long sid,
java.lang.Long ssId,
PageControl pc) |
static DataResult<SnapshotTagDto> |
snapshotTagsInSet(User user,
PageControl pc,
java.lang.String setLabel,
java.lang.Long sid) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
ssmSystemPackagesToRemove(User user,
java.lang.String packageSetLabel,
boolean shortened)
Returns a mapping of servers in the SSM to the user-selected packages to remove
that actually exist on those servers.
|
static DataResult |
ssmSystemPackagesToUpgrade(User user,
java.lang.String packageSetLabel)
Returns a mapping of servers in the SSM to user-selected packages to upgrade
that actually exist on those servers
|
static void |
storeServer(Server serverIn)
Store the server back to the db
|
static java.util.Set<java.lang.Long> |
subscribableChannelIds(java.lang.Long sid,
java.lang.Long uid,
java.lang.Long cid)
Gets the list of channel ids that this server could subscribe to
according to it's base channel.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
subscribableChannels(java.lang.Long sid,
java.lang.Long uid,
java.lang.Long cid)
Gets the list of channels that this server could subscribe to given it's base
channel.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
subscribedInOrgTrust(long orgA,
long orgB)
List of servers subscribed to shared channels via org trust.
|
static java.lang.Long |
subscribedToChannelSize(User user,
java.lang.Long cid)
gets the number of systems subscribed to a channel
|
static Server |
subscribeServerToChannel(User user,
Server server,
Channel channel)
Subscribes the given server to the given channel.
|
static Server |
subscribeServerToChannel(User user,
Server server,
Channel channel,
boolean flush)
Subscribes the given server to the given channel.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemChannelSubscriptions(java.lang.Long sid)
Gets the list of channels that this server is subscribed to
|
static DataResult<SystemCurrency> |
systemCurrencyList(User user,
PageControl pc)
Returns list of all systems and their errata type counts
|
static DataResult<SystemEventDto> |
systemEventHistory(java.lang.Long sid,
java.lang.Long oid,
PageControl pc) |
static DataResult<SystemOverview> |
systemList(User user,
PageControl pc)
Returns list of all systems visible to user.
|
static DataResult<SystemOverview> |
systemListShort(User user,
PageControl pc)
Returns list of all systems visible to user.
|
static DataResult<SystemOverview> |
systemListShortActive(User user,
PageControl pc)
Returns list of all systems visible to user that are active.
|
static DataResult<SystemOverview> |
systemListShortInactive(User user,
int inactiveThreshold,
PageControl pc)
Returns list of all systems visible to user that are inactive.
|
static DataResult<SystemOverview> |
systemListShortInactive(User user,
PageControl pc)
Returns list of all systems visible to user that are inactive.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemNotes(Server s)
Returns list of all notes for a system.
|
static DataResult<SystemPendingEventDto> |
systemPendingEvents(java.lang.Long sid,
PageControl pc) |
static DataResult<SystemOverview> |
systemsInGroup(java.lang.Long sgid,
PageControl pc)
Returns list of systems in the specified group.
|
static DataResult<SystemOverview> |
systemsInGroupShort(java.lang.Long sgid)
Returns list of systems in the specified group.
|
static DataResult |
systemsInSetWithTag(java.lang.Long uid,
java.lang.Long tid) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemSnapshotChannels(java.lang.Long sid,
java.lang.Long ssid,
PageControl pc) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemSnapshotGroups(java.lang.Long sid,
java.lang.Long ssid,
PageControl pc) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemSnapshotPackages(java.lang.Long sid,
java.lang.Long ssid,
PageControl pc) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemSnapshots(java.lang.Long sid,
PageControl pc) |
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemSnapshotUnservablePackages(java.lang.Long orgId,
java.lang.Long sid,
java.lang.Long ssId,
PageControl pc) |
static DataResult<SystemOverview> |
systemsNotInGroup(User user,
ServerGroup sg,
PageControl pc)
Returns list of all systems that are visible to user
but not in the given server group.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemsSubscribedToChannel(Channel channel,
User user)
Returns a DataResult containing the systems subscribed to a particular channel.
|
static DataResult<java.util.Map<java.lang.String,java.lang.Object>> |
systemsSubscribedToChannelDto(Channel channel,
User user)
Returns a DataResult containing the systems subscribed to a particular channel.
|
static DataResult<EssentialServerDto> |
systemsSubscribedToChannelInSet(java.lang.Long cid,
User user,
java.lang.String setLabel)
Return the list of systems subscribed to the given channel in the current set.
|
static DataResult<SystemOverview> |
systemsWithFeature(User user,
java.lang.String feature,
PageControl pc)
Returns list of all systems visible to user.
|
static DataResult<EssentialServerDto> |
systemsWithoutBaseChannelsInSet(User user)
Return systems in the current set without a base channel.
|
static DataResult<SystemOverview> |
unentitledList(User user,
PageControl pc)
Returns list of unentitled systems visible to user.
|
static DataResult<SystemOverview> |
ungroupedList(User user,
PageControl pc)
Returns list of ungrouped systems visible to user.
|
static void |
unlockServer(User user,
Server server)
Unlocks a server if the user has permissions on the server
|
static DataResult<Errata> |
unscheduledErrata(User user,
java.lang.Long sid,
PageControl pc)
Returns a list of unscheduled relevent errata for a system
|
static void |
unsubscribeServerFromChannel(java.lang.Long sid,
java.lang.Long cid)
Unsubscribes a server from a channel without any check.
|
static Server |
unsubscribeServerFromChannel(Server server,
Channel channel)
Unsubscribe given server from the given channel.
|
static Server |
unsubscribeServerFromChannel(Server server,
Channel channel,
boolean flush)
Unsubscribe given server from the given channel.
|
static void |
unsubscribeServerFromChannel(User user,
java.lang.Long sid,
java.lang.Long cid)
Unsubscribe given server from the given channel.
|
static void |
unsubscribeServerFromChannel(User user,
Server server,
Channel channel)
Unsubscribe given server from the given channel.
|
static void |
unsubscribeServerFromChannel(User user,
Server server,
Channel channel,
boolean flush)
Unsubscribe given server from the given channel.
|
static ValidatorResult |
validateGuestMemorySetting(java.util.List<java.lang.Long> guestIds,
int proposedMemory)
Validates the amount requested amount of memory can be allocated to each
of the guest systems in the list.
|
static ValidatorResult |
validateVcpuSetting(java.lang.Long guestId,
int proposedVcpuSetting)
Validates that the proposed number of virtual CPUs is valid for the
given virtual instance.
|
static boolean |
verifyArchCompatibility(Server server,
Channel channel)
Returns true if the given server has a compatible architecture with the
given channel architecture.
|
static DataResult<VirtualSystemOverview> |
virtualGuestsForHostList(User user,
java.lang.Long sid,
PageControl pc)
Returns list of virtual guest systems running 'under' the given system.
|
static DataResult<VirtualSystemOverview> |
virtualSystemsInSet(User user,
java.lang.String setLabel,
PageControl pc)
Returns list of virtual systems in the given set
|
static DataResult<VirtualSystemOverview> |
virtualSystemsList(User user,
PageControl pc)
Returns list of virtual host systems visible to user.
|
makeDataResult, makeDataResult, makeDataResult, makeDataResult, makeDataResultNoPagination, makeDataResultNoPagination, processListControl, processPageControl
public static final java.lang.String CAP_CONFIGFILES_UPLOAD
public static final java.lang.String CAP_CONFIGFILES_DIFF
public static final java.lang.String CAP_CONFIGFILES_MTIME_UPLOAD
public static final java.lang.String CAP_CONFIGFILES_DEPLOY
public static final java.lang.String CAP_PACKAGES_VERIFY
public static final java.lang.String CAP_CONFIGFILES_BASE64_ENC
public static void snapshotServer(Server server, java.lang.String reason)
server
- The server to snapshotreason
- The reason for the snapshotting.public static DataResult<java.util.Map<java.lang.String,java.lang.Object>> subscribableChannels(java.lang.Long sid, java.lang.Long uid, java.lang.Long cid)
sid
- The id of the server in questionuid
- The id of the user askingcid
- The id of the base channel for the serverpublic static java.util.Set<java.lang.Long> subscribableChannelIds(java.lang.Long sid, java.lang.Long uid, java.lang.Long cid)
sid
- The id of the server in questionuid
- The id of the user askingcid
- The id of the base channel for the serverpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemChannelSubscriptions(java.lang.Long sid)
sid
- The id of the server in questionpublic static boolean requiresReboot(User user, java.lang.Long sid)
user
- Currently logged in user.sid
- System idpublic static DataResult<SystemOverview> requiringRebootList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> getExtraPackagesSystems(User user, PageControl pc)
user
- User to check the systems forpc
- Page controlpublic static DataResult<PackageListItem> listExtraPackages(java.lang.Long serverId)
serverId
- Server ID in questionpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> latestUpgradablePackages(java.lang.Long sid)
sid
- The id for the system we want packages forpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> allInstallablePackages(java.lang.Long sid)
sid
- The id for the system we want packages forpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> latestInstallablePackages(java.lang.Long sid)
sid
- The id for the system we want packages forpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> installedPackages(java.lang.Long sid, boolean expanded)
sid
- The system in questionexpanded
- If true, also adds EVR, Arch and package name to the result.public static DataResult<java.util.Map<java.lang.String,java.lang.Object>> packagesFromChannel(java.lang.Long sid, java.lang.Long cid)
sid
- server idcid
- channel idpublic static void deleteServer(User user, java.lang.Long sid)
user
- The user doing the deleting.sid
- The id of the Server to be deletedpublic static void addServerToServerGroup(Server server, ServerGroup serverGroup)
server
- The server to addserverGroup
- The group to add the server topublic static void removeServerFromServerGroup(Server server, ServerGroup serverGroup)
server
- The server to removeserverGroup
- The group to remove the server frompublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> availableSystemGroups(Server server, User user)
server
- The server in questionuser
- The user requesting the informationpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> listSystemGroups(java.lang.Long sid)
sid
- The server id in questionpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemNotes(Server s)
s
- The server in questionpublic static DataResult<SystemOverview> systemList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> physicalList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemCurrency> systemCurrencyList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemListShort(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemListShortInactive(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemListShortInactive(User user, int inactiveThreshold, PageControl pc)
user
- Currently logged in user.inactiveThreshold
- number of days before we consider systems inactivepc
- PageControlpublic static DataResult<SystemOverview> systemListShortActive(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemsNotInGroup(User user, ServerGroup sg, PageControl pc)
user
- Currently logged in user.sg
- a ServerGrouppc
- PageControlpublic static DataResult<SystemOverview> mostCriticalSystems(User user, PageControl pc)
user
- Current logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemsWithFeature(User user, java.lang.String feature, PageControl pc)
user
- Currently logged in user.feature
- The String label of the feature we want to get a list of systems for.pc
- PageControlpublic static DataResult<SystemOverview> outOfDateList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> unentitledList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> ungroupedList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> inactiveList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> inactiveList(User user, PageControl pc, int inactiveDays)
user
- Currently logged in user.pc
- PageControlinactiveDays
- number of days the systems should have been inactive forpublic static DataResult<SystemOverview> registeredList(User user, PageControl pc, int threshold)
user
- Currently logged in user.pc
- PageControlthreshold
- maximum amount of days ago the system, 0 returns all systems
was registered for it to appear in the listpublic static DataResult<SystemOverview> inactiveListSortbyCheckinTime(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> proxyList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<VirtualSystemOverview> virtualSystemsList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<VirtualSystemOverview> virtualGuestsForHostList(User user, java.lang.Long sid, PageControl pc)
user
- Currently logged in user.sid
- The id of the system we are looking atpc
- PageControlpublic static DataResult<VirtualSystemOverview> virtualSystemsInSet(User user, java.lang.String setLabel, PageControl pc)
user
- Currently logged in user.setLabel
- The label of the set of virtual systems
(rhnSet.elem = rhnVirtualInstance.id)pc
- PageControlpublic static DataResult<SystemGroupOverview> groupList(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemGroupOverview> groupListWithServerCount(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<SystemOverview> systemsInGroup(java.lang.Long sgid, PageControl pc)
sgid
- System Group Idpc
- PageControlpublic static DataResult<SystemOverview> systemsInGroupShort(java.lang.Long sgid)
sgid
- System Group Idpublic static int countActions(java.lang.Long sid)
sid
- The system's idpublic static int countPackageActions(java.lang.Long sid)
sid
- The system's idpublic static DataResult<Errata> unscheduledErrata(User user, java.lang.Long sid, PageControl pc)
user
- The usersid
- The system's idpc
- PageControlpublic static boolean hasUnscheduledErrata(User user, java.lang.Long sid)
user
- The usersid
- The system's idpublic static DataResult<KickstartSessionDto> lookupKickstartSession(User user, java.lang.Long sid)
user
- The logged in usersid
- The server idpublic static boolean isKickstarting(User user, java.lang.Long sid)
user
- The logged in usersid
- The server idpublic static DataResult<ErrataOverview> relevantErrata(User user, java.lang.Long sid)
user
- The usersid
- System Idpublic static DataResult<ErrataOverview> relevantErrata(User user, java.lang.Long sid, java.util.List<java.lang.String> types)
user
- The usersid
- System Idtypes
- of errata types (strings) to includepublic static DataResult<ErrataOverview> relevantCurrencyErrata(User user, java.lang.Long sid, java.lang.String type, java.lang.String synopsis)
user
- The usersid
- System Idtype
- of errata to includesynopsis
- to filter bypublic static DataResult<ErrataOverview> relevantErrataByType(User user, java.lang.Long sid, java.lang.String type)
user
- The usersid
- System Idtype
- Typepublic static int countCriticalErrataForSystem(User user, java.lang.Long sid)
user
- user making the requestsid
- identifies the serverpublic static int countNoncriticalErrataForSystem(User user, java.lang.Long sid)
user
- user making the requestsid
- identifies the serverpublic static DataResult errataInSet(User user, java.lang.String label, PageControl pc)
user
- The userlabel
- The label for the errata setpc
- PageControlpublic static Server lookupByIdAndUser(java.lang.Long sid, User userIn)
sid
- The server's iduserIn
- who wants to lookup the Serverpublic static java.util.List<Server> hydrateServerFromIds(java.util.Collection<java.lang.Long> serverIds, User userIn)
serverIds
- the list of server ids to hyrdrateuserIn
- the user who wants to lookup the serverpublic static Server lookupByIdAndOrg(java.lang.Long sid, Org org)
sid
- The server's idorg
- who wants to lookup the Serverpublic static Server lookupByCert(ClientCertificate cert) throws InvalidCertificateException
cert
- ClientCertificate of the server.InvalidCertificateException
- thrown if certificate is invalid.public static DataResult<ActivationKeyDto> getActivationKeys(Server serverIn)
serverIn
- the server to query forpublic static DataResult<SystemOverview> getSystemEntitlements(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static java.util.List<Entitlement> getServerEntitlements(java.lang.Long sid)
sid
- Server idpublic static boolean hasEntitlement(java.lang.Long sid, Entitlement ent)
sid
- Server ident
- Entitlement to look forpublic static boolean serverHasFeature(java.lang.Long sid, java.lang.String feat)
sid
- Server idfeat
- Feature to look forpublic static boolean serverHasVirtuaizationEntitlement(java.lang.Long sid, Org org)
true
the given server has virtualization entitlements,
false
otherwise.sid
- Server ID to lookup.org
- Org id of user performing this query.true
if the server has virtualization entitlements,
false
otherwise.public static int countSystemsInSetWithoutEntitlement(User user, java.lang.String setLabel, java.lang.String entitlementLabel)
user
- user making the requestsetLabel
- label of the setentitlementLabel
- label of the entitlementpublic static int countSystemsInSetWithoutFeature(User user, java.lang.String setLabel, java.lang.String featureLabel)
user
- user making the requestsetLabel
- label of the setfeatureLabel
- label of the featurepublic static boolean clientCapable(java.lang.Long sid, java.lang.String capability)
sid
- Server idcapability
- capabilitypublic static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> compatibleWithServer(User user, Server server)
user
- User ownerserver
- Server whose profiles we want.public static Server subscribeServerToChannel(User user, Server server, Channel channel)
user
- Current userserver
- Server to be subscribedchannel
- Channel to subscribe to.public static Server subscribeServerToChannel(User user, Server server, Channel channel, boolean flush)
user
- Current userserver
- Server to be subscribedchannel
- Channel to subscribe to.flush
- flushes the hibernate session.public static boolean verifyArchCompatibility(Server server, Channel channel)
server
- Server architecture to be verified.channel
- Channel to checkpublic static void unsubscribeServerFromChannel(User user, Server server, Channel channel)
user
- The user performing the operationserver
- The server to be unsubscribedchannel
- The channel to unsubscribe frompublic static void unsubscribeServerFromChannel(User user, java.lang.Long sid, java.lang.Long cid)
user
- The user performing the operationsid
- The id of the server to be unsubscribedcid
- The id of the channel from which the server will be unsubscribedpublic static void unsubscribeServerFromChannel(User user, Server server, Channel channel, boolean flush)
user
- The user performing the operationserver
- The server to be unsubscribedchannel
- The channel to unsubscribe fromflush
- flushes the hibernate session. Make sure you
reload the server and channel after method call
if you set this to true..public static Server unsubscribeServerFromChannel(Server server, Channel channel)
server
- server to be unsubscribedchannel
- the channel to unsubscribe frompublic static Server unsubscribeServerFromChannel(Server server, Channel channel, boolean flush)
server
- server to be unsubscribedchannel
- the channel to unsubscribe fromflush
- flushes the hibernate session. Make sure you
reload the server and channel after method call
if you set this to true..public static void unsubscribeServerFromChannel(java.lang.Long sid, java.lang.Long cid)
sid
- the server idcid
- the channel idpublic static Server deactivateProxy(Server server)
server
- ProxyServer to be deactivated.public static ClientCertificate createClientCertificate(Server server) throws java.lang.InstantiationException
server
- Server whose client certificate is sought.java.lang.InstantiationException
- thrown if error occurs creating the
client certificate.public static void storeServer(Server serverIn)
serverIn
- The server to savepublic static void activateProxy(Server server, java.lang.String version) throws ProxySystemIsSatelliteException, InvalidProxyVersionException
server
- proxy server to activate.version
- Proxy version.ProxySystemIsSatelliteException
- thrown if system is a satellite.InvalidProxyVersionException
- thrown if version is invalid.public static ValidatorResult entitleServer(Server server, Entitlement ent)
server
- Server to be entitled.ent
- Level of Entitlement.public static ValidatorResult entitleServer(Org orgIn, java.lang.Long sid, Entitlement ent)
orgIn
- Org who wants to entitle the server.sid
- server id to be entitled.ent
- Level of Entitlement.public static void removeAllServerEntitlements(java.lang.Long sid)
sid
- server id to be unentitled.public static void removeServerEntitlement(java.lang.Long sid, Entitlement ent)
sid
- server id to be unentitled.ent
- Level of Entitlement.public static boolean canEntitleServer(Server server, Entitlement ent)
server
- The server in questionent
- The entitlement to testpublic static boolean canEntitleServer(java.lang.Long serverId, Entitlement ent)
serverId
- The Id of the server in questionent
- The entitlement to testpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemsSubscribedToChannelDto(Channel channel, User user)
channel
- The channel in questionuser
- The user making the callpublic static int countSystemsSubscribedToChannel(java.lang.Long channelId, User user)
channelId
- identifies the channeluser
- user making the requestpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemsSubscribedToChannel(Channel channel, User user)
channel
- The channel in questionuser
- The user making the callpublic static DataResult<EssentialServerDto> systemsSubscribedToChannelInSet(java.lang.Long cid, User user, java.lang.String setLabel)
cid
- Channeluser
- User requesting the listsetLabel
- Set labelpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> channelsForServer(Server server)
server
- The server in question.public static void unlockServer(User user, Server server)
user
- User who is attempting to unlock the serverserver
- Server that is attempting to be unlockedpublic static void lockServer(User locker, Server server, java.lang.String reason)
locker
- User who is attempting to lock the serverserver
- Server that is attempting to be lockedreason
- String representing the reason the server was lockedpublic static boolean isAvailableToUser(User user, java.lang.Long sid)
user
- User being checkedsid
- ID of the Server being checkedpublic static boolean isVirtualHost(java.lang.Long oid, java.lang.Long sid)
oid
- id of the Org that the server is insid
- ID of the Server being checkedpublic static void ensureAvailableToUser(User user, java.lang.Long sid)
user
- User being checkedsid
- ID of the Server being checkedpublic static DataResult<EssentialServerDto> systemsWithoutBaseChannelsInSet(User user)
user
- User requesting the query.public static ValidatorResult validateVcpuSetting(java.lang.Long guestId, int proposedVcpuSetting)
guestId
- ID of a virtual instance.proposedVcpuSetting
- Requested number of virtual CPUs for the guest.public static ValidatorResult validateGuestMemorySetting(java.util.List<java.lang.Long> guestIds, int proposedMemory)
guestIds
- List of longs representing IDs of virtual instances.proposedMemory
- Requested amount of memory for each guest. (in Mb)public static java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getSsmSystemsSubscribedToChannel(User user, java.lang.Long channelId)
user
- User.channelId
- Channel ID.public static java.util.List<SystemOverview> listSystemsWithPackage(User user, java.lang.String name, java.lang.String version, java.lang.String release)
user
- the user doing the searchname
- the name of the packageversion
- package versionrelease
- package releasepublic static DataResult<SystemOverview> listSystemsWithPackage(User user, java.lang.Long id)
user
- the user doing the searchid
- the id of the packagepublic static DataResult<SystemOverview> listPotentialSystemsForPackage(User user, java.lang.Long id)
user
- the user doing the searchid
- the id of the packagepublic static java.util.List<SystemOverview> listSystemsWithNeededPackage(User user, java.lang.Long id)
user
- the user doing the searchid
- the id of the packagepublic static java.util.List<SystemOverview> listVirtualHosts(User user)
user
- the user in questionpublic static int countSubscribedToChannelWithoutOrg(java.lang.Long orgId, java.lang.Long cid)
orgId
- identifies the filter orgcid
- identifies the channelpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> subscribedInOrgTrust(long orgA, long orgB)
orgA
- The first org in the trust.orgB
- The second org in the trust.public static DataResult<java.util.Map<java.lang.String,java.lang.Object>> sidsInOrgTrust(long orgA, long orgB)
orgA
- The first org in the trust.orgB
- The second org in the trust.public static java.lang.Long subscribedToChannelSize(User user, java.lang.Long cid)
user
- the user checkingcid
- the channel idpublic static DataResult<CustomDataKeyOverview> listDataKeys(User user)
user
- the user in questionpublic static HardwareDeviceDto getHardwareDeviceById(java.lang.Long hwId)
hwId
- the hardware device idpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> ssmSystemPackagesToRemove(User user, java.lang.String packageSetLabel, boolean shortened)
user
- identifies the user making the requestpackageSetLabel
- identifies the RhnSet used to store the packages selected
by the user (this is needed for the query). This must be
established by the caller prior to calling this methodshortened
- whether or not to include the full elaborator, or a shortened
one that is much much faster, but doesn't provide a displayed
string for the package (only the id combo)public static DataResult ssmSystemPackagesToUpgrade(User user, java.lang.String packageSetLabel)
user
- identifies the user making the requestpackageSetLabel
- identifies the RhnSet used to store the packages selected
by the user (this is needed for the query). This must be
established by the caller prior to calling this methodpublic static void deleteNote(User user, java.lang.Long serverId, java.lang.Long noteId)
user
- user making the requestserverId
- identifies server the note resides onnoteId
- identifies the note being deletedpublic static void deleteNotes(User user, java.lang.Long serverId)
user
- user making the requestserverId
- identifies the server on which to delete its notespublic static boolean hasPackageAvailable(Server server, java.lang.Long nameId, java.lang.Long archId, java.lang.Long evrId)
server
- the servernameId
- the name idarchId
- the arch idevrId
- the evr idpublic static DataResult<ServerPath> getConnectionPath(java.lang.Long sid)
sid
- The id of the server in questionpublic static java.util.List<java.util.Map<java.lang.String,java.lang.Long>> listInstalledPackage(java.lang.String packageName, Server server)
packageName
- the package nameserver
- the serverpublic static DataResult<OrgProxyServer> listProxies(Org org)
org
- needed for org informationpublic static java.util.List<SystemOverview> listTargetSystemForChannel(User user, Channel chan)
user
- the userchan
- the child channlepublic static java.util.List<SystemOverview> inSet(User user, java.lang.String setLabel)
user
- the user doing the lookupsetLabel
- the label of the setpublic static java.util.List<SystemOverview> inSet(User user, java.lang.String setLabel, boolean elaborate)
user
- the user doing the lookupsetLabel
- the label of the setelaborate
- elaborate resultspublic static java.util.List<SystemOverview> listSystemsByName(User user, java.lang.String name)
user
- the user doing the searchname
- the name of the systempublic static java.util.List<DuplicateSystemGrouping> listDuplicatesByIP(User user, long inactiveHours)
user
- the user doing the searchinactiveHours
- the number of hours a system hasn't checked in
to consider it inactivepublic static java.util.List<SystemOverview> listDuplicatesByIP(User user, java.lang.String ip)
user
- the user doing the searchip
- ip address of the systempublic static java.util.List<DuplicateSystemGrouping> listDuplicatesByIPv6(User user, long inactiveHours)
user
- the user doing the searchinactiveHours
- the number of hours a system hasn't checked in
to consider it inactivepublic static java.util.List<SystemOverview> listDuplicatesByIPv6(User user, java.lang.String ip)
user
- the user doing the searchip
- ip address of the systempublic static java.util.List<DuplicateSystemGrouping> listDuplicatesByMac(User user, java.lang.Long inactiveHours)
user
- the user doing the searchinactiveHours
- the number of hours a system hasn't checked in
to consider it inactivepublic static java.util.List<SystemOverview> listDuplicatesByMac(User user, java.lang.String mac)
user
- the user doing the searchmac
- the mac address of the systempublic static java.util.List<DuplicateSystemGrouping> listDuplicatesByHostname(User user, java.lang.Long inactiveHours)
user
- the user doing the searchinactiveHours
- the number of hours a system hasn't checked in
to consider it inactivepublic static java.util.List<SystemOverview> listDuplicatesByHostname(User user, java.lang.String hostName)
user
- the user doing the searchhostName
- host name of the systempublic static Note lookupNoteByIdAndSystem(User user, java.lang.Long nid, java.lang.Long sid)
user
- User to use to do the lookupsnid
- note IDsid
- server IDpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> lookupKeysSansValueForServer(java.lang.Long orgId, java.lang.Long sid)
orgId
- The org ID that the server belongs tosid
- The ID of the serverpublic static DataResult<SystemEventDto> systemEventHistory(java.lang.Long sid, java.lang.Long oid, PageControl pc)
sid
- server idoid
- organization idpc
- pageContextpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemSnapshots(java.lang.Long sid, PageControl pc)
sid
- server idpc
- pageContextpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemSnapshotPackages(java.lang.Long sid, java.lang.Long ssid, PageControl pc)
sid
- server idssid
- snapshot idpc
- pageContextpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemSnapshotGroups(java.lang.Long sid, java.lang.Long ssid, PageControl pc)
sid
- server idssid
- snapshot idpc
- pageContextpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemSnapshotChannels(java.lang.Long sid, java.lang.Long ssid, PageControl pc)
sid
- server idssid
- snapshot idpc
- pageContextpublic static java.lang.Long countPendingActions(java.lang.Long sid)
sid
- server idpublic static DataResult<SystemPendingEventDto> systemPendingEvents(java.lang.Long sid, PageControl pc)
sid
- server idpc
- pageContextpublic static DataResult<SnapshotTagDto> snapshotTagsForSystem(java.lang.Long sid, PageControl pc)
sid
- server idpc
- pageControlpublic static DataResult<SnapshotTagDto> snapshotTagsForSystemAndSnapshot(java.lang.Long sid, java.lang.Long ssId, PageControl pc)
sid
- server idssId
- snapshot IDpc
- pageControlpublic static DataResult<SnapshotTagDto> snapshotTagsInSet(User user, PageControl pc, java.lang.String setLabel, java.lang.Long sid)
user
- userpc
- PageControlsetLabel
- Set Labelsid
- Server IDpublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> systemSnapshotUnservablePackages(java.lang.Long orgId, java.lang.Long sid, java.lang.Long ssId, PageControl pc)
orgId
- organization IDsid
- server idssId
- snapshot IDpc
- pageControlpublic static DataResult systemsInSetWithTag(java.lang.Long uid, java.lang.Long tid)
uid
- user idtid
- tag idpublic static java.util.List<SystemOverview> entitledInSet(User user, java.lang.String setLabel, java.util.List<java.lang.String> entitlements)
user
- the requesting usersetLabel
- the set labelentitlements
- the entitlement labelspublic static void bulkSetCustomValue(User user, java.lang.String setLabel, java.lang.String keyLabel, java.lang.String value)
user
- the requesting usersetLabel
- the set labelkeyLabel
- the label of the custom value keyvalue
- the value to set for the custom valuepublic static int bulkRemoveCustomValue(User user, java.lang.String setLabel, java.lang.Long keyId)
user
- the requesting usersetLabel
- the set labelkeyId
- the id of the custom value keypublic static DataResult<java.util.Map<java.lang.String,java.lang.Object>> listTagsForSystemsInSet(User user)
user
- The user to check the system set forpublic static void setUserSystemPreferenceBulk(User user, java.lang.String preference, java.lang.Boolean value, java.lang.Boolean defaultIn)
user
- The userpreference
- The name of the preference to setvalue
- The value to setdefaultIn
- The default value for the preferencepublic static void setAutoUpdateBulk(User user, java.lang.Boolean value)
user
- The uservalue
- True if the servers should audo updatepublic static DataResult<SystemOverview> listClientsThroughProxy(java.lang.Long sid)
sid
- System Id of the proxy to check.