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 boolean
boolean
Contains all of the vendor-refs that are affected bychange summaries
within 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 aChangeDeploy
for 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 currentstate
of this group.The currentstatus
of this groupThe time that the status last changed.int
hashCode()
boolean
If this group containsgetChangeSummaryIds()
which affect non-vendor data, then this field should betrue
.void
setAffectedVendorRefs
(Set<String> affectedVendorRefs) Contains all of the vendor-refs that are affected bychange summaries
within this group.void
setAffectsNonVendorData
(boolean affectsNonVendorData) If this group containsgetChangeSummaryIds()
which affect non-vendor data, then this field should betrue
.void
setArchived
(Boolean archived) The archival state.void
The user (as defined by the Spring security principal) responsible for creating this group.void
setChangeSummaryIds
(List<String> changeSummaryIds) This list ofChangeSummary.getId()
values contained in this groupvoid
setDeploymentDate
(Instant deploymentDate) If there is aChangeDeploy
for this change summary group, this will hold a copy of itsChangeDeploy.dateScheduled
.void
setDisplayName
(String displayName) The name to display to the user that represents this group.void
setException
(String exception) Any exceptions that result from a workflow related request on this groupvoid
Unique identifier for this change summary group.void
setPromoteMessage
(String promoteMessage) The message given to this group during promotion.void
setSandbox
(String sandbox) The sandbox that contains the change group.void
The currentstate
of this group.void
The currentstatus
of this groupvoid
setStatusChangeTime
(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 currentstate
of this group. This will change only when thestatus
changes to a completed type, i.e.,ChangeStatusType.REJECTED
,ChangeStatusType.FINISHED
, or an error status.- Returns:
- The current
state
of this group
-
getStatusChangeTime
The time that the status last changed.- Returns:
- The time that the status last changed
-
getStatus
The currentstatus
of this group- Returns:
- The current
status
of 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 aChangeDeploy
for 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 summaries
within 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 currentstate
of this group. This will change only when thestatus
changes to a completed type, i.e.,ChangeStatusType.REJECTED
,ChangeStatusType.FINISHED
, or an error status.- Parameters:
state
- The currentstate
of this group
-
setStatusChangeTime
The time that the status last changed.- Parameters:
statusChangeTime
- The time that the status last changed.
-
setStatus
The currentstatus
of this group- Parameters:
state
- The currentstatus
of 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 aChangeDeploy
for 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 summaries
within 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
-