Examples of deleteVersion()


Examples of org.apache.maven.archiva.repository.ManagedRepositoryContent.deleteVersion()

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
           
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

Examples of org.apache.maven.archiva.repository.ManagedRepositoryContent.deleteVersion()

            {
                throw new ContentNotFoundException( groupId + ":" + artifactId + ":" + version );
            }

            // delete from file system
            repository.deleteVersion( ref );

            File metadataFile = getMetadata( targetPath.getAbsolutePath() );
            ArchivaRepositoryMetadata metadata = getMetadata( metadataFile );

            updateMetadata( metadata, metadataFile, lastUpdatedTimestamp );
View Full Code Here

Examples of org.apache.maven.archiva.repository.ManagedRepositoryContent.deleteVersion()

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
                  
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

Examples of org.apache.maven.archiva.repository.ManagedRepositoryContent.deleteVersion()

            ref.setGroupId( groupId );
            ref.setArtifactId( artifactId );
            ref.setVersion( version );
           
            // delete from file system
            repoContent.deleteVersion( ref );
           
            ArtifactVersionsConstraint constraint = new ArtifactVersionsConstraint( repoId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;
           
            try
View Full Code Here

Examples of org.davinci.server.review.user.IDesignerUser.deleteVersion()

      reviewManager.saveVersionFile(du);
    } else if ("publish".equalsIgnoreCase(type)) {
      version.setDraft(false);
      reviewManager.publish(du, version);
    } else if ("delete".equalsIgnoreCase(type)) {
      du.deleteVersion(vTime);
      reviewManager.saveVersionFile(du);
      IDavinciProject project = new DavinciProject();
      project.setOwnerId(du.getName());
      ReviewCacheManager.$.clearReviewByProject(project);
      // TODO delete the version folder
View Full Code Here

Examples of org.xwiki.test.ui.po.HistoryPane.deleteVersion()

        vp.waitForDocExtraPaneActive("comments");

        // Verify and delete the latest version.
        HistoryPane historyTab = vp.openHistoryDocExtraPane();
        Assert.assertEquals("2.1", historyTab.getCurrentVersion());
        historyTab = historyTab.deleteVersion("2.1");

        // Verify that the current version is now the previous one.
        Assert.assertEquals("1.1", historyTab.getCurrentVersion());
        Assert.assertEquals("Administrator", historyTab.getCurrentAuthor());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.