Class ChangeSummaryGroups
java.lang.Object
com.broadleafcommerce.sandbox.domain.ChangeSummaryGroups
- All Implemented Interfaces:
Serializable
Request construct that details a list of
ChangeSummaryGroup.getId()
values to operate on.
Alternatively, this construct can define "all change summary groups" via the
allChangeSummaryGroups
property.- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionChangeSummaryGroups
(List<String> changeSummaryGroupIds, boolean allChangeSummaryGroups, String message, String name) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
The list of id values forChangeSummaryGroup
instances that should be targeted for the API request.Message detailing the reason why the changes were transitioned.getName()
Name that can be used to identify the groups as a unit.Sandbox owner to target as the recipient of the reject.int
hashCode()
boolean
Whether or not all valid ChangeSummaryGroups for the current request context (e.g.void
setAllChangeSummaryGroups
(boolean allChangeSummaryGroups) Whether or not all valid ChangeSummaryGroups for the current request context (e.g.void
setChangeSummaryGroupIds
(List<String> changeSummaryGroupIds) The list of id values forChangeSummaryGroup
instances that should be targeted for the API request.void
setMessage
(String message) Message detailing the reason why the changes were transitioned.void
Name that can be used to identify the groups as a unit.void
setReceiver
(String receiver) Sandbox owner to target as the recipient of the reject.toString()
-
Constructor Details
-
ChangeSummaryGroups
-
ChangeSummaryGroups
public ChangeSummaryGroups()
-
-
Method Details
-
getChangeSummaryGroupIds
The list of id values forChangeSummaryGroup
instances that should be targeted for the API request.- Returns:
- The list of id values for
ChangeSummaryGroup
instances that should be targeted
-
isAllChangeSummaryGroups
public boolean isAllChangeSummaryGroups()Whether or not all valid ChangeSummaryGroups for the current request context (e.g. all ChangeSummaryGroup instances belonging to a sandbox) should be included. If true,changeSummaryGroupIds
is ignored. The default value is false.- Returns:
- Whether or not all valid ChangeSummaryGroups for the current request context should be included
-
getMessage
Message detailing the reason why the changes were transitioned. For example, this is used for rejection and deployment messages. -
getName
Name that can be used to identify the groups as a unit. Typically only used in relation to scheduling groups for deployment. -
getReceiver
Sandbox owner to target as the recipient of the reject. Reject are usually automatically sent to the author of the most recent promote sandbox state. However, occasionally, it is necessary to override this behavior, especially when the author of the current promote sandbox state is ambiguous. -
setChangeSummaryGroupIds
The list of id values forChangeSummaryGroup
instances that should be targeted for the API request.- Parameters:
changeSummaryGroupIds
- The list of id values forChangeSummaryGroup
instances that should be targeted
-
setAllChangeSummaryGroups
public void setAllChangeSummaryGroups(boolean allChangeSummaryGroups) Whether or not all valid ChangeSummaryGroups for the current request context (e.g. all ChangeSummaryGroup instances belonging to a sandbox) should be included. If true,changeSummaryGroupIds
is ignored. The default value is false.- Parameters:
allChangeSummaryGroups
- Whether or not all valid ChangeSummaryGroups for the current request context should be included
-
setMessage
Message detailing the reason why the changes were transitioned. For example, this is used for rejection and deployment messages. -
setName
Name that can be used to identify the groups as a unit. Typically only used in relation to scheduling groups for deployment. -
setReceiver
Sandbox owner to target as the recipient of the reject. Reject are usually automatically sent to the author of the most recent promote sandbox state. However, occasionally, it is necessary to override this behavior, especially when the author of the current promote sandbox state is ambiguous. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-