Class ExplorerResourcesDAO.VersionInformation
java.lang.Object
org.ametys.plugins.explorer.resources.actions.ExplorerResourcesDAO.VersionInformation
- Enclosing class:
- ExplorerResourcesDAO
Bean for version information
-
Constructor Summary
ConstructorDescriptionVersionInformation
(String rawName, Date creationDate) Creates aExplorerResourcesDAO.VersionInformation
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a label to this version.Retrieves the creation date.Retrieves the labels associated with this version.Retrieves the version name.Retrieves the version raw name.
-
Constructor Details
-
VersionInformation
Creates aExplorerResourcesDAO.VersionInformation
.- Parameters:
rawName
- the revision name.creationDate
- the revision creation date.- Throws:
javax.jcr.RepositoryException
- if an error occurs.
-
-
Method Details
-
getVersionName
Retrieves the version name.- Returns:
- the version name.
-
getVersionRawName
Retrieves the version raw name.- Returns:
- the version raw name.
-
getCreatedAt
Retrieves the creation date.- Returns:
- the creation date.
- Throws:
javax.jcr.RepositoryException
- if an error occurs.
-
getLabels
Retrieves the labels associated with this version.- Returns:
- the labels.
-
addLabel
Add a label to this version.- Parameters:
label
- the label.
-