1 package org.apache.maven.archiva.web.action.admin.repositories;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
22 import java.io.Serializable;
23 import java.util.List;
25 import org.apache.maven.archiva.database.ArchivaDAO;
26 import org.apache.maven.archiva.database.ArtifactDAO;
27 import org.apache.maven.archiva.database.ProjectModelDAO;
28 import org.apache.maven.archiva.database.RepositoryContentStatisticsDAO;
29 import org.apache.maven.archiva.database.RepositoryProblemDAO;
30 import org.apache.maven.archiva.database.SimpleConstraint;
33 * AbstractManagedRepositoryArchivaDAOStub
37 public class AbstractManagedRepositoryArchivaDAOStub
41 * @plexus.requirement role-hint="jdo"
43 private ProjectModelDAO projectModelDAO;
46 * @plexus.requirement role-hint="jdo"
48 private ArtifactDAO artifactDAO;
51 * @plexus.requirement role-hint="jdo"
53 private RepositoryContentStatisticsDAO repoContentStatisticsDAO;
55 public List query( SimpleConstraint constraint )
60 public Object save( Serializable obj )
62 throw new UnsupportedOperationException( "query not implemented for stub" );
65 public ArtifactDAO getArtifactDAO()
70 public ProjectModelDAO getProjectModelDAO()
72 return projectModelDAO;
75 public RepositoryProblemDAO getRepositoryProblemDAO()
77 throw new UnsupportedOperationException( "query not implemented for stub" );
80 public RepositoryContentStatisticsDAO getRepositoryContentStatisticsDAO()
82 return repoContentStatisticsDAO;