com.day.cq.wcm.mobile.api.device
Interface DeviceGroupProvider


public interface DeviceGroupProvider

The DeviceGroupProvider provides access to existing device groups.


Field Summary
static String MOUNTPOINT_DEVICEGROUPS
           
 
Method Summary
 DeviceGroup find(DeviceGroupPredicate predicate)
          Tries to find a matching DeviceGroup using the provided DeviceGroupPredicate.
 DeviceGroup get(String name)
          Returns the DeviceGroup as identified by its name.
 Collection<DeviceGroup> getAll()
          Returns all DeviceGroups known to this provider.
 

Field Detail

MOUNTPOINT_DEVICEGROUPS

static final String MOUNTPOINT_DEVICEGROUPS
See Also:
Constant Field Values
Method Detail

get

DeviceGroup get(String name)
Returns the DeviceGroup as identified by its name. If no device group matches the given name, null is returned.

Parameters:
name - The name of the desired device group.
Returns:
The device group with the given name, or null if not found.

getAll

Collection<DeviceGroup> getAll()
Returns all DeviceGroups known to this provider.

Returns:
A Collection containing all known device groups.

find

DeviceGroup find(DeviceGroupPredicate predicate)
Tries to find a matching DeviceGroup using the provided DeviceGroupPredicate.

Parameters:
predicate - The predicate to find a match with.
Returns:
The matching DeviceGroup or null if none was found.


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.