1 24 package javax.jcr.version; 25 26 import javax.jcr.*; 27 import java.util.*; 28 29 33 public interface Version { 34 35 43 public String getVersionName() throws RepositoryException; 44 45 53 public Calendar getVersionDate() throws RepositoryException; 54 55 63 public String [] getVersionLabels() throws RepositoryException; 64 65 73 public void addVersionLabel(String label) throws RepositoryException; 74 75 84 public void removeVersionLabel(String label) throws RepositoryException; 85 86 95 public Version[] getSuccessors() throws RepositoryException; 96 97 106 public Version[] getPredecessors() throws RepositoryException; 107 108 128 public void addSuccessor(Version v) throws VersionException, RepositoryException; 129 130 141 public void removeSuccessor(Version v) throws VersionException, RepositoryException; 142 } 143 | Popular Tags |