Package com.day.cq.wcm.mobile.api.device
Interface DeviceGroupProvider
public interface DeviceGroupProvider
The
DeviceGroupProvider provides access to existing device groups.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionfind(DeviceGroupPredicate predicate) Tries to find a matchingDeviceGroupusing the providedDeviceGroupPredicate.Returns theDeviceGroupas identified by itsname.getAll()Returns allDeviceGroups known to this provider.
-
Field Details
-
MOUNTPOINT_DEVICEGROUPS
- See Also:
-
-
Method Details
-
get
Returns theDeviceGroupas identified by itsname. If no device group matches the given name,nullis returned.- Parameters:
name- The name of the desired device group.- Returns:
- The device group with the given name, or
nullif not found.
-
getAll
Collection<DeviceGroup> getAll()Returns allDeviceGroups known to this provider.- Returns:
- A
Collectioncontaining all known device groups.
-
find
Tries to find a matchingDeviceGroupusing the providedDeviceGroupPredicate.- Parameters:
predicate- The predicate to find a match with.- Returns:
- The matching
DeviceGroupornullif none was found.
-