Package net.solarnetwork.central.dao
Class BasicUserMetadataFilter
java.lang.Object
net.solarnetwork.domain.SimplePagination
net.solarnetwork.central.common.dao.BasicCoreCriteria
net.solarnetwork.central.dao.BasicUserMetadataFilter
- All Implemented Interfaces:
Cloneable,EnabledCriteria,LocationCriteria,NodeCriteria,NodeOwnershipCriteria,SearchFilterCriteria,SecurityTokenCriteria,SourceCriteria,TagCriteria,UserCriteria,UserModifiableFilter,UserMetadataFilter,net.solarnetwork.dao.PaginationCriteria
Basic implementation of
UserMetadataFilter.-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.BasicUserMetadataFilter(net.solarnetwork.dao.PaginationCriteria criteria) Constructor. -
Method Summary
Methods inherited from class net.solarnetwork.central.common.dao.BasicCoreCriteria
getEnabled, getLocation, getLocationId, getLocationIds, getNodeId, getNodeIds, getOrderBy, getSearchFilter, getSourceId, getSourceIds, getTokenId, getTokenIds, getUserId, getUserIds, getValidNodeOwnership, setEnabled, setLocation, setLocationId, setLocationIds, setNodeId, setNodeIds, setOrderBy, setSearchFilter, setSourceId, setSourceIds, setTokenId, setTokenIds, setUserId, setUserIds, setValidNodeOwnershipMethods inherited from class net.solarnetwork.domain.SimplePagination
getMax, getOffset, getSorts, matches, setMax, setOffset, setSortsMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.solarnetwork.central.common.dao.EnabledCriteria
hasEnabledCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.LocationCriteria
hasLocationCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.NodeCriteria
hasNodeCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.NodeOwnershipCriteria
hasNodeOwnershipCriteriaMethods inherited from interface net.solarnetwork.dao.PaginationCriteria
getMax, getOffset, getSorts, hasSortsMethods inherited from interface net.solarnetwork.central.common.dao.SearchFilterCriteria
hasSearchFilterCriteria, searchFilterMethods inherited from interface net.solarnetwork.central.common.dao.SecurityTokenCriteria
hasTokenCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.SourceCriteria
hasSourceCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.TagCriteria
getTag, hasTagCriteriaMethods inherited from interface net.solarnetwork.central.common.dao.UserCriteria
getUserId, getUserIds, hasUserCriteria
-
Constructor Details
-
BasicUserMetadataFilter
public BasicUserMetadataFilter()Constructor. -
BasicUserMetadataFilter
public BasicUserMetadataFilter(net.solarnetwork.dao.PaginationCriteria criteria) Constructor.- Parameters:
criteria-
-
-
Method Details
-
clone
- Overrides:
clonein classBasicCoreCriteria
-
copyFrom
public void copyFrom(net.solarnetwork.dao.PaginationCriteria criteria) Description copied from class:BasicCoreCriteriaCopy the properties of another criteria into this instance.This method will test for conformance to all the various criteria interfaces implemented by this class, and copy those properties as well.
- Overrides:
copyFromin classBasicCoreCriteria- Parameters:
criteria- the criteria to copy
-
hashCode
public int hashCode()- Overrides:
hashCodein classBasicCoreCriteria
-
equals
- Overrides:
equalsin classBasicCoreCriteria
-
getTags
Description copied from interface:TagCriteriaGet an array of tags.- Specified by:
getTagsin interfaceTagCriteria- Returns:
- array of tags (may be null)
-
setTag
Set a tag.- Parameters:
tag- the tag to set
-
setTags
Set the tags.- Parameters:
tags- the tags to set
-