public class SystemOverview extends BaseDto implements java.io.Serializable
Constructor and Description |
---|
SystemOverview() |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getActionId() |
java.lang.String |
getAddOnEntitlementLevel()
Display only..
|
java.lang.String |
getBaseEntitlementLevel()
Display only..
|
java.lang.Long |
getBugErrata() |
java.lang.Long |
getChannelId() |
java.lang.String |
getChannelLabels() |
java.lang.Long |
getConfigFilesWithDifferences() |
java.util.Date |
getCreated() |
java.lang.String |
getCreatorName() |
java.lang.Object[] |
getCurrentStatusAndActionId()
Returns the most applicable status with its action id
Completed supercedes Picked Up which supercedes Queued which supercedes Failed
|
java.lang.Long |
getEnhancementErrata() |
java.util.List |
getEntitlement() |
java.util.List |
getEntitlementIsBase() |
java.lang.String |
getEntitlementLevel()
This is now for display only - the data goes into entitlement
|
java.util.List |
getEntitlementPermanent() |
java.lang.Long |
getExtraPkgCount() |
java.lang.Long |
getGroupCount() |
java.lang.Long |
getHistoryCount() |
java.lang.Long |
getId()
Returns id to be stored in RhnSet.
|
java.lang.String |
getInfo() |
java.lang.Long |
getLastBoot() |
java.util.Date |
getLastBootAsDate() |
java.lang.String |
getLastCheckin() |
java.util.Date |
getLastCheckinDate() |
java.lang.Long |
getLastCheckinDaysAgo() |
java.lang.String |
getLastCheckinString() |
java.lang.Long |
getLocked() |
java.util.Date |
getModified() |
java.lang.String |
getName() |
java.lang.String |
getOs() |
java.lang.Long |
getOutdatedPackages() |
java.lang.Long |
getPendingUpdates() |
java.lang.String |
getRelease() |
java.lang.Long |
getSecurityErrata() |
java.lang.Long |
getServerAdmins() |
java.lang.String |
getServerArchName() |
java.util.List |
getServerGroupTypeId() |
java.lang.String |
getServerName() |
java.util.List |
getStatus() |
java.lang.String |
getStatusDisplay() |
java.lang.Long |
getTotalCrashCount() |
java.lang.Long |
getTotalErrataCount() |
java.lang.Long |
getUniqueCrashCount() |
boolean |
getVirtualGuest() |
boolean |
getVirtualHost() |
boolean |
isRhnProxy() |
boolean |
isRhnSatellite() |
boolean |
isSelectable()
Tells whether a system is selectable for the SSM
All management and provisioning entitled servers are true
They are false otherwise
|
void |
setActionId(java.util.List actionIdIn) |
void |
setBugErrata(java.lang.Long bugErrataIn) |
void |
setChannelId(java.lang.Long channelIdIn) |
void |
setChannelLabels(java.lang.String channelLabelsIn) |
void |
setConfigFilesWithDifferences(java.lang.Long configFilesWithDifferencesIn) |
void |
setCreated(java.util.Date createdIn) |
void |
setCreatorName(java.lang.String creatorNameIn) |
void |
setEnhancementErrata(java.lang.Long enhancementErrataIn) |
void |
setEntitlement(java.util.List entitlementIn) |
void |
setEntitlementIsBase(java.util.List entitlementIsBaseIn) |
void |
setEntitlementPermanent(java.util.List entitlementPermanentIn) |
void |
setExtraPkgCount(java.lang.Long packagesCount)
Sets a number of extra packages in the system.
|
void |
setGroupCount(java.lang.Long groupCountIn) |
void |
setHistoryCount(java.lang.Long historyCountIn) |
void |
setId(java.lang.Long idIn) |
void |
setInactivityString()
Creates a string to represent how long the system has been inactive.
|
void |
setInfo(java.lang.String infoIn) |
void |
setIsRhnProxy(java.lang.Long serverId) |
void |
setIsRhnSatellite(java.lang.Long serverId) |
void |
setLastBoot(java.lang.Long lastBootIn) |
void |
setLastCheckin(java.lang.String lastCheckinIn) |
void |
setLastCheckinDaysAgo(java.lang.Long lastCheckinDaysAgoIn) |
void |
setLastCheckinString(java.lang.String stringIn) |
void |
setLocked(java.lang.Integer lockedIn)
This overloaded method is for PostgreSQL compatibility reasons.
|
void |
setLocked(java.lang.Long lockedIn) |
void |
setModified(java.util.Date modifiedIn) |
void |
setName(java.lang.String nameIn) |
void |
setOs(java.lang.String osIn) |
void |
setOutdatedPackages(java.lang.Long outdatedPackagesIn) |
void |
setPendingUpdates(java.lang.Long pendingUpdatesIn) |
void |
setRelease(java.lang.String releaseIn) |
void |
setSecurityErrata(java.lang.Long securityErrataIn) |
void |
setSelectable(java.lang.Integer selectableIn)
For compatibility reasons with PostgreSQL we accept also Integer.
|
void |
setSelectable(java.lang.Long selectableIn) |
void |
setServerAdmins(java.lang.Long serverAdminsIn) |
void |
setServerArchName(java.lang.String serverArchNameIn) |
void |
setServerGroupTypeId(java.util.List serverGroupTypeIdIn) |
void |
setServerName(java.lang.String serverNameIn) |
void |
setStatus(java.util.List statusIn) |
void |
setStatusDisplay(java.lang.String statusDisplayIn) |
void |
setTotalCrashCount(java.lang.Long totalCrashCountIn)
Sets total number of crashes on the system.
|
void |
setUniqueCrashCount(java.lang.Long uniqueCrashCountIn)
Sets number of unique crashes on the system.
|
void |
setVirtualGuest(java.lang.Object guest) |
void |
setVirtualHost(java.lang.Object host) |
java.lang.String |
toString() |
addToSet, getSelectionKey
isDisabled, isSelected, setDisabled, setSelected
public java.lang.String getStatusDisplay()
public void setStatusDisplay(java.lang.String statusDisplayIn)
statusDisplayIn
- The statusDisplay to set.public boolean isRhnProxy()
public void setIsRhnProxy(java.lang.Long serverId)
serverId
- The server id, null if not a proxypublic boolean isRhnSatellite()
public void setIsRhnSatellite(java.lang.Long serverId)
serverId
- The server id, null if not a satellitepublic java.lang.Long getBugErrata()
public void setBugErrata(java.lang.Long bugErrataIn)
bugErrataIn
- The bugErrata to set.public java.lang.Long getLastBoot()
public void setLastBoot(java.lang.Long lastBootIn)
lastBootIn
- The lastBoot to set.public java.util.Date getLastBootAsDate()
public java.lang.String getChannelLabels()
public void setChannelLabels(java.lang.String channelLabelsIn)
channelLabelsIn
- The channelLabels to set.public java.lang.Long getEnhancementErrata()
public void setEnhancementErrata(java.lang.Long enhancementErrataIn)
enhancementErrataIn
- The enhancementErrata to set.public java.lang.Long getGroupCount()
public void setGroupCount(java.lang.Long groupCountIn)
groupCountIn
- The groupCount to set.public java.lang.Long getHistoryCount()
public void setHistoryCount(java.lang.Long historyCountIn)
historyCountIn
- The historyCount to set.public java.lang.Long getChannelId()
public void setChannelId(java.lang.Long channelIdIn)
channelIdIn
- The base software channel id to set.public java.lang.Long getId()
BaseDto
getId
in interface Identifiable
getId
in class BaseDto
public void setId(java.lang.Long idIn)
idIn
- The id to set.public java.util.Date getLastCheckinDate()
public java.lang.String getLastCheckinString()
public void setLastCheckinString(java.lang.String stringIn)
stringIn
- string to set the lastCheckinString topublic java.lang.String getLastCheckin()
public void setLastCheckin(java.lang.String lastCheckinIn)
lastCheckinIn
- The lastCheckin to set.public java.lang.Long getLastCheckinDaysAgo()
public void setLastCheckinDaysAgo(java.lang.Long lastCheckinDaysAgoIn)
lastCheckinDaysAgoIn
- The lastCheckinDaysAgo to set.public java.lang.Long getLocked()
public void setLocked(java.lang.Integer lockedIn)
lockedIn
- The locked to set.public void setLocked(java.lang.Long lockedIn)
lockedIn
- The locked to set.public java.util.Date getModified()
public void setModified(java.util.Date modifiedIn)
modifiedIn
- The modified to set.public java.lang.String getOs()
public void setOs(java.lang.String osIn)
osIn
- The os to set.public java.lang.Long getOutdatedPackages()
public void setOutdatedPackages(java.lang.Long outdatedPackagesIn)
outdatedPackagesIn
- The outdatedPackages to set.public java.lang.Long getConfigFilesWithDifferences()
public void setConfigFilesWithDifferences(java.lang.Long configFilesWithDifferencesIn)
configFilesWithDifferencesIn
- The configFilesWithDifferences to set.public java.lang.Long getPendingUpdates()
public void setPendingUpdates(java.lang.Long pendingUpdatesIn)
pendingUpdatesIn
- The pendingUpdates to set.public java.lang.String getRelease()
public void setRelease(java.lang.String releaseIn)
releaseIn
- The release to set.public java.lang.Long getSecurityErrata()
public void setSecurityErrata(java.lang.Long securityErrataIn)
securityErrataIn
- The securityErrata to set.public java.lang.Long getServerAdmins()
public void setServerAdmins(java.lang.Long serverAdminsIn)
serverAdminsIn
- The serverAdmins to set.public java.lang.String getServerArchName()
public void setServerArchName(java.lang.String serverArchNameIn)
serverArchNameIn
- The serverArchName to set.public java.lang.String getServerName()
public void setServerName(java.lang.String serverNameIn)
serverNameIn
- The serverName to set.public java.lang.String getName()
public void setName(java.lang.String nameIn)
nameIn
- The name to set.public java.util.List getActionId()
public void setActionId(java.util.List actionIdIn)
actionIdIn
- The actionId to set.public java.util.List getStatus()
public void setStatus(java.util.List statusIn)
statusIn
- The status to set.public java.lang.Object[] getCurrentStatusAndActionId()
public java.lang.String getEntitlementLevel()
public java.lang.String getBaseEntitlementLevel()
public java.lang.String getAddOnEntitlementLevel()
public java.util.List getEntitlement()
public void setEntitlement(java.util.List entitlementIn)
entitlementIn
- The entitlement to set.public java.util.List getServerGroupTypeId()
public void setServerGroupTypeId(java.util.List serverGroupTypeIdIn)
serverGroupTypeIdIn
- The serverGroupTypeId to set.public java.util.List getEntitlementPermanent()
public void setEntitlementPermanent(java.util.List entitlementPermanentIn)
entitlementPermanentIn
- The entitlementPermanent to set.public java.util.List getEntitlementIsBase()
public void setEntitlementIsBase(java.util.List entitlementIsBaseIn)
entitlementIsBaseIn
- The entitlementIsBase to set.public void setSelectable(java.lang.Integer selectableIn)
selectableIn
- Whether a server is selectable one if selectable,
null if not selectablepublic void setSelectable(java.lang.Long selectableIn)
selectableIn
- Whether a server is selectable one if selectable,
null if not selectablepublic boolean isSelectable()
isSelectable
in interface Selectable
isSelectable
in class SelectableAdapter
public void setInactivityString()
public java.lang.String getInfo()
public void setInfo(java.lang.String infoIn)
infoIn
- The info to set.public java.lang.String getCreatorName()
public void setCreatorName(java.lang.String creatorNameIn)
creatorNameIn
- The name to set of user who registered system.public java.util.Date getCreated()
public void setCreated(java.util.Date createdIn)
createdIn
- The created to set.public boolean getVirtualHost()
public boolean getVirtualGuest()
public void setVirtualHost(java.lang.Object host)
host
- Value is true if the system is a virtual host, false if the
system is not a virtual host. Sets isVirtualHost to true or false.public void setVirtualGuest(java.lang.Object guest)
guest
- Value is true if the system is a virtual guest, false if the
system is not a virtual guest. Sets isVirtualGuest to true or false.public java.lang.Long getTotalErrataCount()
public void setExtraPkgCount(java.lang.Long packagesCount)
packagesCount
- extra packages to setpublic java.lang.Long getExtraPkgCount()
public void setTotalCrashCount(java.lang.Long totalCrashCountIn)
totalCrashCountIn
- crash count to setpublic java.lang.Long getTotalCrashCount()
public void setUniqueCrashCount(java.lang.Long uniqueCrashCountIn)
uniqueCrashCountIn
- crash count to setpublic java.lang.Long getUniqueCrashCount()