Package org.apache.maven.archiva.database.constraints

Examples of org.apache.maven.archiva.database.constraints.ArtifactVersionsConstraint


    private SyndFeed processNewVersionsOfArtifact( String repoId, String groupId, String artifactId )
        throws ArchivaDatabaseException
    {
                   
        Constraint artifactVersions = new ArtifactVersionsConstraint( repoId, groupId, artifactId, "whenGathered" );
        List<ArchivaArtifact> artifacts = artifactDAO.queryArtifacts( artifactVersions );
       
        List<RssFeedEntry> entries = processData( artifacts, false );
        String key = groupId + ":" + artifactId;
       
View Full Code Here


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

    private SyndFeed processNewVersionsOfArtifact( String repoId, String groupId, String artifactId )
        throws ArchivaDatabaseException
    {
                   
        Constraint artifactVersions = new ArtifactVersionsConstraint( repoId, groupId, artifactId, "whenGathered" );
        List<ArchivaArtifact> artifacts = artifactDAO.queryArtifacts( artifactVersions );
       
        List<RssFeedEntry> entries = processData( artifacts, false );
        String key = groupId + ":" + artifactId;
       
View Full Code Here

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

            updateMetadata( metadata, metadataFile, lastUpdatedTimestamp );

            ArtifactVersionsConstraint constraint =
                new ArtifactVersionsConstraint( repositoryId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;

            try
            {
                artifacts = artifactDAO.queryArtifacts( constraint );
View Full Code Here

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

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

            updateMetadata( metadata, metadataFile, lastUpdatedTimestamp );

            ArtifactVersionsConstraint constraint =
                new ArtifactVersionsConstraint( repositoryId, groupId, artifactId, false );
            List<ArchivaArtifact> artifacts = null;

            try
            {
                artifacts = artifactDAO.queryArtifacts( constraint );
View Full Code Here

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

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

TOP

Related Classes of org.apache.maven.archiva.database.constraints.ArtifactVersionsConstraint

Copyright © 2018 www.massapicom. 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.