public interface AoBackedManager<O,A>
| Modifier and Type | Method and Description |
|---|---|
O |
create(O original)
Create a new Object of kind O and stores it on AO
|
A |
createAo(O original)
Create a new Object of kind O and stores it on AO
|
void |
delete(A object)
Deletes an existing object using the AO reference
|
boolean |
delete(UUID id)
Deletes an existing object
|
int |
deleteAll()
Deletes all objects.
|
List<O> |
getAll()
Gets all objects for this manager
|
A |
getAoById(UUID id)
Find an object by its unique id.
|
O |
getById(UUID id)
Find an object by its unique id.
|
O |
getCloneByModuleCompleteKey(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
Find an object by its module complete key (only for plugin backed objects)
|
List<O> |
getNonClonesByModuleCompleteKey(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
Find an object by its module complete key (only for plugin backed objects)
|
O |
update(O object)
Updates an existing object.
|
A |
updateAo(O object)
Updates an existing object.
|
@Nullable O getCloneByModuleCompleteKey(@Nonnull com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
@Nonnull List<O> getNonClonesByModuleCompleteKey(@Nonnull com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey)
@Nonnull List<O> getAll()
@Nonnull O create(@Nonnull O original)
@Nonnull A createAo(@Nonnull O original)
boolean delete(@Nonnull UUID id)
int deleteAll()
Copyright © 2017 Atlassian. All rights reserved.