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

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


    public void prepare()
    {
        repositoryIds.add( ALL_REPOSITORIES );
        repositoryIds.addAll( dao
            .query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );
    }
View Full Code Here


    public void prepare()
    {
        repositoryIds = new ArrayList<String>();
        repositoryIds.add( ALL_REPOSITORIES ); // comes first to be first in the list
        repositoryIds.addAll(
            dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );
    }
View Full Code Here

    public void prepare()
    {
        repositoryIds = new ArrayList<String>();
        repositoryIds.add( ALL_REPOSITORIES ); // comes first to be first in the list
        repositoryIds.addAll(
            dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );
    }
View Full Code Here

    @SuppressWarnings("unchecked")
    public void prepare()
    {
        repositoryIds = new ArrayList<String>();
        repositoryIds.add( ALL_REPOSITORIES ); // comes first to be first in the list
        repositoryIds.addAll( (List<String>) dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(),
                                                                                   "repositoryId" ) ) );
       
        availableRepositories = new ArrayList<String>();
    
        // remove selected repositories in the option for the statistics report
View Full Code Here

    public String execute()
        throws Exception
    {
        repositoryIds.add( "" );
        repositoryIds.addAll(
            dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );

        return SUCCESS;
    }
View Full Code Here

    public String execute()
        throws Exception
    {
        repositoryIds.add( ALL_REPOSITORIES );
        repositoryIds.addAll(
            dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );

        return SUCCESS;
    }
View Full Code Here

    public void prepare()
    {
        repositoryIds = new ArrayList<String>();
        repositoryIds.add( ALL_REPOSITORIES ); // comes first to be first in the list
        repositoryIds.addAll(
            dao.query( new UniqueFieldConstraint( RepositoryProblem.class.getName(), "repositoryId" ) ) );
       
        availableRepositories = new ArrayList<String>();
    
        // remove selected repositories in the option for the statistics report
        availableRepositories.addAll( archivaConfiguration.getConfiguration().getManagedRepositoriesAsMap().keySet() );       
View Full Code Here

TOP

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

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.