public interface BundleService
Modifier and Type | Method and Description |
---|---|
BundleImp |
addBundle(BundleImp bundle,
boolean synchronizeToProjectVersion) |
void |
addBundleListener(BundleListener bundleListener) |
BundleContentImp |
addComponentVersionToBundle(int bundleId,
int mappingId) |
BundleContentImp |
addContentToBundle(BundleContentImp bundleContentImp) |
BundleImp |
addVersionedBundle(java.lang.String bundleName,
com.atlassian.jira.project.version.Version version) |
BundleImp |
cloneBundle(Bundle bundle) |
void |
componentUpdated(java.lang.Long componentId) |
void |
deleteBundle(int id) |
java.util.List<BundleImp> |
getAllBundles() |
java.util.List<BundleImp> |
getAllBundles(java.lang.Long projectId) |
Bundle |
getBundle(int id) |
BundleImp |
getBundle(java.lang.String bundleName)
Deprecated.
|
BundleContent |
getBundleContent(int id) |
java.util.Optional<BundleContent> |
getBundleContent(int bundleId,
long componentId,
long versionId) |
BundleContent[] |
getBundleContent(long componentId,
long versionId) |
BundleContent[] |
getBundleContentWithVersion(long versionId) |
java.util.Optional<BundleImp> |
getBundleFromVersion(java.lang.Long versionId) |
java.util.Optional<BundleImp> |
getBundleImp(int id) |
java.util.List<BundleImp> |
getBundles(BundleNameFormatter bundleNameFormatter,
java.util.Collection<com.atlassian.jira.project.version.Version> versions,
java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> components) |
java.util.List<BundleImp> |
getBundles(java.util.Collection<com.atlassian.jira.project.version.Version> versions,
java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> components) |
java.util.List<BundleImp> |
getBundles(java.lang.String bundleName) |
java.util.List<BundleImp> |
getBundlesForVersion(long versionId) |
java.util.List<BundleImp> |
getBundlesFromQuery(net.java.ao.Query query) |
Bundle[] |
getBundlesWithName(java.lang.String bundleName) |
Bundle[] |
getBundlesWithVersion(long versionId) |
java.util.List<BundleContentImp> |
getComponentsOfBundle(int bundleId) |
ReleaseProgress |
getComponentVersionReleaseProgress(long componentId,
long versionId) |
ReleaseProgress |
getReleaseProgress(int id) |
void |
removeBundleListener(BundleListener bundleListener) |
void |
removeContentFromBundle(int id) |
BundleImp |
toBundleImp(Bundle bundle) |
BundleImp |
updateBundle(BundleImp newBundle,
boolean synchronizeToProjectVersion) |
BundleContent |
updateBundleContent(BundleContentImp newBundle) |
void |
updateVersionOfComponent(int bundleId,
long componentId,
long versionId) |
Errors |
validateBundle(BundleImp bundle) |
Errors |
validateBundleContent(BundleContentImp bundleContent) |
void |
versionUpdated(java.lang.Long versionId) |
BundleContent[] getBundleContentWithVersion(long versionId)
Bundle[] getBundlesWithVersion(long versionId)
java.util.Optional<BundleImp> getBundleFromVersion(java.lang.Long versionId) throws NotFoundException
NotFoundException
BundleContent updateBundleContent(BundleContentImp newBundle) throws NotFoundException
NotFoundException
BundleImp cloneBundle(Bundle bundle) throws NotFoundException
NotFoundException
@Nonnull java.util.List<BundleImp> getBundles(java.util.Collection<com.atlassian.jira.project.version.Version> versions, java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> components)
java.util.List<BundleImp> getAllBundles(java.lang.Long projectId)
void deleteBundle(int id) throws NotFoundException
NotFoundException
Bundle getBundle(int id) throws NotFoundException
NotFoundException
java.util.Optional<BundleImp> getBundleImp(int id) throws NotFoundException
NotFoundException
BundleImp addVersionedBundle(java.lang.String bundleName, com.atlassian.jira.project.version.Version version)
@Deprecated BundleImp getBundle(java.lang.String bundleName)
java.util.List<BundleImp> getBundles(java.lang.String bundleName)
java.util.List<BundleImp> getBundlesForVersion(long versionId)
@Nonnull java.util.List<BundleImp> getBundles(BundleNameFormatter bundleNameFormatter, java.util.Collection<com.atlassian.jira.project.version.Version> versions, java.util.Collection<com.atlassian.jira.bc.project.component.ProjectComponent> components)
BundleImp updateBundle(BundleImp newBundle, boolean synchronizeToProjectVersion) throws NotFoundException
NotFoundException
BundleContentImp addComponentVersionToBundle(int bundleId, int mappingId) throws NotFoundException
NotFoundException
BundleContentImp addContentToBundle(BundleContentImp bundleContentImp) throws NotFoundException
NotFoundException
java.util.List<BundleImp> getAllBundles()
java.util.List<BundleContentImp> getComponentsOfBundle(int bundleId)
void removeContentFromBundle(int id) throws NotFoundException
NotFoundException
void updateVersionOfComponent(int bundleId, long componentId, long versionId) throws NotFoundException
NotFoundException
java.util.List<BundleImp> getBundlesFromQuery(net.java.ao.Query query)
BundleContent getBundleContent(int id) throws NotFoundException
NotFoundException
Errors validateBundleContent(BundleContentImp bundleContent)
Bundle[] getBundlesWithName(java.lang.String bundleName)
BundleContent[] getBundleContent(long componentId, long versionId)
java.util.Optional<BundleContent> getBundleContent(int bundleId, long componentId, long versionId)
void addBundleListener(BundleListener bundleListener)
void removeBundleListener(BundleListener bundleListener)
ReleaseProgress getReleaseProgress(int id) throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchException
ReleaseProgress getComponentVersionReleaseProgress(long componentId, long versionId) throws com.atlassian.jira.issue.search.SearchException
com.atlassian.jira.issue.search.SearchException
void versionUpdated(java.lang.Long versionId)
void componentUpdated(java.lang.Long componentId)