001 /*
002 * ----------------------------------------------------------------------
003 * Copyright (C) 2009 Enrique Lara (k957@68k.org)
004 *
005 * TinLizard is free software; you can redistribute it and/or
006 * modify it under the terms of the GNU Lesser General Public License
007 * as published by the Free Software Foundation; either version 3.0
008 * of the License, or (at your option) any later version.
009 *
010 * TinLizard is distributed in the hope that it will be useful,
011 * but WITHOUT ANY WARRANTY; without even the implied warranty of
012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
013 * GNU Lesser General Public License for more details.
014 *
015 * You should have received a copy of the GNU Lesser General Public License
016 * along with TinLizard. If not, see http://www.gnu.org/licenses/.
017 * ----------------------------------------------------------------------
018 */
019 package tinlizard.model;
020
021
022 /**
023 * Utility Class to hold the named query names.
024 */
025 public final class QueryNames {
026 public static final String PROJECT_BY_NAME = "FindProjectByName";
027 public static final String CODELINE_BY_NAME = "FindCodelineByName";
028 public static final String CODELINES_BY_NAME_AND_SCM_CONNECTION = "FindCodelineByNameAndScmConnection";
029 public static final String CODELINES_MODIFIED_SINCE_DATE = "FindCodelinesModifiedSinceDate";
030 public static final String CODELINE_MAIN_LINE = "FindCodelineMainLineForProject";
031 public static final String CODELINES_ACTIVE = "FindActiveCodelines";
032 public static final String CODELINES_ACTIVE_FOR_PROJECT = "FindActiveCodelinesForProject";
033 public static final String CODELINES_ACTIVE_FOR_VIEW = "FindActiveCodelinesForView";
034 public static final String CODELINES_ALL_FOR_PROJECT = "FindAllCodelinesForProject";
035 public static final String CODELINES_ALL_FOR_VIEW = "FindAllCodelinesForView";
036 public static final String CODELINES_ALL_FOR_POLICY = "FindAllCodelinesForPolicy";
037 public static final String CODELINES_DEFINING_ARTIFACT = "FindAllCodelinesDefiningArtifact";
038 public static final String CODELINES_DEFINING_ARTIFACT_ANY_VERSION = "FindAllCodelinesDefiningArtifactAnyVersion";
039 public static final String CODELINES_DEPENDENT_ON_ARTIFACT = "FindAllCodelinesDependentOnArtifact";
040 public static final String CODELINES_DEPENDENT_ON_ARTIFACT_ANY_VERSION = "FindAllCodelinesDependentOnArtifactAnyVersion";
041 public static final String CODELINES_BY_USER = "FindCodelinesByUser";
042 public static final String VIEW_BY_NAME = "FindViewByName";
043 public static final String POLICY_BY_NAME = "FindPolicyByName";
044 public static final String USER_BY_NAME = "FindUserByName";
045 public static final String DEPENDENCIES_BY_CODELINE = "DependenciesForCodeline";
046 public static final String DEPENDENCIES_BY_COORDS = "DependenciesByCoords";
047
048 private QueryNames() {
049 }
050 }