Class Version


  • @AlfrescoPublicApi
    public class Version
    extends Object
    Recordable version class
    Since:
    2.3
    Author:
    Tuna Aksoy
    • Constructor Detail

      • Version

        public Version​(String policy,
                       boolean selected)
        Constructor
        Parameters:
        policy - The version policy
        selected - Is the version selected
    • Method Detail

      • getPolicy

        public String getPolicy()
        Gets the version policy
        Returns:
        The version policy
      • isSelected

        public boolean isSelected()
        Is the version selected
        Returns:
        true if the version is selected, false otherwise