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 boolean
boolean
The list of id values forChangeSummary
instances that should be targeted for the API request.int
hashCode()
boolean
Whether or not all valid ChangeSummaries for the current request context (e.g.void
setAllChangeSummaries
(boolean allChangeSummaries) Whether or not all valid ChangeSummaries for the current request context (e.g.void
setChangeSummaryIds
(List<String> changeSummaryIds) The list of id values forChangeSummary
instances that should be targeted for the API request.toString()
-
Constructor Details
-
ChangeSummaries
public ChangeSummaries()
-
-
Method Details
-
getChangeSummaryIds
The list of id values forChangeSummary
instances that should be targeted for the API request.- Returns:
- The list of id values for
ChangeSummary
instances 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,changeSummaryIds
is 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 forChangeSummary
instances that should be targeted for the API request.- Parameters:
changeSummaryIds
- The list of id values forChangeSummary
instances 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,changeSummaryIds
is 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
-