Class SimplePage<T>
java.lang.Object
com.broadleafcommerce.cartoperation.domain.SimplePage<T>
- All Implemented Interfaces:
Serializable
A simple page DTO into which a
Page
can be deserialized and that can be easily
re-serialized without concern for implementation details.- Author:
- Nathan Moore (nathandmoore)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAttribute
(String name, Object value) Takes in any additional attributes passed in the request not matching any defined properties.protected boolean
boolean
Return any additional attributes passed in the request not matching any defined properties.Map holding any additional attributes passed in the request not matching any defined properties.int
hashCode()
void
setAttributes
(Map<String, Object> attributes) Map holding any additional attributes passed in the request not matching any defined properties.void
setContent
(List<T> content) toString()
-
Constructor Details
-
SimplePage
public SimplePage()
-
-
Method Details
-
addAttribute
Takes in any additional attributes passed in the request not matching any defined properties.- Parameters:
name
- Name of the additional attributevalue
- Value of the additional attribute
-
getAttribute
Return any additional attributes passed in the request not matching any defined properties.- Returns:
- any additional attributes passed in the request not matching any defined properties.
-
getContent
-
getAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
setContent
-
setAttributes
Map holding any additional attributes passed in the request not matching any defined properties. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-