1
2
3
4
5
6 package org.repoweb.model;
7 import java.util.List;
8 /***
9 * Represent a list of artifact.
10 */
11 public interface ArtifactList {
12 /***
13 * Return all the artifact.
14 *
15 * @return List of Artifact's Object
16 */
17 List getArtifacts();
18
19
20 /***
21 * Return the number of artifact.
22 *
23 * @return number of artifact.
24 */
25 int getArtifactCount();
26
27
28 /***
29 * Return a filter to iterate on property.
30 *
31 * @param artifactProperty the property to iterate on
32 *
33 * @return a filter.
34 */
35 ArtifactListFilter newPropertyFilter(String artifactProperty);
36
37
38 /***
39 * Return a filter to iterate on artifact.
40 *
41 * @return a filter
42 */
43 ArtifactListFilter newArtifactFilter();
44 }