|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.config.managedconfiguration.DefaultManagedConfigurationItemStore
public class DefaultManagedConfigurationItemStore
The default implementation of ManagedConfigurationItemStore
. Could perhaps use a caching layer.
Field Summary | |
---|---|
static String |
ENTITY_NAME
|
Constructor Summary | |
---|---|
DefaultManagedConfigurationItemStore(OfBizDelegator ofBizDelegator)
|
Method Summary | |
---|---|
boolean |
deleteManagedConfigurationItem(ManagedConfigurationItem item)
Remove the specified ManagedConfigurationItem . |
ManagedConfigurationItem |
getManagedConfigurationItem(String itemId,
ManagedConfigurationItemType type)
Retrieve the ManagedConfigurationItem description of the specified item ID and type. |
Collection<ManagedConfigurationItem> |
getManagedConfigurationItems(ManagedConfigurationItemType type)
Retrieve all the ManagedConfigurationItem s of the specified type. |
ManagedConfigurationItem |
updateManagedConfigurationItem(ManagedConfigurationItem item)
Persist the specified ManagedConfigurationItem . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ENTITY_NAME
Constructor Detail |
---|
public DefaultManagedConfigurationItemStore(OfBizDelegator ofBizDelegator)
Method Detail |
---|
@Nonnull public ManagedConfigurationItem updateManagedConfigurationItem(@Nonnull ManagedConfigurationItem item)
ManagedConfigurationItemStore
ManagedConfigurationItem
.
updateManagedConfigurationItem
in interface ManagedConfigurationItemStore
item
- the item
public boolean deleteManagedConfigurationItem(@Nonnull ManagedConfigurationItem item)
ManagedConfigurationItemStore
ManagedConfigurationItem
.
deleteManagedConfigurationItem
in interface ManagedConfigurationItemStore
item
- the item
@Nullable public ManagedConfigurationItem getManagedConfigurationItem(@Nonnull String itemId, @Nonnull ManagedConfigurationItemType type)
ManagedConfigurationItemStore
ManagedConfigurationItem
description of the specified item ID and type.
getManagedConfigurationItem
in interface ManagedConfigurationItemStore
itemId
- the item ID; note that each type describes its IDs individuallytype
- the type
@Nonnull public Collection<ManagedConfigurationItem> getManagedConfigurationItems(@Nonnull ManagedConfigurationItemType type)
ManagedConfigurationItemStore
ManagedConfigurationItem
s of the specified type. This includes items which may have
been owned by a plugin which is no longer installed.
getManagedConfigurationItems
in interface ManagedConfigurationItemStore
type
- the type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |