Interface ManagedConfigurationItemStore
- All Known Implementing Classes:
DefaultManagedConfigurationItemStore
public interface ManagedConfigurationItemStore
Store layer of
ManagedConfigurationItemService
. Plugin developers should not need to invoke these methods
directly.- Since:
- v5.2
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Remove the specifiedManagedConfigurationItem
.getManagedConfigurationItem
(String itemId, ManagedConfigurationItemType type) Retrieve theManagedConfigurationItem
description of the specified item ID and type.Retrieve all theManagedConfigurationItem
s of the specified type.Persist the specifiedManagedConfigurationItem
.
-
Method Details
-
updateManagedConfigurationItem
@Nonnull ManagedConfigurationItem updateManagedConfigurationItem(@Nonnull ManagedConfigurationItem item) Persist the specifiedManagedConfigurationItem
.- Parameters:
item
- the item- Returns:
- the persisted item
- Throws:
DataAccessException
-
deleteManagedConfigurationItem
Remove the specifiedManagedConfigurationItem
.- Parameters:
item
- the item- Returns:
- true if the item was removed; false otherwise
-
getManagedConfigurationItem
@Nullable ManagedConfigurationItem getManagedConfigurationItem(@Nonnull String itemId, @Nonnull ManagedConfigurationItemType type) Retrieve theManagedConfigurationItem
description of the specified item ID and type.- Parameters:
itemId
- the item ID; note that each type describes its IDs individuallytype
- the type- Returns:
- the item if found; null otherwise
-
getManagedConfigurationItems
@Nonnull Collection<ManagedConfigurationItem> getManagedConfigurationItems(@Nonnull ManagedConfigurationItemType type) Retrieve all theManagedConfigurationItem
s of the specified type. This includes items which may have been owned by a plugin which is no longer installed.- Parameters:
type
- the type- Returns:
- the items
-