11/*
2- * Copyright 2013-2019 , Andrew Lindesay
2+ * Copyright 2013-2021 , Andrew Lindesay
33 * Distributed under the terms of the MIT License.
44 */
55
@@ -22,63 +22,63 @@ public interface PkgApi {
2222 * packages.</p>
2323 */
2424
25- UpdatePkgCategoriesResult updatePkgCategories (UpdatePkgCategoriesRequest updatePkgCategoriesRequest ) throws ObjectNotFoundException ;
25+ UpdatePkgCategoriesResult updatePkgCategories (UpdatePkgCategoriesRequest updatePkgCategoriesRequest );
2626
2727 /**
2828 * <p>This method can be invoked to get a list of all of the packages that match some search critera in the
2929 * request.</p>
3030 */
3131
32- SearchPkgsResult searchPkgs (SearchPkgsRequest request ) throws ObjectNotFoundException ;
32+ SearchPkgsResult searchPkgs (SearchPkgsRequest request );
3333
3434 /**
3535 * <p>This method will return a package and the specified versions. It will throw an
3636 * {@link ObjectNotFoundException} if the package was not able to be located.</p>
3737 */
3838
39- GetPkgResult getPkg (GetPkgRequest request ) throws ObjectNotFoundException ;
39+ GetPkgResult getPkg (GetPkgRequest request );
4040
4141 /**
4242 * <p>Returns a list of meta-data regarding the icon data related to the pkg. This does not contain the icon
4343 * data itself; just the meta data.</p>
4444 */
4545
46- GetPkgIconsResult getPkgIcons (GetPkgIconsRequest request ) throws ObjectNotFoundException ;
46+ GetPkgIconsResult getPkgIcons (GetPkgIconsRequest request );
4747
4848 /**
4949 * <p>This request will configure the icons for the package nominated. Note that only certain configurations of
5050 * icon data may be acceptable; for example, it will require a 16x16px and 32x32px bitmap image.</p>
5151 */
5252
53- ConfigurePkgIconResult configurePkgIcon (ConfigurePkgIconRequest request ) throws ObjectNotFoundException , BadPkgIconException ;
53+ ConfigurePkgIconResult configurePkgIcon (ConfigurePkgIconRequest request ) throws BadPkgIconException ;
5454
5555 /**
5656 * <p>This request will remove any icons from the package.</p>
5757 */
5858
59- RemovePkgIconResult removePkgIcon (RemovePkgIconRequest request ) throws ObjectNotFoundException ;
59+ RemovePkgIconResult removePkgIcon (RemovePkgIconRequest request );
6060
6161 /**
6262 * <p>This method will get the details of a screenshot image.</p>
6363 */
6464
65- GetPkgScreenshotResult getPkgScreenshot (GetPkgScreenshotRequest request ) throws ObjectNotFoundException ;
65+ GetPkgScreenshotResult getPkgScreenshot (GetPkgScreenshotRequest request );
6666
6767 /**
6868 * <p>This method will return an ordered list of the screenshots that are available for this package. It will
6969 * throw an {@link ObjectNotFoundException} in the case where the
7070 * nominated package is not able to be found.</p>
7171 */
7272
73- GetPkgScreenshotsResult getPkgScreenshots (GetPkgScreenshotsRequest getPkgScreenshotsRequest ) throws ObjectNotFoundException ;
73+ GetPkgScreenshotsResult getPkgScreenshots (GetPkgScreenshotsRequest getPkgScreenshotsRequest );
7474
7575 /**
7676 * <p>This method will remove the nominated screenshot from the package. If the screenshot is not able to be
7777 * found using the code supplied, the method will throw an instance of
7878 * {@link ObjectNotFoundException}.</p>
7979 */
8080
81- RemovePkgScreenshotResult removePkgScreenshot (RemovePkgScreenshotRequest removePkgScreenshotRequest ) throws ObjectNotFoundException ;
81+ RemovePkgScreenshotResult removePkgScreenshot (RemovePkgScreenshotRequest removePkgScreenshotRequest );
8282
8383 /**
8484 * <p>This method will reorder the screenshots related to the nominated package. If any of the screenshots are
@@ -87,20 +87,20 @@ public interface PkgApi {
8787 * {@link ObjectNotFoundException} will be thrown.</p>
8888 */
8989
90- ReorderPkgScreenshotsResult reorderPkgScreenshots (ReorderPkgScreenshotsRequest reorderPkgScreenshotsRequest ) throws ObjectNotFoundException ;
90+ ReorderPkgScreenshotsResult reorderPkgScreenshots (ReorderPkgScreenshotsRequest reorderPkgScreenshotsRequest );
9191
9292 /**
9393 * <p>This method will update the localizations supplied for the package identified in the request. In order to
9494 * remove a localization for a given language, supply the localization data for that language as NULL.</p>
9595 */
9696
97- UpdatePkgLocalizationResult updatePkgLocalization (UpdatePkgLocalizationRequest updatePkgLocalizationRequest ) throws ObjectNotFoundException ;
97+ UpdatePkgLocalizationResult updatePkgLocalization (UpdatePkgLocalizationRequest updatePkgLocalizationRequest );
9898
9999 /**
100100 * <p>This method will return all of the localizations that are specific to the package identified in the request.</p>
101101 */
102102
103- GetPkgLocalizationsResult getPkgLocalizations (GetPkgLocalizationsRequest getPkgLocalizationsRequest ) throws ObjectNotFoundException ;
103+ GetPkgLocalizationsResult getPkgLocalizations (GetPkgLocalizationsRequest getPkgLocalizationsRequest );
104104
105105 /**
106106 * <p>This method will return the package version localizations for the nominated package. It will return
@@ -109,14 +109,14 @@ public interface PkgApi {
109109 * context of a specific package version rather than the latest.</p>
110110 */
111111
112- GetPkgVersionLocalizationsResult getPkgVersionLocalizations (GetPkgVersionLocalizationsRequest getPkgVersionLocalizationsRequest ) throws ObjectNotFoundException ;
112+ GetPkgVersionLocalizationsResult getPkgVersionLocalizations (GetPkgVersionLocalizationsRequest getPkgVersionLocalizationsRequest );
113113
114114 /**
115115 * <p>This method will update the prominence of the nominated package. The prominence is identified by the
116116 * ordering of the prominence as a natural identifier.</p>
117117 */
118118
119- UpdatePkgProminenceResult updatePkgProminence (UpdatePkgProminenceRequest request ) throws ObjectNotFoundException ;
119+ UpdatePkgProminenceResult updatePkgProminence (UpdatePkgProminenceRequest request );
120120
121121 /**
122122 * <p>The package might have a change log associated with it. This is just a long string with notes
@@ -125,7 +125,7 @@ public interface PkgApi {
125125 * </p>
126126 */
127127
128- GetPkgChangelogResult getPkgChangelog (GetPkgChangelogRequest request ) throws ObjectNotFoundException ;
128+ GetPkgChangelogResult getPkgChangelog (GetPkgChangelogRequest request );
129129
130130 /**
131131 * <p>The package is able to have a change log associated with it. This method will update the change
@@ -134,13 +134,13 @@ public interface PkgApi {
134134 * @throws ObjectNotFoundException if the package is not able to be found.
135135 */
136136
137- UpdatePkgChangelogResult updatePkgChangelog (UpdatePkgChangelogRequest request ) throws ObjectNotFoundException ;
137+ UpdatePkgChangelogResult updatePkgChangelog (UpdatePkgChangelogRequest request );
138138
139139 /**
140140 * <p>This method will allow a package version to be updated.</p>
141141 * @throws ObjectNotFoundException if the package version is not able to be found.
142142 */
143143
144- UpdatePkgVersionResult updatePkgVersion (UpdatePkgVersionRequest request ) throws ObjectNotFoundException ;
144+ UpdatePkgVersionResult updatePkgVersion (UpdatePkgVersionRequest request );
145145
146146}
0 commit comments