Interface IPublishedProjectRepository
public interface IPublishedProjectRepository
-
Method Summary
Modifier and TypeMethodDescriptionReturns the environmentName for which this repository can read projects from the publisher client databasegetProject(com.aquima.interactions.foundation.ApplicationID applicationId, com.aquima.interactions.foundation.Version version) Returns the published project for the given ApplicationId and VersiongetProject(String projectName, String revision) Returns the published project for the given projectName and revisionReturns a list of all published projects.Returns a list withIPublishedProjectfor all projects in the repository, containing only the project(name), exportDate, revision and version.
-
Method Details
-
getEnvironmentName
String getEnvironmentName()Returns the environmentName for which this repository can read projects from the publisher client database- Returns:
- the environmentName for which this repository can read projects from the publisher client database
-
getProjects
List<IPublishedProject> getProjects()Returns a list of all published projects. The list is sorted ascending on exportDate.- Returns:
- a sorted list of PublishedProject
-
getProjectsIdentifyingData
List<IPublishedProject> getProjectsIdentifyingData()Returns a list withIPublishedProjectfor all projects in the repository, containing only the project(name), exportDate, revision and version. The list is sorted ascending on exportDate.- Returns:
- a sorted list of (partially mapped) PublishedProject
-
getProject
IPublishedProject getProject(com.aquima.interactions.foundation.ApplicationID applicationId, com.aquima.interactions.foundation.Version version) Returns the published project for the given ApplicationId and Version- Parameters:
applicationId- the id of the project to retrieveversion- the version of the project to retrieve- Returns:
- the published project for the given ApplicationId and Version
-
getProject
Returns the published project for the given projectName and revision- Parameters:
projectName- the name of the project to retrieverevision- the revision of the project to retrieve- Returns:
- the published project for the given projectName and revision
-