Class ChangeSummaries
java.lang.Object
com.broadleafcommerce.sandbox.domain.ChangeSummaries
Request construct that details a list of
ChangeSummary.getId() values to operate on.
Alternatively, this construct can define "all change summaries" via the
allChangeSummaries property.- Author:
- Jeff Fischer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe list of id values forChangeSummaryinstances that should be targeted for the API request.inthashCode()booleanWhether or not all valid ChangeSummaries for the current request context (e.g.voidsetAllChangeSummaries(boolean allChangeSummaries) Whether or not all valid ChangeSummaries for the current request context (e.g.voidsetChangeSummaryIds(List<String> changeSummaryIds) The list of id values forChangeSummaryinstances that should be targeted for the API request.toString()
-
Constructor Details
-
ChangeSummaries
public ChangeSummaries()
-
-
Method Details
-
getChangeSummaryIds
The list of id values forChangeSummaryinstances that should be targeted for the API request.- Returns:
- The list of id values for
ChangeSummaryinstances that should be targeted
-
isAllChangeSummaries
public boolean isAllChangeSummaries()Whether or not all valid ChangeSummaries for the current request context (e.g. all user-level ChangeSummary instances belonging to an author) should be included. If true,changeSummaryIdsis optional (if provided, it will be used). The default value is false.- Returns:
- Whether or not all valid ChangeSummaries for the current request context should be included
-
setChangeSummaryIds
The list of id values forChangeSummaryinstances that should be targeted for the API request.- Parameters:
changeSummaryIds- The list of id values forChangeSummaryinstances that should be targeted
-
setAllChangeSummaries
public void setAllChangeSummaries(boolean allChangeSummaries) Whether or not all valid ChangeSummaries for the current request context (e.g. all user-level ChangeSummary instances belonging to an author) should be included. If true,changeSummaryIdsis optional (if provided, it will be used). The default value is false.- Parameters:
allChangeSummaries- Whether or not all valid ChangeSummaries for the current request context should be included
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-