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
BusinessExceptionList<PackageWrapper> getApplications() throws BusinessException
BusinessExceptionPackageWrapper getPublishedApplicationWrapper(String name)
PackageWrapper for the mentioned application.name - The name of the application.PackageWrapperList<PackageInfo> getVersions(String name) throws BusinessException
name - The name of the application.ApplicationInfos.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 anyCertificationBusinessException - if an error occurred while building the certificationCopyright © 2011–2018 aiticon GmbH. All rights reserved.