|
| 1 | +package com.intel.cid.common.action; |
| 2 | + |
| 3 | +import com.intel.cid.common.service.BoardService; |
| 4 | +import com.intel.cid.common.service.BoardStateService; |
| 5 | +import com.intel.cid.common.service.BuildService; |
| 6 | +import com.intel.cid.common.service.ComponentService; |
| 7 | +import com.intel.cid.common.service.ExcelResolverService; |
| 8 | +import com.intel.cid.common.service.ExecutionOSService; |
| 9 | +import com.intel.cid.common.service.ExecutionPhaseService; |
| 10 | +import com.intel.cid.common.service.FeatureService; |
| 11 | +import com.intel.cid.common.service.MediaParametersService; |
| 12 | +import com.intel.cid.common.service.OSService; |
| 13 | +import com.intel.cid.common.service.PhaseService; |
| 14 | +import com.intel.cid.common.service.PlatformService; |
| 15 | +import com.intel.cid.common.service.ProjectSerivce; |
| 16 | +import com.intel.cid.common.service.SubComponentService; |
| 17 | +import com.intel.cid.common.service.SubTestPlanService; |
| 18 | +import com.intel.cid.common.service.TargetService; |
| 19 | +import com.intel.cid.common.service.TeamService; |
| 20 | +import com.intel.cid.common.service.TestCaseService; |
| 21 | +import com.intel.cid.common.service.TestExecutionService; |
| 22 | +import com.intel.cid.common.service.TestPlanService; |
| 23 | +import com.intel.cid.common.service.TestResultService; |
| 24 | +import com.intel.cid.common.service.TestResultXmlResolverService; |
| 25 | +import com.intel.cid.common.service.TestSuiteService; |
| 26 | +import com.intel.cid.common.service.TestTypeService; |
| 27 | +import com.intel.cid.common.service.TestUnitService; |
| 28 | +import com.intel.cid.common.service.TestEnvService; |
| 29 | +import com.intel.cid.common.service.UserService; |
| 30 | +import com.intel.cid.common.service.XTP_ITMS_TestCase_Transform; |
| 31 | +import com.opensymphony.xwork2.ActionSupport; |
| 32 | + |
| 33 | +public class BaseAction extends ActionSupport { |
| 34 | + |
| 35 | + private static final long serialVersionUID = 1L; |
| 36 | + |
| 37 | + protected BoardService boardService; |
| 38 | + |
| 39 | + protected ComponentService componentService; |
| 40 | + |
| 41 | + protected SubComponentService subComponentService; |
| 42 | + protected FeatureService featureService; |
| 43 | + |
| 44 | + protected OSService oSService; |
| 45 | + |
| 46 | + protected ExecutionOSService executionOSService; |
| 47 | + |
| 48 | + protected PlatformService platformService; |
| 49 | + |
| 50 | + protected ExecutionPhaseService executionPhaseService; |
| 51 | + |
| 52 | + protected TeamService teamService; |
| 53 | + |
| 54 | + protected TestTypeService testTypeService; |
| 55 | + |
| 56 | + protected TestCaseService testCaseService; |
| 57 | + |
| 58 | + protected TestSuiteService testSuiteService; |
| 59 | + |
| 60 | + protected UserService userService; |
| 61 | + |
| 62 | + protected SubTestPlanService subTestPlanService; |
| 63 | + |
| 64 | + protected TestPlanService testPlanService; |
| 65 | + |
| 66 | + protected TestResultService testResultService; |
| 67 | + |
| 68 | + protected BoardStateService boardStateService; |
| 69 | + |
| 70 | + protected TestUnitService testUnitService; |
| 71 | + |
| 72 | + protected ExcelResolverService excelResolverService; |
| 73 | + |
| 74 | + protected XTP_ITMS_TestCase_Transform transformService; |
| 75 | + |
| 76 | + protected MediaParametersService mediaParametersService; |
| 77 | + protected PhaseService phaseService; |
| 78 | + |
| 79 | + protected ProjectSerivce projectSerivce; |
| 80 | + protected TargetService targetService; |
| 81 | + protected TestExecutionService testExecutionService; |
| 82 | + protected TestEnvService testEnvService; |
| 83 | + protected BuildService buildService; |
| 84 | + |
| 85 | + public TestEnvService getTestEnvService() { |
| 86 | + return testEnvService; |
| 87 | + } |
| 88 | + |
| 89 | + public void setTestEnvService(TestEnvService testEnvService) { |
| 90 | + this.testEnvService = testEnvService; |
| 91 | + } |
| 92 | + |
| 93 | + public ExcelResolverService getExcelResolverService() { |
| 94 | + return excelResolverService; |
| 95 | + } |
| 96 | + |
| 97 | + public void setExcelResolverService( |
| 98 | + ExcelResolverService excelResolverService) { |
| 99 | + this.excelResolverService = excelResolverService; |
| 100 | + } |
| 101 | + |
| 102 | + protected TestResultXmlResolverService testResultXmlResolverService; |
| 103 | + |
| 104 | + public BoardService getBoardService() { |
| 105 | + return boardService; |
| 106 | + } |
| 107 | + |
| 108 | + public void setBoardService(BoardService boardService) { |
| 109 | + this.boardService = boardService; |
| 110 | + } |
| 111 | + |
| 112 | + public ComponentService getComponentService() { |
| 113 | + return componentService; |
| 114 | + } |
| 115 | + |
| 116 | + public void setComponentService(ComponentService componentService) { |
| 117 | + this.componentService = componentService; |
| 118 | + } |
| 119 | + |
| 120 | + public SubComponentService getSubComponentService() { |
| 121 | + return subComponentService; |
| 122 | + } |
| 123 | + |
| 124 | + public void setSubComponentService(SubComponentService subComponentService) { |
| 125 | + this.subComponentService = subComponentService; |
| 126 | + } |
| 127 | + |
| 128 | + public FeatureService getFeatureService() { |
| 129 | + return featureService; |
| 130 | + } |
| 131 | + |
| 132 | + public void setFeatureService(FeatureService featureService) { |
| 133 | + this.featureService = featureService; |
| 134 | + } |
| 135 | + |
| 136 | + public OSService getoSService() { |
| 137 | + return oSService; |
| 138 | + } |
| 139 | + |
| 140 | + public void setoSService(OSService oSService) { |
| 141 | + this.oSService = oSService; |
| 142 | + } |
| 143 | + |
| 144 | + public PlatformService getPlatformService() { |
| 145 | + return platformService; |
| 146 | + } |
| 147 | + |
| 148 | + public void setPlatformService(PlatformService platformService) { |
| 149 | + this.platformService = platformService; |
| 150 | + } |
| 151 | + |
| 152 | + public TeamService getTeamService() { |
| 153 | + return teamService; |
| 154 | + } |
| 155 | + |
| 156 | + public void setTeamService(TeamService teamService) { |
| 157 | + this.teamService = teamService; |
| 158 | + } |
| 159 | + |
| 160 | + public TestTypeService getTestTypeService() { |
| 161 | + return testTypeService; |
| 162 | + } |
| 163 | + |
| 164 | + public void setTestTypeService(TestTypeService testTypeService) { |
| 165 | + this.testTypeService = testTypeService; |
| 166 | + } |
| 167 | + |
| 168 | + public TestCaseService getTestCaseService() { |
| 169 | + return testCaseService; |
| 170 | + } |
| 171 | + |
| 172 | + public void setTestCaseService(TestCaseService testCaseService) { |
| 173 | + this.testCaseService = testCaseService; |
| 174 | + } |
| 175 | + |
| 176 | + public TestSuiteService getTestSuiteService() { |
| 177 | + return testSuiteService; |
| 178 | + } |
| 179 | + |
| 180 | + public void setTestSuiteService(TestSuiteService testSuiteService) { |
| 181 | + this.testSuiteService = testSuiteService; |
| 182 | + } |
| 183 | + |
| 184 | + public UserService getUserService() { |
| 185 | + return userService; |
| 186 | + } |
| 187 | + |
| 188 | + public void setUserService(UserService userService) { |
| 189 | + this.userService = userService; |
| 190 | + } |
| 191 | + |
| 192 | + public SubTestPlanService getSubTestPlanService() { |
| 193 | + return subTestPlanService; |
| 194 | + } |
| 195 | + |
| 196 | + public void setSubTestPlanService(SubTestPlanService subTestPlanService) { |
| 197 | + this.subTestPlanService = subTestPlanService; |
| 198 | + } |
| 199 | + |
| 200 | + public TestPlanService getTestPlanService() { |
| 201 | + return testPlanService; |
| 202 | + } |
| 203 | + |
| 204 | + public void setTestPlanService(TestPlanService testPlanService) { |
| 205 | + this.testPlanService = testPlanService; |
| 206 | + } |
| 207 | + |
| 208 | + public TestResultService getTestResultService() { |
| 209 | + return testResultService; |
| 210 | + } |
| 211 | + |
| 212 | + public void setTestResultService(TestResultService testResultService) { |
| 213 | + this.testResultService = testResultService; |
| 214 | + } |
| 215 | + |
| 216 | + public BoardStateService getBoardStateService() { |
| 217 | + return boardStateService; |
| 218 | + } |
| 219 | + |
| 220 | + public void setBoardStateService(BoardStateService boardStateService) { |
| 221 | + this.boardStateService = boardStateService; |
| 222 | + } |
| 223 | + |
| 224 | + public TestUnitService getTestUnitService() { |
| 225 | + return testUnitService; |
| 226 | + } |
| 227 | + |
| 228 | + public void setTestUnitService(TestUnitService testUnitService) { |
| 229 | + this.testUnitService = testUnitService; |
| 230 | + } |
| 231 | + |
| 232 | + public TestResultXmlResolverService getTestResultXmlResolverService() { |
| 233 | + return testResultXmlResolverService; |
| 234 | + } |
| 235 | + |
| 236 | + public void setTestResultXmlResolverService( |
| 237 | + TestResultXmlResolverService testResultXmlResolverService) { |
| 238 | + this.testResultXmlResolverService = testResultXmlResolverService; |
| 239 | + } |
| 240 | + |
| 241 | + public XTP_ITMS_TestCase_Transform getTransformService() { |
| 242 | + return transformService; |
| 243 | + } |
| 244 | + |
| 245 | + public void setTransformService(XTP_ITMS_TestCase_Transform transformService) { |
| 246 | + this.transformService = transformService; |
| 247 | + } |
| 248 | + |
| 249 | + public MediaParametersService getMediaParametersService() { |
| 250 | + return mediaParametersService; |
| 251 | + } |
| 252 | + |
| 253 | + public void setMediaParametersService( |
| 254 | + MediaParametersService mediaParametersService) { |
| 255 | + this.mediaParametersService = mediaParametersService; |
| 256 | + } |
| 257 | + |
| 258 | + public ProjectSerivce getProjectSerivce() { |
| 259 | + return projectSerivce; |
| 260 | + } |
| 261 | + |
| 262 | + public void setProjectSerivce(ProjectSerivce projectSerivce) { |
| 263 | + this.projectSerivce = projectSerivce; |
| 264 | + } |
| 265 | + |
| 266 | + public TargetService getTargetService() { |
| 267 | + return targetService; |
| 268 | + } |
| 269 | + |
| 270 | + public void setTargetService(TargetService targetService) { |
| 271 | + this.targetService = targetService; |
| 272 | + } |
| 273 | + |
| 274 | + public TestExecutionService getTestExecutionService() { |
| 275 | + return testExecutionService; |
| 276 | + } |
| 277 | + |
| 278 | + public void setTestExecutionService( |
| 279 | + TestExecutionService testExecutionService) { |
| 280 | + this.testExecutionService = testExecutionService; |
| 281 | + } |
| 282 | + |
| 283 | + public PhaseService getPhaseService() { |
| 284 | + return phaseService; |
| 285 | + } |
| 286 | + |
| 287 | + public void setPhaseService(PhaseService phaseService) { |
| 288 | + this.phaseService = phaseService; |
| 289 | + } |
| 290 | + |
| 291 | + public BuildService getBuildService() { |
| 292 | + return buildService; |
| 293 | + } |
| 294 | + |
| 295 | + public void setBuildService(BuildService buildService) { |
| 296 | + this.buildService = buildService; |
| 297 | + } |
| 298 | + |
| 299 | + public ExecutionOSService getExecutionOSService() { |
| 300 | + return executionOSService; |
| 301 | + } |
| 302 | + |
| 303 | + public void setExecutionOSService(ExecutionOSService executionOSService) { |
| 304 | + this.executionOSService = executionOSService; |
| 305 | + } |
| 306 | + |
| 307 | + public ExecutionPhaseService getExecutionPhaseService() { |
| 308 | + return executionPhaseService; |
| 309 | + } |
| 310 | + |
| 311 | + public void setExecutionPhaseService(ExecutionPhaseService executionPhaseService) { |
| 312 | + this.executionPhaseService = executionPhaseService; |
| 313 | + } |
| 314 | + |
| 315 | + |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
| 320 | +} |
0 commit comments