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 booleanbooleanThe list of id values forChangeSummaryGroupinstances 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.inthashCode()booleanWhether or not all valid ChangeSummaryGroups for the current request context (e.g.voidsetAllChangeSummaryGroups(boolean allChangeSummaryGroups) Whether or not all valid ChangeSummaryGroups for the current request context (e.g.voidsetChangeSummaryGroupIds(List<String> changeSummaryGroupIds) The list of id values forChangeSummaryGroupinstances that should be targeted for the API request.voidsetMessage(String message) Message detailing the reason why the changes were transitioned.voidName that can be used to identify the groups as a unit.voidsetReceiver(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 forChangeSummaryGroupinstances that should be targeted for the API request.- Returns:
- The list of id values for
ChangeSummaryGroupinstances 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,changeSummaryGroupIdsis 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 forChangeSummaryGroupinstances that should be targeted for the API request.- Parameters:
changeSummaryGroupIds- The list of id values forChangeSummaryGroupinstances 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,changeSummaryGroupIdsis 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
-