public interface Group
EditableGroup interface.| Modifier and Type | Method and Description |
|---|---|
void |
addGroupListener(GroupChangeListener listener)
Register listener for changes in this group.
|
java.lang.String[] |
getCategories()
List of categories to which a group belongs.
|
Group |
getChildGroup(java.lang.String id)
Get child group by ID.
|
java.lang.String |
getDescription()
Get group description (if available).
|
java.lang.String |
getID()
Get group ID.
|
java.lang.String |
getName()
Get group user friendly name.
|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Get group properties.
|
java.lang.String |
getProperty(java.lang.String name)
Get the value of property with the given name.
|
GroupType |
getType()
Get group type.
|
boolean |
isEmpty()
Returns
true if the group has no components or child groups. |
<any> |
listChildGroups(java.lang.String ldapFilter)
List child groups IDs matching given LDAP filter.
|
<any> |
listComponents(java.lang.String cuFilter,
boolean includeChildGroups)
List components (IDs to device or component control units) in this group and its children.
|
<any> |
listComponents(java.lang.String cuType,
java.lang.String cuFilter,
boolean includeChildGroups)
List components (IDs to device or component control units) in this group and its children.
|
<any> |
listParentGroups()
List IDs of this group parent groups.
|
void |
removeGroupListener(GroupChangeListener listener)
Remove listener previously registered through the
addGroupListener(GroupChangeListener) methods. |
java.lang.String getID()
java.lang.String getName()
GroupType getType()
java.lang.String getDescription()
null if description is not availablejava.lang.String[] getCategories()
null if categories are not defined for this groupboolean isEmpty()
throws ManagementException
true if the group has no components or child groups.true - if the group has no components or child groups, false - otherwise.ManagementException - if system error occurs<any> listComponents(java.lang.String cuFilter,
boolean includeChildGroups)
throws ManagementException
cuFilter - control unit filter to be applied to components or null if all component IDs should be returnedincludeChildGroups - true, if component IDs in child groups should also be returned, false otherwiseManagementException - if system error occurs<any> listComponents(java.lang.String cuType,
java.lang.String cuFilter,
boolean includeChildGroups)
throws ManagementException
cuType - control unit typecuFilter - control unit filter to be applied to components or null if all component IDs should be returnedincludeChildGroups - true, if component IDs in child groups should also be returned, false otherwiseManagementException - if system error occurs<any> listChildGroups(java.lang.String ldapFilter)
throws ManagementException
getProperties()).ldapFilter - LDAP filter or nullManagementException<any> listParentGroups()
throws ManagementException
ManagementException - if system error occursGroup getChildGroup(java.lang.String id) throws ManagementException
id - child group IDManagementException - if system error occursjava.util.Map<java.lang.String,java.lang.String> getProperties()
null if the group has no properties setjava.lang.String getProperty(java.lang.String name)
name - property namenull if no property with the given name is foundvoid addGroupListener(GroupChangeListener listener)
listener - listenervoid removeGroupListener(GroupChangeListener listener)
addGroupListener(GroupChangeListener) methods.listener - listenerCopyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.