@ProviderType
public interface GroupedServicesSelector
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getAllGroups()
Returns all available groups.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getGroupsForResource()
Returns the groups/services which are stored in a property of the content
node of of the current
Page resource. |
java.lang.String |
getInheritedPath()
Returns the path of the resource of type
cq:Page from where the
services are inherited or null if values are not inherited. |
boolean |
isInherited()
Checks if the services are inherited.
|
boolean |
isWriteAllowed()
Checks if the user bound to the current request is allowed to write the
property this widget is storing its state to.
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getAllGroups()
{
title: 'My Group',
description: 'Sample group',
path: '/path/to/group',
services: [{
title: 'My service',
description: 'Sample service',
path: '/path/to/service'
}]
}
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getGroupsForResource()
Page resource. The list
of groups contains maps with the following keys.
{
title: 'My Group',
description: 'Sample group',
path: '/path/to/group',
inherited: false,
services: [{
title: 'My service',
description: 'Sample service',
path: '/path/to/service',
selected: false
}]
}
boolean isInherited()
true if services are inherited, false otherwise.java.lang.String getInheritedPath()
cq:Page from where the
services are inherited or null if values are not inherited.nullboolean isWriteAllowed()
true will be returned otherwise false.true if user is allowed to write, false
otherwise.Copyright © 2010 - 2023 Adobe. All Rights Reserved