public class ErrataManager extends BaseManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATE_FORMAT_PARSE_STRING |
static long |
MAX_ADVISORY_RELEASE |
Modifier and Type | Method and Description |
---|---|
static Errata |
addChannelsToErrata(Errata errata,
java.util.Collection<java.lang.Long> channelIds,
User user)
Add the channels in the channelIds set to the passed in errata.
|
static void |
addErrataChannelNotifications(java.lang.Long eid,
java.lang.Long cid)
delete any present and then enqueue a channel notification for the
given channel and erratum.
|
static void |
addErrataNotification(Errata e,
Channel chan,
java.util.Date date)
Send errata notifications for a particular errata and channel
|
static boolean |
advisoryNameIsUnique(java.lang.Long eid,
java.lang.String name,
Org org)
Sees if there is an errata with the same advisory name as the errata with eid
|
static java.util.List<java.lang.String> |
advisorySeverityLabels()
Returns a list of l10n-ed advisory severity types available for an errata
|
static java.util.List<java.lang.Integer> |
advisorySeverityRanks()
Returns a list of advisory severity ranks available for an errata
|
static java.util.Map<java.lang.String,java.lang.String> |
advisorySeverityUntranslatedLabels()
Returns untranslated severity labels
|
static java.util.List<java.lang.String> |
advisoryTypeLabels()
Returns a list of l10n-ed advisory types available for an errata
|
static java.util.List<java.lang.String> |
advisoryTypes()
Returns a list of advisory types available for an errata
|
static DataResult |
affectedChannels(User user,
java.lang.Long eid)
Returns a list of available channels affected by an errata
|
static DataResult |
allErrata(User user)
Returns all of the errata.
|
static DataResult |
allErrataByType(User user,
java.lang.String type)
Returns all of the errata of specified advisory type.
|
static DataResult |
allSecurityErrata(User user)
Returns all of the security errata
|
static DataResult |
applicableChannels(java.lang.Long eid,
java.lang.Long orgid,
PageControl pc,
java.lang.Class clazz)
Get a list of channels applicable to the erratum
|
static java.util.List<java.lang.Long> |
applyErrata(User user,
java.util.List errataIds,
java.util.Date earliest,
ActionChain actionChain,
java.util.List<java.lang.Long> serverIds)
Apply a list of errata to a list of servers, with an optional Action
Chain.
|
static java.util.List<java.lang.Long> |
applyErrata(User user,
java.util.List errataIds,
java.util.Date earliest,
java.util.List<java.lang.Long> serverIds)
Apply a list of errata to a list of servers.
|
static java.util.List<java.lang.Long> |
applyErrataHelper(User loggedInUser,
java.util.List<java.lang.Long> systemIds,
java.util.List<java.lang.Integer> errataIds,
java.util.Date earliestOccurrence)
Apply errata updates to a system list at a specified time.
|
static DataResult |
bugsFixed(java.lang.Long eid)
Returns a list of bugs fixed by an errata
|
static boolean |
channelHasPendingAsyncCloneJobs(Channel channel)
Check if the channel has pending asynchronous errata clone jobs
|
static void |
clearErrataChannelNotifications(Errata e,
Channel c)
Delete all errata notifications for an errata in specified channel
|
static void |
clearErrataNotifications(Errata e)
Delete all errata notifications for an errata
|
static DataResult |
clonableErrata(java.lang.Long orgid,
boolean showCloned)
Get List of all cloneable errata for an org
|
static DataResult |
clonableErrataForChannel(java.lang.Long orgid,
java.lang.Long cid,
boolean showCloned)
Get List of cloneable Errata for an org, from a particular channel
|
static java.util.Set<java.lang.Long> |
cloneChannelErrata(java.util.List<ErrataOverview> toClone,
java.lang.Long toCid,
User user)
Clone errata as necessary and link cloned errata with new channel.
|
static void |
cloneChannelErrata(java.lang.Long fromCid,
java.lang.Long toCid,
User user)
Clone errata as necessary and link cloned errata with new channel.
|
static java.lang.Object[] |
cloneErrataApi(Channel chan,
java.util.Collection<Errata> errata,
User user,
boolean inheritPackages)
Clone errata to a channel
|
static java.lang.Object[] |
cloneErrataApi(Channel chan,
java.util.Collection<Errata> errata,
User user,
boolean inheritPackages,
boolean performPostActions)
Clone errata to a channel
|
static void |
cloneErrataApiAsync(Channel chan,
java.util.List<java.lang.Long> errata,
User user,
boolean inheritPackages)
Clone errata to a channel asynchronously
|
static Errata |
createClone(User user,
Errata e)
Create a clone of the errata
|
static Errata |
createNewErrata()
Creates a new (Unpublished) Errata object.
|
static Bug |
createNewPublishedBug(java.lang.Long id,
java.lang.String summary,
java.lang.String url)
Creates a new PublishedBug with the id and summary given.
|
static Bug |
createNewUnpublishedBug(java.lang.Long id,
java.lang.String summary,
java.lang.String url)
Creates a new Unpublished Bug with the id and summary given.
|
static void |
deleteErratum(User user,
Errata errata)
Deletes a single erratum
|
static void |
deletePublishedErrata(User user,
java.lang.String label)
Delete published errata in the set named as label
|
static void |
deleteUnpublishedErrata(User user,
java.lang.String label)
Delete unpublished errata in the set named as label
|
static DataResult |
errataCVEs(java.lang.Long eid)
Returns a list of CVEs for an errata
|
static DataResult |
errataInChannel(java.lang.Long cid)
Returns all of the errata in a channel
|
static DataResult<ErrataOverview> |
errataInSet(User user,
java.lang.String setLabel)
Return a list of errata overview objects contained in a set
|
static DataResult |
keywords(java.lang.Long eid)
Returns a list of keywords for an errata
|
protected static java.util.List<ChannelOverview> |
listChannelForErrataFromSet(RhnSet set)
Get a list of channel ids, and labels that a list of errata belongs to.
|
static DataResult<PackageOverview> |
listErrataChannelPacks(Channel customChan,
Errata errata,
User user)
Lists the packages contained in an errata associated to a channel
|
static java.util.List<java.lang.Long> |
listErrataIdsIssuedBetween(java.lang.String start,
java.lang.String end)
Finds the errata ids issued between start and end dates.
|
static java.util.List |
listErrataNotifications(Errata e)
List queued errata notifications
|
static java.util.List |
listPublishedBrothersInChannels(User user,
Channel channelFrom,
Channel channelTo)
Lists errata from channelFrom, that are cloned from the same original
as errata in channelTo
|
static java.util.List |
listPublishedClonesInChannels(User user,
Channel channelFrom,
Channel channelTo)
Lists errata from channelFrom, that have clones in channelTo
|
static java.util.List |
listSamePublishedInChannels(User user,
Channel channelFrom,
Channel channelTo)
Lists errata present in both channels
|
static DataResult<Bug> |
lookupBugsForErratum(java.lang.Long erratumId)
Finds the bugs associated with an erratum
|
static Errata |
lookupByAdvisory(java.lang.String advisoryName,
Org org)
Returns the errata with the given advisory name
|
static java.util.List |
lookupByCVE(java.lang.String cve)
Looks up errata by CVE string
|
static java.util.List |
lookupByOriginal(User user,
Errata original)
Lookup all the clones of a particular errata
looks up unpublished first, and then if none of those
exist, it looks up published ones
|
static DataResult<CVE> |
lookupCvesForErratum(java.lang.Long erratumId)
Finds the cves associated with an erratum
|
static Errata |
lookupErrata(java.lang.Long eid,
User user)
Returns the errata with given id
|
static java.util.List |
lookupErrataByIdentifier(java.lang.String identifier,
Org org)
Tries to locate errata based on either the errataum's id or the
CVE/CAN identifier string.
|
static java.util.List |
lookupErrataByType(java.lang.String advisoryType)
Lookup all Errata by Advisory Type
|
static java.util.List<java.lang.String> |
lookupKeywordsForErratum(java.lang.Long erratumId)
Finds the keywords associated with an erratum
|
static DataResult<PackageOverview> |
lookupPacksFromErrataForChannel(Channel customChan,
Errata errata,
User user)
Finds the packages contained in an errata that apply to a channel
|
static DataResult<PackageDto> |
lookupPacksFromErrataForChannel(java.lang.Long channelId,
java.lang.Long errataId)
Finds the packages contained in an errata that apply to a channel
|
static DataResult<PackageOverview> |
lookupPacksFromErrataSet(Channel srcChan,
Channel destChan,
User user,
java.lang.String set)
Lookup packages that are associated with errata in the RhnSet "errata_list"
|
static java.util.List |
lookupPublishedByOriginal(User user,
Errata original)
Lookup all the clones of a particular errata
|
static Errata |
lookupPublishedErrata(java.lang.Long id)
Looks up published errata by errata id
|
static DataResult<ErrataOverview> |
lookupSelectedErrataInSystemSet(User user,
java.lang.String setLabel)
Lookup errata that are in the set and relevant to selected systems (in SSM)
|
static Errata |
publish(Errata unpublished)
Takes an unpublished errata and returns a published errata
|
static Errata |
publish(Errata unpublished,
java.util.Collection channelIds,
User user)
Takes an unpublished errata and returns a published errata into the
channels we pass in.
|
static DataResult |
publishedInSet(User user,
PageControl pc,
java.lang.String label)
Returns all of the published errata.
|
static DataResult |
publishedOwnedErrata(User user)
Returns all of the published errata.
|
static void |
publishErrataToChannelAsync(Channel chan,
java.util.Collection<java.lang.Long> errataIds,
User user)
Publish errata to a channel asynchronously (cloning as necessary),
does not do any package push
|
static DataResult |
relevantErrata(ManagedServerGroup serverGroup)
Returns errata relevant to given server group.
|
static DataResult |
relevantErrata(User user)
Returns the relevant errata.
|
static DataResult |
relevantErrataByType(User user,
PageControl pc,
java.lang.String typeIn)
Returns the relevant errata.
|
static DataResult |
relevantErrataToSystemSet(User user,
java.util.List<java.lang.String> types)
Returns the relevant errata to the system set (used in SSM).
|
static DataResult |
relevantSecurityErrata(User user,
PageControl pc)
Returns the relevant security errata.
|
static DataResult |
relevantSystemsInSet(User user,
java.lang.String label,
java.lang.Long eid,
PageControl pc)
Returns the systems in the current set that are affected by an errata
|
static void |
removeErratumFromChannel(Errata errata,
Channel chan,
User user)
remove an erratum for a channel and updates the errata cache accordingly
|
static java.util.List |
resolveOvalFiles(java.util.List errataFiles)
Converts a list of ErrataFile instances into java.io.File instances
If a corresponding java.io.File instance is not found for a given
ErrataFile instance then it is skipped and not added to the returned list.
|
static java.util.List<ErrataOverview> |
search(java.util.List eids,
Org org)
Returns a list of ErrataOverview matching the given errata ids.
|
static java.util.List<ErrataOverview> |
searchByPackageIds(java.util.List pids)
Returns a list of ErrataOverview whose errata contains the packages
with the given pids.
|
static java.util.List<ErrataOverview> |
searchByPackageIdsWithOrg(java.util.List pids,
Org org)
Returns a list of ErrataOverview whose errata contains the packages
with the given pids.
|
static DataResult |
selectedForCloning(User user,
PageControl pc)
Returns all errata selected for cloning.
|
static void |
storeErrata(Errata errataIn)
Stores an errata to the db
|
static DataResult<SystemOverview> |
systemsAffected(User user,
java.lang.Long eid,
PageControl pc)
Returns the systems affected by a given errata
|
static DataResult<SystemOverview> |
systemsAffected(User user,
ManagedServerGroup serverGroup,
Errata erratum,
PageControl pc)
Returns the systems affected by a given errata
|
static DataResult<SystemOverview> |
systemsAffectedInSet(User user,
java.lang.Long eid,
PageControl pc)
Returns the systems affected by a given errata
|
static DataResult |
systemsAffectedXmlRpc(User user,
java.lang.Long eid)
Returns the system id and system names of the systems affected by a given errata
|
static DataResult |
unpublishedInSet(User user,
PageControl pc,
java.lang.String label)
Returns all of the unpublished errata in the given set.
|
static DataResult |
unpublishedOwnedErrata(User user)
Returns all of the unpublished errata.
|
static DataResult |
unpublishedOwnedErrata(User user,
java.lang.Class clazz)
Returns all of the unpublished errata.
|
makeDataResult, makeDataResult, makeDataResult, makeDataResult, makeDataResultNoPagination, makeDataResultNoPagination, processListControl, processPageControl
public static final java.lang.String DATE_FORMAT_PARSE_STRING
public static final long MAX_ADVISORY_RELEASE
public static java.util.List resolveOvalFiles(java.util.List errataFiles)
errataFiles
- list of files to resolvepublic static java.util.List lookupErrataByIdentifier(java.lang.String identifier, Org org)
identifier
- erratum id or CVE/CAN id stringorg
- User organizationpublic static Errata publish(Errata unpublished, java.util.Collection channelIds, User user)
unpublished
- The errata to publishchannelIds
- The Long channelIds we want to publish this Errata to.user
- who is publishing erratapublic static Errata publish(Errata unpublished)
unpublished
- The errata to publishpublic static Errata addChannelsToErrata(Errata errata, java.util.Collection<java.lang.Long> channelIds, User user)
errata
- to add channels tochannelIds
- to adduser
- who is adding channels to erratapublic static Errata createNewErrata()
public static Bug createNewUnpublishedBug(java.lang.Long id, java.lang.String summary, java.lang.String url)
id
- The id for the new bug.summary
- The summary for the new bug.url
- The url for the new bug.public static Bug createNewPublishedBug(java.lang.Long id, java.lang.String summary, java.lang.String url)
id
- The id for the new bugsummary
- The summary for the new bugurl
- The url for the new bug.public static DataResult allErrata(User user)
user
- Currently logged in user.public static DataResult allErrataByType(User user, java.lang.String type)
user
- Currently logged in user.type
- advisory typepublic static DataResult allSecurityErrata(User user)
user
- Currently logged in user.public static DataResult errataInChannel(java.lang.Long cid)
cid
- the channel idpublic static java.util.List<ErrataOverview> searchByPackageIds(java.util.List pids)
pids
- list of package ids whose errata are sought.public static java.util.List<ErrataOverview> searchByPackageIdsWithOrg(java.util.List pids, Org org)
pids
- list of package ids whose errata are sought.org
- Organization to match results withpublic static java.util.List<ErrataOverview> search(java.util.List eids, Org org)
eids
- Errata ids sought.org
- Organization to match results withpublic static DataResult relevantErrata(ManagedServerGroup serverGroup)
serverGroup
- Server group.public static DataResult relevantErrataToSystemSet(User user, java.util.List<java.lang.String> types)
user
- Currently logged in user.types
- List of errata types to includepublic static DataResult relevantErrata(User user)
user
- Currently logged in user.public static DataResult relevantErrataByType(User user, PageControl pc, java.lang.String typeIn)
user
- Currently logged in user.pc
- PageControltypeIn
- String type of errata. See ErrataFactory.ERRATA_TYPE_*public static DataResult relevantSecurityErrata(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult unpublishedOwnedErrata(User user)
user
- Currently logged in user.public static DataResult unpublishedOwnedErrata(User user, java.lang.Class clazz)
user
- Currently logged in user.clazz
- The class you would like the return values represented aspublic static DataResult unpublishedInSet(User user, PageControl pc, java.lang.String label)
user
- Currently logged in user.pc
- PageControllabel
- Set labelpublic static DataResult publishedOwnedErrata(User user)
user
- Currently logged in user.public static DataResult publishedInSet(User user, PageControl pc, java.lang.String label)
user
- Currently logged in user.pc
- PageControllabel
- Set labelpublic static DataResult selectedForCloning(User user, PageControl pc)
user
- Currently logged in user.pc
- PageControlpublic static DataResult<ErrataOverview> errataInSet(User user, java.lang.String setLabel)
user
- the user doing the lookupsetLabel
- the setpublic static void deletePublishedErrata(User user, java.lang.String label)
user
- User performing the operationlabel
- name of the set that contains the id's of the errata to be deletedpublic static void deleteUnpublishedErrata(User user, java.lang.String label)
user
- User performing the operationlabel
- name of the set that contains the id's of the errata to be deletedpublic static void deleteErratum(User user, Errata errata)
user
- doing the deletingerrata
- The erratum for deletionprotected static java.util.List<ChannelOverview> listChannelForErrataFromSet(RhnSet set)
set
- the set of errata ids to retrieve channels forpublic static Errata lookupErrata(java.lang.Long eid, User user)
eid
- errata iduser
- The user performing the lookuppublic static Errata lookupByAdvisory(java.lang.String advisoryName, Org org)
advisoryName
- The advisory name of the errata you're looking fororg
- User organizationpublic static java.util.List lookupByCVE(java.lang.String cve)
cve
- errata's CVE stringpublic static java.util.List lookupErrataByType(java.lang.String advisoryType)
advisoryType
- the advisory type to use to query the set of Erratapublic static Errata lookupPublishedErrata(java.lang.Long id)
id
- errata idpublic static DataResult<SystemOverview> systemsAffected(User user, java.lang.Long eid, PageControl pc)
user
- The current usereid
- The errata idpc
- PageControlpublic static DataResult<SystemOverview> systemsAffected(User user, ManagedServerGroup serverGroup, Errata erratum, PageControl pc)
user
- Logged-in user.serverGroup
- Server group.erratum
- Errata ID.pc
- PageControlpublic static DataResult<SystemOverview> systemsAffectedInSet(User user, java.lang.Long eid, PageControl pc)
user
- Logged-in user.eid
- Errata ID.pc
- PageControlpublic static DataResult systemsAffectedXmlRpc(User user, java.lang.Long eid)
user
- The logged in usereid
- The id of the errata in questionpublic static DataResult relevantSystemsInSet(User user, java.lang.String label, java.lang.Long eid, PageControl pc)
user
- The current userlabel
- The name of the seteid
- Errata idpc
- PageControlpublic static DataResult affectedChannels(User user, java.lang.Long eid)
user
- The user (to determine available channels)eid
- The errata idpublic static DataResult bugsFixed(java.lang.Long eid)
eid
- The errata idpublic static DataResult errataCVEs(java.lang.Long eid)
eid
- The errata idpublic static DataResult keywords(java.lang.Long eid)
eid
- The errata idpublic static java.util.List<java.lang.String> advisoryTypes()
public static java.util.List<java.lang.String> advisoryTypeLabels()
public static java.util.List<java.lang.String> advisorySeverityLabels()
public static java.util.Map<java.lang.String,java.lang.String> advisorySeverityUntranslatedLabels()
public static java.util.List<java.lang.Integer> advisorySeverityRanks()
public static void storeErrata(Errata errataIn)
errataIn
- The errata to store.public static boolean advisoryNameIsUnique(java.lang.Long eid, java.lang.String name, Org org)
eid
- The id of the errata you're checkingname
- The advisory name you're checkingorg
- User organizationpublic static DataResult clonableErrata(java.lang.Long orgid, boolean showCloned)
orgid
- org we want to lookup againstshowCloned
- whether we should show errata that have already been clonedpublic static DataResult clonableErrataForChannel(java.lang.Long orgid, java.lang.Long cid, boolean showCloned)
orgid
- org we want to lookup againstcid
- channelidshowCloned
- whether we should show errata that have already been clonedpublic static DataResult applicableChannels(java.lang.Long eid, java.lang.Long orgid, PageControl pc, java.lang.Class clazz)
eid
- The id of the erratumorgid
- The id for the org we want to lookup againstpc
- The page control for the userclazz
- The class you would like the return values represented aspublic static Errata createClone(User user, Errata e)
user
- user performing the cloninge
- errata to be clonedpublic static java.util.List lookupByOriginal(User user, Errata original)
user
- User that is performing the cloning operationoriginal
- Original errata that the clones are clones ofpublic static java.util.List lookupPublishedByOriginal(User user, Errata original)
user
- User that is performing the cloning operationoriginal
- Original errata that the clones are clones ofpublic static java.util.List listSamePublishedInChannels(User user, Channel channelFrom, Channel channelTo)
user
- userchannelFrom
- channel1channelTo
- channel2public static java.util.List listPublishedBrothersInChannels(User user, Channel channelFrom, Channel channelTo)
user
- userchannelFrom
- channel1channelTo
- channel2public static java.util.List listPublishedClonesInChannels(User user, Channel channelFrom, Channel channelTo)
user
- userchannelFrom
- channel1channelTo
- channel2public static DataResult<PackageOverview> lookupPacksFromErrataSet(Channel srcChan, Channel destChan, User user, java.lang.String set)
srcChan
- the source channel to find the package associations withdestChan
- if srcChan is not available, we will match package associations
based on packages in the destChanuser
- the user doing the queryset
- the set labelpublic static DataResult<ErrataOverview> lookupSelectedErrataInSystemSet(User user, java.lang.String setLabel)
user
- the user to search the set forsetLabel
- the set labelpublic static DataResult<PackageOverview> lookupPacksFromErrataForChannel(Channel customChan, Errata errata, User user)
customChan
- the channel to look inerrata
- the errata to look for packs withuser
- the user doing the request.public static DataResult<PackageDto> lookupPacksFromErrataForChannel(java.lang.Long channelId, java.lang.Long errataId)
channelId
- the channel to look inerrataId
- the errata to look for packs withpublic static DataResult<Bug> lookupBugsForErratum(java.lang.Long erratumId)
erratumId
- the erratum to look forpublic static DataResult<CVE> lookupCvesForErratum(java.lang.Long erratumId)
erratumId
- the erratum to look forpublic static java.util.List<java.lang.String> lookupKeywordsForErratum(java.lang.Long erratumId)
erratumId
- the erratum to look forpublic static DataResult<PackageOverview> listErrataChannelPacks(Channel customChan, Errata errata, User user)
customChan
- the channel to look inerrata
- the errata to look for packs withuser
- the user doing the request.public static java.util.List<java.lang.Long> listErrataIdsIssuedBetween(java.lang.String start, java.lang.String end)
start
- String start dateend
- String end datepublic static void removeErratumFromChannel(Errata errata, Channel chan, User user)
errata
- the errata to removechan
- the channel to remove the erratum fromuser
- the user doing the removingpublic static void publishErrataToChannelAsync(Channel chan, java.util.Collection<java.lang.Long> errataIds, User user)
chan
- the channelerrataIds
- list of errata idsuser
- the user doing the pushpublic static java.lang.Object[] cloneErrataApi(Channel chan, java.util.Collection<Errata> errata, User user, boolean inheritPackages)
chan
- the channelerrata
- list of errata idsuser
- the user doing the pushinheritPackages
- inherit packages from the original bug (instaed of the
clone in the case of a clone of a clone)public static java.lang.Object[] cloneErrataApi(Channel chan, java.util.Collection<Errata> errata, User user, boolean inheritPackages, boolean performPostActions)
chan
- the channelerrata
- list of errata idsuser
- the user doing the pushinheritPackages
- inherit packages from the original bug (instaed of the
clone in the case of a clone of a clone)performPostActions
- true (default) if you want to refresh newest package
cache and schedule repomd regeneration. False only if you're going to do those
things yourself.public static void cloneChannelErrata(java.lang.Long fromCid, java.lang.Long toCid, User user)
fromCid
- id of old channeltoCid
- id of channel to clone intouser
- the requesting userpublic static java.util.Set<java.lang.Long> cloneChannelErrata(java.util.List<ErrataOverview> toClone, java.lang.Long toCid, User user)
toClone
- List of ErrataOverview to clonetoCid
- Channel id to clone them intouser
- the requesting userpublic static void cloneErrataApiAsync(Channel chan, java.util.List<java.lang.Long> errata, User user, boolean inheritPackages)
chan
- the channelerrata
- list of errata idsuser
- the user doing the pushinheritPackages
- inherit packages from the original bug (instead of the
clone in the case of a clone of a clone)public static boolean channelHasPendingAsyncCloneJobs(Channel channel)
channel
- channel to checkpublic static void addErrataNotification(Errata e, Channel chan, java.util.Date date)
e
- the errata to send notifications aboutchan
- the channel with which to decide which systems
and users to send errata fordate
- the datepublic static void clearErrataNotifications(Errata e)
e
- the errata to clear notifications forpublic static void addErrataChannelNotifications(java.lang.Long eid, java.lang.Long cid)
eid
- the errata to enqueuecid
- affected channelpublic static void clearErrataChannelNotifications(Errata e, Channel c)
e
- the errata to clear notifications forc
- affected channelpublic static java.util.List listErrataNotifications(Errata e)
e
- the erratapublic static java.util.List<java.lang.Long> applyErrataHelper(User loggedInUser, java.util.List<java.lang.Long> systemIds, java.util.List<java.lang.Integer> errataIds, java.util.Date earliestOccurrence)
loggedInUser
- The logged in usersystemIds
- list of system IDserrataIds
- List of errata IDs to apply (as Integers)earliestOccurrence
- Earliest occurrence of the errata updatepublic static java.util.List<java.lang.Long> applyErrata(User user, java.util.List errataIds, java.util.Date earliest, java.util.List<java.lang.Long> serverIds)
user
- usererrataIds
- errata idsearliest
- schedule timeserverIds
- server idspublic static java.util.List<java.lang.Long> applyErrata(User user, java.util.List errataIds, java.util.Date earliest, ActionChain actionChain, java.util.List<java.lang.Long> serverIds)
user
- usererrataIds
- errata idsearliest
- schedule timeactionChain
- the action chain to add the action to or nullserverIds
- server ids