Package org.apache.maven.archiva.database

Examples of org.apache.maven.archiva.database.RepositoryContentStatisticsDAO.deleteRepositoryContentStatistics()


        if ( contentStats != null )
        {
            for ( RepositoryContentStatistics stats : contentStats )
            {
                repoContentStatsDao.deleteRepositoryContentStatistics( stats );
            }
        }
    }

    private void trimAllRequestParameterValues()
View Full Code Here


        if ( contentStats != null )
        {
            for ( RepositoryContentStatistics stats : contentStats )
            {
                repoContentStatsDao.deleteRepositoryContentStatistics( stats );
            }
        }
  }

    public String getRepoid()
View Full Code Here

        RepositoryContentStatistics stats = (RepositoryContentStatistics) results.get( 0 );
        assertEquals( "internal", stats.getRepositoryId() );

        // delete
        repoContentStatisticsDAO.deleteRepositoryContentStatistics( stats );

        assertEquals( 0, repoContentStatisticsDAO.queryRepositoryContentStatistics(
            new RepositoryContentStatisticsByRepositoryConstraint( "internal" ) ).size() );
    }
View Full Code Here

        RepositoryContentStatistics stats = (RepositoryContentStatistics) results.get( 0 );
        assertEquals( "internal", stats.getRepositoryId() );

        // delete
        repoContentStatisticsDAO.deleteRepositoryContentStatistics( stats );

        assertEquals( 0, repoContentStatisticsDAO.queryRepositoryContentStatistics(
            new RepositoryContentStatisticsByRepositoryConstraint( "internal" ) ).size() );
    }
View Full Code Here

        if ( contentStats != null )
        {
            for ( RepositoryContentStatistics stats : contentStats )
            {
                repoContentStatsDao.deleteRepositoryContentStatistics( stats );
            }
        }
    }

    private void trimAllRequestParameterValues()
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.