Class ChangeSummaryGroup
- All Implemented Interfaces:
Serializable
ChangeSummary instances. A ChangeSummaryGroup is used to move all contained
ChangeSummary instances through the sandbox workflow lifecycle. For example, ChangeSummaryGroups
are approved, rejected. In the final steps of the workflow lifecycle, ChangeSummaryGroups are
combined into a ChangeDeploy and scheduled for deployment.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanContains all of the vendor-refs that are affected bychange summarieswithin this group.The archival state.The user (as defined by the Spring security principal) responsible for creating this group.This list ofChangeSummary.getId()values contained in this groupIf there is aChangeDeployfor this change summary group, this will hold a copy of itsChangeDeploy.dateScheduled.The name to display to the user that represents this group.Any exceptions that result from a workflow related request on this groupgetId()Unique identifier for this change summary group.The message given to this group during promotion.The sandbox that contains the change group.getState()The currentstateof this group.The currentstatusof this groupThe time that the status last changed.inthashCode()booleanIf this group containsgetChangeSummaryIds()which affect non-vendor data, then this field should betrue.voidsetAffectedVendorRefs(Set<String> affectedVendorRefs) Contains all of the vendor-refs that are affected bychange summarieswithin this group.voidsetAffectsNonVendorData(boolean affectsNonVendorData) If this group containsgetChangeSummaryIds()which affect non-vendor data, then this field should betrue.voidsetArchived(Boolean archived) The archival state.voidThe user (as defined by the Spring security principal) responsible for creating this group.voidsetChangeSummaryIds(List<String> changeSummaryIds) This list ofChangeSummary.getId()values contained in this groupvoidsetDeploymentDate(Instant deploymentDate) If there is aChangeDeployfor this change summary group, this will hold a copy of itsChangeDeploy.dateScheduled.voidsetDisplayName(String displayName) The name to display to the user that represents this group.voidsetException(String exception) Any exceptions that result from a workflow related request on this groupvoidUnique identifier for this change summary group.voidsetPromoteMessage(String promoteMessage) The message given to this group during promotion.voidsetSandbox(String sandbox) The sandbox that contains the change group.voidThe currentstateof this group.voidThe currentstatusof this groupvoidsetStatusChangeTime(Instant statusChangeTime) The time that the status last changed.toString()
-
Constructor Details
-
ChangeSummaryGroup
public ChangeSummaryGroup()
-
-
Method Details
-
getId
Unique identifier for this change summary group.- Returns:
- Unique identifier for this change summary group
-
getState
The currentstateof this group. This will change only when thestatuschanges to a completed type, i.e.,ChangeStatusType.REJECTED,ChangeStatusType.FINISHED, or an error status.- Returns:
- The current
stateof this group
-
getStatusChangeTime
The time that the status last changed.- Returns:
- The time that the status last changed
-
getStatus
The currentstatusof this group- Returns:
- The current
statusof this group
-
getDisplayName
The name to display to the user that represents this group. This should be provided as part of a promote request, along with optionalpromoteMessage.- Returns:
- The name to display to the user that represents this group
-
getException
Any exceptions that result from a workflow related request on this group- Returns:
- Any exceptions that result from this group
-
getPromoteMessage
The message given to this group during promotion.- Returns:
- The message given to this group during promotion
-
getChangeSummaryIds
This list ofChangeSummary.getId()values contained in this group- Returns:
- This list of
ChangeSummary.getId()values contained in this group
-
getSandbox
The sandbox that contains the change group.- Returns:
- The sandbox that contains the change group
-
getAuthor
The user (as defined by the Spring security principal) responsible for creating this group. SeeContextInfo.getAuthor()- Returns:
- The user that was responsible for creating this group
-
getArchived
The archival state. Archived records are generally filtered from fetch results. Records are often archived at this level as a result of a completed rejection.- Returns:
- The archival state
-
getDeploymentDate
If there is aChangeDeployfor this change summary group, this will hold a copy of itsChangeDeploy.dateScheduled. This should be synchronized to match with that value whenever it is updated (for example, when scheduling/unscheduling occurs).The purpose of this field is to enable users to see the deployment date for this group in views other than the "Deployments" page.
- Returns:
- the date/time the associated deployment (if any) occurred or will occur
-
getAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summarieswithin this group.If vendor processing is enabled, this enables queries to quickly filter out change summary groups which a vendor-restricted user cannot access.
Note that if the member summaries within this group change, this set should also be updated accordingly.
-
isAffectsNonVendorData
public boolean isAffectsNonVendorData()If this group containsgetChangeSummaryIds()which affect non-vendor data, then this field should betrue.If vendor processing is enabled, this enables queries to quickly filter out change summary groups which a vendor-restricted user cannot access.
Note that if the member summaries within this group change, this value should also be updated accordingly.
-
setId
Unique identifier for this change summary group.- Parameters:
id- Unique identifier for this change summary group
-
setState
The currentstateof this group. This will change only when thestatuschanges to a completed type, i.e.,ChangeStatusType.REJECTED,ChangeStatusType.FINISHED, or an error status.- Parameters:
state- The currentstateof this group
-
setStatusChangeTime
The time that the status last changed.- Parameters:
statusChangeTime- The time that the status last changed.
-
setStatus
The currentstatusof this group- Parameters:
state- The currentstatusof this group
-
setDisplayName
The name to display to the user that represents this group. This should be provided as part of a promote request, along with optionalpromoteMessage.- Parameters:
displayName- The name to display to the user that represents this group
-
setException
Any exceptions that result from a workflow related request on this group- Parameters:
exception- Any exceptions that result from this group
-
setPromoteMessage
The message given to this group during promotion.- Parameters:
promoteMessage- The message given to this group during promotion
-
setChangeSummaryIds
This list ofChangeSummary.getId()values contained in this group- Parameters:
changeSummaryIds- This list ofChangeSummary.getId()values contained in this group
-
setSandbox
The sandbox that contains the change group.- Parameters:
sandbox- The sandbox that contains the change group
-
setAuthor
The user (as defined by the Spring security principal) responsible for creating this group. SeeContextInfo.getAuthor()- Parameters:
author- The user that was responsible for creating this group
-
setArchived
The archival state. Archived records are generally filtered from fetch results. Records are often archived at this level as a result of a completed rejection.- Parameters:
archived- Whether this group should be filtered from fetch results
-
setDeploymentDate
If there is aChangeDeployfor this change summary group, this will hold a copy of itsChangeDeploy.dateScheduled. This should be synchronized to match with that value whenever it is updated (for example, when scheduling/unscheduling occurs).The purpose of this field is to enable users to see the deployment date for this group in views other than the "Deployments" page.
- Parameters:
deploymentDate- the date/time the associated deployment (if any) occurred or will occur
-
setAffectedVendorRefs
Contains all of the vendor-refs that are affected bychange summarieswithin this group.If vendor processing is enabled, this enables queries to quickly filter out change summary groups which a vendor-restricted user cannot access.
Note that if the member summaries within this group change, this set should also be updated accordingly.
-
setAffectsNonVendorData
public void setAffectsNonVendorData(boolean affectsNonVendorData) If this group containsgetChangeSummaryIds()which affect non-vendor data, then this field should betrue.If vendor processing is enabled, this enables queries to quickly filter out change summary groups which a vendor-restricted user cannot access.
Note that if the member summaries within this group change, this value should also be updated accordingly.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-