Class FindMostViewedAssetsRequest
Object
PagedRequest
FindMostViewedAssetsRequest
- All Implemented Interfaces:
Serializable
The search criteria for navigation statistics about most viewed assets.
The returned entries satisfy all constraints that are specified in this search criteria.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class PagedRequest
countLimit, limit, offset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanlongThe time span for which most viewed assets should be found.inthashCode()booleantrueif guest visits should be excluded.voidsetGuestExcluded(boolean guestExcluded) trueif guest visits should be excluded.voidsetPeriod(long period) The time span for which most viewed assets should be found.toString()Methods inherited from class PagedRequest
getCountLimit, getLimit, getOffset, isPagingActive, setCountLimit, setLimit, setOffset
-
Constructor Details
-
FindMostViewedAssetsRequest
public FindMostViewedAssetsRequest()
-
-
Method Details
-
builder
-
getPeriod
public long getPeriod()The time span for which most viewed assets should be found. This time span must be expressed in milliseconds. For instance, to get most viewed assets last 24 hours, period would be86400000. If it's unset (period = 0) looks for all time most viewed assets. -
isGuestExcluded
public boolean isGuestExcluded()trueif guest visits should be excluded. -
setPeriod
public void setPeriod(long period) The time span for which most viewed assets should be found. This time span must be expressed in milliseconds. For instance, to get most viewed assets last 24 hours, period would be86400000. If it's unset (period = 0) looks for all time most viewed assets. -
setGuestExcluded
public void setGuestExcluded(boolean guestExcluded) trueif guest visits should be excluded. -
equals
- Overrides:
equalsin classPagedRequest
-
canEqual
- Overrides:
canEqualin classPagedRequest
-
hashCode
public int hashCode()- Overrides:
hashCodein classPagedRequest
-
toString
- Overrides:
toStringin classPagedRequest
-