Class ExplorerResourcesDAO.VersionInformation
- java.lang.Object
-
- org.ametys.plugins.explorer.resources.actions.ExplorerResourcesDAO.VersionInformation
-
- Enclosing class:
- ExplorerResourcesDAO
protected static class ExplorerResourcesDAO.VersionInformation extends Object
Bean for version information
-
-
Constructor Summary
Constructors Constructor Description VersionInformation(String rawName, Date creationDate)
Creates aExplorerResourcesDAO.VersionInformation
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addLabel(String label)
Add a label to this version.Date
getCreatedAt()
Retrieves the creation date.Set<String>
getLabels()
Retrieves the labels associated with this version.String
getVersionName()
Retrieves the version name.String
getVersionRawName()
Retrieves the version raw name.
-
-
-
Constructor Detail
-
VersionInformation
public VersionInformation(String rawName, Date creationDate) throws RepositoryException
Creates aExplorerResourcesDAO.VersionInformation
.- Parameters:
rawName
- the revision name.creationDate
- the revision creation date.- Throws:
RepositoryException
- if an error occurs.
-
-
Method Detail
-
getVersionName
public String getVersionName()
Retrieves the version name.- Returns:
- the version name.
-
getVersionRawName
public String getVersionRawName()
Retrieves the version raw name.- Returns:
- the version raw name.
-
getCreatedAt
public Date getCreatedAt() throws RepositoryException
Retrieves the creation date.- Returns:
- the creation date.
- Throws:
RepositoryException
- if an error occurs.
-
getLabels
public Set<String> getLabels()
Retrieves the labels associated with this version.- Returns:
- the labels.
-
-