This project has retired. For details please refer to its
Attic page.
ProjectsByArtifactUsageConstraint
org.apache.maven.archiva.database.constraints
Class ProjectsByArtifactUsageConstraint
java.lang.Object
org.apache.maven.archiva.database.constraints.AbstractDeclarativeConstraint
org.apache.maven.archiva.database.constraints.ProjectsByArtifactUsageConstraint
- All Implemented Interfaces:
- Constraint, DeclarativeConstraint
public class ProjectsByArtifactUsageConstraint
- extends AbstractDeclarativeConstraint
- implements DeclarativeConstraint
ProjectsByArtifactUsageConstraint
Method Summary |
java.lang.String |
getFilter()
The JDOQL filter to apply to the query. |
java.lang.String |
getSortColumn()
Get the sort column name. |
java.lang.String |
getWhereCondition()
Get the SELECT WHERE (condition) value for the constraint. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ProjectsByArtifactUsageConstraint
public ProjectsByArtifactUsageConstraint(ArchivaArtifact artifact)
ProjectsByArtifactUsageConstraint
public ProjectsByArtifactUsageConstraint(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version)
getSortColumn
public java.lang.String getSortColumn()
- Description copied from interface:
DeclarativeConstraint
- Get the sort column name.
- Specified by:
getSortColumn
in interface DeclarativeConstraint
- Returns:
- the sort column name. (can be null)
getWhereCondition
public java.lang.String getWhereCondition()
- Description copied from interface:
DeclarativeConstraint
- Get the SELECT WHERE (condition) value for the constraint.
- Specified by:
getWhereCondition
in interface DeclarativeConstraint
- Returns:
- the equivalent of the SELECT WHERE (condition) value for this constraint. (can be null)
getFilter
public java.lang.String getFilter()
- Description copied from interface:
DeclarativeConstraint
- The JDOQL filter to apply to the query. (optional)
NOTE: This is DAO implementation specific.
- Specified by:
getFilter
in interface DeclarativeConstraint
- Overrides:
getFilter
in class AbstractDeclarativeConstraint
- Returns:
- the filter to apply. (can be null)