public interface RepositoryCache
Modifier and Type | Method and Description |
---|---|
void |
deleteApplicationVersion(String packageName,
String packageVersion,
String packageTimestamp)
Deletes the specified application version from the repository.
|
PackageArchive |
getApplicationArchive(String packageName,
String packageVersion,
String packageTimestamp)
Returns a
PackageArchive for the specified application. |
List<PackageWrapper> |
getApplications()
Returns all applications found in the repository.
|
Certification |
getCertification()
Returns the
Certification for the cached repository, if any |
PackageWrapper |
getPublishedApplicationWrapper(String name)
Returns the
PackageWrapper for the mentioned application. |
List<PackageInfo> |
getVersions(String name)
Returns all available versions of a application.
|
void |
reload()
Reloads the repository contents by clearing and updating the cache.
|
void reload() throws BusinessException
BusinessException
List<PackageWrapper> getApplications() throws BusinessException
BusinessException
PackageWrapper getPublishedApplicationWrapper(String name)
PackageWrapper
for the mentioned application.name
- The name of the application.PackageWrapper
List<PackageInfo> getVersions(String name) throws BusinessException
name
- The name of the application.ApplicationInfo
s.BusinessException
- if such a application does not existvoid deleteApplicationVersion(String packageName, String packageVersion, String packageTimestamp) throws BusinessException
packageName
- The application name.packageVersion
- The application version.packageTimestamp
- The application timestamp.BusinessException
- if such a application does not existPackageArchive getApplicationArchive(String packageName, String packageVersion, String packageTimestamp) throws BusinessException
PackageArchive
for the specified application.packageName
- The application name.packageVersion
- The application version.packageTimestamp
- The application timestamp.PackageArchive
.BusinessException
- if the archive was not found or is invalidCertification getCertification() throws BusinessException
Certification
for the cached repository, if anyCertification
BusinessException
- if an error occurred while building the certificationCopyright © 2011–2017 aiticon GmbH. All rights reserved.