Package net.solarnetwork.central.domain
Class UserFilterCommand
java.lang.Object
net.solarnetwork.central.support.BaseFilterSupport
net.solarnetwork.central.support.FilterSupport
net.solarnetwork.central.domain.UserFilterCommand
- All Implemented Interfaces:
Serializable,Filter,MetadataFilter,SolarNodeFilter,SolarNodeMetadataFilter,TagFilter,UserFilter
Filter support for user actions.
- Since:
- 1.23
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEmail()Get the email criteria.Get the internal data criteria.Get the internal data criteria as a JSON string.getMax()List<net.solarnetwork.domain.SortDescriptor> List<net.solarnetwork.domain.MutableSortDescriptor> getSorts()inthashCode()voidSet the email criteria.voidsetInternalData(Map<String, Object> internalData) Set the internal data criteria.voidvoidvoidConvert to aUserMetadataFilter.Methods inherited from class net.solarnetwork.central.support.FilterSupport
getFilter, getLocationId, getLocationIds, getNodeId, getNodeIds, getSourceId, getSourceIds, setLocationId, setLocationIds, setNodeId, setNodeIds, setSourceId, setSourceIds, toStringMethods inherited from class net.solarnetwork.central.support.BaseFilterSupport
getMetadataFilter, getTag, getTags, getUserId, getUserIds, setMetadataFilter, setTag, setTags, setUserId, setUserIdsMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.solarnetwork.central.domain.MetadataFilter
getMetadataFilter
-
Constructor Details
-
UserFilterCommand
public UserFilterCommand()
-
-
Method Details
-
toUserMetadataFilter
Convert to aUserMetadataFilter.- Returns:
- the filter
-
getSorts
-
setSorts
-
getSortDescriptors
-
getOffset
-
setOffset
-
getMax
-
setMax
-
getEmail
Get the email criteria.- Specified by:
getEmailin interfaceUserFilter- Returns:
- the email criteria
- Since:
- 1.1
-
setEmail
Set the email criteria.- Parameters:
email- the email to set- Since:
- 1.1
-
getInternalData
Get the internal data criteria.- Specified by:
getInternalDatain interfaceUserFilter- Returns:
- the internal data criteria
- Since:
- 1.1
-
setInternalData
Set the internal data criteria.- Parameters:
internalData- the internal data criteria to set- Since:
- 1.1
-
getInternalDataJson
Get the internal data criteria as a JSON string.- Returns:
- the internal data criteria, as JSON
- Since:
- 1.1
-
hashCode
public int hashCode()- Overrides:
hashCodein classFilterSupport- Since:
- 1.1
-
equals
- Overrides:
equalsin classFilterSupport- Since:
- 1.1
-