1 package org.exoplatform.services.jcr.impl.core.version; 2 3 4 import javax.jcr.version.VersionException; 5 import javax.jcr.RepositoryException; 6 import java.util.Calendar ; 7 import javax.jcr.version.Version; 8 9 13 public class VersionImpl implements Version { 14 15 23 public String getVersionName() throws RepositoryException { 24 throw new RepositoryException("Version is not supported yet!"); 25 } 26 27 35 public Calendar getVersionDate() throws RepositoryException { 36 throw new RepositoryException("Version is not supported yet!"); 37 } 38 39 47 public String [] getVersionLabels() throws RepositoryException { 48 throw new RepositoryException("Version is not supported yet!"); 49 } 50 51 59 public void addVersionLabel(String label) throws RepositoryException { 60 throw new RepositoryException("Version is not supported yet!"); 61 } 62 63 72 public void removeVersionLabel(String label) throws RepositoryException { 73 throw new RepositoryException("Version is not supported yet!"); 74 } 75 76 85 public Version[] getSuccessors() throws RepositoryException { 86 throw new RepositoryException("Version is not supported yet!"); 87 } 88 89 98 public Version[] getPredecessors() throws RepositoryException { 99 throw new RepositoryException("Version is not supported yet!"); 100 } 101 102 122 public void addSuccessor(Version v) throws VersionException, RepositoryException { 123 throw new RepositoryException("Version is not supported yet!"); 124 } 125 126 137 public void removeSuccessor(Version v) throws VersionException, RepositoryException { 138 throw new RepositoryException("Version is not supported yet!"); 139 } 140 } 141 | Popular Tags |