public interface PanelsProvidersManager
Modifier and Type | Method and Description |
---|---|
String[] |
enumerateDisabledProvidersGroups()
Enumerates all existing groups of providers containing only disabled panel Instances
|
String[] |
enumerateProvidersGroups()
Enumerates all existing groups of providers
|
String[] |
enumerateProvidersGroups(Workspace workspace)
Enumerates all existing groups of providers containing panel Instances allowed by given workspace
|
PanelProvider[] |
getDisabledProviders() |
PanelProvider[] |
getDisabledProvidersInGroup(String group)
Returns all providers belonging to a given group, sorted by description, but
disabled by license.
|
String |
getGroupDisplayName(String groupId)
Get the group display text
|
String |
getGroupDisplayName(String groupId,
Locale locale)
Get the group display text
|
PanelProvider |
getInvalidPanelProvider(String id)
Returns a panel provider mocked instance for dealing with those panels which provider doesn't exists.
|
PanelProvider |
getProvider(String id)
Returns a panel provider by ID
|
String |
getProviderGroupImage(String groupId) |
PanelProvider[] |
getProviders()
Returns all panels providers installed in the system
|
PanelProvider[] |
getProviders(Workspace workspace)
Returns all panels providers installed in the system allowed for given workspace
|
PanelProvider[] |
getProvidersInGroup(String group)
Returns all providers belonging to a given group, sorted by description
|
PanelProvider[] |
getProvidersInGroup(String group,
Workspace workspace)
Returns all providers belonging to a given group, sorted by description,
and allowed by given workspace
|
PanelProvider[] getProviders()
PanelProvider[] getProviders(Workspace workspace)
workspace
- Workspace that allows returned providers.PanelProvider getProvider(String id) throws Exception
id
- Provider id to returnException
String[] enumerateProvidersGroups()
String[] enumerateProvidersGroups(Workspace workspace)
workspace
- Workspace that allows returned providers.String getGroupDisplayName(String groupId)
groupId
- Group id to useString getGroupDisplayName(String groupId, Locale locale)
groupId
- Group id to uselocale
- Locale in which the description has to bePanelProvider[] getProvidersInGroup(String group)
group
- or null if we want all panels NOT belonging to any groupPanelProvider[] getProvidersInGroup(String group, Workspace workspace)
group
- or null if we want all panels NOT belonging to any groupworkspace
- Workspace that allows returned providers.PanelProvider[] getDisabledProviders()
PanelProvider[] getDisabledProvidersInGroup(String group)
group
- or null if we want all panels NOT belonging to any groupString[] enumerateDisabledProvidersGroups()
PanelProvider getInvalidPanelProvider(String id) throws Exception
Exception
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.