Constant Field Values


Contents
org.squashtest.*

org.squashtest.tm.service.campaign.CampaignModificationService
public static final String WRITE_CAMAIGN_OR_ADMIN "hasPermission(#arg0, \'org.squashtest.tm.domain.campaign.Campaign\' ,\'WRITE\') or hasRole(\'ROLE_ADMIN\')"

org.squashtest.tm.service.campaign.IterationModificationService
public static final String WRITE_ITERATION_OR_ADMIN "hasPermission(#arg0, \'org.squashtest.tm.domain.campaign.Iteration\', \'WRITE\') or hasRole(\'ROLE_ADMIN\')"

org.squashtest.tm.service.customfield.CustomFieldManagerService
public static final String HAS_ROLE_ADMIN "hasRole(\'ROLE_ADMIN\')"

org.squashtest.tm.service.internal.importer.ExcelTestCaseParserImpl
public static final String ACTION_STEP_TAG "Action_step"
public static final String CREATED_BY_TAG "Created_by"
public static final String CREATED_ON_TAG "Created_on"
public static final String DESCRIPTION_TAG "Description"
public static final String IMPORTANCE_TAG "Importance"
public static final String NATURE_TAG "Nature"
public static final String PREREQUISITE_TAG "Prerequisite"
public static final String STATUS_TAG "Status"
public static final String TYPE_TAG "Type"

org.squashtest.tm.service.internal.importer.RequirementParserImpl
public static final String CATEGORY_TAG "CATEGORY"
public static final String CREATED_BY_TAG "CREATED_BY"
public static final String CREATED_ON_TAG "CREATED_ON"
public static final String CRITICALITY_TAG "CRITICALITY"
public static final String DESCRIPTION_TAG "DESCRIPTION"
public static final String ID_TAG "ID"
public static final String LABEL_TAG "LABEL"
public static final String PATH_TAG "PATH"
public static final String REF_TAG "REF"
public static final String STATE_TAG "STATE"
public static final String VERSION_TAG "VERSION"

org.squashtest.tm.service.internal.importer.RequirementTestCaseLinkParserImpl
public static final String ID_REQUIREMENT_TAG "ID_REQ"
public static final String ID_TEST_CASE_TAG "ID_TC"
public static final String VERSION_TAG "VERSION"

org.squashtest.tm.service.internal.importer.TestCaseImporter
public static final String DEFAULT_ENCODING_KEY "default"

org.squashtest.tm.service.internal.library.AbstractLibraryNavigationService<LIBRARY extends org.squashtest.tm.domain.library.Library<NODE>,FOLDER extends org.squashtest.tm.domain.library.Folder<NODE>,NODE extends org.squashtest.tm.domain.library.LibraryNode>
protected static final String COPY_TOKEN "-Copie"

org.squashtest.tm.service.internal.library.AdvancedSearchServiceImpl
public static final String CAMPAIGN_INDEXING_DATE_KEY "lastindexing.campaign.date"
public static final String CAMPAIGN_INDEXING_VERSION_KEY "lastindexing.campaign.version"
public static final String REQUIREMENT_INDEXING_DATE_KEY "lastindexing.requirement.date"
public static final String REQUIREMENT_INDEXING_VERSION_KEY "lastindexing.requirement.version"
public static final String SQUASH_VERSION_KEY "squashtest.tm.database.version"
public static final String TESTCASE_INDEXING_DATE_KEY "lastindexing.testcase.date"
public static final String TESTCASE_INDEXING_VERSION_KEY "lastindexing.testcase.version"

org.squashtest.tm.service.internal.repository.hibernate.NativeQueries
public static final String ATTACHMENT_LIST_SQL_REMOVE_FROM_ATTACHMENT_LIST_CONTENT " delete from ATTACHMENT_LIST_CONTENT where al_id in (:alIds)"
public static final String CAMPAIGN_FOLDER_SQL_FIND_CONTENT_FOR_FOLDER "select * from CLN_RELATIONSHIP where ancestor_id in (:folderIds)"
public static final String CAMPAIGN_FOLDER_SQL_FIND_PAIRED_CONTENT_FOR_FOLDERS "select * from CLN_RELATIONSHIP where ancestor_id in (:folderIds) group by ancestor_id, descendant_id"
public static final String CAMPAIGN_SQL_REMOVE "delete from CAMPAIGN where cln_id in (:nodeIds)"
public static final String CAMPAIGN_SQL_REMOVEFROMFOLDER "delete from CLN_RELATIONSHIP where ancestor_id in (:ancIds) or descendant_id in (:descIds)"
public static final String CAMPAIGN_SQL_REMOVEFROMLIBRARY "delete from CAMPAIGN_LIBRARY_CONTENT where content_id in (:campaignIds)"
public static final String CAMPAIGNFOLDER_SQL_REMOVE "delete from CAMPAIGN_FOLDER where cln_id in (:nodeIds)"
public static final String CAMPAIGNLIBRARYNODE_SQL_FILTERFOLDERIDS "select folder.cln_id from CAMPAIGN_FOLDER folder where folder.cln_id in (:campaignIds)"
public static final String CAMPAIGNLIBRARYNODE_SQL_REMOVE "delete from CAMPAIGN_LIBRARY_NODE where cln_id in (:nodeIds)"
public static final String CLN_FIND_SORTED_PARENT_IDS "select cln.cln_id from CAMPAIGN_LIBRARY_NODE cln inner join CLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = cln.cln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String CLN_FIND_SORTED_PARENT_NAMES "select cln.name from CAMPAIGN_LIBRARY_NODE cln inner join CLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = cln.cln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String REQUIREMENT_FOLDER_SET_NULL_SIMPLE_RESOURCE "update REQUIREMENT_FOLDER folder set folder.res_id = null where folder.rln_id in (:folderIds)"
public static final String REQUIREMENT_FOLDER_SQL_FIND_CONTENT_FOR_FOLDER "select * from RLN_RELATIONSHIP where ancestor_id in (:folderIds)"
public static final String REQUIREMENT_FOLDER_SQL_FIND_PAIRED_COTENT_FOR_FOLDERS "select * from RLN_RELATIONSHIP where ancestor_id in (:folderIds) group by ancestor_id, descendant_id"
public static final String REQUIREMENT_FOLDER_SQL_REMOVE "delete from REQUIREMENT_FOLDER where rln_id in (:nodeIds)"
public static final String REQUIREMENT_SET_NULL_REQUIREMENT_VERSION "update REQUIREMENT req set req.current_version_id = null where req.rln_id in (:requirementIds);"
public static final String REQUIREMENT_SQL_REMOVE "delete from REQUIREMENT where rln_id in (:nodeIds)"
public static final String REQUIREMENT_SQL_REMOVE_FROM_FOLDER "delete from RLN_RELATIONSHIP where ancestor_id in (:ancIds) or descendant_id in (:descIds)"
public static final String REQUIREMENT_SQL_REMOVE_FROM_LIBRARY "delete from REQUIREMENT_LIBRARY_CONTENT where content_id in (:requirementIds)"
public static final String REQUIREMENT_SQL_REMOVE_TEST_STEP_COVERAGE_BY_REQ_VERSION_IDS "delete from VERIFYING_STEPS where REQUIREMENT_VERSION_COVERAGE_ID in (select REQUIREMENT_VERSION_COVERAGE_ID from REQUIREMENT_VERSION_COVERAGE where VERIFIED_REQ_VERSION_ID in (:versionIds))"
public static final String REQUIREMENT_SQL_REMOVEFROMVERIFIEDREQUIREMENTLISTS " delete from REQUIREMENT_VERSION_COVERAGE where verified_req_version_id in ( select req_v.res_id from REQUIREMENT_VERSION req_v where req_v.requirement_id in (:requirementIds) )"
public static final String REQUIREMENT_VERSION_FIND_ID_FROM_REQUIREMENT "select req_v.res_id from REQUIREMENT_VERSION req_v where req_v.requirement_id in (:requirementIds)"
public static final String REQUIREMENT_VERSION_SQL_REMOVE "delete from REQUIREMENT_VERSION where res_id in (:requirementVersionIds)"
public static final String REQUIREMENTLIBRARYNODE_SQL_FILTERFOLDERIDS "select folder.rln_id from REQUIREMENT_FOLDER folder where folder.rln_id in (:requirementIds)"
public static final String REQUIREMENTLIBRARYNODE_SQL_REMOVE "delete from REQUIREMENT_LIBRARY_NODE where rln_id in (:nodeIds)"
public static final String RESOURCE_SQL_REMOVE "delete from RESOURCE where res_id in (:resourceIds)"
public static final String RLN_FIND_SORTED_PARENT_IDS "select rln.rln_id from REQUIREMENT_LIBRARY_NODE rln inner join RLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = rln.rln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String RLN_FIND_SORTED_PARENT_NAMES "select rs.name from RESOURCE rs join REQUIREMENT_FOLDER rf on rs.res_id = rf.res_id join REQUIREMENT_LIBRARY_NODE rln on rf.rln_id = rln.rln_id inner join RLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = rln.rln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String SIMPLE_RESOURCE_FIND_ID_FROM_FOLDER "select folder.res_id from REQUIREMENT_FOLDER folder where folder.rln_id in (:folderIds)"
public static final String SIMPLE_RESOURCE_SQL_REMOVE "delete from SIMPLE_RESOURCE where res_id in (:simpleResourceIds)"
public static final String TCLN_FIND_SORTED_PARENT_IDS "select tcln.tcln_id from TEST_CASE_LIBRARY_NODE tcln inner join TCLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = tcln.tcln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String TCLN_FIND_SORTED_PARENT_NAMES "select tcln.name from TEST_CASE_LIBRARY_NODE tcln inner join TCLN_RELATIONSHIP_CLOSURE clos on clos.ancestor_id = tcln.tcln_id where clos.descendant_id = :nodeId order by clos.depth desc"
public static final String TEST_CASE_FOLDER_SQL_FIND_CONTENT_FOR_FOLDER "select * from TCLN_RELATIONSHIP where ancestor_id in (:folderIds)"
public static final String TEST_CASE_FOLDER_SQL_FIND_PAIRED_CONTENT_FOR_FOLDERS "select * from TCLN_RELATIONSHIP where ancestor_id in (:folderIds) group by ancestor_id, descendant_id"
public static final String TESTCASE_SQL_GETCALLINGCAMPAIGNITEMTESTPLANORDEROFFSET " select ctpi1.ctpi_id , count(ctpi1.ctpi_id) from CAMPAIGN_TEST_PLAN_ITEM as ctpi1, CAMPAIGN_TEST_PLAN_ITEM as ctpi2 where ctpi1.campaign_id = ctpi2.campaign_id and ctpi2.test_case_id in (:removedItemIds1) and ctpi1.test_plan_order > ctpi2.test_plan_order and ctpi1.test_case_id not in (:removedItemIds2) group by ctpi1.ctpi_id"
public static final String TESTCASE_SQL_GETCALLINGITERATIONITEMTESTPLANORDEROFFSET " select itp1.item_test_plan_id, count(itp1.item_test_plan_id) from ITEM_TEST_PLAN_LIST as itp1, ITEM_TEST_PLAN_LIST as itp2 where itp1.iteration_id = itp2.iteration_id and itp1.item_test_plan_order > itp2.item_test_plan_order and itp2.item_test_plan_id in (:removedItemIds1) and itp1.item_test_plan_id not in (:removedItemIds2) group by itp1.item_test_plan_id"
public static final String TESTCASE_SQL_GETCALLINGTESTSUITEITEMTESTPLANORDEROFFSET " select itp1.tpi_id, count(itp1.tpi_id) from TEST_SUITE_TEST_PLAN_ITEM as itp1, TEST_SUITE_TEST_PLAN_ITEM as itp2 where itp1.suite_id = itp2.suite_id and itp1.test_plan_order > itp2.test_plan_order and itp2.tpi_id in (:removedItemIds1) and itp1.tpi_id not in (:removedItemIds2) group by itp1.tpi_id"
public static final String TESTCASE_SQL_REMOVE "delete from TEST_CASE where tcln_id in (:nodeIds)"
public static final String TESTCASE_SQL_REMOVECALLINGCAMPAIGNITEMTESTPLAN "delete from CAMPAIGN_TEST_PLAN_ITEM where test_case_id in (:testCaseIds)"
public static final String TESTCASE_SQL_REMOVECALLINGITERATIONITEMTESTPLAN "delete from ITERATION_TEST_PLAN_ITEM where item_test_plan_id in (:itpHavingNoExecIds) "
public static final String TESTCASE_SQL_REMOVECALLINGITERATIONITEMTESTPLANFROMLIST "delete from ITEM_TEST_PLAN_LIST where item_test_plan_id in (:itpHavingNoExecIds)"
public static final String TESTCASE_SQL_REMOVECALLINGTESTSUITEITEMTESTPLAN "delete from TEST_SUITE_TEST_PLAN_ITEM where tpi_id in (:itpHavingNoExecIds)"
public static final String TESTCASE_SQL_REMOVEFROMFOLDER "delete from TCLN_RELATIONSHIP where ancestor_id in (:ancIds) or descendant_id in (:descIds)"
public static final String TESTCASE_SQL_REMOVEFROMLIBRARY "delete from TEST_CASE_LIBRARY_CONTENT where content_id in (:testCaseIds)"
public static final String TESTCASE_SQL_REMOVETESTSTEPFROMLIST "delete from TEST_CASE_STEPS where step_id in (:testStepIds)"
public static final String TESTCASE_SQL_REMOVEVERIFYINGTESTCASELIST "delete from REQUIREMENT_VERSION_COVERAGE where verifying_test_case_id in (:testCaseIds)"
public static final String TESTCASE_SQL_REMOVEVERIFYINGTESTSTEPLIST "delete from VERIFYING_STEPS where TEST_STEP_ID in (:testStepIds)"
public static final String TESTCASE_SQL_SELECTCALLINGITERATIONITEMTESTPLANHAVINGEXECUTIONS " select * from ITERATION_TEST_PLAN_ITEM itp inner join ITEM_TEST_PLAN_EXECUTION itpe on itp.item_test_plan_id = itpe.item_test_plan_id where itp.tcln_id in (:testCaseIds) "
public static final String TESTCASE_SQL_SELECTCALLINGITERATIONITEMTESTPLANHAVINGNOEXECUTIONS " select * from ITERATION_TEST_PLAN_ITEM itp where itp.tcln_id in (:testCaseIds) and itp.item_test_plan_id not in (select distinct itpe.item_test_plan_id from ITEM_TEST_PLAN_EXECUTION itpe)"
public static final String TESTCASE_SQL_SETNULLCALLINGEXECUTIONS "update EXECUTION exec set exec.tcln_id = null where exec.tcln_id in (:testCaseIds)"
public static final String TESTCASE_SQL_SETNULLCALLINGEXECUTIONSTEPS "update EXECUTION_STEP step set step.test_step_id = null where step.test_step_id in (:testStepIds)"
public static final String TESTCASE_SQL_SETNULLCALLINGITERATIONITEMTESTPLANHAVINGEXECUTIONS " update ITERATION_TEST_PLAN_ITEM itp set itp.tcln_id = NULL where itp.item_test_plan_id in (:itpHavingExecIds) "
public static final String TESTCASE_SQL_UPDATECALLINGCAMPAIGNITEMTESTPLAN "update CAMPAIGN_TEST_PLAN_ITEM as ctpi1 set ctpi1.test_plan_order = ctpi1.test_plan_order - :offset where ctpi1.ctpi_id in (:reorderedItemIds)"
public static final String TESTCASE_SQL_UPDATECALLINGITERATIONITEMTESTPLANORDER " update ITEM_TEST_PLAN_LIST as itp1 set itp1.item_test_plan_order = itp1.item_test_plan_order - :offset where itp1.item_test_plan_id in (:reorderedItemIds)"
public static final String TESTCASE_SQL_UPDATECALLINGTESTSUITEITEMTESTPLANORDER " update TEST_SUITE_TEST_PLAN_ITEM as itp1 set itp1.test_plan_order = itp1.test_plan_order - :offset where itp1.tpi_id in (:reorderedItemIds)"
public static final String TESTCASEFOLDER_SQL_REMOVE "delete from TEST_CASE_FOLDER where tcln_id in (:nodeIds)"
public static final String TESTCASELIBRARYNODE_SQL_FILTERFOLDERIDS "select folder.tcln_id from TEST_CASE_FOLDER folder where folder.tcln_id in (:testcaseIds)"
public static final String TESTCASELIBRARYNODE_SQL_REMOVE "delete from TEST_CASE_LIBRARY_NODE where tcln_id in (:nodeIds)"
public static final String TESTSTEP_SQL_REMOVEACTIONSTEPS "delete from ACTION_TEST_STEP where test_step_id in (:testStepIds)"
public static final String TESTSTEP_SQL_REMOVECALLSTEPS "delete from CALL_TEST_STEP where test_step_id in (:testStepIds)"
public static final String TESTSTEP_SQL_REMOVETESTSTEPS "delete from TEST_STEP where test_step_id in (:testStepIds)"

org.squashtest.tm.service.project.GenericProjectManagerService
public static final String ADMIN_OR_PROJECT_MANAGER "hasRole(\'ROLE_ADMIN\') or hasPermission(#arg0, \'org.squashtest.tm.domain.project.Project\', \'MANAGEMENT\') "

org.squashtest.tm.service.statistics.campaign.ScheduledIteration
public static final String SCHED_ITER_MISSING_DATES_I18N "dashboard.campaigns.progression.errors.nulldates"
public static final String SCHED_ITER_NO_ITERATIONS_I18N "dashboard.campaigns.progression.errors.nodata"
public static final String SCHED_ITER_OVERLAP_DATES_I18N "dashboard.campaigns.progression.errors.overlap"

org.squashtest.tm.service.testcase.TestCaseModificationService
public static final String TEST_CASE_IS_WRITABLE "hasPermission(#arg0, \'org.squashtest.tm.domain.testcase.TestCase\' , \'WRITE\') or hasRole(\'ROLE_ADMIN\')"



Copyright © 2010-2013 Henix, henix.fr. All Rights Reserved.