From 0471d79bcc7ff830e43587f9d6cd532487651581 Mon Sep 17 00:00:00 2001 From: Mikhail Golubev Date: Mon, 29 Jul 2013 11:17:29 +0400 Subject: [PATCH] new jira connector --- .idea/modules.xml | 2 +- build/scripts/layouts.gant | 1 - community-main.iml | 1 - plugins/github/github.iml | 1 - .../tasks/jira-connector/jira-connector.iml | 29 - plugins/tasks/jira-connector/pom.xml | 52 - .../soap/axis/AbstractNamedRemoteEntity.java | 148 - .../soap/axis/AbstractRemoteConstant.java | 170 - .../jira/soap/axis/AbstractRemoteEntity.java | 127 - .../IssueServiceImpl$RemoteWorklogImpl.java | 117 - .../jira/soap/axis/JiraSoapService.java | 495 - .../soap/axis/JiraSoapServiceService.java | 18 - .../axis/JiraSoapServiceServiceLocator.java | 179 - .../JirasoapserviceV2SoapBindingStub.java | 8673 ----------------- .../jira/soap/axis/RemoteAttachment.java | 275 - .../axis/RemoteAuthenticationException.java | 98 - .../commons/jira/soap/axis/RemoteComment.java | 379 - .../jira/soap/axis/RemoteComponent.java | 97 - .../jira/soap/axis/RemoteConfiguration.java | 411 - .../soap/axis/RemoteCustomFieldValue.java | 208 - .../commons/jira/soap/axis/RemoteEntity.java | 88 - .../jira/soap/axis/RemoteException.java | 96 - .../commons/jira/soap/axis/RemoteField.java | 97 - .../jira/soap/axis/RemoteFieldValue.java | 171 - .../commons/jira/soap/axis/RemoteFilter.java | 241 - .../commons/jira/soap/axis/RemoteGroup.java | 171 - .../commons/jira/soap/axis/RemoteIssue.java | 856 -- .../jira/soap/axis/RemoteIssueType.java | 133 - .../jira/soap/axis/RemoteNamedObject.java | 97 - .../jira/soap/axis/RemotePermission.java | 163 - .../soap/axis/RemotePermissionException.java | 98 - .../soap/axis/RemotePermissionMapping.java | 172 - .../soap/axis/RemotePermissionScheme.java | 147 - .../jira/soap/axis/RemotePriority.java | 137 - .../commons/jira/soap/axis/RemoteProject.java | 386 - .../jira/soap/axis/RemoteProjectRole.java | 199 - .../soap/axis/RemoteProjectRoleActors.java | 136 - .../jira/soap/axis/RemoteResolution.java | 101 - .../jira/soap/axis/RemoteRoleActor.java | 279 - .../jira/soap/axis/RemoteRoleActors.java | 215 - .../commons/jira/soap/axis/RemoteScheme.java | 235 - .../jira/soap/axis/RemoteSecurityLevel.java | 133 - .../jira/soap/axis/RemoteServerInfo.java | 307 - .../commons/jira/soap/axis/RemoteStatus.java | 101 - .../jira/soap/axis/RemoteTimeInfo.java | 163 - .../commons/jira/soap/axis/RemoteUser.java | 199 - .../soap/axis/RemoteValidationException.java | 98 - .../commons/jira/soap/axis/RemoteVersion.java | 233 - .../commons/jira/soap/axis/RemoteWorklog.java | 483 - .../jira/soap/axis/jirasoapservice-v2.wsdl | 6936 ------------- .../jira/api/AbstractJIRAConstantBean.java | 73 - .../theplugin/jira/api/JIRAAction.java | 20 - .../theplugin/jira/api/JIRAActionBean.java | 40 - .../theplugin/jira/api/JIRAActionField.java | 20 - .../jira/api/JIRAActionFieldBean.java | 40 - .../theplugin/jira/api/JIRAAssigneeBean.java | 45 - .../theplugin/jira/api/JIRAComment.java | 28 - .../theplugin/jira/api/JIRACommentBean.java | 58 - .../theplugin/jira/api/JIRAComponentBean.java | 42 - .../theplugin/jira/api/JIRAConstant.java | 23 - .../jira/api/JIRAFixForVersionBean.java | 49 - .../theplugin/jira/api/JIRAIssue.java | 109 - .../theplugin/jira/api/JIRAIssueBean.java | 487 - .../theplugin/jira/api/JIRAIssueTypeBean.java | 48 - .../jira/api/JIRALoginException.java | 31 - .../theplugin/jira/api/JIRAPriorityBean.java | 44 - .../theplugin/jira/api/JIRAProject.java | 27 - .../theplugin/jira/api/JIRAProjectBean.java | 121 - .../theplugin/jira/api/JIRAQueryFragment.java | 31 - .../theplugin/jira/api/JIRAReporterBean.java | 45 - .../jira/api/JIRAResolutionBean.java | 42 - .../theplugin/jira/api/JIRASavedFilter.java | 23 - .../jira/api/JIRASavedFilterBean.java | 77 - .../theplugin/jira/api/JIRAStatusBean.java | 42 - .../theplugin/jira/api/JIRAUserBean.java | 50 - .../theplugin/jira/api/JIRAVersionBean.java | 53 - .../jira/api/JiraUserNotFoundException.java | 10 - .../java/icons/JiraConnectorIcons.java | 17 - .../atlassian/java/resources/jira-blue-16.png | Bin 241 -> 0 bytes .../intellij/tasks/jira/JiraConstants.java | 26 - .../intellij/tasks/jira/JiraRepository.java | 246 - .../tasks/tasks-core/src/META-INF/plugin.xml | 9 + .../tasks}/jira/CachedIconLoader.java | 2 +- .../tasks/jira/JiraCommentAdapter.java} | 14 +- .../intellij/tasks/jira/JiraRepository.java | 157 + .../tasks/jira/JiraRepositoryEditor.java | 68 + .../tasks/jira/JiraRepositoryType.java | 16 +- .../com/intellij/tasks/jira/JiraTask.java | 51 +- .../src/com/intellij/tasks/jira/JiraUtil.java | 37 + .../tasks/jira/jql/JqlBraceMatcher.java | 30 + .../intellij/tasks/jira/jql/JqlElement.java | 14 + .../tasks/jira/jql/JqlElementType.java | 36 + .../tasks/jira/jql/JqlElementTypes.java | 93 + .../com/intellij/tasks/jira/jql/JqlFile.java | 21 + .../intellij/tasks/jira/jql/JqlFileType.java | 59 + .../tasks/jira/jql/JqlFileTypeFactory.java | 30 + .../tasks/jira/jql/JqlHighlighter.java | 43 + .../tasks/jira/jql/JqlHighlighterFactory.java | 16 + .../intellij/tasks/jira/jql/JqlLanguage.java} | 36 +- .../com/intellij/tasks/jira/jql/JqlLexer.flex | 82 + .../com/intellij/tasks/jira/jql/JqlLexer.java | 14 + .../intellij/tasks/jira/jql/JqlParser.java | 320 + .../tasks/jira/jql/JqlParserDefinition.java | 123 + .../tasks/jira/jql/JqlTokenTypes.java | 123 + .../intellij/tasks/jira/jql/_JqlLexer.java | 768 ++ .../codeinsight/JqlCompletionContributor.java | 332 + .../jira/jql/codeinsight/JqlFieldType.java | 28 + .../jql/codeinsight/JqlStandardField.java | 121 + .../jql/codeinsight/JqlStandardFunction.java | 95 + .../tasks/jira/jql/psi/JqlAndClause.java | 7 + .../tasks/jira/jql/psi/JqlArgumentList.java | 11 + .../tasks/jira/jql/psi/JqlBinaryClause.java | 9 + .../tasks/jira/jql/psi/JqlChangedClause.java | 7 + .../tasks/jira/jql/psi/JqlClause.java | 7 + .../psi/JqlClauseWithHistoryPredicates.java | 33 + .../tasks/jira/jql/psi/JqlElement.java | 9 + .../tasks/jira/jql/psi/JqlElementVisitor.java | 43 + .../tasks/jira/jql/psi/JqlEmptyValue.java | 8 + .../tasks/jira/jql/psi/JqlFunctionCall.java | 14 + .../jira/jql/psi/JqlHistoryPredicate.java | 25 + .../tasks/jira/jql/psi/JqlIdentifier.java | 10 + .../intellij/tasks/jira/jql/psi/JqlList.java | 8 + .../tasks/jira/jql/psi/JqlLiteral.java | 10 + .../tasks/jira/jql/psi/JqlNotClause.java | 8 + .../tasks/jira/jql/psi/JqlOperand.java | 7 + .../tasks/jira/jql/psi/JqlOrClause.java | 8 + .../tasks/jira/jql/psi/JqlOrderBy.java | 11 + .../intellij/tasks/jira/jql/psi/JqlQuery.java | 15 + .../tasks/jira/jql/psi/JqlSimpleClause.java | 13 + .../tasks/jira/jql/psi/JqlSortKey.java | 13 + .../tasks/jira/jql/psi/JqlTerminalClause.java | 60 + .../tasks/jira/jql/psi/JqlWasClause.java | 7 + .../jira/jql/psi/impl/JqlAndClauseImpl.java | 20 + .../jql/psi/impl/JqlArgumentListImpl.java | 27 + .../jql/psi/impl/JqlBinaryClauseImpl.java | 26 + .../jql/psi/impl/JqlChangedClauseImpl.java | 26 + .../JqlClauseWithHistoryPredicatesImpl.java | 72 + .../jira/jql/psi/impl/JqlElementImpl.java | 82 + .../jira/jql/psi/impl/JqlEmptyValueImpl.java | 20 + .../jql/psi/impl/JqlFunctionCallImpl.java | 33 + .../jql/psi/impl/JqlHistoryPredicateImpl.java | 38 + .../jira/jql/psi/impl/JqlIdentifierImpl.java | 31 + .../tasks/jira/jql/psi/impl/JqlListImpl.java | 26 + .../jira/jql/psi/impl/JqlLiteralImpl.java | 30 + .../jira/jql/psi/impl/JqlNotClauseImpl.java | 26 + .../jira/jql/psi/impl/JqlOrClauseImpl.java | 20 + .../jira/jql/psi/impl/JqlOrderByImpl.java | 27 + .../tasks/jira/jql/psi/impl/JqlQueryImpl.java | 37 + .../jql/psi/impl/JqlSimpleClauseImpl.java | 47 + .../jira/jql/psi/impl/JqlSortKeyImpl.java | 36 + .../jql/psi/impl/JqlTerminalClauseImpl.java | 29 + .../jira/jql/psi/impl/JqlWasClauseImpl.java | 40 + .../tasks/jira/model/JiraComment.java | 59 + .../intellij/tasks/jira/model/JiraIssue.java | 126 + .../tasks/jira/model/JiraIssueType.java | 58 + .../tasks/jira/model/JiraResponseWrapper.java | 63 + .../intellij/tasks/jira/model/JiraStatus.java | 47 + .../intellij/tasks/jira/model/JiraUser.java | 51 + .../tasks-core/src/icons/TasksIcons.java | 1 + plugins/tasks/tasks-core/src/icons/jira.png | Bin 0 -> 814 bytes plugins/tasks/tasks-core/tasks-core.iml | 10 + plugins/tasks/tasks-tests/tasks-tests.iml | 1 - .../tasks/jira/jql/CompletionTest.java | 141 + .../intellij/tasks/jira/jql/ParsingTest.java | 86 + .../jql/completion/AfterChangedKeyword.jql | 1 + .../jira/jql/completion/AfterClause.jql | 1 + .../jql/completion/AfterFieldNameInClause.jql | 1 + .../completion/AfterFieldNameInSortKey.jql | 1 + .../jira/jql/completion/AfterIsKeyword.jql | 1 + .../jql/completion/AfterIsNotKeywords.jql | 1 + .../completion/AfterNotKeywordInNotClause.jql | 1 + .../AfterNotKeywordInTerminalClause.jql | 1 + .../jira/jql/completion/AfterOrderKeyword.jql | 1 + .../jira/jql/completion/AfterWasClause.jql | 1 + .../jira/jql/completion/AfterWasKeyword.jql | 1 + .../jira/jql/completion/BeginningOfLine.jql | 1 + .../jira/jql/completion/FunctionType1.jql | 1 + .../jira/jql/completion/FunctionType2.jql | 1 + .../jira/jql/completion/FunctionType3.jql | 1 + .../jira/jql/completion/FunctionType4.jql | 1 + .../jira/jql/completion/FunctionType5.jql | 1 + .../testData/jira/jql/completion/InList.jql | 1 + .../testData/jira/jql/psi/AndOperators.txt | 46 + .../testData/jira/jql/psi/ChangedClause.txt | 31 + .../testData/jira/jql/psi/EmptyQuery.txt | 2 + .../jira/jql/psi/IdentifiersParsing.txt | 43 + .../testData/jira/jql/psi/IsClause.txt | 50 + .../testData/jira/jql/psi/ListParsing.txt | 40 + .../testData/jira/jql/psi/NotOperators.txt | 28 + .../testData/jira/jql/psi/OrOperators.txt | 46 + .../jira/jql/psi/OrderByStatement.txt | 33 + .../jira/jql/psi/SimpleComparisons.txt | 94 + .../testData/jira/jql/psi/Subclauses.txt | 54 + .../testData/jira/jql/psi/WasClause.txt | 42 + 194 files changed, 4885 insertions(+), 26378 deletions(-) delete mode 100644 plugins/tasks/jira-connector/jira-connector.iml delete mode 100644 plugins/tasks/jira-connector/pom.xml delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractNamedRemoteEntity.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteConstant.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteEntity.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/IssueServiceImpl$RemoteWorklogImpl.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapService.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceService.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceServiceLocator.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JirasoapserviceV2SoapBindingStub.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAttachment.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAuthenticationException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComment.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComponent.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteConfiguration.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteCustomFieldValue.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteEntity.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteField.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFieldValue.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFilter.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteGroup.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssue.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssueType.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteNamedObject.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermission.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionMapping.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionScheme.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePriority.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProject.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRole.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRoleActors.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteResolution.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActor.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActors.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteScheme.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteSecurityLevel.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteServerInfo.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteStatus.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteTimeInfo.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteUser.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteValidationException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteVersion.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteWorklog.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/jirasoapservice-v2.wsdl delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/AbstractJIRAConstantBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAction.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionField.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionFieldBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAssigneeBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComment.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRACommentBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComponentBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAConstant.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAFixForVersionBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssue.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueTypeBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRALoginException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAPriorityBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProject.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProjectBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAQueryFragment.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAReporterBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAResolutionBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilter.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilterBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAStatusBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAUserBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAVersionBean.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JiraUserNotFoundException.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/icons/JiraConnectorIcons.java delete mode 100644 plugins/tasks/jira-connector/src/atlassian/java/resources/jira-blue-16.png delete mode 100644 plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraConstants.java delete mode 100644 plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraRepository.java rename plugins/tasks/{jira-connector/src/atlassian/java/com/atlassian/theplugin/idea => tasks-core/src/com/intellij/tasks}/jira/CachedIconLoader.java (98%) rename plugins/tasks/{jira-connector/src/main/java/com/intellij/tasks/jira/JiraComment.java => tasks-core/src/com/intellij/tasks/jira/JiraCommentAdapter.java} (74%) create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepository.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryEditor.java rename plugins/tasks/{jira-connector/src/main/java => tasks-core/src}/com/intellij/tasks/jira/JiraRepositoryType.java (61%) rename plugins/tasks/{jira-connector/src/main/java => tasks-core/src}/com/intellij/tasks/jira/JiraTask.java (68%) create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraUtil.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlBraceMatcher.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElement.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementType.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementTypes.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFile.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileType.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileTypeFactory.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighter.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighterFactory.java rename plugins/tasks/{jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAException.java => tasks-core/src/com/intellij/tasks/jira/jql/JqlLanguage.java} (54%) create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.flex create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParser.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParserDefinition.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlTokenTypes.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/_JqlLexer.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlCompletionContributor.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlFieldType.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardField.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardFunction.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlAndClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlArgumentList.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlBinaryClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlChangedClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClauseWithHistoryPredicates.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElement.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElementVisitor.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlEmptyValue.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlFunctionCall.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlHistoryPredicate.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlIdentifier.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlList.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlLiteral.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlNotClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOperand.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrderBy.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlQuery.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSimpleClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSortKey.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlTerminalClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlWasClause.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlAndClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlArgumentListImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlBinaryClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlChangedClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlClauseWithHistoryPredicatesImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlElementImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlEmptyValueImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlFunctionCallImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlHistoryPredicateImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlIdentifierImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlListImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlLiteralImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlNotClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrderByImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlQueryImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSimpleClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSortKeyImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlTerminalClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlWasClauseImpl.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraComment.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssue.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssueType.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraResponseWrapper.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraStatus.java create mode 100644 plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraUser.java create mode 100644 plugins/tasks/tasks-core/src/icons/jira.png create mode 100644 plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/CompletionTest.java create mode 100644 plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/ParsingTest.java create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterChangedKeyword.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterClause.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInClause.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInSortKey.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsKeyword.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsNotKeywords.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInNotClause.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInTerminalClause.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterOrderKeyword.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasClause.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasKeyword.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/BeginningOfLine.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType1.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType2.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType3.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType4.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType5.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/completion/InList.jql create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/AndOperators.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/ChangedClause.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/EmptyQuery.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/IdentifiersParsing.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/IsClause.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/ListParsing.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/NotOperators.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/OrOperators.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/OrderByStatement.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/SimpleComparisons.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/Subclauses.txt create mode 100644 plugins/tasks/tasks-tests/testData/jira/jql/psi/WasClause.txt diff --git a/.idea/modules.xml b/.idea/modules.xml index ca8fa849b426..41104694fd49 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -117,9 +117,9 @@ + - diff --git a/build/scripts/layouts.gant b/build/scripts/layouts.gant index 7dbc9c6400ff..ee376ee54f25 100644 --- a/build/scripts/layouts.gant +++ b/build/scripts/layouts.gant @@ -434,7 +434,6 @@ public def layoutCommunityPlugins(String home) { dir("lib") { jar("tasks-api.jar") { module("tasks-api") } jar("tasks-core.jar") { module("tasks-core") } - jar("jira-connector.jar") { module("jira-connector") } jar("tasks-java.jar") { moduleOptional("tasks-java") } fileset(dir: "${home}/plugins/tasks/tasks-core/lib") { include(name: "**/*.jar") diff --git a/community-main.iml b/community-main.iml index eb59ed11d921..a7e01c08883b 100644 --- a/community-main.iml +++ b/community-main.iml @@ -80,7 +80,6 @@ - diff --git a/plugins/github/github.iml b/plugins/github/github.iml index 3ab065a6d27f..ea922cfeadc6 100644 --- a/plugins/github/github.iml +++ b/plugins/github/github.iml @@ -20,7 +20,6 @@ - diff --git a/plugins/tasks/jira-connector/jira-connector.iml b/plugins/tasks/jira-connector/jira-connector.iml deleted file mode 100644 index bbb334be6e71..000000000000 --- a/plugins/tasks/jira-connector/jira-connector.iml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/tasks/jira-connector/pom.xml b/plugins/tasks/jira-connector/pom.xml deleted file mode 100644 index e84ee8bdef27..000000000000 --- a/plugins/tasks/jira-connector/pom.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - 4.0.0 - com.intellij.idea - jira-connector - 1.0 - - - - com.atlassian.connector - atlassian-connector-commons - 2.2.0 - - - com.intellij.idea - annotations - - - jdom - jdom - - - - - - axis - axis - 1.4 - - - - - - - maven-dependency-plugin - - lib - - - - - - - atlassian-public-repository - https://maven.atlassian.com/public - - - - - \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractNamedRemoteEntity.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractNamedRemoteEntity.java deleted file mode 100644 index 6733a6611ce4..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractNamedRemoteEntity.java +++ /dev/null @@ -1,148 +0,0 @@ -/* - * Copyright 2000-2012 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * AbstractNamedRemoteEntity.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public abstract class AbstractNamedRemoteEntity extends AbstractRemoteEntity - implements java.io.Serializable { - private String name; - - public AbstractNamedRemoteEntity() { - } - - public AbstractNamedRemoteEntity( - String id, - String name) { - super( - id); - this.name = name; - } - - - /** - * Gets the name value for this AbstractNamedRemoteEntity. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this AbstractNamedRemoteEntity. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof AbstractNamedRemoteEntity)) { - return false; - } - AbstractNamedRemoteEntity other = (AbstractNamedRemoteEntity) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getName() != null) { - _hashCode += getName().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AbstractNamedRemoteEntity.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractNamedRemoteEntity")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteConstant.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteConstant.java deleted file mode 100644 index a54d82ef6bf6..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteConstant.java +++ /dev/null @@ -1,170 +0,0 @@ -/** - * AbstractRemoteConstant.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public abstract class AbstractRemoteConstant extends AbstractNamedRemoteEntity - implements java.io.Serializable { - private String description; - - private String icon; - - public AbstractRemoteConstant() { - } - - public AbstractRemoteConstant( - String id, - String name, - String description, - String icon) { - super( - id, - name); - this.description = description; - this.icon = icon; - } - - - /** - * Gets the description value for this AbstractRemoteConstant. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this AbstractRemoteConstant. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the icon value for this AbstractRemoteConstant. - * - * @return icon - */ - public String getIcon() { - return icon; - } - - - /** - * Sets the icon value for this AbstractRemoteConstant. - * - * @param icon - */ - public void setIcon(String icon) { - this.icon = icon; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof AbstractRemoteConstant)) { - return false; - } - AbstractRemoteConstant other = (AbstractRemoteConstant) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.icon == null && other.getIcon() == null) || - (this.icon != null && - this.icon.equals(other.getIcon()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getIcon() != null) { - _hashCode += getIcon().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AbstractRemoteConstant.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteConstant")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("icon"); - elemField.setXmlName(new javax.xml.namespace.QName("", "icon")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteEntity.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteEntity.java deleted file mode 100644 index 045ab56611d3..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/AbstractRemoteEntity.java +++ /dev/null @@ -1,127 +0,0 @@ -/** - * AbstractRemoteEntity.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public abstract class AbstractRemoteEntity implements java.io.Serializable { - private String id; - - public AbstractRemoteEntity() { - } - - public AbstractRemoteEntity( - String id) { - this.id = id; - } - - - /** - * Gets the id value for this AbstractRemoteEntity. - * - * @return id - */ - public String getId() { - return id; - } - - - /** - * Sets the id value for this AbstractRemoteEntity. - * - * @param id - */ - public void setId(String id) { - this.id = id; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof AbstractRemoteEntity)) { - return false; - } - AbstractRemoteEntity other = (AbstractRemoteEntity) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(AbstractRemoteEntity.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteEntity")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/IssueServiceImpl$RemoteWorklogImpl.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/IssueServiceImpl$RemoteWorklogImpl.java deleted file mode 100644 index a2df6fce14c6..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/IssueServiceImpl$RemoteWorklogImpl.java +++ /dev/null @@ -1,117 +0,0 @@ -/** - * IssueServiceImpl$RemoteWorklogImpl.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - - -public class IssueServiceImpl$RemoteWorklogImpl extends RemoteWorklog - implements java.io.Serializable { - public IssueServiceImpl$RemoteWorklogImpl() { - } - - public IssueServiceImpl$RemoteWorklogImpl( - String author, - String comment, - java.util.Calendar created, - String groupLevel, - String id, - String roleLevelId, - java.util.Calendar startDate, - String timeSpent, - long timeSpentInSeconds, - String updateAuthor, - java.util.Calendar updated) { - super( - author, - comment, - created, - groupLevel, - id, - roleLevelId, - startDate, - timeSpent, - timeSpentInSeconds, - updateAuthor, - updated); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof IssueServiceImpl$RemoteWorklogImpl)) { - return false; - } - IssueServiceImpl$RemoteWorklogImpl other = (IssueServiceImpl$RemoteWorklogImpl) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(IssueServiceImpl$RemoteWorklogImpl.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://service.soap.rpc.jira.atlassian.com", - "IssueServiceImpl$RemoteWorklogImpl")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapService.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapService.java deleted file mode 100644 index 98dbe7f72902..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapService.java +++ /dev/null @@ -1,495 +0,0 @@ -/** - * JiraSoapService.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public interface JiraSoapService extends java.rmi.Remote { - public RemoteComment getComment(String in0, long in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteGroup createGroup(String in0, String in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteSecurityLevel getSecurityLevel(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteException; - - public RemoteServerInfo getServerInfo(String in0) - throws java.rmi.RemoteException; - - public RemoteGroup getGroup(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteUser createUser(String in0, String in1, - String in2, String in3, String in4) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteUser getUser(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public String login(String in0, String in1) throws java.rmi.RemoteException, - RemoteAuthenticationException, - RemoteException; - - public RemoteIssue getIssue(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteIssue createIssue(String in0, - RemoteIssue in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteNamedObject[] getAvailableActions(String in0, - String in1) throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue updateIssue(String in0, String in1, - RemoteFieldValue[] in2) - throws java.rmi.RemoteException, RemoteException; - - public RemoteConfiguration getConfiguration(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteComponent[] getComponents(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteProject updateProject(String in0, - RemoteProject in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteProject getProjectByKey(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemotePriority[] getPriorities(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public RemoteResolution[] getResolutions(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public RemoteIssueType[] getIssueTypes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public RemoteStatus[] getStatuses(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public RemoteIssueType[] getSubTaskIssueTypes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException; - - public RemoteProjectRole[] getProjectRoles(String in0) - throws java.rmi.RemoteException, RemoteException; - - public RemoteProjectRole getProjectRole(String in0, long in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteProjectRoleActors getProjectRoleActors(String in0, - RemoteProjectRole in1, - RemoteProject in2) - throws java.rmi.RemoteException, RemoteException; - - public RemoteRoleActors getDefaultRoleActors(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException; - - public void removeAllRoleActorsByNameAndType(String in0, String in1, String in2) - throws java.rmi.RemoteException, RemoteException; - - public void removeAllRoleActorsByProject(String in0, RemoteProject in1) - throws java.rmi.RemoteException, RemoteException; - - public void deleteProjectRole(String in0, RemoteProjectRole in1, - boolean in2) throws java.rmi.RemoteException, RemoteException; - - public void updateProjectRole(String in0, RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteProjectRole createProjectRole(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException; - - public boolean isProjectRoleNameUnique(String in0, String in1) - throws java.rmi.RemoteException, RemoteException; - - public void addActorsToProjectRole(String in0, String[] in1, - RemoteProjectRole in2, - RemoteProject in3, String in4) - throws java.rmi.RemoteException, RemoteException; - - public void removeActorsFromProjectRole(String in0, String[] in1, - RemoteProjectRole in2, - RemoteProject in3, String in4) - throws java.rmi.RemoteException, RemoteException; - - public void addDefaultActorsToProjectRole(String in0, String[] in1, - RemoteProjectRole in2, String in3) - throws java.rmi.RemoteException, RemoteException; - - public void removeDefaultActorsFromProjectRole(String in0, String[] in1, - RemoteProjectRole in2, String in3) - throws java.rmi.RemoteException, RemoteException; - - public RemoteScheme[] getAssociatedNotificationSchemes(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteScheme[] getAssociatedPermissionSchemes(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteField[] getCustomFields(String in0) - throws java.rmi.RemoteException, RemoteException; - - public RemoteComment[] getComments(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteFilter[] getFavouriteFilters(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public void archiveVersion(String in0, String in1, String in2, boolean in3) - throws java.rmi.RemoteException, RemoteException; - - public RemoteVersion[] getVersions(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteProject createProject(String in0, String in1, - String in2, String in3, String in4, String in5, - RemotePermissionScheme in6, - RemoteScheme in7, - RemoteScheme in8) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public void addComment(String in0, String in1, - RemoteComment in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteField[] getFieldsForEdit(String in0, String in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteIssueType[] getIssueTypesForProject(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException; - - public RemoteIssueType[] getSubTaskIssueTypesForProject(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException; - - public void addUserToGroup(String in0, RemoteGroup in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public void removeUserFromGroup(String in0, RemoteGroup in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public boolean logout(String in0) throws java.rmi.RemoteException; - - public RemoteProject getProjectById(String in0, long in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteProject getProjectWithSchemesById(String in0, long in1) - throws java.rmi.RemoteException, RemoteException; - - public void deleteProject(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public void releaseVersion(String in0, String in1, - RemoteVersion in2) - throws java.rmi.RemoteException, RemoteException; - - public RemoteSecurityLevel[] getSecurityLevels(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteException; - - public void deleteIssue(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteIssue createIssueWithSecurityLevel(String in0, - RemoteIssue in1, long in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public boolean addAttachmentsToIssue(String in0, String in1, String[] in2, byte[][] in3) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteAttachment[] getAttachmentsFromIssue(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public boolean hasPermissionToEditComment(String in0, - RemoteComment in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteComment editComment(String in0, - RemoteComment in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteField[] getFieldsForAction(String in0, - String in1, String in2) - throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue progressWorkflowAction(String in0, - String in1, String in2, RemoteFieldValue[] in3) - throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue getIssueById(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteWorklog addWorklogWithNewRemainingEstimate(String in0, - String in1, RemoteWorklog in2, String in3) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public RemoteWorklog addWorklogAndAutoAdjustRemainingEstimate( - String in0, String in1, RemoteWorklog in2) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public RemoteWorklog addWorklogAndRetainRemainingEstimate(String in0, - String in1, RemoteWorklog in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void deleteWorklogWithNewRemainingEstimate(String in0, String in1, String in2) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void deleteWorklogAndAutoAdjustRemainingEstimate(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void deleteWorklogAndRetainRemainingEstimate(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void updateWorklogWithNewRemainingEstimate(String in0, - RemoteWorklog in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void updateWorklogAndAutoAdjustRemainingEstimate(String in0, - RemoteWorklog in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException; - - public void updateWorklogAndRetainRemainingEstimate(String in0, - RemoteWorklog in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException; - - public RemoteWorklog[] getWorklogs(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException; - - public boolean hasPermissionToCreateWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException; - - public boolean hasPermissionToDeleteWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException; - - public boolean hasPermissionToUpdateWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException; - - public RemoteScheme[] getNotificationSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemotePermissionScheme[] getPermissionSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemotePermissionScheme createPermissionScheme(String in0, - String in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public void deletePermissionScheme(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemotePermissionScheme addPermissionTo(String in0, - RemotePermissionScheme in1, - RemotePermission in2, - RemoteEntity in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemotePermissionScheme deletePermissionFrom(String in0, - RemotePermissionScheme in1, - RemotePermission in2, - RemoteEntity in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemotePermission[] getAllPermissions(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public long getIssueCountForFilter(String in0, String in1) - throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue[] getIssuesFromTextSearch(String in0, - String in1) throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue[] getIssuesFromTextSearchWithProject(String in0, - String[] in1, String in2, int in3) - throws java.rmi.RemoteException, RemoteException; - - public void deleteUser(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteGroup updateGroup(String in0, - RemoteGroup in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public void deleteGroup(String in0, String in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public void refreshCustomFields(String in0) - throws java.rmi.RemoteException, RemoteException; - - public RemoteProject[] getProjectsNoSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteVersion addVersion(String in0, String in1, - RemoteVersion in2) - throws java.rmi.RemoteException, RemoteException; - - public RemoteFilter[] getSavedFilters(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public boolean addBase64EncodedAttachmentsToIssue(String in0, String in1, String[] in2, - String[] in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteProject createProjectFromObject(String in0, - RemoteProject in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException; - - public RemoteScheme[] getSecuritySchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException; - - public RemoteIssue[] getIssuesFromFilter(String in0, - String in1) throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue[] getIssuesFromFilterWithLimit(String in0, - String in1, int in2, int in3) - throws java.rmi.RemoteException, RemoteException; - - public RemoteIssue[] getIssuesFromTextSearchWithLimit(String in0, - String in1, int in2, int in3) - throws java.rmi.RemoteException, RemoteException; -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceService.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceService.java deleted file mode 100644 index 69943b244e45..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceService.java +++ /dev/null @@ -1,18 +0,0 @@ -/** - * JiraSoapServiceService.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public interface JiraSoapServiceService extends javax.xml.rpc.Service { - public String getJirasoapserviceV2Address(); - - public JiraSoapService getJirasoapserviceV2() - throws javax.xml.rpc.ServiceException; - - public JiraSoapService getJirasoapserviceV2(java.net.URL portAddress) - throws javax.xml.rpc.ServiceException; -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceServiceLocator.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceServiceLocator.java deleted file mode 100644 index 0f90c5d59b49..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JiraSoapServiceServiceLocator.java +++ /dev/null @@ -1,179 +0,0 @@ -/** - * JiraSoapServiceServiceLocator.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -import org.apache.axis.EngineConfiguration; - -public class JiraSoapServiceServiceLocator extends org.apache.axis.client.Service - implements JiraSoapServiceService { - - public JiraSoapServiceServiceLocator() { - } - - - public JiraSoapServiceServiceLocator(EngineConfiguration config) { - super(config); - } - - public JiraSoapServiceServiceLocator(String wsdlLoc, javax.xml.namespace.QName sName) - throws javax.xml.rpc.ServiceException { - super(wsdlLoc, sName); - } - - // Use to get a proxy class for JirasoapserviceV2 - private String JirasoapserviceV2_address = "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2"; - - public String getJirasoapserviceV2Address() { - return JirasoapserviceV2_address; - } - - // The WSDD service name defaults to the port name. - private String JirasoapserviceV2WSDDServiceName = "jirasoapservice-v2"; - - public String getJirasoapserviceV2WSDDServiceName() { - return JirasoapserviceV2WSDDServiceName; - } - - public void setJirasoapserviceV2WSDDServiceName(String name) { - JirasoapserviceV2WSDDServiceName = name; - } - - /* - overiden configuration from file client-config.wsdd - * */ - @Override - protected EngineConfiguration getEngineConfiguration() { - StringBuffer sb = new StringBuffer(); - - sb.append("\n" - + "\n" - + " \n" - + " \n" - + " \n" - + " "); - - sb.append("\r\n"); - sb.append("\r\n"); - sb.append("\r\n"); - sb.append("\r\n"); - org.apache.axis.configuration.XMLStringProvider config = - new org.apache.axis.configuration.XMLStringProvider(sb.toString()); - return config; - } - - - public JiraSoapService getJirasoapserviceV2() - throws javax.xml.rpc.ServiceException { - java.net.URL endpoint; - try { - endpoint = new java.net.URL(JirasoapserviceV2_address); - } catch (java.net.MalformedURLException e) { - throw new javax.xml.rpc.ServiceException(e); - } - return getJirasoapserviceV2(endpoint); - } - - public JiraSoapService getJirasoapserviceV2(java.net.URL portAddress) - throws javax.xml.rpc.ServiceException { - try { - JirasoapserviceV2SoapBindingStub _stub - = new JirasoapserviceV2SoapBindingStub(portAddress, - this); - _stub.setPortName(getJirasoapserviceV2WSDDServiceName()); - return _stub; - } catch (org.apache.axis.AxisFault e) { - return null; - } - } - - public void setJirasoapserviceV2EndpointAddress(String address) { - JirasoapserviceV2_address = address; - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { - try { - if (JiraSoapService.class - .isAssignableFrom(serviceEndpointInterface)) { - JirasoapserviceV2SoapBindingStub _stub - = new JirasoapserviceV2SoapBindingStub( - new java.net.URL(JirasoapserviceV2_address), this); - _stub.setPortName(getJirasoapserviceV2WSDDServiceName()); - return _stub; - } - } catch (Throwable t) { - throw new javax.xml.rpc.ServiceException(t); - } - throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface: " + - (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); - } - - /** - * For the given interface, get the stub implementation. - * If this service has no port for the given interface, - * then ServiceException is thrown. - */ - public java.rmi.Remote getPort(javax.xml.namespace.QName portName, Class serviceEndpointInterface) - throws javax.xml.rpc.ServiceException { - if (portName == null) { - return getPort(serviceEndpointInterface); - } - String inputPortName = portName.getLocalPart(); - if ("jirasoapservice-v2".equals(inputPortName)) { - return getJirasoapserviceV2(); - } else { - java.rmi.Remote _stub = getPort(serviceEndpointInterface); - ((org.apache.axis.client.Stub) _stub).setPortName(portName); - return _stub; - } - } - - public javax.xml.namespace.QName getServiceName() { - return new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "JiraSoapServiceService"); - } - - private java.util.HashSet ports = null; - - public java.util.Iterator getPorts() { - if (ports == null) { - ports = new java.util.HashSet(); - ports.add(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "jirasoapservice-v2")); - } - return ports.iterator(); - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(String portName, String address) - throws javax.xml.rpc.ServiceException { - - if ("JirasoapserviceV2".equals(portName)) { - setJirasoapserviceV2EndpointAddress(address); - } else { // Unknown Port Name - throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); - } - } - - /** - * Set the endpoint address for the specified port name. - */ - public void setEndpointAddress(javax.xml.namespace.QName portName, String address) - throws javax.xml.rpc.ServiceException { - setEndpointAddress(portName.getLocalPart(), address); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JirasoapserviceV2SoapBindingStub.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JirasoapserviceV2SoapBindingStub.java deleted file mode 100644 index 4a0c4cb7a411..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/JirasoapserviceV2SoapBindingStub.java +++ /dev/null @@ -1,8673 +0,0 @@ -/** - * JirasoapserviceV2SoapBindingStub.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - * - * pstefaniak, 18 Jan 2010: - * there is one manual change to this auto-generated file, around line 6738 - * see PL-1918 for details... - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -import javax.annotation.Generated; - -@Generated(value = "") -public class JirasoapserviceV2SoapBindingStub extends org.apache.axis.client.Stub - implements JiraSoapService { - private java.util.Vector cachedSerClasses = new java.util.Vector(); - private java.util.Vector cachedSerQNames = new java.util.Vector(); - private java.util.Vector cachedSerFactories = new java.util.Vector(); - private java.util.Vector cachedDeserFactories = new java.util.Vector(); - - static org.apache.axis.description.OperationDesc[] _operations; - - static { - _operations = new org.apache.axis.description.OperationDesc[100]; - _initOperationDesc1(); - _initOperationDesc2(); - _initOperationDesc3(); - _initOperationDesc4(); - _initOperationDesc5(); - _initOperationDesc6(); - _initOperationDesc7(); - _initOperationDesc8(); - _initOperationDesc9(); - _initOperationDesc10(); - } - - private static void _initOperationDesc1() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getComment"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment")); - oper.setReturnClass(RemoteComment.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getCommentReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[0] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"), - RemoteUser.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup")); - oper.setReturnClass(RemoteGroup.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createGroupReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[1] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSecurityLevel"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel")); - oper.setReturnClass(RemoteSecurityLevel.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSecurityLevelReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[2] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getServerInfo"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteServerInfo")); - oper.setReturnClass(RemoteServerInfo.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getServerInfoReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - _operations[3] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup")); - oper.setReturnClass(RemoteGroup.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getGroupReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[4] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in4"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - oper.setReturnClass(RemoteUser.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createUserReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[5] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - oper.setReturnClass(RemoteUser.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getUserReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[6] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("login"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - oper.setReturnClass(String.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "loginReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[7] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[8] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"), - RemoteIssue.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[9] = oper; - - } - - private static void _initOperationDesc2() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getAvailableActions"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteNamedObject")); - oper.setReturnClass(RemoteNamedObject[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getAvailableActionsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[10] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName( - "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_tns1_RemoteFieldValue"), - RemoteFieldValue[].class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "updateIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[11] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getConfiguration"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteConfiguration")); - oper.setReturnClass(RemoteConfiguration.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getConfigurationReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[12] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getComponents"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteComponent")); - oper.setReturnClass(RemoteComponent[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getComponentsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[13] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "updateProjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[14] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectByKey"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectByKeyReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[15] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getPriorities"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePriority")); - oper.setReturnClass(RemotePriority[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getPrioritiesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[16] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getResolutions"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteResolution")); - oper.setReturnClass(RemoteResolution[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getResolutionsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[17] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssueTypes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssueType")); - oper.setReturnClass(RemoteIssueType[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssueTypesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[18] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getStatuses"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteStatus")); - oper.setReturnClass(RemoteStatus[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getStatusesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[19] = oper; - - } - - private static void _initOperationDesc3() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSubTaskIssueTypes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssueType")); - oper.setReturnClass(RemoteIssueType[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSubTaskIssueTypesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[20] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectRoles"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteProjectRole")); - oper.setReturnClass(RemoteProjectRole[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectRolesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[21] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); - oper.setReturnClass(RemoteProjectRole.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectRoleReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[22] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectRoleActors"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - oper.setReturnType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRoleActors")); - oper.setReturnClass(RemoteProjectRoleActors.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectRoleActorsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[23] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getDefaultRoleActors"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActors")); - oper.setReturnClass(RemoteRoleActors.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getDefaultRoleActorsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[24] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("removeAllRoleActorsByNameAndType"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[25] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("removeAllRoleActorsByProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[26] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[27] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[28] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); - oper.setReturnClass(RemoteProjectRole.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createProjectRoleReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[29] = oper; - - } - - private static void _initOperationDesc4() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("isProjectRoleNameUnique"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "isProjectRoleNameUniqueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[30] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addActorsToProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in4"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[31] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("removeActorsFromProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in4"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[32] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addDefaultActorsToProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[33] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("removeDefaultActorsFromProjectRole"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[34] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getAssociatedNotificationSchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteScheme")); - oper.setReturnClass(RemoteScheme[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getAssociatedNotificationSchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[35] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getAssociatedPermissionSchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"), - RemoteProjectRole.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteScheme")); - oper.setReturnClass(RemoteScheme[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getAssociatedPermissionSchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[36] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getCustomFields"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteField")); - oper.setReturnClass(RemoteField[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getCustomFieldsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[37] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getComments"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteComment")); - oper.setReturnClass(RemoteComment[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getCommentsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[38] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getFavouriteFilters"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteFilter")); - oper.setReturnClass(RemoteFilter[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getFavouriteFiltersReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[39] = oper; - - } - - private static void _initOperationDesc5() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("archiveVersion"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean"), boolean.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[40] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getVersions"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteVersion")); - oper.setReturnClass(RemoteVersion[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getVersionsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[41] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in4"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in5"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in6"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"), - RemotePermissionScheme.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in7"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"), - RemoteScheme.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in8"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"), - RemoteScheme.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createProjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[42] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addComment"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"), - RemoteComment.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[43] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getFieldsForEdit"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteField")); - oper.setReturnClass(RemoteField[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getFieldsForEditReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[44] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssueTypesForProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssueType")); - oper.setReturnClass(RemoteIssueType[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssueTypesForProjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[45] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSubTaskIssueTypesForProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssueType")); - oper.setReturnClass(RemoteIssueType[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSubTaskIssueTypesForProjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - _operations[46] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addUserToGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup"), - RemoteGroup.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"), - RemoteUser.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[47] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("removeUserFromGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup"), - RemoteGroup.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"), - RemoteUser.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[48] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("logout"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "logoutReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - _operations[49] = oper; - - } - - private static void _initOperationDesc6() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectById"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectByIdReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[50] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectWithSchemesById"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectWithSchemesByIdReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[51] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[52] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("releaseVersion"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"), - RemoteVersion.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[53] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSecurityLevels"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteSecurityLevel")); - oper.setReturnClass(RemoteSecurityLevel[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSecurityLevelsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[54] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[55] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createIssueWithSecurityLevel"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"), - RemoteIssue.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long"), long.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createIssueWithSecurityLevelReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[56] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addAttachmentsToIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName( - "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_base64Binary"), byte[][].class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addAttachmentsToIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[57] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getAttachmentsFromIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteAttachment")); - oper.setReturnClass(RemoteAttachment[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getAttachmentsFromIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[58] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("hasPermissionToEditComment"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"), - RemoteComment.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "hasPermissionToEditCommentReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[59] = oper; - - } - - private static void _initOperationDesc7() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("editComment"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"), - RemoteComment.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment")); - oper.setReturnClass(RemoteComment.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "editCommentReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[60] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getFieldsForAction"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteField")); - oper.setReturnClass(RemoteField[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getFieldsForActionReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[61] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("progressWorkflowAction"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName( - "http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_tns1_RemoteFieldValue"), - RemoteFieldValue[].class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "progressWorkflowActionReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[62] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssueById"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - oper.setReturnClass(RemoteIssue.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssueByIdReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[63] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addWorklogWithNewRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog")); - oper.setReturnClass(RemoteWorklog.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addWorklogWithNewRemainingEstimateReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[64] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addWorklogAndAutoAdjustRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog")); - oper.setReturnClass(RemoteWorklog.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addWorklogAndAutoAdjustRemainingEstimateReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[65] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addWorklogAndRetainRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog")); - oper.setReturnClass(RemoteWorklog.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addWorklogAndRetainRemainingEstimateReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[66] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteWorklogWithNewRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[67] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteWorklogAndAutoAdjustRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[68] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteWorklogAndRetainRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[69] = oper; - - } - - private static void _initOperationDesc8() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateWorklogWithNewRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[70] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateWorklogAndAutoAdjustRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[71] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateWorklogAndRetainRemainingEstimate"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"), - RemoteWorklog.class, false, false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[72] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getWorklogs"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteWorklog")); - oper.setReturnClass(RemoteWorklog[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getWorklogsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[73] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("hasPermissionToCreateWorklog"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "hasPermissionToCreateWorklogReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[74] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("hasPermissionToDeleteWorklog"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "hasPermissionToDeleteWorklogReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[75] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("hasPermissionToUpdateWorklog"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "hasPermissionToUpdateWorklogReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[76] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getNotificationSchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteScheme")); - oper.setReturnClass(RemoteScheme[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getNotificationSchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[77] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getPermissionSchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePermissionScheme")); - oper.setReturnClass(RemotePermissionScheme[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getPermissionSchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[78] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createPermissionScheme"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme")); - oper.setReturnClass(RemotePermissionScheme.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createPermissionSchemeReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[79] = oper; - - } - - private static void _initOperationDesc9() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deletePermissionScheme"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[80] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addPermissionTo"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"), - RemotePermissionScheme.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"), - RemotePermission.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"), - RemoteEntity.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme")); - oper.setReturnClass(RemotePermissionScheme.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addPermissionToReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[81] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deletePermissionFrom"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"), - RemotePermissionScheme.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"), - RemotePermission.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"), - RemoteEntity.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme")); - oper.setReturnClass(RemotePermissionScheme.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "deletePermissionFromReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[82] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getAllPermissions"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePermission")); - oper.setReturnClass(RemotePermission[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getAllPermissionsReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[83] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssueCountForFilter"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - oper.setReturnClass(long.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssueCountForFilterReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[84] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssuesFromTextSearch"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue")); - oper.setReturnClass(RemoteIssue[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssuesFromTextSearchReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[85] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssuesFromTextSearchWithProject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue")); - oper.setReturnClass(RemoteIssue[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssuesFromTextSearchWithProjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[86] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteUser"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[87] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("updateGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup"), - RemoteGroup.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup")); - oper.setReturnClass(RemoteGroup.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "updateGroupReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[88] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("deleteGroup"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[89] = oper; - - } - - private static void _initOperationDesc10() { - org.apache.axis.description.OperationDesc oper; - org.apache.axis.description.ParameterDesc param; - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("refreshCustomFields"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(org.apache.axis.encoding.XMLType.AXIS_VOID); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[90] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getProjectsNoSchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteProject")); - oper.setReturnClass(RemoteProject[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getProjectsNoSchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[91] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addVersion"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"), - RemoteVersion.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion")); - oper.setReturnClass(RemoteVersion.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addVersionReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[92] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSavedFilters"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteFilter")); - oper.setReturnClass(RemoteFilter[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSavedFiltersReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[93] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("addBase64EncodedAttachmentsToIssue"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"), - String[].class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - oper.setReturnClass(boolean.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "addBase64EncodedAttachmentsToIssueReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[94] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("createProjectFromObject"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"), - RemoteProject.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - oper.setReturnClass(RemoteProject.class); - oper.setReturnQName(new javax.xml.namespace.QName("", "createProjectFromObjectReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteValidationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[95] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getSecuritySchemes"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteScheme")); - oper.setReturnClass(RemoteScheme[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getSecuritySchemesReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemotePermissionException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteAuthenticationException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"), - true - )); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[96] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssuesFromFilter"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue")); - oper.setReturnClass(RemoteIssue[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssuesFromFilterReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[97] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssuesFromFilterWithLimit"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue")); - oper.setReturnClass(RemoteIssue[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssuesFromFilterWithLimitReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[98] = oper; - - oper = new org.apache.axis.description.OperationDesc(); - oper.setName("getIssuesFromTextSearchWithLimit"); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in0"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in1"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), String.class, false, - false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in2"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - param = new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "in3"), - org.apache.axis.description.ParameterDesc.IN, - new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int"), int.class, false, false); - oper.addParameter(param); - oper.setReturnType(new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue")); - oper.setReturnClass(RemoteIssue[].class); - oper.setReturnQName(new javax.xml.namespace.QName("", "getIssuesFromTextSearchWithLimitReturn")); - oper.setStyle(org.apache.axis.constants.Style.RPC); - oper.setUse(org.apache.axis.constants.Use.ENCODED); - oper.addFault(new org.apache.axis.description.FaultDesc( - new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "fault"), - "com.atlassian.connector.commons.jira.soap.axis.RemoteException", - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"), - true - )); - _operations[99] = oper; - - } - - public JirasoapserviceV2SoapBindingStub() throws org.apache.axis.AxisFault { - this(null); - } - - public JirasoapserviceV2SoapBindingStub(java.net.URL endpointURL, javax.xml.rpc.Service service) - throws org.apache.axis.AxisFault { - this(service); - super.cachedEndpoint = endpointURL; - } - - public JirasoapserviceV2SoapBindingStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { - if (service == null) { - super.service = new org.apache.axis.client.Service(); - } else { - super.service = service; - } - ((org.apache.axis.client.Service) super.service).setTypeMappingVersion("1.1"); - Class cls; - javax.xml.namespace.QName qName; - javax.xml.namespace.QName qName2; - Class beansf = org.apache.axis.encoding.ser.BeanSerializerFactory.class; - Class beandf = org.apache.axis.encoding.ser.BeanDeserializerFactory.class; - Class enumsf = org.apache.axis.encoding.ser.EnumSerializerFactory.class; - Class enumdf = org.apache.axis.encoding.ser.EnumDeserializerFactory.class; - Class arraysf = org.apache.axis.encoding.ser.ArraySerializerFactory.class; - Class arraydf = org.apache.axis.encoding.ser.ArrayDeserializerFactory.class; - Class simplesf = org.apache.axis.encoding.ser.SimpleSerializerFactory.class; - Class simpledf = org.apache.axis.encoding.ser.SimpleDeserializerFactory.class; - Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; - Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractNamedRemoteEntity"); - cachedSerQNames.add(qName); - cls = AbstractNamedRemoteEntity.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteConstant"); - cachedSerQNames.add(qName); - cls = AbstractRemoteConstant.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "AbstractRemoteEntity"); - cachedSerQNames.add(qName); - cls = AbstractRemoteEntity.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAttachment"); - cachedSerQNames.add(qName); - cls = RemoteAttachment.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"); - cachedSerQNames.add(qName); - cls = RemoteComment.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent"); - cachedSerQNames.add(qName); - cls = RemoteComponent.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteConfiguration"); - cachedSerQNames.add(qName); - cls = RemoteConfiguration.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"); - cachedSerQNames.add(qName); - cls = RemoteCustomFieldValue.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"); - cachedSerQNames.add(qName); - cls = RemoteEntity.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteField"); - cachedSerQNames.add(qName); - cls = RemoteField.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFieldValue"); - cachedSerQNames.add(qName); - cls = RemoteFieldValue.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFilter"); - cachedSerQNames.add(qName); - cls = RemoteFilter.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup"); - cachedSerQNames.add(qName); - cls = RemoteGroup.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"); - cachedSerQNames.add(qName); - cls = RemoteIssue.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType"); - cachedSerQNames.add(qName); - cls = RemoteIssueType.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteNamedObject"); - cachedSerQNames.add(qName); - cls = RemoteNamedObject.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"); - cachedSerQNames.add(qName); - cls = RemotePermission.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping"); - cachedSerQNames.add(qName); - cls = RemotePermissionMapping.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"); - cachedSerQNames.add(qName); - cls = RemotePermissionScheme.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePriority"); - cachedSerQNames.add(qName); - cls = RemotePriority.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"); - cachedSerQNames.add(qName); - cls = RemoteProject.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"); - cachedSerQNames.add(qName); - cls = RemoteProjectRole.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRoleActors"); - cachedSerQNames.add(qName); - cls = RemoteProjectRoleActors.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteResolution"); - cachedSerQNames.add(qName); - cls = RemoteResolution.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor"); - cachedSerQNames.add(qName); - cls = RemoteRoleActor.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActors"); - cachedSerQNames.add(qName); - cls = RemoteRoleActors.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"); - cachedSerQNames.add(qName); - cls = RemoteScheme.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel"); - cachedSerQNames.add(qName); - cls = RemoteSecurityLevel.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteServerInfo"); - cachedSerQNames.add(qName); - cls = RemoteServerInfo.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteStatus"); - cachedSerQNames.add(qName); - cls = RemoteStatus.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteTimeInfo"); - cachedSerQNames.add(qName); - cls = RemoteTimeInfo.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"); - cachedSerQNames.add(qName); - cls = RemoteUser.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"); - cachedSerQNames.add(qName); - cls = RemoteVersion.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"); - cachedSerQNames.add(qName); - cls = RemoteWorklog.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException"); - cachedSerQNames.add(qName); - cls = RemoteAuthenticationException.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException"); - cachedSerQNames.add(qName); - cls = RemoteException.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException"); - cachedSerQNames.add(qName); - cls = RemotePermissionException.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException"); - cachedSerQNames.add(qName); - cls = RemoteValidationException.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteAttachment"); - cachedSerQNames.add(qName); - cls = RemoteAttachment[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAttachment"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteComment"); - cachedSerQNames.add(qName); - cls = RemoteComment[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteComponent"); - cachedSerQNames.add(qName); - cls = RemoteComponent[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteCustomFieldValue"); - cachedSerQNames.add(qName); - cls = RemoteCustomFieldValue[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteEntity"); - cachedSerQNames.add(qName); - cls = RemoteEntity[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteField"); - cachedSerQNames.add(qName); - cls = RemoteField[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteField"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteFieldValue"); - cachedSerQNames.add(qName); - cls = RemoteFieldValue[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFieldValue"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteFilter"); - cachedSerQNames.add(qName); - cls = RemoteFilter[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFilter"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssue"); - cachedSerQNames.add(qName); - cls = RemoteIssue[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteIssueType"); - cachedSerQNames.add(qName); - cls = RemoteIssueType[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteNamedObject"); - cachedSerQNames.add(qName); - cls = RemoteNamedObject[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteNamedObject"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePermission"); - cachedSerQNames.add(qName); - cls = RemotePermission[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePermissionMapping"); - cachedSerQNames.add(qName); - cls = RemotePermissionMapping[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePermissionScheme"); - cachedSerQNames.add(qName); - cls = RemotePermissionScheme[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemotePriority"); - cachedSerQNames.add(qName); - cls = RemotePriority[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePriority"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteProject"); - cachedSerQNames.add(qName); - cls = RemoteProject[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteProjectRole"); - cachedSerQNames.add(qName); - cls = RemoteProjectRole[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteResolution"); - cachedSerQNames.add(qName); - cls = RemoteResolution[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteResolution"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteRoleActor"); - cachedSerQNames.add(qName); - cls = RemoteRoleActor[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteScheme"); - cachedSerQNames.add(qName); - cls = RemoteScheme[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteSecurityLevel"); - cachedSerQNames.add(qName); - cls = RemoteSecurityLevel[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteStatus"); - cachedSerQNames.add(qName); - cls = RemoteStatus[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteStatus"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteUser"); - cachedSerQNames.add(qName); - cls = RemoteUser[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteVersion"); - cachedSerQNames.add(qName); - cls = RemoteVersion[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_tns1_RemoteWorklog"); - cachedSerQNames.add(qName); - cls = RemoteWorklog[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", - "ArrayOf_xsd_base64Binary"); - cachedSerQNames.add(qName); - cls = byte[][].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "byte"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://jira.atlassian.com/rpc/soap/jirasoapservice-v2", "ArrayOf_xsd_string"); - cachedSerQNames.add(qName); - cls = String[].class; - cachedSerClasses.add(cls); - qName = new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"); - qName2 = null; - cachedSerFactories.add(new org.apache.axis.encoding.ser.ArraySerializerFactory(qName, qName2)); - cachedDeserFactories.add(new org.apache.axis.encoding.ser.ArrayDeserializerFactory()); - - qName = new javax.xml.namespace.QName("http://service.soap.rpc.jira.atlassian.com", - "IssueServiceImpl$RemoteWorklogImpl"); - cachedSerQNames.add(qName); - cls = IssueServiceImpl$RemoteWorklogImpl.class; - cachedSerClasses.add(cls); - cachedSerFactories.add(beansf); - cachedDeserFactories.add(beandf); - - } - - protected org.apache.axis.client.Call createCall() throws java.rmi.RemoteException { - try { - org.apache.axis.client.Call _call = super._createCall(); - if (super.maintainSessionSet) { - _call.setMaintainSession(super.maintainSession); - } - if (super.cachedUsername != null) { - _call.setUsername(super.cachedUsername); - } - if (super.cachedPassword != null) { - _call.setPassword(super.cachedPassword); - } - if (super.cachedEndpoint != null) { - _call.setTargetEndpointAddress(super.cachedEndpoint); - } - if (super.cachedTimeout != null) { - _call.setTimeout(super.cachedTimeout); - } - if (super.cachedPortName != null) { - _call.setPortName(super.cachedPortName); - } - java.util.Enumeration keys = super.cachedProperties.keys(); - while (keys.hasMoreElements()) { - String key = (String) keys.nextElement(); - _call.setProperty(key, super.cachedProperties.get(key)); - } - // All the type mapping information is registered - // when the first call is made. - // The type mapping information is actually registered in - // the TypeMappingRegistry of the service, which - // is the reason why registration is only needed for the first call. - synchronized (this) { - if (firstCall()) { - // must set encoding style before registering serializers - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setEncodingStyle(org.apache.axis.Constants.URI_SOAP11_ENC); - for (int i = 0; i < cachedSerFactories.size(); ++i) { - Class cls = (Class) cachedSerClasses.get(i); - javax.xml.namespace.QName qName = - (javax.xml.namespace.QName) cachedSerQNames.get(i); - Object x = cachedSerFactories.get(i); - if (x instanceof Class) { - Class sf = (Class) - cachedSerFactories.get(i); - Class df = (Class) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } else if (x instanceof javax.xml.rpc.encoding.SerializerFactory) { - org.apache.axis.encoding.SerializerFactory sf = (org.apache.axis.encoding.SerializerFactory) - cachedSerFactories.get(i); - org.apache.axis.encoding.DeserializerFactory df = (org.apache.axis.encoding.DeserializerFactory) - cachedDeserFactories.get(i); - _call.registerTypeMapping(cls, qName, sf, df, false); - } - } - } - } - return _call; - } - catch (Throwable _t) { - throw new org.apache.axis.AxisFault("Failure trying to get the Call object", _t); - } - } - - public RemoteComment getComment(String in0, long in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[0]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getComment")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, new Long(in1)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteComment) _resp; - } catch (Exception _exception) { - return (RemoteComment) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteComment.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteGroup createGroup(String in0, String in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[1]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteGroup) _resp; - } catch (Exception _exception) { - return (RemoteGroup) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteGroup.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteSecurityLevel getSecurityLevel(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[2]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSecurityLevel")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteSecurityLevel) _resp; - } catch (Exception _exception) { - return (RemoteSecurityLevel) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteSecurityLevel.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteServerInfo getServerInfo(String in0) - throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[3]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getServerInfo")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteServerInfo) _resp; - } catch (Exception _exception) { - return (RemoteServerInfo) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteServerInfo.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; - } - } - - public RemoteGroup getGroup(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[4]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteGroup) _resp; - } catch (Exception _exception) { - return (RemoteGroup) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteGroup.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteUser createUser(String in0, String in1, - String in2, String in3, String in4) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[5]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3, in4}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteUser) _resp; - } catch (Exception _exception) { - return (RemoteUser) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteUser.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteUser getUser(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[6]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteUser) _resp; - } catch (Exception _exception) { - return (RemoteUser) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteUser.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public String login(String in0, String in1) throws java.rmi.RemoteException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[7]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "login")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (String) _resp; - } catch (Exception _exception) { - return (String) org.apache.axis.utils.JavaUtils.convert(_resp, String.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue getIssue(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[8]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue createIssue(String in0, - RemoteIssue in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[9]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteNamedObject[] getAvailableActions(String in0, - String in1) throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[10]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getAvailableActions")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteNamedObject[]) _resp; - } catch (Exception _exception) { - return (RemoteNamedObject[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteNamedObject[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue updateIssue(String in0, String in1, - RemoteFieldValue[] in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[11]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteConfiguration getConfiguration(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[12]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getConfiguration")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteConfiguration) _resp; - } catch (Exception _exception) { - return (RemoteConfiguration) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteConfiguration.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteComponent[] getComponents(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[13]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getComponents")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteComponent[]) _resp; - } catch (Exception _exception) { - return (RemoteComponent[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteComponent[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject updateProject(String in0, - RemoteProject in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[14]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject getProjectByKey(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[15]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectByKey")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePriority[] getPriorities(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[16]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getPriorities")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePriority[]) _resp; - } catch (Exception _exception) { - return (RemotePriority[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePriority[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteResolution[] getResolutions(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[17]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getResolutions")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteResolution[]) _resp; - } catch (Exception _exception) { - return (RemoteResolution[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteResolution[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssueType[] getIssueTypes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[18]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssueTypes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssueType[]) _resp; - } catch (Exception _exception) { - return (RemoteIssueType[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssueType[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteStatus[] getStatuses(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[19]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getStatuses")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteStatus[]) _resp; - } catch (Exception _exception) { - return (RemoteStatus[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteStatus[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssueType[] getSubTaskIssueTypes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[20]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSubTaskIssueTypes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssueType[]) _resp; - } catch (Exception _exception) { - return (RemoteIssueType[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssueType[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProjectRole[] getProjectRoles(String in0) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[21]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectRoles")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProjectRole[]) _resp; - } catch (Exception _exception) { - return (RemoteProjectRole[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProjectRole[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProjectRole getProjectRole(String in0, long in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[22]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, new Long(in1)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProjectRole) _resp; - } catch (Exception _exception) { - return (RemoteProjectRole) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProjectRole.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProjectRoleActors getProjectRoleActors(String in0, - RemoteProjectRole in1, - RemoteProject in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[23]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectRoleActors")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProjectRoleActors) _resp; - } catch (Exception _exception) { - return (RemoteProjectRoleActors) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProjectRoleActors.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteRoleActors getDefaultRoleActors(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[24]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getDefaultRoleActors")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteRoleActors) _resp; - } catch (Exception _exception) { - return (RemoteRoleActors) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteRoleActors.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void removeAllRoleActorsByNameAndType(String in0, String in1, String in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[25]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "removeAllRoleActorsByNameAndType")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void removeAllRoleActorsByProject(String in0, RemoteProject in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[26]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "removeAllRoleActorsByProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteProjectRole(String in0, RemoteProjectRole in1, - boolean in2) throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[27]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, new Boolean(in2)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void updateProjectRole(String in0, RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[28]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProjectRole createProjectRole(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[29]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProjectRole) _resp; - } catch (Exception _exception) { - return (RemoteProjectRole) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProjectRole.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean isProjectRoleNameUnique(String in0, String in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[30]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "isProjectRoleNameUnique")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void addActorsToProjectRole(String in0, String[] in1, - RemoteProjectRole in2, - RemoteProject in3, String in4) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[31]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addActorsToProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3, in4}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void removeActorsFromProjectRole(String in0, String[] in1, - RemoteProjectRole in2, - RemoteProject in3, String in4) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[32]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "removeActorsFromProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3, in4}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void addDefaultActorsToProjectRole(String in0, String[] in1, - RemoteProjectRole in2, String in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[33]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addDefaultActorsToProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void removeDefaultActorsFromProjectRole(String in0, String[] in1, - RemoteProjectRole in2, String in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[34]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "removeDefaultActorsFromProjectRole")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteScheme[] getAssociatedNotificationSchemes(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[35]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getAssociatedNotificationSchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteScheme[]) _resp; - } catch (Exception _exception) { - return (RemoteScheme[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteScheme[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteScheme[] getAssociatedPermissionSchemes(String in0, - RemoteProjectRole in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[36]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getAssociatedPermissionSchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteScheme[]) _resp; - } catch (Exception _exception) { - return (RemoteScheme[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteScheme[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteField[] getCustomFields(String in0) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[37]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getCustomFields")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteField[]) _resp; - } catch (Exception _exception) { - return (RemoteField[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteField[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteComment[] getComments(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[38]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getComments")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteComment[]) _resp; - } catch (Exception _exception) { - return (RemoteComment[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteComment[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteFilter[] getFavouriteFilters(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[39]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getFavouriteFilters")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteFilter[]) _resp; - } catch (Exception _exception) { - return (RemoteFilter[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteFilter[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void archiveVersion(String in0, String in1, String in2, boolean in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[40]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "archiveVersion")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, new Boolean(in3)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteVersion[] getVersions(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[41]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getVersions")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteVersion[]) _resp; - } catch (Exception _exception) { - return (RemoteVersion[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteVersion[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject createProject(String in0, String in1, - String in2, String in3, String in4, String in5, - RemotePermissionScheme in6, - RemoteScheme in7, - RemoteScheme in8) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[42]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3, in4, in5, in6, in7, in8}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void addComment(String in0, String in1, - RemoteComment in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[43]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addComment")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteField[] getFieldsForEdit(String in0, String in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[44]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getFieldsForEdit")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteField[]) _resp; - } catch (Exception _exception) { - return (RemoteField[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteField[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssueType[] getIssueTypesForProject(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[45]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssueTypesForProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssueType[]) _resp; - } catch (Exception _exception) { - return (RemoteIssueType[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssueType[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssueType[] getSubTaskIssueTypesForProject(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[46]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSubTaskIssueTypesForProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssueType[]) _resp; - } catch (Exception _exception) { - return (RemoteIssueType[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssueType[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void addUserToGroup(String in0, RemoteGroup in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[47]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addUserToGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void removeUserFromGroup(String in0, RemoteGroup in1, - RemoteUser in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[48]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "removeUserFromGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean logout(String in0) throws java.rmi.RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[49]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "logout")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - throw axisFaultException; - } - } - - public RemoteProject getProjectById(String in0, long in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[50]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectById")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, new Long(in1)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject getProjectWithSchemesById(String in0, long in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[51]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectWithSchemesById")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, new Long(in1)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteProject(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[52]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void releaseVersion(String in0, String in1, - RemoteVersion in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[53]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "releaseVersion")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteSecurityLevel[] getSecurityLevels(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[54]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSecurityLevels")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteSecurityLevel[]) _resp; - } catch (Exception _exception) { - return (RemoteSecurityLevel[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteSecurityLevel[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteIssue(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[55]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue createIssueWithSecurityLevel(String in0, - RemoteIssue in1, long in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[56]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createIssueWithSecurityLevel")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, new Long(in2)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean addAttachmentsToIssue(String in0, String in1, String[] in2, byte[][] in3) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[57]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addAttachmentsToIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteAttachment[] getAttachmentsFromIssue(String in0, - String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[58]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getAttachmentsFromIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteAttachment[]) _resp; - } catch (ClassCastException e) { - throw e; // see PL-1918 for further information why this manual modification is needed here - } catch (Exception _exception) { - return (RemoteAttachment[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteAttachment[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean hasPermissionToEditComment(String in0, - RemoteComment in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[59]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "hasPermissionToEditComment")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteComment editComment(String in0, - RemoteComment in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[60]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "editComment")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteComment) _resp; - } catch (Exception _exception) { - return (RemoteComment) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteComment.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteField[] getFieldsForAction(String in0, - String in1, String in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[61]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getFieldsForAction")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteField[]) _resp; - } catch (Exception _exception) { - return (RemoteField[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteField[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue progressWorkflowAction(String in0, - String in1, String in2, RemoteFieldValue[] in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[62]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "progressWorkflowAction")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue getIssueById(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[63]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssueById")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue) _resp; - } catch (Exception _exception) { - return (RemoteIssue) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteWorklog addWorklogWithNewRemainingEstimate(String in0, - String in1, RemoteWorklog in2, String in3) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[64]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addWorklogWithNewRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteWorklog) _resp; - } catch (Exception _exception) { - return (RemoteWorklog) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteWorklog.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteWorklog addWorklogAndAutoAdjustRemainingEstimate( - String in0, String in1, RemoteWorklog in2) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[65]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", - "addWorklogAndAutoAdjustRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteWorklog) _resp; - } catch (Exception _exception) { - return (RemoteWorklog) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteWorklog.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteWorklog addWorklogAndRetainRemainingEstimate(String in0, - String in1, RemoteWorklog in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[66]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addWorklogAndRetainRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteWorklog) _resp; - } catch (Exception _exception) { - return (RemoteWorklog) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteWorklog.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteWorklogWithNewRemainingEstimate(String in0, String in1, String in2) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[67]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteWorklogWithNewRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteWorklogAndAutoAdjustRemainingEstimate(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[68]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", - "deleteWorklogAndAutoAdjustRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteWorklogAndRetainRemainingEstimate(String in0, String in1) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[69]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteWorklogAndRetainRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void updateWorklogWithNewRemainingEstimate(String in0, - RemoteWorklog in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[70]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateWorklogWithNewRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void updateWorklogAndAutoAdjustRemainingEstimate(String in0, - RemoteWorklog in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[71]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", - "updateWorklogAndAutoAdjustRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void updateWorklogAndRetainRemainingEstimate(String in0, - RemoteWorklog in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[72]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateWorklogAndRetainRemainingEstimate")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteWorklog[] getWorklogs(String in0, String in1) - throws java.rmi.RemoteException, RemotePermissionException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[73]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getWorklogs")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteWorklog[]) _resp; - } catch (Exception _exception) { - return (RemoteWorklog[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteWorklog[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean hasPermissionToCreateWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[74]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "hasPermissionToCreateWorklog")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean hasPermissionToDeleteWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[75]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "hasPermissionToDeleteWorklog")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean hasPermissionToUpdateWorklog(String in0, String in1) throws java.rmi.RemoteException, - RemoteValidationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[76]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "hasPermissionToUpdateWorklog")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteScheme[] getNotificationSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[77]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getNotificationSchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteScheme[]) _resp; - } catch (Exception _exception) { - return (RemoteScheme[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteScheme[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePermissionScheme[] getPermissionSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[78]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getPermissionSchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePermissionScheme[]) _resp; - } catch (Exception _exception) { - return (RemotePermissionScheme[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePermissionScheme[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePermissionScheme createPermissionScheme(String in0, - String in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[79]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createPermissionScheme")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePermissionScheme) _resp; - } catch (Exception _exception) { - return (RemotePermissionScheme) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePermissionScheme.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deletePermissionScheme(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[80]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deletePermissionScheme")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePermissionScheme addPermissionTo(String in0, - RemotePermissionScheme in1, - RemotePermission in2, - RemoteEntity in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[81]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addPermissionTo")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePermissionScheme) _resp; - } catch (Exception _exception) { - return (RemotePermissionScheme) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePermissionScheme.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePermissionScheme deletePermissionFrom(String in0, - RemotePermissionScheme in1, - RemotePermission in2, - RemoteEntity in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[82]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deletePermissionFrom")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePermissionScheme) _resp; - } catch (Exception _exception) { - return (RemotePermissionScheme) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePermissionScheme.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemotePermission[] getAllPermissions(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[83]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getAllPermissions")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemotePermission[]) _resp; - } catch (Exception _exception) { - return (RemotePermission[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemotePermission[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public long getIssueCountForFilter(String in0, String in1) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[84]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssueCountForFilter")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Long) _resp).longValue(); - } catch (Exception _exception) { - return ((Long) org.apache.axis.utils.JavaUtils.convert(_resp, long.class)).longValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue[] getIssuesFromTextSearch(String in0, - String in1) throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[85]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssuesFromTextSearch")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue[]) _resp; - } catch (Exception _exception) { - return (RemoteIssue[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue[] getIssuesFromTextSearchWithProject(String in0, - String[] in1, String in2, int in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[86]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssuesFromTextSearchWithProject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, new Integer(in3)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue[]) _resp; - } catch (Exception _exception) { - return (RemoteIssue[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteUser(String in0, String in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[87]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteUser")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteGroup updateGroup(String in0, - RemoteGroup in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[88]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "updateGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteGroup) _resp; - } catch (Exception _exception) { - return (RemoteGroup) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteGroup.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void deleteGroup(String in0, String in1, String in2) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[89]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "deleteGroup")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public void refreshCustomFields(String in0) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[90]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "refreshCustomFields")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } - extractAttachments(_call); - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject[] getProjectsNoSchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[91]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getProjectsNoSchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject[]) _resp; - } catch (Exception _exception) { - return (RemoteProject[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteVersion addVersion(String in0, String in1, - RemoteVersion in2) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[92]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addVersion")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteVersion) _resp; - } catch (Exception _exception) { - return (RemoteVersion) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteVersion.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteFilter[] getSavedFilters(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[93]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSavedFilters")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteFilter[]) _resp; - } catch (Exception _exception) { - return (RemoteFilter[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteFilter[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public boolean addBase64EncodedAttachmentsToIssue(String in0, String in1, String[] in2, - String[] in3) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[94]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "addBase64EncodedAttachmentsToIssue")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1, in2, in3}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return ((Boolean) _resp).booleanValue(); - } catch (Exception _exception) { - return ((Boolean) org.apache.axis.utils.JavaUtils.convert(_resp, boolean.class)).booleanValue(); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteProject createProjectFromObject(String in0, - RemoteProject in1) throws java.rmi.RemoteException, - RemotePermissionException, - RemoteValidationException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[95]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "createProjectFromObject")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteProject) _resp; - } catch (Exception _exception) { - return (RemoteProject) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteProject.class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteValidationException) { - throw (RemoteValidationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteScheme[] getSecuritySchemes(String in0) throws - java.rmi.RemoteException, RemotePermissionException, - RemoteAuthenticationException, - RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[96]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getSecuritySchemes")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteScheme[]) _resp; - } catch (Exception _exception) { - return (RemoteScheme[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteScheme[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemotePermissionException) { - throw (RemotePermissionException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteAuthenticationException) { - throw (RemoteAuthenticationException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue[] getIssuesFromFilter(String in0, - String in1) throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[97]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName(new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssuesFromFilter")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call.invoke(new Object[]{in0, in1}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue[]) _resp; - } catch (Exception _exception) { - return (RemoteIssue[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue[] getIssuesFromFilterWithLimit(String in0, - String in1, int in2, int in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[98]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssuesFromFilterWithLimit")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call - .invoke(new Object[]{in0, in1, new Integer(in2), new Integer(in3)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue[]) _resp; - } catch (Exception _exception) { - return (RemoteIssue[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - - public RemoteIssue[] getIssuesFromTextSearchWithLimit(String in0, - String in1, int in2, int in3) - throws java.rmi.RemoteException, RemoteException { - if (super.cachedEndpoint == null) { - throw new org.apache.axis.NoEndPointException(); - } - org.apache.axis.client.Call _call = createCall(); - _call.setOperation(_operations[99]); - _call.setUseSOAPAction(true); - _call.setSOAPActionURI(""); - _call.setSOAPVersion(org.apache.axis.soap.SOAPConstants.SOAP11_CONSTANTS); - _call.setOperationName( - new javax.xml.namespace.QName("http://soap.rpc.jira.atlassian.com", "getIssuesFromTextSearchWithLimit")); - - setRequestHeaders(_call); - setAttachments(_call); - try { - Object _resp = _call - .invoke(new Object[]{in0, in1, new Integer(in2), new Integer(in3)}); - - if (_resp instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) _resp; - } else { - extractAttachments(_call); - try { - return (RemoteIssue[]) _resp; - } catch (Exception _exception) { - return (RemoteIssue[]) org.apache.axis.utils.JavaUtils - .convert(_resp, RemoteIssue[].class); - } - } - } catch (org.apache.axis.AxisFault axisFaultException) { - if (axisFaultException.detail != null) { - if (axisFaultException.detail instanceof java.rmi.RemoteException) { - throw (java.rmi.RemoteException) axisFaultException.detail; - } - if (axisFaultException.detail instanceof RemoteException) { - throw (RemoteException) axisFaultException.detail; - } - } - throw axisFaultException; - } - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAttachment.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAttachment.java deleted file mode 100644 index 08e1e3056726..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAttachment.java +++ /dev/null @@ -1,275 +0,0 @@ -/** - * RemoteAttachment.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteAttachment extends AbstractRemoteEntity - implements java.io.Serializable { - private String author; - - private java.util.Calendar created; - - private String filename; - - private Long filesize; - - private String mimetype; - - public RemoteAttachment() { - } - - public RemoteAttachment( - String id, - String author, - java.util.Calendar created, - String filename, - Long filesize, - String mimetype) { - super( - id); - this.author = author; - this.created = created; - this.filename = filename; - this.filesize = filesize; - this.mimetype = mimetype; - } - - - /** - * Gets the author value for this RemoteAttachment. - * - * @return author - */ - public String getAuthor() { - return author; - } - - - /** - * Sets the author value for this RemoteAttachment. - * - * @param author - */ - public void setAuthor(String author) { - this.author = author; - } - - - /** - * Gets the created value for this RemoteAttachment. - * - * @return created - */ - public java.util.Calendar getCreated() { - return created; - } - - - /** - * Sets the created value for this RemoteAttachment. - * - * @param created - */ - public void setCreated(java.util.Calendar created) { - this.created = created; - } - - - /** - * Gets the filename value for this RemoteAttachment. - * - * @return filename - */ - public String getFilename() { - return filename; - } - - - /** - * Sets the filename value for this RemoteAttachment. - * - * @param filename - */ - public void setFilename(String filename) { - this.filename = filename; - } - - - /** - * Gets the filesize value for this RemoteAttachment. - * - * @return filesize - */ - public Long getFilesize() { - return filesize; - } - - - /** - * Sets the filesize value for this RemoteAttachment. - * - * @param filesize - */ - public void setFilesize(Long filesize) { - this.filesize = filesize; - } - - - /** - * Gets the mimetype value for this RemoteAttachment. - * - * @return mimetype - */ - public String getMimetype() { - return mimetype; - } - - - /** - * Sets the mimetype value for this RemoteAttachment. - * - * @param mimetype - */ - public void setMimetype(String mimetype) { - this.mimetype = mimetype; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteAttachment)) { - return false; - } - RemoteAttachment other = (RemoteAttachment) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.author == null && other.getAuthor() == null) || - (this.author != null && - this.author.equals(other.getAuthor()))) && - ((this.created == null && other.getCreated() == null) || - (this.created != null && - this.created.equals(other.getCreated()))) && - ((this.filename == null && other.getFilename() == null) || - (this.filename != null && - this.filename.equals(other.getFilename()))) && - ((this.filesize == null && other.getFilesize() == null) || - (this.filesize != null && - this.filesize.equals(other.getFilesize()))) && - ((this.mimetype == null && other.getMimetype() == null) || - (this.mimetype != null && - this.mimetype.equals(other.getMimetype()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getAuthor() != null) { - _hashCode += getAuthor().hashCode(); - } - if (getCreated() != null) { - _hashCode += getCreated().hashCode(); - } - if (getFilename() != null) { - _hashCode += getFilename().hashCode(); - } - if (getFilesize() != null) { - _hashCode += getFilesize().hashCode(); - } - if (getMimetype() != null) { - _hashCode += getMimetype().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteAttachment.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteAttachment")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("author"); - elemField.setXmlName(new javax.xml.namespace.QName("", "author")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("created"); - elemField.setXmlName(new javax.xml.namespace.QName("", "created")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("filename"); - elemField.setXmlName(new javax.xml.namespace.QName("", "filename")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("filesize"); - elemField.setXmlName(new javax.xml.namespace.QName("", "filesize")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("mimetype"); - elemField.setXmlName(new javax.xml.namespace.QName("", "mimetype")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAuthenticationException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAuthenticationException.java deleted file mode 100644 index 0436e949c890..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteAuthenticationException.java +++ /dev/null @@ -1,98 +0,0 @@ -/** - * RemoteAuthenticationException.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteAuthenticationException extends RemoteException - implements java.io.Serializable { - public RemoteAuthenticationException() { - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteAuthenticationException)) { - return false; - } - RemoteAuthenticationException other = (RemoteAuthenticationException) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteAuthenticationException.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteAuthenticationException")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) - throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComment.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComment.java deleted file mode 100644 index f18f6c462917..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComment.java +++ /dev/null @@ -1,379 +0,0 @@ -/** - * RemoteComment.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteComment implements java.io.Serializable { - private String author; - - private String body; - - private java.util.Calendar created; - - private String groupLevel; - - private String id; - - private String roleLevel; - - private String updateAuthor; - - private java.util.Calendar updated; - - public RemoteComment() { - } - - public RemoteComment( - String author, - String body, - java.util.Calendar created, - String groupLevel, - String id, - String roleLevel, - String updateAuthor, - java.util.Calendar updated) { - this.author = author; - this.body = body; - this.created = created; - this.groupLevel = groupLevel; - this.id = id; - this.roleLevel = roleLevel; - this.updateAuthor = updateAuthor; - this.updated = updated; - } - - - /** - * Gets the author value for this RemoteComment. - * - * @return author - */ - public String getAuthor() { - return author; - } - - - /** - * Sets the author value for this RemoteComment. - * - * @param author - */ - public void setAuthor(String author) { - this.author = author; - } - - - /** - * Gets the body value for this RemoteComment. - * - * @return body - */ - public String getBody() { - return body; - } - - - /** - * Sets the body value for this RemoteComment. - * - * @param body - */ - public void setBody(String body) { - this.body = body; - } - - - /** - * Gets the created value for this RemoteComment. - * - * @return created - */ - public java.util.Calendar getCreated() { - return created; - } - - - /** - * Sets the created value for this RemoteComment. - * - * @param created - */ - public void setCreated(java.util.Calendar created) { - this.created = created; - } - - - /** - * Gets the groupLevel value for this RemoteComment. - * - * @return groupLevel - */ - public String getGroupLevel() { - return groupLevel; - } - - - /** - * Sets the groupLevel value for this RemoteComment. - * - * @param groupLevel - */ - public void setGroupLevel(String groupLevel) { - this.groupLevel = groupLevel; - } - - - /** - * Gets the id value for this RemoteComment. - * - * @return id - */ - public String getId() { - return id; - } - - - /** - * Sets the id value for this RemoteComment. - * - * @param id - */ - public void setId(String id) { - this.id = id; - } - - - /** - * Gets the roleLevel value for this RemoteComment. - * - * @return roleLevel - */ - public String getRoleLevel() { - return roleLevel; - } - - - /** - * Sets the roleLevel value for this RemoteComment. - * - * @param roleLevel - */ - public void setRoleLevel(String roleLevel) { - this.roleLevel = roleLevel; - } - - - /** - * Gets the updateAuthor value for this RemoteComment. - * - * @return updateAuthor - */ - public String getUpdateAuthor() { - return updateAuthor; - } - - - /** - * Sets the updateAuthor value for this RemoteComment. - * - * @param updateAuthor - */ - public void setUpdateAuthor(String updateAuthor) { - this.updateAuthor = updateAuthor; - } - - - /** - * Gets the updated value for this RemoteComment. - * - * @return updated - */ - public java.util.Calendar getUpdated() { - return updated; - } - - - /** - * Sets the updated value for this RemoteComment. - * - * @param updated - */ - public void setUpdated(java.util.Calendar updated) { - this.updated = updated; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteComment)) { - return false; - } - RemoteComment other = (RemoteComment) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.author == null && other.getAuthor() == null) || - (this.author != null && - this.author.equals(other.getAuthor()))) && - ((this.body == null && other.getBody() == null) || - (this.body != null && - this.body.equals(other.getBody()))) && - ((this.created == null && other.getCreated() == null) || - (this.created != null && - this.created.equals(other.getCreated()))) && - ((this.groupLevel == null && other.getGroupLevel() == null) || - (this.groupLevel != null && - this.groupLevel.equals(other.getGroupLevel()))) && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))) && - ((this.roleLevel == null && other.getRoleLevel() == null) || - (this.roleLevel != null && - this.roleLevel.equals(other.getRoleLevel()))) && - ((this.updateAuthor == null && other.getUpdateAuthor() == null) || - (this.updateAuthor != null && - this.updateAuthor.equals(other.getUpdateAuthor()))) && - ((this.updated == null && other.getUpdated() == null) || - (this.updated != null && - this.updated.equals(other.getUpdated()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAuthor() != null) { - _hashCode += getAuthor().hashCode(); - } - if (getBody() != null) { - _hashCode += getBody().hashCode(); - } - if (getCreated() != null) { - _hashCode += getCreated().hashCode(); - } - if (getGroupLevel() != null) { - _hashCode += getGroupLevel().hashCode(); - } - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getRoleLevel() != null) { - _hashCode += getRoleLevel().hashCode(); - } - if (getUpdateAuthor() != null) { - _hashCode += getUpdateAuthor().hashCode(); - } - if (getUpdated() != null) { - _hashCode += getUpdated().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteComment.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComment")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("author"); - elemField.setXmlName(new javax.xml.namespace.QName("", "author")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("body"); - elemField.setXmlName(new javax.xml.namespace.QName("", "body")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("created"); - elemField.setXmlName(new javax.xml.namespace.QName("", "created")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("groupLevel"); - elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("roleLevel"); - elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevel")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updateAuthor"); - elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updated"); - elemField.setXmlName(new javax.xml.namespace.QName("", "updated")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComponent.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComponent.java deleted file mode 100644 index 96a8595474d5..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteComponent.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * RemoteComponent.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteComponent extends AbstractNamedRemoteEntity - implements java.io.Serializable { - public RemoteComponent() { - } - - public RemoteComponent( - String id, - String name) { - super( - id, - name); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteComponent)) { - return false; - } - RemoteComponent other = (RemoteComponent) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteComponent.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteConfiguration.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteConfiguration.java deleted file mode 100644 index 2272318e8f8e..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteConfiguration.java +++ /dev/null @@ -1,411 +0,0 @@ -/** - * RemoteConfiguration.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteConfiguration implements java.io.Serializable { - private boolean allowAttachments; - - private boolean allowExternalUserManagment; - - private boolean allowIssueLinking; - - private boolean allowSubTasks; - - private boolean allowTimeTracking; - - private boolean allowUnassignedIssues; - - private boolean allowVoting; - - private boolean allowWatching; - - private int timeTrackingDaysPerWeek; - - private int timeTrackingHoursPerDay; - - public RemoteConfiguration() { - } - - public RemoteConfiguration( - boolean allowAttachments, - boolean allowExternalUserManagment, - boolean allowIssueLinking, - boolean allowSubTasks, - boolean allowTimeTracking, - boolean allowUnassignedIssues, - boolean allowVoting, - boolean allowWatching, - int timeTrackingDaysPerWeek, - int timeTrackingHoursPerDay) { - this.allowAttachments = allowAttachments; - this.allowExternalUserManagment = allowExternalUserManagment; - this.allowIssueLinking = allowIssueLinking; - this.allowSubTasks = allowSubTasks; - this.allowTimeTracking = allowTimeTracking; - this.allowUnassignedIssues = allowUnassignedIssues; - this.allowVoting = allowVoting; - this.allowWatching = allowWatching; - this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek; - this.timeTrackingHoursPerDay = timeTrackingHoursPerDay; - } - - - /** - * Gets the allowAttachments value for this RemoteConfiguration. - * - * @return allowAttachments - */ - public boolean isAllowAttachments() { - return allowAttachments; - } - - - /** - * Sets the allowAttachments value for this RemoteConfiguration. - * - * @param allowAttachments - */ - public void setAllowAttachments(boolean allowAttachments) { - this.allowAttachments = allowAttachments; - } - - - /** - * Gets the allowExternalUserManagment value for this RemoteConfiguration. - * - * @return allowExternalUserManagment - */ - public boolean isAllowExternalUserManagment() { - return allowExternalUserManagment; - } - - - /** - * Sets the allowExternalUserManagment value for this RemoteConfiguration. - * - * @param allowExternalUserManagment - */ - public void setAllowExternalUserManagment(boolean allowExternalUserManagment) { - this.allowExternalUserManagment = allowExternalUserManagment; - } - - - /** - * Gets the allowIssueLinking value for this RemoteConfiguration. - * - * @return allowIssueLinking - */ - public boolean isAllowIssueLinking() { - return allowIssueLinking; - } - - - /** - * Sets the allowIssueLinking value for this RemoteConfiguration. - * - * @param allowIssueLinking - */ - public void setAllowIssueLinking(boolean allowIssueLinking) { - this.allowIssueLinking = allowIssueLinking; - } - - - /** - * Gets the allowSubTasks value for this RemoteConfiguration. - * - * @return allowSubTasks - */ - public boolean isAllowSubTasks() { - return allowSubTasks; - } - - - /** - * Sets the allowSubTasks value for this RemoteConfiguration. - * - * @param allowSubTasks - */ - public void setAllowSubTasks(boolean allowSubTasks) { - this.allowSubTasks = allowSubTasks; - } - - - /** - * Gets the allowTimeTracking value for this RemoteConfiguration. - * - * @return allowTimeTracking - */ - public boolean isAllowTimeTracking() { - return allowTimeTracking; - } - - - /** - * Sets the allowTimeTracking value for this RemoteConfiguration. - * - * @param allowTimeTracking - */ - public void setAllowTimeTracking(boolean allowTimeTracking) { - this.allowTimeTracking = allowTimeTracking; - } - - - /** - * Gets the allowUnassignedIssues value for this RemoteConfiguration. - * - * @return allowUnassignedIssues - */ - public boolean isAllowUnassignedIssues() { - return allowUnassignedIssues; - } - - - /** - * Sets the allowUnassignedIssues value for this RemoteConfiguration. - * - * @param allowUnassignedIssues - */ - public void setAllowUnassignedIssues(boolean allowUnassignedIssues) { - this.allowUnassignedIssues = allowUnassignedIssues; - } - - - /** - * Gets the allowVoting value for this RemoteConfiguration. - * - * @return allowVoting - */ - public boolean isAllowVoting() { - return allowVoting; - } - - - /** - * Sets the allowVoting value for this RemoteConfiguration. - * - * @param allowVoting - */ - public void setAllowVoting(boolean allowVoting) { - this.allowVoting = allowVoting; - } - - - /** - * Gets the allowWatching value for this RemoteConfiguration. - * - * @return allowWatching - */ - public boolean isAllowWatching() { - return allowWatching; - } - - - /** - * Sets the allowWatching value for this RemoteConfiguration. - * - * @param allowWatching - */ - public void setAllowWatching(boolean allowWatching) { - this.allowWatching = allowWatching; - } - - - /** - * Gets the timeTrackingDaysPerWeek value for this RemoteConfiguration. - * - * @return timeTrackingDaysPerWeek - */ - public int getTimeTrackingDaysPerWeek() { - return timeTrackingDaysPerWeek; - } - - - /** - * Sets the timeTrackingDaysPerWeek value for this RemoteConfiguration. - * - * @param timeTrackingDaysPerWeek - */ - public void setTimeTrackingDaysPerWeek(int timeTrackingDaysPerWeek) { - this.timeTrackingDaysPerWeek = timeTrackingDaysPerWeek; - } - - - /** - * Gets the timeTrackingHoursPerDay value for this RemoteConfiguration. - * - * @return timeTrackingHoursPerDay - */ - public int getTimeTrackingHoursPerDay() { - return timeTrackingHoursPerDay; - } - - - /** - * Sets the timeTrackingHoursPerDay value for this RemoteConfiguration. - * - * @param timeTrackingHoursPerDay - */ - public void setTimeTrackingHoursPerDay(int timeTrackingHoursPerDay) { - this.timeTrackingHoursPerDay = timeTrackingHoursPerDay; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteConfiguration)) { - return false; - } - RemoteConfiguration other = (RemoteConfiguration) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - this.allowAttachments == other.isAllowAttachments() && - this.allowExternalUserManagment == other.isAllowExternalUserManagment() && - this.allowIssueLinking == other.isAllowIssueLinking() && - this.allowSubTasks == other.isAllowSubTasks() && - this.allowTimeTracking == other.isAllowTimeTracking() && - this.allowUnassignedIssues == other.isAllowUnassignedIssues() && - this.allowVoting == other.isAllowVoting() && - this.allowWatching == other.isAllowWatching() && - this.timeTrackingDaysPerWeek == other.getTimeTrackingDaysPerWeek() && - this.timeTrackingHoursPerDay == other.getTimeTrackingHoursPerDay(); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - _hashCode += (isAllowAttachments() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowExternalUserManagment() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowIssueLinking() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowSubTasks() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowTimeTracking() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowUnassignedIssues() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowVoting() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += (isAllowWatching() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - _hashCode += getTimeTrackingDaysPerWeek(); - _hashCode += getTimeTrackingHoursPerDay(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteConfiguration.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteConfiguration")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowAttachments"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowAttachments")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowExternalUserManagment"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowExternalUserManagment")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowIssueLinking"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowIssueLinking")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowSubTasks"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowSubTasks")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowTimeTracking"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowTimeTracking")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowUnassignedIssues"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowUnassignedIssues")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowVoting"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowVoting")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("allowWatching"); - elemField.setXmlName(new javax.xml.namespace.QName("", "allowWatching")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timeTrackingDaysPerWeek"); - elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingDaysPerWeek")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timeTrackingHoursPerDay"); - elemField.setXmlName(new javax.xml.namespace.QName("", "timeTrackingHoursPerDay")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "int")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteCustomFieldValue.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteCustomFieldValue.java deleted file mode 100644 index 5ee9e2032d51..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteCustomFieldValue.java +++ /dev/null @@ -1,208 +0,0 @@ -/** - * RemoteCustomFieldValue.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteCustomFieldValue implements java.io.Serializable { - private String customfieldId; - - private String key; - - private String[] values; - - public RemoteCustomFieldValue() { - } - - public RemoteCustomFieldValue( - String customfieldId, - String key, - String[] values) { - this.customfieldId = customfieldId; - this.key = key; - this.values = values; - } - - - /** - * Gets the customfieldId value for this RemoteCustomFieldValue. - * - * @return customfieldId - */ - public String getCustomfieldId() { - return customfieldId; - } - - - /** - * Sets the customfieldId value for this RemoteCustomFieldValue. - * - * @param customfieldId - */ - public void setCustomfieldId(String customfieldId) { - this.customfieldId = customfieldId; - } - - - /** - * Gets the key value for this RemoteCustomFieldValue. - * - * @return key - */ - public String getKey() { - return key; - } - - - /** - * Sets the key value for this RemoteCustomFieldValue. - * - * @param key - */ - public void setKey(String key) { - this.key = key; - } - - - /** - * Gets the values value for this RemoteCustomFieldValue. - * - * @return values - */ - public String[] getValues() { - return values; - } - - - /** - * Sets the values value for this RemoteCustomFieldValue. - * - * @param values - */ - public void setValues(String[] values) { - this.values = values; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteCustomFieldValue)) { - return false; - } - RemoteCustomFieldValue other = (RemoteCustomFieldValue) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.customfieldId == null && other.getCustomfieldId() == null) || - (this.customfieldId != null && - this.customfieldId.equals(other.getCustomfieldId()))) && - ((this.key == null && other.getKey() == null) || - (this.key != null && - this.key.equals(other.getKey()))) && - ((this.values == null && other.getValues() == null) || - (this.values != null && - java.util.Arrays.equals(this.values, other.getValues()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getCustomfieldId() != null) { - _hashCode += getCustomfieldId().hashCode(); - } - if (getKey() != null) { - _hashCode += getKey().hashCode(); - } - if (getValues() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getValues()); - i++) { - Object obj = java.lang.reflect.Array.get(getValues(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteCustomFieldValue.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("customfieldId"); - elemField.setXmlName(new javax.xml.namespace.QName("", "customfieldId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("key"); - elemField.setXmlName(new javax.xml.namespace.QName("", "key")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("values"); - elemField.setXmlName(new javax.xml.namespace.QName("", "values")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteEntity.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteEntity.java deleted file mode 100644 index e1bbdb5602c2..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteEntity.java +++ /dev/null @@ -1,88 +0,0 @@ -/** - * RemoteEntity.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteEntity implements java.io.Serializable { - public RemoteEntity() { - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteEntity)) { - return false; - } - RemoteEntity other = (RemoteEntity) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true; - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteEntity.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteException.java deleted file mode 100644 index 1858c1cc9e8a..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteException.java +++ /dev/null @@ -1,96 +0,0 @@ -/** - * RemoteException.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteException extends org.apache.axis.AxisFault implements java.io.Serializable { - public RemoteException() { - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteException)) { - return false; - } - RemoteException other = (RemoteException) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true; - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteException.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteException")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) - throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteField.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteField.java deleted file mode 100644 index f96464104d66..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteField.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * RemoteField.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteField extends AbstractNamedRemoteEntity - implements java.io.Serializable { - public RemoteField() { - } - - public RemoteField( - String id, - String name) { - super( - id, - name); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteField)) { - return false; - } - RemoteField other = (RemoteField) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteField.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteField")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFieldValue.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFieldValue.java deleted file mode 100644 index 942cc3dae319..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFieldValue.java +++ /dev/null @@ -1,171 +0,0 @@ -/** - * RemoteFieldValue.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteFieldValue implements java.io.Serializable { - private String id; - - private String[] values; - - public RemoteFieldValue() { - } - - public RemoteFieldValue( - String id, - String[] values) { - this.id = id; - this.values = values; - } - - - /** - * Gets the id value for this RemoteFieldValue. - * - * @return id - */ - public String getId() { - return id; - } - - - /** - * Sets the id value for this RemoteFieldValue. - * - * @param id - */ - public void setId(String id) { - this.id = id; - } - - - /** - * Gets the values value for this RemoteFieldValue. - * - * @return values - */ - public String[] getValues() { - return values; - } - - - /** - * Sets the values value for this RemoteFieldValue. - * - * @param values - */ - public void setValues(String[] values) { - this.values = values; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteFieldValue)) { - return false; - } - RemoteFieldValue other = (RemoteFieldValue) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))) && - ((this.values == null && other.getValues() == null) || - (this.values != null && - java.util.Arrays.equals(this.values, other.getValues()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getValues() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getValues()); - i++) { - Object obj = java.lang.reflect.Array.get(getValues(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteFieldValue.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFieldValue")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("values"); - elemField.setXmlName(new javax.xml.namespace.QName("", "values")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFilter.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFilter.java deleted file mode 100644 index 647b4d067abf..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteFilter.java +++ /dev/null @@ -1,241 +0,0 @@ -/** - * RemoteFilter.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteFilter extends AbstractNamedRemoteEntity - implements java.io.Serializable { - private String author; - - private String description; - - private String project; - - private String xml; - - public RemoteFilter() { - } - - public RemoteFilter( - String id, - String name, - String author, - String description, - String project, - String xml) { - super( - id, - name); - this.author = author; - this.description = description; - this.project = project; - this.xml = xml; - } - - - /** - * Gets the author value for this RemoteFilter. - * - * @return author - */ - public String getAuthor() { - return author; - } - - - /** - * Sets the author value for this RemoteFilter. - * - * @param author - */ - public void setAuthor(String author) { - this.author = author; - } - - - /** - * Gets the description value for this RemoteFilter. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteFilter. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the project value for this RemoteFilter. - * - * @return project - */ - public String getProject() { - return project; - } - - - /** - * Sets the project value for this RemoteFilter. - * - * @param project - */ - public void setProject(String project) { - this.project = project; - } - - - /** - * Gets the xml value for this RemoteFilter. - * - * @return xml - */ - public String getXml() { - return xml; - } - - - /** - * Sets the xml value for this RemoteFilter. - * - * @param xml - */ - public void setXml(String xml) { - this.xml = xml; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteFilter)) { - return false; - } - RemoteFilter other = (RemoteFilter) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.author == null && other.getAuthor() == null) || - (this.author != null && - this.author.equals(other.getAuthor()))) && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.project == null && other.getProject() == null) || - (this.project != null && - this.project.equals(other.getProject()))) && - ((this.xml == null && other.getXml() == null) || - (this.xml != null && - this.xml.equals(other.getXml()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getAuthor() != null) { - _hashCode += getAuthor().hashCode(); - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getProject() != null) { - _hashCode += getProject().hashCode(); - } - if (getXml() != null) { - _hashCode += getXml().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteFilter.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteFilter")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("author"); - elemField.setXmlName(new javax.xml.namespace.QName("", "author")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("project"); - elemField.setXmlName(new javax.xml.namespace.QName("", "project")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("xml"); - elemField.setXmlName(new javax.xml.namespace.QName("", "xml")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteGroup.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteGroup.java deleted file mode 100644 index 2f3d442513c8..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteGroup.java +++ /dev/null @@ -1,171 +0,0 @@ -/** - * RemoteGroup.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteGroup extends RemoteEntity implements java.io.Serializable { - private String name; - - private RemoteUser[] users; - - public RemoteGroup() { - } - - public RemoteGroup( - String name, - RemoteUser[] users) { - this.name = name; - this.users = users; - } - - - /** - * Gets the name value for this RemoteGroup. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this RemoteGroup. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - - /** - * Gets the users value for this RemoteGroup. - * - * @return users - */ - public RemoteUser[] getUsers() { - return users; - } - - - /** - * Sets the users value for this RemoteGroup. - * - * @param users - */ - public void setUsers(RemoteUser[] users) { - this.users = users; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteGroup)) { - return false; - } - RemoteGroup other = (RemoteGroup) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))) && - ((this.users == null && other.getUsers() == null) || - (this.users != null && - java.util.Arrays.equals(this.users, other.getUsers()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getUsers() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getUsers()); - i++) { - Object obj = java.lang.reflect.Array.get(getUsers(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteGroup.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteGroup")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("users"); - elemField.setXmlName(new javax.xml.namespace.QName("", "users")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssue.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssue.java deleted file mode 100644 index 39c3caf3b8c9..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssue.java +++ /dev/null @@ -1,856 +0,0 @@ -/** - * RemoteIssue.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteIssue extends AbstractRemoteEntity - implements java.io.Serializable { - private RemoteVersion[] affectsVersions; - - private String assignee; - - private String[] attachmentNames; - - private RemoteComponent[] components; - - private java.util.Calendar created; - - private RemoteCustomFieldValue[] customFieldValues; - - private String description; - - private java.util.Calendar duedate; - - private String environment; - - private RemoteVersion[] fixVersions; - - private String key; - - private String priority; - - private String project; - - private String reporter; - - private String resolution; - - private String status; - - private String summary; - - private String type; - - private java.util.Calendar updated; - - private Long votes; - - public RemoteIssue() { - } - - public RemoteIssue( - String id, - RemoteVersion[] affectsVersions, - String assignee, - String[] attachmentNames, - RemoteComponent[] components, - java.util.Calendar created, - RemoteCustomFieldValue[] customFieldValues, - String description, - java.util.Calendar duedate, - String environment, - RemoteVersion[] fixVersions, - String key, - String priority, - String project, - String reporter, - String resolution, - String status, - String summary, - String type, - java.util.Calendar updated, - Long votes) { - super( - id); - this.affectsVersions = affectsVersions; - this.assignee = assignee; - this.attachmentNames = attachmentNames; - this.components = components; - this.created = created; - this.customFieldValues = customFieldValues; - this.description = description; - this.duedate = duedate; - this.environment = environment; - this.fixVersions = fixVersions; - this.key = key; - this.priority = priority; - this.project = project; - this.reporter = reporter; - this.resolution = resolution; - this.status = status; - this.summary = summary; - this.type = type; - this.updated = updated; - this.votes = votes; - } - - - /** - * Gets the affectsVersions value for this RemoteIssue. - * - * @return affectsVersions - */ - public RemoteVersion[] getAffectsVersions() { - return affectsVersions; - } - - - /** - * Sets the affectsVersions value for this RemoteIssue. - * - * @param affectsVersions - */ - public void setAffectsVersions(RemoteVersion[] affectsVersions) { - this.affectsVersions = affectsVersions; - } - - - /** - * Gets the assignee value for this RemoteIssue. - * - * @return assignee - */ - public String getAssignee() { - return assignee; - } - - - /** - * Sets the assignee value for this RemoteIssue. - * - * @param assignee - */ - public void setAssignee(String assignee) { - this.assignee = assignee; - } - - - /** - * Gets the attachmentNames value for this RemoteIssue. - * - * @return attachmentNames - */ - public String[] getAttachmentNames() { - return attachmentNames; - } - - - /** - * Sets the attachmentNames value for this RemoteIssue. - * - * @param attachmentNames - */ - public void setAttachmentNames(String[] attachmentNames) { - this.attachmentNames = attachmentNames; - } - - - /** - * Gets the components value for this RemoteIssue. - * - * @return components - */ - public RemoteComponent[] getComponents() { - return components; - } - - - /** - * Sets the components value for this RemoteIssue. - * - * @param components - */ - public void setComponents(RemoteComponent[] components) { - this.components = components; - } - - - /** - * Gets the created value for this RemoteIssue. - * - * @return created - */ - public java.util.Calendar getCreated() { - return created; - } - - - /** - * Sets the created value for this RemoteIssue. - * - * @param created - */ - public void setCreated(java.util.Calendar created) { - this.created = created; - } - - - /** - * Gets the customFieldValues value for this RemoteIssue. - * - * @return customFieldValues - */ - public RemoteCustomFieldValue[] getCustomFieldValues() { - return customFieldValues; - } - - - /** - * Sets the customFieldValues value for this RemoteIssue. - * - * @param customFieldValues - */ - public void setCustomFieldValues(RemoteCustomFieldValue[] customFieldValues) { - this.customFieldValues = customFieldValues; - } - - - /** - * Gets the description value for this RemoteIssue. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteIssue. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the duedate value for this RemoteIssue. - * - * @return duedate - */ - public java.util.Calendar getDuedate() { - return duedate; - } - - - /** - * Sets the duedate value for this RemoteIssue. - * - * @param duedate - */ - public void setDuedate(java.util.Calendar duedate) { - this.duedate = duedate; - } - - - /** - * Gets the environment value for this RemoteIssue. - * - * @return environment - */ - public String getEnvironment() { - return environment; - } - - - /** - * Sets the environment value for this RemoteIssue. - * - * @param environment - */ - public void setEnvironment(String environment) { - this.environment = environment; - } - - - /** - * Gets the fixVersions value for this RemoteIssue. - * - * @return fixVersions - */ - public RemoteVersion[] getFixVersions() { - return fixVersions; - } - - - /** - * Sets the fixVersions value for this RemoteIssue. - * - * @param fixVersions - */ - public void setFixVersions(RemoteVersion[] fixVersions) { - this.fixVersions = fixVersions; - } - - - /** - * Gets the key value for this RemoteIssue. - * - * @return key - */ - public String getKey() { - return key; - } - - - /** - * Sets the key value for this RemoteIssue. - * - * @param key - */ - public void setKey(String key) { - this.key = key; - } - - - /** - * Gets the priority value for this RemoteIssue. - * - * @return priority - */ - public String getPriority() { - return priority; - } - - - /** - * Sets the priority value for this RemoteIssue. - * - * @param priority - */ - public void setPriority(String priority) { - this.priority = priority; - } - - - /** - * Gets the project value for this RemoteIssue. - * - * @return project - */ - public String getProject() { - return project; - } - - - /** - * Sets the project value for this RemoteIssue. - * - * @param project - */ - public void setProject(String project) { - this.project = project; - } - - - /** - * Gets the reporter value for this RemoteIssue. - * - * @return reporter - */ - public String getReporter() { - return reporter; - } - - - /** - * Sets the reporter value for this RemoteIssue. - * - * @param reporter - */ - public void setReporter(String reporter) { - this.reporter = reporter; - } - - - /** - * Gets the resolution value for this RemoteIssue. - * - * @return resolution - */ - public String getResolution() { - return resolution; - } - - - /** - * Sets the resolution value for this RemoteIssue. - * - * @param resolution - */ - public void setResolution(String resolution) { - this.resolution = resolution; - } - - - /** - * Gets the status value for this RemoteIssue. - * - * @return status - */ - public String getStatus() { - return status; - } - - - /** - * Sets the status value for this RemoteIssue. - * - * @param status - */ - public void setStatus(String status) { - this.status = status; - } - - - /** - * Gets the summary value for this RemoteIssue. - * - * @return summary - */ - public String getSummary() { - return summary; - } - - - /** - * Sets the summary value for this RemoteIssue. - * - * @param summary - */ - public void setSummary(String summary) { - this.summary = summary; - } - - - /** - * Gets the type value for this RemoteIssue. - * - * @return type - */ - public String getType() { - return type; - } - - - /** - * Sets the type value for this RemoteIssue. - * - * @param type - */ - public void setType(String type) { - this.type = type; - } - - - /** - * Gets the updated value for this RemoteIssue. - * - * @return updated - */ - public java.util.Calendar getUpdated() { - return updated; - } - - - /** - * Sets the updated value for this RemoteIssue. - * - * @param updated - */ - public void setUpdated(java.util.Calendar updated) { - this.updated = updated; - } - - - /** - * Gets the votes value for this RemoteIssue. - * - * @return votes - */ - public Long getVotes() { - return votes; - } - - - /** - * Sets the votes value for this RemoteIssue. - * - * @param votes - */ - public void setVotes(Long votes) { - this.votes = votes; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteIssue)) { - return false; - } - RemoteIssue other = (RemoteIssue) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.affectsVersions == null && other.getAffectsVersions() == null) || - (this.affectsVersions != null && - java.util.Arrays.equals(this.affectsVersions, other.getAffectsVersions()))) && - ((this.assignee == null && other.getAssignee() == null) || - (this.assignee != null && - this.assignee.equals(other.getAssignee()))) && - ((this.attachmentNames == null && other.getAttachmentNames() == null) || - (this.attachmentNames != null && - java.util.Arrays.equals(this.attachmentNames, other.getAttachmentNames()))) && - ((this.components == null && other.getComponents() == null) || - (this.components != null && - java.util.Arrays.equals(this.components, other.getComponents()))) && - ((this.created == null && other.getCreated() == null) || - (this.created != null && - this.created.equals(other.getCreated()))) && - ((this.customFieldValues == null && other.getCustomFieldValues() == null) || - (this.customFieldValues != null && - java.util.Arrays.equals(this.customFieldValues, other.getCustomFieldValues()))) && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.duedate == null && other.getDuedate() == null) || - (this.duedate != null && - this.duedate.equals(other.getDuedate()))) && - ((this.environment == null && other.getEnvironment() == null) || - (this.environment != null && - this.environment.equals(other.getEnvironment()))) && - ((this.fixVersions == null && other.getFixVersions() == null) || - (this.fixVersions != null && - java.util.Arrays.equals(this.fixVersions, other.getFixVersions()))) && - ((this.key == null && other.getKey() == null) || - (this.key != null && - this.key.equals(other.getKey()))) && - ((this.priority == null && other.getPriority() == null) || - (this.priority != null && - this.priority.equals(other.getPriority()))) && - ((this.project == null && other.getProject() == null) || - (this.project != null && - this.project.equals(other.getProject()))) && - ((this.reporter == null && other.getReporter() == null) || - (this.reporter != null && - this.reporter.equals(other.getReporter()))) && - ((this.resolution == null && other.getResolution() == null) || - (this.resolution != null && - this.resolution.equals(other.getResolution()))) && - ((this.status == null && other.getStatus() == null) || - (this.status != null && - this.status.equals(other.getStatus()))) && - ((this.summary == null && other.getSummary() == null) || - (this.summary != null && - this.summary.equals(other.getSummary()))) && - ((this.type == null && other.getType() == null) || - (this.type != null && - this.type.equals(other.getType()))) && - ((this.updated == null && other.getUpdated() == null) || - (this.updated != null && - this.updated.equals(other.getUpdated()))) && - ((this.votes == null && other.getVotes() == null) || - (this.votes != null && - this.votes.equals(other.getVotes()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getAffectsVersions() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getAffectsVersions()); - i++) { - Object obj = java.lang.reflect.Array.get(getAffectsVersions(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getAssignee() != null) { - _hashCode += getAssignee().hashCode(); - } - if (getAttachmentNames() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getAttachmentNames()); - i++) { - Object obj = java.lang.reflect.Array.get(getAttachmentNames(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getComponents() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getComponents()); - i++) { - Object obj = java.lang.reflect.Array.get(getComponents(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getCreated() != null) { - _hashCode += getCreated().hashCode(); - } - if (getCustomFieldValues() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getCustomFieldValues()); - i++) { - Object obj = java.lang.reflect.Array.get(getCustomFieldValues(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getDuedate() != null) { - _hashCode += getDuedate().hashCode(); - } - if (getEnvironment() != null) { - _hashCode += getEnvironment().hashCode(); - } - if (getFixVersions() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getFixVersions()); - i++) { - Object obj = java.lang.reflect.Array.get(getFixVersions(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getKey() != null) { - _hashCode += getKey().hashCode(); - } - if (getPriority() != null) { - _hashCode += getPriority().hashCode(); - } - if (getProject() != null) { - _hashCode += getProject().hashCode(); - } - if (getReporter() != null) { - _hashCode += getReporter().hashCode(); - } - if (getResolution() != null) { - _hashCode += getResolution().hashCode(); - } - if (getStatus() != null) { - _hashCode += getStatus().hashCode(); - } - if (getSummary() != null) { - _hashCode += getSummary().hashCode(); - } - if (getType() != null) { - _hashCode += getType().hashCode(); - } - if (getUpdated() != null) { - _hashCode += getUpdated().hashCode(); - } - if (getVotes() != null) { - _hashCode += getVotes().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteIssue.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssue")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("affectsVersions"); - elemField.setXmlName(new javax.xml.namespace.QName("", "affectsVersions")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("assignee"); - elemField.setXmlName(new javax.xml.namespace.QName("", "assignee")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("attachmentNames"); - elemField.setXmlName(new javax.xml.namespace.QName("", "attachmentNames")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("components"); - elemField.setXmlName(new javax.xml.namespace.QName("", "components")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteComponent")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("created"); - elemField.setXmlName(new javax.xml.namespace.QName("", "created")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("customFieldValues"); - elemField.setXmlName(new javax.xml.namespace.QName("", "customFieldValues")); - elemField.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteCustomFieldValue")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("duedate"); - elemField.setXmlName(new javax.xml.namespace.QName("", "duedate")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("environment"); - elemField.setXmlName(new javax.xml.namespace.QName("", "environment")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("fixVersions"); - elemField.setXmlName(new javax.xml.namespace.QName("", "fixVersions")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("key"); - elemField.setXmlName(new javax.xml.namespace.QName("", "key")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("priority"); - elemField.setXmlName(new javax.xml.namespace.QName("", "priority")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("project"); - elemField.setXmlName(new javax.xml.namespace.QName("", "project")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("reporter"); - elemField.setXmlName(new javax.xml.namespace.QName("", "reporter")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("resolution"); - elemField.setXmlName(new javax.xml.namespace.QName("", "resolution")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("status"); - elemField.setXmlName(new javax.xml.namespace.QName("", "status")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("summary"); - elemField.setXmlName(new javax.xml.namespace.QName("", "summary")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("type"); - elemField.setXmlName(new javax.xml.namespace.QName("", "type")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updated"); - elemField.setXmlName(new javax.xml.namespace.QName("", "updated")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("votes"); - elemField.setXmlName(new javax.xml.namespace.QName("", "votes")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssueType.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssueType.java deleted file mode 100644 index 217af21408d7..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteIssueType.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - * RemoteIssueType.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteIssueType extends AbstractRemoteConstant - implements java.io.Serializable { - private boolean subTask; - - public RemoteIssueType() { - } - - public RemoteIssueType( - String id, - String name, - String description, - String icon, - boolean subTask) { - super( - id, - name, - description, - icon); - this.subTask = subTask; - } - - - /** - * Gets the subTask value for this RemoteIssueType. - * - * @return subTask - */ - public boolean isSubTask() { - return subTask; - } - - - /** - * Sets the subTask value for this RemoteIssueType. - * - * @param subTask - */ - public void setSubTask(boolean subTask) { - this.subTask = subTask; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteIssueType)) { - return false; - } - RemoteIssueType other = (RemoteIssueType) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - this.subTask == other.isSubTask(); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - _hashCode += (isSubTask() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteIssueType.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteIssueType")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("subTask"); - elemField.setXmlName(new javax.xml.namespace.QName("", "subTask")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteNamedObject.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteNamedObject.java deleted file mode 100644 index 709479f3a389..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteNamedObject.java +++ /dev/null @@ -1,97 +0,0 @@ -/** - * RemoteNamedObject.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteNamedObject extends AbstractNamedRemoteEntity - implements java.io.Serializable { - public RemoteNamedObject() { - } - - public RemoteNamedObject( - String id, - String name) { - super( - id, - name); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteNamedObject)) { - return false; - } - RemoteNamedObject other = (RemoteNamedObject) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteNamedObject.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteNamedObject")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermission.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermission.java deleted file mode 100644 index 68db863f39ac..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermission.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * RemotePermission.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemotePermission implements java.io.Serializable { - private String name; - - private Long permission; - - public RemotePermission() { - } - - public RemotePermission( - String name, - Long permission) { - this.name = name; - this.permission = permission; - } - - - /** - * Gets the name value for this RemotePermission. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this RemotePermission. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - - /** - * Gets the permission value for this RemotePermission. - * - * @return permission - */ - public Long getPermission() { - return permission; - } - - - /** - * Sets the permission value for this RemotePermission. - * - * @param permission - */ - public void setPermission(Long permission) { - this.permission = permission; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemotePermission)) { - return false; - } - RemotePermission other = (RemotePermission) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))) && - ((this.permission == null && other.getPermission() == null) || - (this.permission != null && - this.permission.equals(other.getPermission()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getPermission() != null) { - _hashCode += getPermission().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemotePermission.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("permission"); - elemField.setXmlName(new javax.xml.namespace.QName("", "permission")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionException.java deleted file mode 100644 index 81397a14af87..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionException.java +++ /dev/null @@ -1,98 +0,0 @@ -/** - * RemotePermissionException.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemotePermissionException extends RemoteException - implements java.io.Serializable { - public RemotePermissionException() { - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemotePermissionException)) { - return false; - } - RemotePermissionException other = (RemotePermissionException) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemotePermissionException.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemotePermissionException")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) - throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionMapping.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionMapping.java deleted file mode 100644 index 7ae7016ace56..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionMapping.java +++ /dev/null @@ -1,172 +0,0 @@ -/** - * RemotePermissionMapping.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemotePermissionMapping implements java.io.Serializable { - private RemotePermission permission; - - private RemoteEntity[] remoteEntities; - - public RemotePermissionMapping() { - } - - public RemotePermissionMapping( - RemotePermission permission, - RemoteEntity[] remoteEntities) { - this.permission = permission; - this.remoteEntities = remoteEntities; - } - - - /** - * Gets the permission value for this RemotePermissionMapping. - * - * @return permission - */ - public RemotePermission getPermission() { - return permission; - } - - - /** - * Sets the permission value for this RemotePermissionMapping. - * - * @param permission - */ - public void setPermission(RemotePermission permission) { - this.permission = permission; - } - - - /** - * Gets the remoteEntities value for this RemotePermissionMapping. - * - * @return remoteEntities - */ - public RemoteEntity[] getRemoteEntities() { - return remoteEntities; - } - - - /** - * Sets the remoteEntities value for this RemotePermissionMapping. - * - * @param remoteEntities - */ - public void setRemoteEntities(RemoteEntity[] remoteEntities) { - this.remoteEntities = remoteEntities; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemotePermissionMapping)) { - return false; - } - RemotePermissionMapping other = (RemotePermissionMapping) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.permission == null && other.getPermission() == null) || - (this.permission != null && - this.permission.equals(other.getPermission()))) && - ((this.remoteEntities == null && other.getRemoteEntities() == null) || - (this.remoteEntities != null && - java.util.Arrays.equals(this.remoteEntities, other.getRemoteEntities()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getPermission() != null) { - _hashCode += getPermission().hashCode(); - } - if (getRemoteEntities() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getRemoteEntities()); - i++) { - Object obj = java.lang.reflect.Array.get(getRemoteEntities(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemotePermissionMapping.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("permission"); - elemField.setXmlName(new javax.xml.namespace.QName("", "permission")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermission")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("remoteEntities"); - elemField.setXmlName(new javax.xml.namespace.QName("", "remoteEntities")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteEntity")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionScheme.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionScheme.java deleted file mode 100644 index 26fa9517ec5d..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePermissionScheme.java +++ /dev/null @@ -1,147 +0,0 @@ -/** - * RemotePermissionScheme.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemotePermissionScheme extends RemoteScheme - implements java.io.Serializable { - private RemotePermissionMapping[] permissionMappings; - - public RemotePermissionScheme() { - } - - public RemotePermissionScheme( - String description, - Long id, - String name, - String type, - RemotePermissionMapping[] permissionMappings) { - super( - description, - id, - name, - type); - this.permissionMappings = permissionMappings; - } - - - /** - * Gets the permissionMappings value for this RemotePermissionScheme. - * - * @return permissionMappings - */ - public RemotePermissionMapping[] getPermissionMappings() { - return permissionMappings; - } - - - /** - * Sets the permissionMappings value for this RemotePermissionScheme. - * - * @param permissionMappings - */ - public void setPermissionMappings(RemotePermissionMapping[] permissionMappings) { - this.permissionMappings = permissionMappings; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemotePermissionScheme)) { - return false; - } - RemotePermissionScheme other = (RemotePermissionScheme) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.permissionMappings == null && other.getPermissionMappings() == null) || - (this.permissionMappings != null && - java.util.Arrays.equals(this.permissionMappings, other.getPermissionMappings()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getPermissionMappings() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getPermissionMappings()); - i++) { - Object obj = java.lang.reflect.Array.get(getPermissionMappings(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemotePermissionScheme.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("permissionMappings"); - elemField.setXmlName(new javax.xml.namespace.QName("", "permissionMappings")); - elemField.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionMapping")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePriority.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePriority.java deleted file mode 100644 index 2fc230561403..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemotePriority.java +++ /dev/null @@ -1,137 +0,0 @@ -/** - * RemotePriority.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemotePriority extends AbstractRemoteConstant - implements java.io.Serializable { - private String color; - - public RemotePriority() { - } - - public RemotePriority( - String id, - String name, - String description, - String icon, - String color) { - super( - id, - name, - description, - icon); - this.color = color; - } - - - /** - * Gets the color value for this RemotePriority. - * - * @return color - */ - public String getColor() { - return color; - } - - - /** - * Sets the color value for this RemotePriority. - * - * @param color - */ - public void setColor(String color) { - this.color = color; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemotePriority)) { - return false; - } - RemotePriority other = (RemotePriority) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.color == null && other.getColor() == null) || - (this.color != null && - this.color.equals(other.getColor()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getColor() != null) { - _hashCode += getColor().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemotePriority.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePriority")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("color"); - elemField.setXmlName(new javax.xml.namespace.QName("", "color")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProject.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProject.java deleted file mode 100644 index fbf94f8ee264..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProject.java +++ /dev/null @@ -1,386 +0,0 @@ -/** - * RemoteProject.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteProject extends AbstractNamedRemoteEntity - implements java.io.Serializable { - private String description; - - private RemoteScheme issueSecurityScheme; - - private String key; - - private String lead; - - private RemoteScheme notificationScheme; - - private RemotePermissionScheme permissionScheme; - - private String projectUrl; - - private String url; - - public RemoteProject() { - } - - public RemoteProject( - String id, - String name, - String description, - RemoteScheme issueSecurityScheme, - String key, - String lead, - RemoteScheme notificationScheme, - RemotePermissionScheme permissionScheme, - String projectUrl, - String url) { - super( - id, - name); - this.description = description; - this.issueSecurityScheme = issueSecurityScheme; - this.key = key; - this.lead = lead; - this.notificationScheme = notificationScheme; - this.permissionScheme = permissionScheme; - this.projectUrl = projectUrl; - this.url = url; - } - - - /** - * Gets the description value for this RemoteProject. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteProject. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the issueSecurityScheme value for this RemoteProject. - * - * @return issueSecurityScheme - */ - public RemoteScheme getIssueSecurityScheme() { - return issueSecurityScheme; - } - - - /** - * Sets the issueSecurityScheme value for this RemoteProject. - * - * @param issueSecurityScheme - */ - public void setIssueSecurityScheme(RemoteScheme issueSecurityScheme) { - this.issueSecurityScheme = issueSecurityScheme; - } - - - /** - * Gets the key value for this RemoteProject. - * - * @return key - */ - public String getKey() { - return key; - } - - - /** - * Sets the key value for this RemoteProject. - * - * @param key - */ - public void setKey(String key) { - this.key = key; - } - - - /** - * Gets the lead value for this RemoteProject. - * - * @return lead - */ - public String getLead() { - return lead; - } - - - /** - * Sets the lead value for this RemoteProject. - * - * @param lead - */ - public void setLead(String lead) { - this.lead = lead; - } - - - /** - * Gets the notificationScheme value for this RemoteProject. - * - * @return notificationScheme - */ - public RemoteScheme getNotificationScheme() { - return notificationScheme; - } - - - /** - * Sets the notificationScheme value for this RemoteProject. - * - * @param notificationScheme - */ - public void setNotificationScheme(RemoteScheme notificationScheme) { - this.notificationScheme = notificationScheme; - } - - - /** - * Gets the permissionScheme value for this RemoteProject. - * - * @return permissionScheme - */ - public RemotePermissionScheme getPermissionScheme() { - return permissionScheme; - } - - - /** - * Sets the permissionScheme value for this RemoteProject. - * - * @param permissionScheme - */ - public void setPermissionScheme(RemotePermissionScheme permissionScheme) { - this.permissionScheme = permissionScheme; - } - - - /** - * Gets the projectUrl value for this RemoteProject. - * - * @return projectUrl - */ - public String getProjectUrl() { - return projectUrl; - } - - - /** - * Sets the projectUrl value for this RemoteProject. - * - * @param projectUrl - */ - public void setProjectUrl(String projectUrl) { - this.projectUrl = projectUrl; - } - - - /** - * Gets the url value for this RemoteProject. - * - * @return url - */ - public String getUrl() { - return url; - } - - - /** - * Sets the url value for this RemoteProject. - * - * @param url - */ - public void setUrl(String url) { - this.url = url; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteProject)) { - return false; - } - RemoteProject other = (RemoteProject) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.issueSecurityScheme == null && other.getIssueSecurityScheme() == null) || - (this.issueSecurityScheme != null && - this.issueSecurityScheme.equals(other.getIssueSecurityScheme()))) && - ((this.key == null && other.getKey() == null) || - (this.key != null && - this.key.equals(other.getKey()))) && - ((this.lead == null && other.getLead() == null) || - (this.lead != null && - this.lead.equals(other.getLead()))) && - ((this.notificationScheme == null && other.getNotificationScheme() == null) || - (this.notificationScheme != null && - this.notificationScheme.equals(other.getNotificationScheme()))) && - ((this.permissionScheme == null && other.getPermissionScheme() == null) || - (this.permissionScheme != null && - this.permissionScheme.equals(other.getPermissionScheme()))) && - ((this.projectUrl == null && other.getProjectUrl() == null) || - (this.projectUrl != null && - this.projectUrl.equals(other.getProjectUrl()))) && - ((this.url == null && other.getUrl() == null) || - (this.url != null && - this.url.equals(other.getUrl()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getIssueSecurityScheme() != null) { - _hashCode += getIssueSecurityScheme().hashCode(); - } - if (getKey() != null) { - _hashCode += getKey().hashCode(); - } - if (getLead() != null) { - _hashCode += getLead().hashCode(); - } - if (getNotificationScheme() != null) { - _hashCode += getNotificationScheme().hashCode(); - } - if (getPermissionScheme() != null) { - _hashCode += getPermissionScheme().hashCode(); - } - if (getProjectUrl() != null) { - _hashCode += getProjectUrl().hashCode(); - } - if (getUrl() != null) { - _hashCode += getUrl().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteProject.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("issueSecurityScheme"); - elemField.setXmlName(new javax.xml.namespace.QName("", "issueSecurityScheme")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("key"); - elemField.setXmlName(new javax.xml.namespace.QName("", "key")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("lead"); - elemField.setXmlName(new javax.xml.namespace.QName("", "lead")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("notificationScheme"); - elemField.setXmlName(new javax.xml.namespace.QName("", "notificationScheme")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("permissionScheme"); - elemField.setXmlName(new javax.xml.namespace.QName("", "permissionScheme")); - elemField.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemotePermissionScheme")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("projectUrl"); - elemField.setXmlName(new javax.xml.namespace.QName("", "projectUrl")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("url"); - elemField.setXmlName(new javax.xml.namespace.QName("", "url")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRole.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRole.java deleted file mode 100644 index f239e0be25bb..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRole.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * RemoteProjectRole.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteProjectRole implements java.io.Serializable { - private String description; - - private Long id; - - private String name; - - public RemoteProjectRole() { - } - - public RemoteProjectRole( - String description, - Long id, - String name) { - this.description = description; - this.id = id; - this.name = name; - } - - - /** - * Gets the description value for this RemoteProjectRole. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteProjectRole. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the id value for this RemoteProjectRole. - * - * @return id - */ - public Long getId() { - return id; - } - - - /** - * Sets the id value for this RemoteProjectRole. - * - * @param id - */ - public void setId(Long id) { - this.id = id; - } - - - /** - * Gets the name value for this RemoteProjectRole. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this RemoteProjectRole. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteProjectRole)) { - return false; - } - RemoteProjectRole other = (RemoteProjectRole) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))) && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteProjectRole.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRoleActors.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRoleActors.java deleted file mode 100644 index 42c182324675..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteProjectRoleActors.java +++ /dev/null @@ -1,136 +0,0 @@ -/** - * RemoteProjectRoleActors.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteProjectRoleActors extends RemoteRoleActors - implements java.io.Serializable { - private RemoteProject project; - - public RemoteProjectRoleActors() { - } - - public RemoteProjectRoleActors( - RemoteProjectRole projectRole, - RemoteRoleActor[] roleActors, - RemoteUser[] users, - RemoteProject project) { - super( - projectRole, - roleActors, - users); - this.project = project; - } - - - /** - * Gets the project value for this RemoteProjectRoleActors. - * - * @return project - */ - public RemoteProject getProject() { - return project; - } - - - /** - * Sets the project value for this RemoteProjectRoleActors. - * - * @param project - */ - public void setProject(RemoteProject project) { - this.project = project; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteProjectRoleActors)) { - return false; - } - RemoteProjectRoleActors other = (RemoteProjectRoleActors) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.project == null && other.getProject() == null) || - (this.project != null && - this.project.equals(other.getProject()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getProject() != null) { - _hashCode += getProject().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteProjectRoleActors.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRoleActors")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("project"); - elemField.setXmlName(new javax.xml.namespace.QName("", "project")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProject")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteResolution.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteResolution.java deleted file mode 100644 index 75492b3c1c49..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteResolution.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - * RemoteResolution.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteResolution extends AbstractRemoteConstant - implements java.io.Serializable { - public RemoteResolution() { - } - - public RemoteResolution( - String id, - String name, - String description, - String icon) { - super( - id, - name, - description, - icon); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteResolution)) { - return false; - } - RemoteResolution other = (RemoteResolution) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteResolution.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteResolution")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActor.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActor.java deleted file mode 100644 index bfb617d9b368..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActor.java +++ /dev/null @@ -1,279 +0,0 @@ -/** - * RemoteRoleActor.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteRoleActor implements java.io.Serializable { - private String descriptor; - - private String parameter; - - private RemoteProjectRole projectRole; - - private String type; - - private RemoteUser[] users; - - public RemoteRoleActor() { - } - - public RemoteRoleActor( - String descriptor, - String parameter, - RemoteProjectRole projectRole, - String type, - RemoteUser[] users) { - this.descriptor = descriptor; - this.parameter = parameter; - this.projectRole = projectRole; - this.type = type; - this.users = users; - } - - - /** - * Gets the descriptor value for this RemoteRoleActor. - * - * @return descriptor - */ - public String getDescriptor() { - return descriptor; - } - - - /** - * Sets the descriptor value for this RemoteRoleActor. - * - * @param descriptor - */ - public void setDescriptor(String descriptor) { - this.descriptor = descriptor; - } - - - /** - * Gets the parameter value for this RemoteRoleActor. - * - * @return parameter - */ - public String getParameter() { - return parameter; - } - - - /** - * Sets the parameter value for this RemoteRoleActor. - * - * @param parameter - */ - public void setParameter(String parameter) { - this.parameter = parameter; - } - - - /** - * Gets the projectRole value for this RemoteRoleActor. - * - * @return projectRole - */ - public RemoteProjectRole getProjectRole() { - return projectRole; - } - - - /** - * Sets the projectRole value for this RemoteRoleActor. - * - * @param projectRole - */ - public void setProjectRole(RemoteProjectRole projectRole) { - this.projectRole = projectRole; - } - - - /** - * Gets the type value for this RemoteRoleActor. - * - * @return type - */ - public String getType() { - return type; - } - - - /** - * Sets the type value for this RemoteRoleActor. - * - * @param type - */ - public void setType(String type) { - this.type = type; - } - - - /** - * Gets the users value for this RemoteRoleActor. - * - * @return users - */ - public RemoteUser[] getUsers() { - return users; - } - - - /** - * Sets the users value for this RemoteRoleActor. - * - * @param users - */ - public void setUsers(RemoteUser[] users) { - this.users = users; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteRoleActor)) { - return false; - } - RemoteRoleActor other = (RemoteRoleActor) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.descriptor == null && other.getDescriptor() == null) || - (this.descriptor != null && - this.descriptor.equals(other.getDescriptor()))) && - ((this.parameter == null && other.getParameter() == null) || - (this.parameter != null && - this.parameter.equals(other.getParameter()))) && - ((this.projectRole == null && other.getProjectRole() == null) || - (this.projectRole != null && - this.projectRole.equals(other.getProjectRole()))) && - ((this.type == null && other.getType() == null) || - (this.type != null && - this.type.equals(other.getType()))) && - ((this.users == null && other.getUsers() == null) || - (this.users != null && - java.util.Arrays.equals(this.users, other.getUsers()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getDescriptor() != null) { - _hashCode += getDescriptor().hashCode(); - } - if (getParameter() != null) { - _hashCode += getParameter().hashCode(); - } - if (getProjectRole() != null) { - _hashCode += getProjectRole().hashCode(); - } - if (getType() != null) { - _hashCode += getType().hashCode(); - } - if (getUsers() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getUsers()); - i++) { - Object obj = java.lang.reflect.Array.get(getUsers(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteRoleActor.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("descriptor"); - elemField.setXmlName(new javax.xml.namespace.QName("", "descriptor")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("parameter"); - elemField.setXmlName(new javax.xml.namespace.QName("", "parameter")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("projectRole"); - elemField.setXmlName(new javax.xml.namespace.QName("", "projectRole")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("type"); - elemField.setXmlName(new javax.xml.namespace.QName("", "type")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("users"); - elemField.setXmlName(new javax.xml.namespace.QName("", "users")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActors.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActors.java deleted file mode 100644 index 0b8b552a753a..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteRoleActors.java +++ /dev/null @@ -1,215 +0,0 @@ -/** - * RemoteRoleActors.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteRoleActors implements java.io.Serializable { - private RemoteProjectRole projectRole; - - private RemoteRoleActor[] roleActors; - - private RemoteUser[] users; - - public RemoteRoleActors() { - } - - public RemoteRoleActors( - RemoteProjectRole projectRole, - RemoteRoleActor[] roleActors, - RemoteUser[] users) { - this.projectRole = projectRole; - this.roleActors = roleActors; - this.users = users; - } - - - /** - * Gets the projectRole value for this RemoteRoleActors. - * - * @return projectRole - */ - public RemoteProjectRole getProjectRole() { - return projectRole; - } - - - /** - * Sets the projectRole value for this RemoteRoleActors. - * - * @param projectRole - */ - public void setProjectRole(RemoteProjectRole projectRole) { - this.projectRole = projectRole; - } - - - /** - * Gets the roleActors value for this RemoteRoleActors. - * - * @return roleActors - */ - public RemoteRoleActor[] getRoleActors() { - return roleActors; - } - - - /** - * Sets the roleActors value for this RemoteRoleActors. - * - * @param roleActors - */ - public void setRoleActors(RemoteRoleActor[] roleActors) { - this.roleActors = roleActors; - } - - - /** - * Gets the users value for this RemoteRoleActors. - * - * @return users - */ - public RemoteUser[] getUsers() { - return users; - } - - - /** - * Sets the users value for this RemoteRoleActors. - * - * @param users - */ - public void setUsers(RemoteUser[] users) { - this.users = users; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteRoleActors)) { - return false; - } - RemoteRoleActors other = (RemoteRoleActors) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.projectRole == null && other.getProjectRole() == null) || - (this.projectRole != null && - this.projectRole.equals(other.getProjectRole()))) && - ((this.roleActors == null && other.getRoleActors() == null) || - (this.roleActors != null && - java.util.Arrays.equals(this.roleActors, other.getRoleActors()))) && - ((this.users == null && other.getUsers() == null) || - (this.users != null && - java.util.Arrays.equals(this.users, other.getUsers()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getProjectRole() != null) { - _hashCode += getProjectRole().hashCode(); - } - if (getRoleActors() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getRoleActors()); - i++) { - Object obj = java.lang.reflect.Array.get(getRoleActors(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - if (getUsers() != null) { - for (int i = 0; - i < java.lang.reflect.Array.getLength(getUsers()); - i++) { - Object obj = java.lang.reflect.Array.get(getUsers(), i); - if (obj != null && - !obj.getClass().isArray()) { - _hashCode += obj.hashCode(); - } - } - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteRoleActors.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActors")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("projectRole"); - elemField.setXmlName(new javax.xml.namespace.QName("", "projectRole")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteProjectRole")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("roleActors"); - elemField.setXmlName(new javax.xml.namespace.QName("", "roleActors")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteRoleActor")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("users"); - elemField.setXmlName(new javax.xml.namespace.QName("", "users")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteScheme.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteScheme.java deleted file mode 100644 index 26c2702d71ef..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteScheme.java +++ /dev/null @@ -1,235 +0,0 @@ -/** - * RemoteScheme.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteScheme implements java.io.Serializable { - private String description; - - private Long id; - - private String name; - - private String type; - - public RemoteScheme() { - } - - public RemoteScheme( - String description, - Long id, - String name, - String type) { - this.description = description; - this.id = id; - this.name = name; - this.type = type; - } - - - /** - * Gets the description value for this RemoteScheme. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteScheme. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - - /** - * Gets the id value for this RemoteScheme. - * - * @return id - */ - public Long getId() { - return id; - } - - - /** - * Sets the id value for this RemoteScheme. - * - * @param id - */ - public void setId(Long id) { - this.id = id; - } - - - /** - * Gets the name value for this RemoteScheme. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this RemoteScheme. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - - /** - * Gets the type value for this RemoteScheme. - * - * @return type - */ - public String getType() { - return type; - } - - - /** - * Sets the type value for this RemoteScheme. - * - * @param type - */ - public void setType(String type) { - this.type = type; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteScheme)) { - return false; - } - RemoteScheme other = (RemoteScheme) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))) && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))) && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))) && - ((this.type == null && other.getType() == null) || - (this.type != null && - this.type.equals(other.getType()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - if (getType() != null) { - _hashCode += getType().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteScheme.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteScheme")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("type"); - elemField.setXmlName(new javax.xml.namespace.QName("", "type")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteSecurityLevel.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteSecurityLevel.java deleted file mode 100644 index e8d20ff5cd39..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteSecurityLevel.java +++ /dev/null @@ -1,133 +0,0 @@ -/** - * RemoteSecurityLevel.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteSecurityLevel extends AbstractNamedRemoteEntity - implements java.io.Serializable { - private String description; - - public RemoteSecurityLevel() { - } - - public RemoteSecurityLevel( - String id, - String name, - String description) { - super( - id, - name); - this.description = description; - } - - - /** - * Gets the description value for this RemoteSecurityLevel. - * - * @return description - */ - public String getDescription() { - return description; - } - - - /** - * Sets the description value for this RemoteSecurityLevel. - * - * @param description - */ - public void setDescription(String description) { - this.description = description; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteSecurityLevel)) { - return false; - } - RemoteSecurityLevel other = (RemoteSecurityLevel) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.description == null && other.getDescription() == null) || - (this.description != null && - this.description.equals(other.getDescription()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getDescription() != null) { - _hashCode += getDescription().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteSecurityLevel.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteSecurityLevel")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("description"); - elemField.setXmlName(new javax.xml.namespace.QName("", "description")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteServerInfo.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteServerInfo.java deleted file mode 100644 index d1711106da3c..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteServerInfo.java +++ /dev/null @@ -1,307 +0,0 @@ -/** - * RemoteServerInfo.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteServerInfo implements java.io.Serializable { - private String baseUrl; - - private java.util.Calendar buildDate; - - private String buildNumber; - - private String edition; - - private RemoteTimeInfo serverTime; - - private String version; - - public RemoteServerInfo() { - } - - public RemoteServerInfo( - String baseUrl, - java.util.Calendar buildDate, - String buildNumber, - String edition, - RemoteTimeInfo serverTime, - String version) { - this.baseUrl = baseUrl; - this.buildDate = buildDate; - this.buildNumber = buildNumber; - this.edition = edition; - this.serverTime = serverTime; - this.version = version; - } - - - /** - * Gets the baseUrl value for this RemoteServerInfo. - * - * @return baseUrl - */ - public String getBaseUrl() { - return baseUrl; - } - - - /** - * Sets the baseUrl value for this RemoteServerInfo. - * - * @param baseUrl - */ - public void setBaseUrl(String baseUrl) { - this.baseUrl = baseUrl; - } - - - /** - * Gets the buildDate value for this RemoteServerInfo. - * - * @return buildDate - */ - public java.util.Calendar getBuildDate() { - return buildDate; - } - - - /** - * Sets the buildDate value for this RemoteServerInfo. - * - * @param buildDate - */ - public void setBuildDate(java.util.Calendar buildDate) { - this.buildDate = buildDate; - } - - - /** - * Gets the buildNumber value for this RemoteServerInfo. - * - * @return buildNumber - */ - public String getBuildNumber() { - return buildNumber; - } - - - /** - * Sets the buildNumber value for this RemoteServerInfo. - * - * @param buildNumber - */ - public void setBuildNumber(String buildNumber) { - this.buildNumber = buildNumber; - } - - - /** - * Gets the edition value for this RemoteServerInfo. - * - * @return edition - */ - public String getEdition() { - return edition; - } - - - /** - * Sets the edition value for this RemoteServerInfo. - * - * @param edition - */ - public void setEdition(String edition) { - this.edition = edition; - } - - - /** - * Gets the serverTime value for this RemoteServerInfo. - * - * @return serverTime - */ - public RemoteTimeInfo getServerTime() { - return serverTime; - } - - - /** - * Sets the serverTime value for this RemoteServerInfo. - * - * @param serverTime - */ - public void setServerTime(RemoteTimeInfo serverTime) { - this.serverTime = serverTime; - } - - - /** - * Gets the version value for this RemoteServerInfo. - * - * @return version - */ - public String getVersion() { - return version; - } - - - /** - * Sets the version value for this RemoteServerInfo. - * - * @param version - */ - public void setVersion(String version) { - this.version = version; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteServerInfo)) { - return false; - } - RemoteServerInfo other = (RemoteServerInfo) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.baseUrl == null && other.getBaseUrl() == null) || - (this.baseUrl != null && - this.baseUrl.equals(other.getBaseUrl()))) && - ((this.buildDate == null && other.getBuildDate() == null) || - (this.buildDate != null && - this.buildDate.equals(other.getBuildDate()))) && - ((this.buildNumber == null && other.getBuildNumber() == null) || - (this.buildNumber != null && - this.buildNumber.equals(other.getBuildNumber()))) && - ((this.edition == null && other.getEdition() == null) || - (this.edition != null && - this.edition.equals(other.getEdition()))) && - ((this.serverTime == null && other.getServerTime() == null) || - (this.serverTime != null && - this.serverTime.equals(other.getServerTime()))) && - ((this.version == null && other.getVersion() == null) || - (this.version != null && - this.version.equals(other.getVersion()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getBaseUrl() != null) { - _hashCode += getBaseUrl().hashCode(); - } - if (getBuildDate() != null) { - _hashCode += getBuildDate().hashCode(); - } - if (getBuildNumber() != null) { - _hashCode += getBuildNumber().hashCode(); - } - if (getEdition() != null) { - _hashCode += getEdition().hashCode(); - } - if (getServerTime() != null) { - _hashCode += getServerTime().hashCode(); - } - if (getVersion() != null) { - _hashCode += getVersion().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteServerInfo.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteServerInfo")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("baseUrl"); - elemField.setXmlName(new javax.xml.namespace.QName("", "baseUrl")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("buildDate"); - elemField.setXmlName(new javax.xml.namespace.QName("", "buildDate")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("buildNumber"); - elemField.setXmlName(new javax.xml.namespace.QName("", "buildNumber")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("edition"); - elemField.setXmlName(new javax.xml.namespace.QName("", "edition")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("serverTime"); - elemField.setXmlName(new javax.xml.namespace.QName("", "serverTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteTimeInfo")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("version"); - elemField.setXmlName(new javax.xml.namespace.QName("", "version")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteStatus.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteStatus.java deleted file mode 100644 index 7bc949b13e46..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteStatus.java +++ /dev/null @@ -1,101 +0,0 @@ -/** - * RemoteStatus.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteStatus extends AbstractRemoteConstant - implements java.io.Serializable { - public RemoteStatus() { - } - - public RemoteStatus( - String id, - String name, - String description, - String icon) { - super( - id, - name, - description, - icon); - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteStatus)) { - return false; - } - RemoteStatus other = (RemoteStatus) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteStatus.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteStatus")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteTimeInfo.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteTimeInfo.java deleted file mode 100644 index 1a41ce6bd778..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteTimeInfo.java +++ /dev/null @@ -1,163 +0,0 @@ -/** - * RemoteTimeInfo.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteTimeInfo implements java.io.Serializable { - private String serverTime; - - private String timeZoneId; - - public RemoteTimeInfo() { - } - - public RemoteTimeInfo( - String serverTime, - String timeZoneId) { - this.serverTime = serverTime; - this.timeZoneId = timeZoneId; - } - - - /** - * Gets the serverTime value for this RemoteTimeInfo. - * - * @return serverTime - */ - public String getServerTime() { - return serverTime; - } - - - /** - * Sets the serverTime value for this RemoteTimeInfo. - * - * @param serverTime - */ - public void setServerTime(String serverTime) { - this.serverTime = serverTime; - } - - - /** - * Gets the timeZoneId value for this RemoteTimeInfo. - * - * @return timeZoneId - */ - public String getTimeZoneId() { - return timeZoneId; - } - - - /** - * Sets the timeZoneId value for this RemoteTimeInfo. - * - * @param timeZoneId - */ - public void setTimeZoneId(String timeZoneId) { - this.timeZoneId = timeZoneId; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteTimeInfo)) { - return false; - } - RemoteTimeInfo other = (RemoteTimeInfo) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.serverTime == null && other.getServerTime() == null) || - (this.serverTime != null && - this.serverTime.equals(other.getServerTime()))) && - ((this.timeZoneId == null && other.getTimeZoneId() == null) || - (this.timeZoneId != null && - this.timeZoneId.equals(other.getTimeZoneId()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getServerTime() != null) { - _hashCode += getServerTime().hashCode(); - } - if (getTimeZoneId() != null) { - _hashCode += getTimeZoneId().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteTimeInfo.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteTimeInfo")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("serverTime"); - elemField.setXmlName(new javax.xml.namespace.QName("", "serverTime")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timeZoneId"); - elemField.setXmlName(new javax.xml.namespace.QName("", "timeZoneId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteUser.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteUser.java deleted file mode 100644 index 5a936ce52cf8..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteUser.java +++ /dev/null @@ -1,199 +0,0 @@ -/** - * RemoteUser.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteUser extends RemoteEntity implements java.io.Serializable { - private String email; - - private String fullname; - - private String name; - - public RemoteUser() { - } - - public RemoteUser( - String email, - String fullname, - String name) { - this.email = email; - this.fullname = fullname; - this.name = name; - } - - - /** - * Gets the email value for this RemoteUser. - * - * @return email - */ - public String getEmail() { - return email; - } - - - /** - * Sets the email value for this RemoteUser. - * - * @param email - */ - public void setEmail(String email) { - this.email = email; - } - - - /** - * Gets the fullname value for this RemoteUser. - * - * @return fullname - */ - public String getFullname() { - return fullname; - } - - - /** - * Sets the fullname value for this RemoteUser. - * - * @param fullname - */ - public void setFullname(String fullname) { - this.fullname = fullname; - } - - - /** - * Gets the name value for this RemoteUser. - * - * @return name - */ - public String getName() { - return name; - } - - - /** - * Sets the name value for this RemoteUser. - * - * @param name - */ - public void setName(String name) { - this.name = name; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteUser)) { - return false; - } - RemoteUser other = (RemoteUser) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - ((this.email == null && other.getEmail() == null) || - (this.email != null && - this.email.equals(other.getEmail()))) && - ((this.fullname == null && other.getFullname() == null) || - (this.fullname != null && - this.fullname.equals(other.getFullname()))) && - ((this.name == null && other.getName() == null) || - (this.name != null && - this.name.equals(other.getName()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - if (getEmail() != null) { - _hashCode += getEmail().hashCode(); - } - if (getFullname() != null) { - _hashCode += getFullname().hashCode(); - } - if (getName() != null) { - _hashCode += getName().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteUser.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteUser")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("email"); - elemField.setXmlName(new javax.xml.namespace.QName("", "email")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("fullname"); - elemField.setXmlName(new javax.xml.namespace.QName("", "fullname")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("name"); - elemField.setXmlName(new javax.xml.namespace.QName("", "name")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteValidationException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteValidationException.java deleted file mode 100644 index f719e3ee337a..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteValidationException.java +++ /dev/null @@ -1,98 +0,0 @@ -/** - * RemoteValidationException.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteValidationException extends RemoteException - implements java.io.Serializable { - public RemoteValidationException() { - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteValidationException)) { - return false; - } - RemoteValidationException other = (RemoteValidationException) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteValidationException.class, true); - - static { - typeDesc.setXmlType( - new javax.xml.namespace.QName("http://exception.rpc.jira.atlassian.com", "RemoteValidationException")); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - - - /** - * Writes the exception data to the faultDetails - */ - public void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context) - throws java.io.IOException { - context.serialize(qname, null, this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteVersion.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteVersion.java deleted file mode 100644 index 7a3dfd116794..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteVersion.java +++ /dev/null @@ -1,233 +0,0 @@ -/** - * RemoteVersion.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteVersion extends AbstractNamedRemoteEntity - implements java.io.Serializable { - private boolean archived; - - private java.util.Calendar releaseDate; - - private boolean released; - - private Long sequence; - - public RemoteVersion() { - } - - public RemoteVersion( - String id, - String name, - boolean archived, - java.util.Calendar releaseDate, - boolean released, - Long sequence) { - super( - id, - name); - this.archived = archived; - this.releaseDate = releaseDate; - this.released = released; - this.sequence = sequence; - } - - - /** - * Gets the archived value for this RemoteVersion. - * - * @return archived - */ - public boolean isArchived() { - return archived; - } - - - /** - * Sets the archived value for this RemoteVersion. - * - * @param archived - */ - public void setArchived(boolean archived) { - this.archived = archived; - } - - - /** - * Gets the releaseDate value for this RemoteVersion. - * - * @return releaseDate - */ - public java.util.Calendar getReleaseDate() { - return releaseDate; - } - - - /** - * Sets the releaseDate value for this RemoteVersion. - * - * @param releaseDate - */ - public void setReleaseDate(java.util.Calendar releaseDate) { - this.releaseDate = releaseDate; - } - - - /** - * Gets the released value for this RemoteVersion. - * - * @return released - */ - public boolean isReleased() { - return released; - } - - - /** - * Sets the released value for this RemoteVersion. - * - * @param released - */ - public void setReleased(boolean released) { - this.released = released; - } - - - /** - * Gets the sequence value for this RemoteVersion. - * - * @return sequence - */ - public Long getSequence() { - return sequence; - } - - - /** - * Sets the sequence value for this RemoteVersion. - * - * @param sequence - */ - public void setSequence(Long sequence) { - this.sequence = sequence; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteVersion)) { - return false; - } - RemoteVersion other = (RemoteVersion) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = super.equals(obj) && - this.archived == other.isArchived() && - ((this.releaseDate == null && other.getReleaseDate() == null) || - (this.releaseDate != null && - this.releaseDate.equals(other.getReleaseDate()))) && - this.released == other.isReleased() && - ((this.sequence == null && other.getSequence() == null) || - (this.sequence != null && - this.sequence.equals(other.getSequence()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = super.hashCode(); - _hashCode += (isArchived() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getReleaseDate() != null) { - _hashCode += getReleaseDate().hashCode(); - } - _hashCode += (isReleased() ? Boolean.TRUE : Boolean.FALSE).hashCode(); - if (getSequence() != null) { - _hashCode += getSequence().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteVersion.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteVersion")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("archived"); - elemField.setXmlName(new javax.xml.namespace.QName("", "archived")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("releaseDate"); - elemField.setXmlName(new javax.xml.namespace.QName("", "releaseDate")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("released"); - elemField.setXmlName(new javax.xml.namespace.QName("", "released")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "boolean")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sequence"); - elemField.setXmlName(new javax.xml.namespace.QName("", "sequence")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteWorklog.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteWorklog.java deleted file mode 100644 index fd06b608084c..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/RemoteWorklog.java +++ /dev/null @@ -1,483 +0,0 @@ -/** - * RemoteWorklog.java - * - * This file was auto-generated from WSDL - * by the Apache Axis 1.4 Apr 22, 2006 (06:55:48 PDT) WSDL2Java emitter. - */ - -package com.atlassian.connector.commons.jira.soap.axis; - -public class RemoteWorklog implements java.io.Serializable { - private String author; - - private String comment; - - private java.util.Calendar created; - - private String groupLevel; - - private String id; - - private String roleLevelId; - - private java.util.Calendar startDate; - - private String timeSpent; - - private long timeSpentInSeconds; - - private String updateAuthor; - - private java.util.Calendar updated; - - public RemoteWorklog() { - } - - public RemoteWorklog( - String author, - String comment, - java.util.Calendar created, - String groupLevel, - String id, - String roleLevelId, - java.util.Calendar startDate, - String timeSpent, - long timeSpentInSeconds, - String updateAuthor, - java.util.Calendar updated) { - this.author = author; - this.comment = comment; - this.created = created; - this.groupLevel = groupLevel; - this.id = id; - this.roleLevelId = roleLevelId; - this.startDate = startDate; - this.timeSpent = timeSpent; - this.timeSpentInSeconds = timeSpentInSeconds; - this.updateAuthor = updateAuthor; - this.updated = updated; - } - - - /** - * Gets the author value for this RemoteWorklog. - * - * @return author - */ - public String getAuthor() { - return author; - } - - - /** - * Sets the author value for this RemoteWorklog. - * - * @param author - */ - public void setAuthor(String author) { - this.author = author; - } - - - /** - * Gets the comment value for this RemoteWorklog. - * - * @return comment - */ - public String getComment() { - return comment; - } - - - /** - * Sets the comment value for this RemoteWorklog. - * - * @param comment - */ - public void setComment(String comment) { - this.comment = comment; - } - - - /** - * Gets the created value for this RemoteWorklog. - * - * @return created - */ - public java.util.Calendar getCreated() { - return created; - } - - - /** - * Sets the created value for this RemoteWorklog. - * - * @param created - */ - public void setCreated(java.util.Calendar created) { - this.created = created; - } - - - /** - * Gets the groupLevel value for this RemoteWorklog. - * - * @return groupLevel - */ - public String getGroupLevel() { - return groupLevel; - } - - - /** - * Sets the groupLevel value for this RemoteWorklog. - * - * @param groupLevel - */ - public void setGroupLevel(String groupLevel) { - this.groupLevel = groupLevel; - } - - - /** - * Gets the id value for this RemoteWorklog. - * - * @return id - */ - public String getId() { - return id; - } - - - /** - * Sets the id value for this RemoteWorklog. - * - * @param id - */ - public void setId(String id) { - this.id = id; - } - - - /** - * Gets the roleLevelId value for this RemoteWorklog. - * - * @return roleLevelId - */ - public String getRoleLevelId() { - return roleLevelId; - } - - - /** - * Sets the roleLevelId value for this RemoteWorklog. - * - * @param roleLevelId - */ - public void setRoleLevelId(String roleLevelId) { - this.roleLevelId = roleLevelId; - } - - - /** - * Gets the startDate value for this RemoteWorklog. - * - * @return startDate - */ - public java.util.Calendar getStartDate() { - return startDate; - } - - - /** - * Sets the startDate value for this RemoteWorklog. - * - * @param startDate - */ - public void setStartDate(java.util.Calendar startDate) { - this.startDate = startDate; - } - - - /** - * Gets the timeSpent value for this RemoteWorklog. - * - * @return timeSpent - */ - public String getTimeSpent() { - return timeSpent; - } - - - /** - * Sets the timeSpent value for this RemoteWorklog. - * - * @param timeSpent - */ - public void setTimeSpent(String timeSpent) { - this.timeSpent = timeSpent; - } - - - /** - * Gets the timeSpentInSeconds value for this RemoteWorklog. - * - * @return timeSpentInSeconds - */ - public long getTimeSpentInSeconds() { - return timeSpentInSeconds; - } - - - /** - * Sets the timeSpentInSeconds value for this RemoteWorklog. - * - * @param timeSpentInSeconds - */ - public void setTimeSpentInSeconds(long timeSpentInSeconds) { - this.timeSpentInSeconds = timeSpentInSeconds; - } - - - /** - * Gets the updateAuthor value for this RemoteWorklog. - * - * @return updateAuthor - */ - public String getUpdateAuthor() { - return updateAuthor; - } - - - /** - * Sets the updateAuthor value for this RemoteWorklog. - * - * @param updateAuthor - */ - public void setUpdateAuthor(String updateAuthor) { - this.updateAuthor = updateAuthor; - } - - - /** - * Gets the updated value for this RemoteWorklog. - * - * @return updated - */ - public java.util.Calendar getUpdated() { - return updated; - } - - - /** - * Sets the updated value for this RemoteWorklog. - * - * @param updated - */ - public void setUpdated(java.util.Calendar updated) { - this.updated = updated; - } - - private Object __equalsCalc = null; - - public synchronized boolean equals(Object obj) { - if (!(obj instanceof RemoteWorklog)) { - return false; - } - RemoteWorklog other = (RemoteWorklog) obj; - if (obj == null) { - return false; - } - if (this == obj) { - return true; - } - if (__equalsCalc != null) { - return (__equalsCalc == obj); - } - __equalsCalc = obj; - boolean _equals; - _equals = true && - ((this.author == null && other.getAuthor() == null) || - (this.author != null && - this.author.equals(other.getAuthor()))) && - ((this.comment == null && other.getComment() == null) || - (this.comment != null && - this.comment.equals(other.getComment()))) && - ((this.created == null && other.getCreated() == null) || - (this.created != null && - this.created.equals(other.getCreated()))) && - ((this.groupLevel == null && other.getGroupLevel() == null) || - (this.groupLevel != null && - this.groupLevel.equals(other.getGroupLevel()))) && - ((this.id == null && other.getId() == null) || - (this.id != null && - this.id.equals(other.getId()))) && - ((this.roleLevelId == null && other.getRoleLevelId() == null) || - (this.roleLevelId != null && - this.roleLevelId.equals(other.getRoleLevelId()))) && - ((this.startDate == null && other.getStartDate() == null) || - (this.startDate != null && - this.startDate.equals(other.getStartDate()))) && - ((this.timeSpent == null && other.getTimeSpent() == null) || - (this.timeSpent != null && - this.timeSpent.equals(other.getTimeSpent()))) && - this.timeSpentInSeconds == other.getTimeSpentInSeconds() && - ((this.updateAuthor == null && other.getUpdateAuthor() == null) || - (this.updateAuthor != null && - this.updateAuthor.equals(other.getUpdateAuthor()))) && - ((this.updated == null && other.getUpdated() == null) || - (this.updated != null && - this.updated.equals(other.getUpdated()))); - __equalsCalc = null; - return _equals; - } - - private boolean __hashCodeCalc = false; - - public synchronized int hashCode() { - if (__hashCodeCalc) { - return 0; - } - __hashCodeCalc = true; - int _hashCode = 1; - if (getAuthor() != null) { - _hashCode += getAuthor().hashCode(); - } - if (getComment() != null) { - _hashCode += getComment().hashCode(); - } - if (getCreated() != null) { - _hashCode += getCreated().hashCode(); - } - if (getGroupLevel() != null) { - _hashCode += getGroupLevel().hashCode(); - } - if (getId() != null) { - _hashCode += getId().hashCode(); - } - if (getRoleLevelId() != null) { - _hashCode += getRoleLevelId().hashCode(); - } - if (getStartDate() != null) { - _hashCode += getStartDate().hashCode(); - } - if (getTimeSpent() != null) { - _hashCode += getTimeSpent().hashCode(); - } - _hashCode += new Long(getTimeSpentInSeconds()).hashCode(); - if (getUpdateAuthor() != null) { - _hashCode += getUpdateAuthor().hashCode(); - } - if (getUpdated() != null) { - _hashCode += getUpdated().hashCode(); - } - __hashCodeCalc = false; - return _hashCode; - } - - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = - new org.apache.axis.description.TypeDesc(RemoteWorklog.class, true); - - static { - typeDesc.setXmlType(new javax.xml.namespace.QName("http://beans.soap.rpc.jira.atlassian.com", "RemoteWorklog")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("author"); - elemField.setXmlName(new javax.xml.namespace.QName("", "author")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("comment"); - elemField.setXmlName(new javax.xml.namespace.QName("", "comment")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("created"); - elemField.setXmlName(new javax.xml.namespace.QName("", "created")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("groupLevel"); - elemField.setXmlName(new javax.xml.namespace.QName("", "groupLevel")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("id"); - elemField.setXmlName(new javax.xml.namespace.QName("", "id")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("roleLevelId"); - elemField.setXmlName(new javax.xml.namespace.QName("", "roleLevelId")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("startDate"); - elemField.setXmlName(new javax.xml.namespace.QName("", "startDate")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timeSpent"); - elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpent")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timeSpentInSeconds"); - elemField.setXmlName(new javax.xml.namespace.QName("", "timeSpentInSeconds")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "long")); - elemField.setNillable(false); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updateAuthor"); - elemField.setXmlName(new javax.xml.namespace.QName("", "updateAuthor")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("updated"); - elemField.setXmlName(new javax.xml.namespace.QName("", "updated")); - elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "dateTime")); - elemField.setNillable(true); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanSerializer( - _javaType, _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - String mechType, - Class _javaType, - javax.xml.namespace.QName _xmlType) { - return - new org.apache.axis.encoding.ser.BeanDeserializer( - _javaType, _xmlType, typeDesc); - } - -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/jirasoapservice-v2.wsdl b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/jirasoapservice-v2.wsdl deleted file mode 100644 index f7c48bf676e0..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/connector/commons/jira/soap/axis/jirasoapservice-v2.wsdl +++ /dev/null @@ -1,6936 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/AbstractJIRAConstantBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/AbstractJIRAConstantBean.java deleted file mode 100644 index 584446fbb67e..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/AbstractJIRAConstantBean.java +++ /dev/null @@ -1,73 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.net.MalformedURLException; -import java.net.URL; -import java.util.HashMap; -import java.util.Map; - -public abstract class AbstractJIRAConstantBean implements JIRAConstant { - protected String name; - protected long id; - protected URL iconUrl = null; - - public AbstractJIRAConstantBean() { - } - - protected AbstractJIRAConstantBean(long id, String name, URL iconUrl) { - this.id = id; - this.name = name; - this.iconUrl = iconUrl; - } - - public AbstractJIRAConstantBean(Map map) { - name = map.get("name"); - id = Long.valueOf(map.get("id")); - - if (map.containsKey("icon")) { - try { - iconUrl = new URL(map.get("icon")); - } catch (MalformedURLException e) { - e.printStackTrace(); - } - } - } - - public HashMap getMap() { - HashMap map = new HashMap(); - map.put("name", getName()); - map.put("id", Long.toString(id)); - if (iconUrl != null) { - map.put("icon", iconUrl.toString()); - } - map.put("filterTypeClass", this.getClass().getName()); - return map; - } - - public long getId() { - return id; - } - - public String getName() { - return name; - } - - public URL getIconUrl() { - return iconUrl; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAction.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAction.java deleted file mode 100644 index c199259db0c8..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAction.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public interface JIRAAction extends JIRAConstant { -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionBean.java deleted file mode 100644 index 6ec5d248c456..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionBean.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public class JIRAActionBean extends AbstractJIRAConstantBean implements JIRAAction { - public JIRAActionBean(long id, String name) { - super(id, name, null); - } - - public JIRAActionBean(JIRAActionBean other) { - this(other.id, other.name); - } - - public String getQueryStringFragment() { - return "action=" + id; - } - - public JIRAActionBean getClone() { - return new JIRAActionBean(this); - } - - @Override - public String toString() { - return name; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionField.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionField.java deleted file mode 100644 index c3dd25bd04d1..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionField.java +++ /dev/null @@ -1,20 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public interface JIRAActionField extends JIRAConstant { -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionFieldBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionFieldBean.java deleted file mode 100644 index 5f45b4955139..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAActionFieldBean.java +++ /dev/null @@ -1,40 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public class JIRAActionFieldBean extends AbstractJIRAConstantBean implements JIRAActionField { - private String fieldId; - - public JIRAActionFieldBean(String fieldId, String name) { - super(fieldId.hashCode(), name, null); - this.fieldId = fieldId; - } - - public JIRAActionFieldBean(JIRAActionFieldBean other) { - this(other.fieldId, other.name); - } - - public String getQueryStringFragment() { - // todo: I am almost absolutely sure this is wrong. Once we get - // to actually handling action fields, this will have to be fixed - return fieldId + "="; - } - - public JIRAActionFieldBean getClone() { - return new JIRAActionFieldBean(this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAssigneeBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAssigneeBean.java deleted file mode 100644 index 83462b9532ff..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAAssigneeBean.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAAssigneeBean extends JIRAUserBean { - public JIRAAssigneeBean() { - } - - public JIRAAssigneeBean(long id, String name, String value) { - super(id, name, value); - } - - public JIRAAssigneeBean(Map map) { - super(map); - } - - public JIRAAssigneeBean(JIRAAssigneeBean other) { - this(other.getMap()); - } - - @Override - public String getQueryStringFragment() { - return "assignee=" + getValue(); - } - - public JIRAAssigneeBean getClone() { - return new JIRAAssigneeBean(this); - } -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComment.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComment.java deleted file mode 100644 index b5cab2ca9848..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComment.java +++ /dev/null @@ -1,28 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Calendar; - -public interface JIRAComment { - String getId(); - String getAuthor(); - String getAuthorFullName(); - void setAuthorFullName(String author); - String getBody(); - Calendar getCreationDate(); -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRACommentBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRACommentBean.java deleted file mode 100644 index bd16466d3f64..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRACommentBean.java +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Calendar; - -public class JIRACommentBean implements JIRAComment { - private String id; - private String author; - private String authorFullName; - private String body; - private Calendar created; - - public JIRACommentBean(String id, String author, String body, Calendar created) { - this.id = id; - this.author = author; - this.authorFullName = author; - this.body = body; - this.created = created; - } - public String getId() { - return id; - } - - public String getAuthor() { - return author; - } - - public void setAuthorFullName(String authorFullName) { - this.authorFullName = authorFullName; - } - - public String getAuthorFullName() { - return authorFullName; - } - - public String getBody() { - return body; - } - - public Calendar getCreationDate() { - return created; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComponentBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComponentBean.java deleted file mode 100644 index 65964314072a..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAComponentBean.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAComponentBean extends AbstractJIRAConstantBean { - public JIRAComponentBean(Map map) { - super(map); - } - - public JIRAComponentBean(long id, String name) { - super(id, name, null); - } - - public JIRAComponentBean(JIRAComponentBean other) { - this(other.getMap()); - } - - // returns from this object a fragment of a query string that the IssueNavigator will understand - public String getQueryStringFragment() { - return "component=" + getId(); - } - - public JIRAComponentBean getClone() { - return new JIRAComponentBean(this); - } -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAConstant.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAConstant.java deleted file mode 100644 index 350b23049cd6..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAConstant.java +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.net.URL; - -public interface JIRAConstant extends JIRAQueryFragment { - URL getIconUrl(); -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAFixForVersionBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAFixForVersionBean.java deleted file mode 100644 index 8fcb20b035a7..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAFixForVersionBean.java +++ /dev/null @@ -1,49 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAFixForVersionBean extends JIRAVersionBean { - - public JIRAFixForVersionBean(Map map) { - super(map); - } - - public JIRAFixForVersionBean(long id, String name) { - super(id, name); - } - - public JIRAFixForVersionBean(JIRAFixForVersionBean other) { - super(other.getId(), other.getName()); - } - public JIRAFixForVersionBean(JIRAVersionBean other) { - super(other.getId(), other.getName()); - } - - @Override - public String getQueryStringFragment() { - return "fixfor=" + getId(); - } - - @Override - public JIRAFixForVersionBean getClone() { - return new JIRAFixForVersionBean(this); - } - - -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssue.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssue.java deleted file mode 100644 index 15e2af272316..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssue.java +++ /dev/null @@ -1,109 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.List; - -public interface JIRAIssue { - String getServerUrl(); - - String getProjectUrl(); - - String getIssueUrl(); - - Long getId(); - - String getKey(); - - String getProjectKey(); - - String getStatus(); - - String getStatusTypeUrl(); - - String getSummary(); - - String getType(); - - String getTypeIconUrl(); - - String getPriority(); - - String getPriorityIconUrl(); - - String getDescription(); - - JIRAConstant getTypeConstant(); - - JIRAConstant getStatusConstant(); - - JIRAConstant getPriorityConstant(); - - String getAssignee(); - - String getAssigneeId(); - - String getReporter(); - - String getReporterId(); - - String getResolution(); - - String getCreated(); - - String getUpdated(); - - boolean isSubTask(); - - String getParentIssueKey(); - - List getSubTaskKeys(); - - long getPriorityId(); - - long getStatusId(); - - long getTypeId(); - - void setAssignee(String assignee); - - List getAffectsVersions(); - - List getFixVersions(); - - List getComponents(); - - void setAffectsVersions(List versions); - - void setFixVersions(List versions); - - void setComponents(List components); - - String getOriginalEstimate(); - - void setOriginalEstimate(String t); - - String getRemainingEstimate(); - - void setRemainingEstimate(String t); - - String getTimeSpent(); - - void setTimeSpent(String t); - - List getComments(); -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueBean.java deleted file mode 100644 index 0d0736b20442..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueBean.java +++ /dev/null @@ -1,487 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import org.jdom.Element; - -import java.text.DateFormat; -import java.text.SimpleDateFormat; -import java.util.*; - -public class JIRAIssueBean implements JIRAIssue { - private String serverUrl; - private Long id; - private String key; - private String summary; - private String status; - private String statusUrl; - private String type; - private String typeUrl; - private String priority; - private String priorityUrl; - private String description; - private String projectKey; - private JIRAConstant statusConstant; - private JIRAConstant typeConstant; - private JIRAConstant priorityConstant; - private String assignee; - private String assigneeId; - private String reporter; - private String reporterId; - private String resolution; - private String created; - private String updated; - private long statusId; - private long priorityId; - private long typeId; - private List affectsVersions; - private List fixVersions; - private List components; - - private List subTaskList; - private boolean thisIsASubTask; - private String parentIssueKey; - private String originalEstimate; - private String remainingEstimate; - private String timeSpent; - private List commentsList; - - public JIRAIssueBean() { - } - - public JIRAIssueBean(String serverUrl) { - this.serverUrl = serverUrl; - } - - public JIRAIssueBean(JIRAIssue issue) { - serverUrl = issue.getServerUrl(); - id = issue.getId(); - key = issue.getKey(); - summary = issue.getSummary(); - status = issue.getStatus(); - statusUrl = issue.getStatusTypeUrl(); - type = issue.getType(); - typeUrl = issue.getTypeIconUrl(); - priority = issue.getPriority(); - priorityUrl = issue.getPriorityIconUrl(); - description = issue.getDescription(); - projectKey = issue.getProjectKey(); - statusConstant = issue.getStatusConstant(); - typeConstant = issue.getTypeConstant(); - priorityConstant = issue.getPriorityConstant(); - assignee = issue.getAssignee(); - assigneeId = issue.getAssigneeId(); - reporter = issue.getReporter(); - reporterId = issue.getReporterId(); - resolution = issue.getResolution(); - created = issue.getCreated(); - updated = issue.getUpdated(); - statusId = issue.getStatusId(); - priorityId = issue.getPriorityId(); - typeId = issue.getTypeId(); - thisIsASubTask = issue.isSubTask(); - subTaskList = issue.getSubTaskKeys(); - parentIssueKey = issue.getParentIssueKey(); - } - - public JIRAIssueBean(String serverUrl, Element e, boolean getComments) { - this.serverUrl = serverUrl; - this.summary = getTextSafely(e, "summary"); - this.key = getTextSafely(e, "key"); - this.id = new Long(getAttributeSafely(e, "key", "id")); - updateProjectKey(); - this.status = getTextSafely(e, "status"); - this.statusUrl = getAttributeSafely(e, "status", "iconUrl"); - try { - this.statusId = Long.parseLong(getAttributeSafely(e, "status", "id")); - } catch (NumberFormatException ex) { - this.statusId = 0; - } - this.priority = getTextSafely(e, "priority"); - this.priorityUrl = getAttributeSafely(e, "priority", "iconUrl"); - try { - this.priorityId = Long.parseLong(getAttributeSafely(e, "priority", "id")); - } catch (NumberFormatException ex) { - this.priorityId = 0; - } - this.description = getTextSafely(e, "description"); - this.type = getTextSafely(e, "type"); - this.typeUrl = getAttributeSafely(e, "type", "iconUrl"); - try { - this.typeId = Long.parseLong(getAttributeSafely(e, "type", "id")); - } catch (NumberFormatException ex) { - this.typeId = 0; - } - this.assignee = getTextSafely(e, "assignee"); - this.assigneeId = getAttributeSafely(e, "assignee", "username"); - this.reporter = getTextSafely(e, "reporter"); - this.reporterId = getAttributeSafely(e, "reporter", "username"); - this.created = getTextSafely(e, "created"); - this.updated = getTextSafely(e, "updated"); - this.resolution = getTextSafely(e, "resolution"); - - this.parentIssueKey = getTextSafely(e, "parent"); - this.thisIsASubTask = parentIssueKey != null; - subTaskList = new ArrayList(); - Element subtasks = e.getChild("subtasks"); - if (subtasks != null) { - for (Object subtask : subtasks.getChildren("subtask")) { - String subTaskKey = ((Element) subtask).getText(); - if (subTaskKey != null) { - subTaskList.add(subTaskKey); - } - } - } - - this.originalEstimate = getTextSafely(e, "timeoriginalestimate"); - this.remainingEstimate = getTextSafely(e, "timeestimate"); - this.timeSpent = getTextSafely(e, "timespent"); - - Element comments = e.getChild("comments"); - if (comments != null && getComments) { - commentsList = new ArrayList(); - for (Object comment : comments.getChildren("comment")) { - Element el = (Element) comment; - String commentId = el.getAttributeValue("id", "-1"); - String author = el.getAttributeValue("author", "Unknown"); - String text = el.getText(); - String creationDate = el.getAttributeValue("created", "Unknown"); - - Calendar cal = Calendar.getInstance(); - DateFormat df = new SimpleDateFormat("EEE MMM d HH:mm:ss Z yyyy", Locale.US); - try { - cal.setTime(df.parse(creationDate)); - } catch (java.text.ParseException ex) { - // oh well, invalid time - now what? :( - } - - commentsList.add(new JIRACommentBean(commentId, author, text, cal)); - } - } - } - - public JIRAConstant getPriorityConstant() { - return priorityConstant; - } - - public void setPriority(JIRAConstant priority) { - this.priority = priority.getName(); - this.priorityConstant = priority; - } - - public JIRAIssueBean(String serverUrl, Map params) { - this.serverUrl = serverUrl; - this.summary = (String) params.get("summary"); - this.status = (String) params.get("status"); - this.key = (String) params.get("key"); - this.id = new Long(params.get("key").toString()); - updateProjectKey(); - this.description = (String) params.get("description"); - this.type = (String) params.get("type"); - this.priority = (String) params.get("priority"); - } - - private void updateProjectKey() { - if (key != null) { - if (key.indexOf("-") >= 0) { - projectKey = key.substring(0, key.indexOf("-")); - } else { - projectKey = key; - } - } - } - - private String getTextSafely(Element e, String name) { - Element child = e.getChild(name); - - if (child == null) { - return null; - } - - return child.getText(); - } - - private String getAttributeSafely(Element e, String elementName, String attributeName) { - Element child = e.getChild(elementName); - - if (child == null || child.getAttribute(attributeName) == null) { - return null; - } - - return child.getAttributeValue(attributeName); - } - - public String getServerUrl() { - return serverUrl; - } - - public void setServerUrl(String serverUrl) { - this.serverUrl = serverUrl; - } - - public String getProjectUrl() { - return serverUrl + "/browse/" + getProjectKey(); - } - - public String getIssueUrl() { - return serverUrl + "/browse/" + getKey(); - } - - public Long getId() { - return id; - } - - public boolean isSubTask() { - return thisIsASubTask; - } - - public String getParentIssueKey() { - return parentIssueKey; - } - - public List getSubTaskKeys() { - return subTaskList; - } - - public String getProjectKey() { - return projectKey; - } - - public String getStatus() { - return status; - } - - public String getStatusTypeUrl() { - return statusUrl; - } - - public String getPriority() { - return priority; - } - - public String getPriorityIconUrl() { - return priorityUrl; - } - - public String getKey() { - return key; - } - - public void setKey(String key) { - this.key = key; - } - - public String getSummary() { - return summary; - } - - public String getType() { - return type; - } - - public String getTypeIconUrl() { - return typeUrl; - } - - public void setTypeIconUrl(String newTypeUrl) { - this.typeUrl = newTypeUrl; - } - - public String getDescription() { - return description; - } - - public void setSummary(String summary) { - this.summary = summary; - } - - public void setProjectKey(String projectKey) { - this.projectKey = projectKey; - } - - public void setDescription(String description) { - this.description = description; - } - - public JIRAConstant getTypeConstant() { - return typeConstant; - } - - public void setType(JIRAConstant type) { - this.type = type.getName(); - this.typeConstant = type; - } - - public JIRAConstant getStatusConstant() { - return statusConstant; - } - - public void setStatus(JIRAConstant status) { - this.status = status.getName(); - this.statusConstant = status; - } - - public String getAssignee() { - return assignee; - } - - public void setAssignee(String assignee) { - this.assignee = assignee; - } - - public long getPriorityId() { - return priorityId; - } - - public long getStatusId() { - return statusId; - } - - public long getTypeId() { - return typeId; - } - - public String getReporter() { - return reporter; - } - - public void setReporter(String reporter) { - this.reporter = reporter; - } - - public String getResolution() { - return resolution; - } - - public void setResolution(String resolution) { - this.resolution = resolution; - } - - public String getCreated() { - return created; - } - - public void setCreated(String created) { - this.created = created; - } - - public String getUpdated() { - return updated; - } - - public void setUpdated(String updated) { - this.updated = updated; - } - - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - - JIRAIssueBean that = (JIRAIssueBean) o; - - if (key != null ? !key.equals(that.key) : that.key != null) { - return false; - } - if (serverUrl != null ? !serverUrl.equals(that.serverUrl) : that.serverUrl != null) { - return false; - } - return !(summary != null ? !summary.equals(that.summary) : that.summary != null); - - } - - private static final int ONE_EFF = 31; - - public int hashCode() { - int result; - result = (serverUrl != null ? serverUrl.hashCode() : 0); - result = ONE_EFF * result + (key != null ? key.hashCode() : 0); - result = ONE_EFF * result + (summary != null ? summary.hashCode() : 0); - return result; - } - - public String getAssigneeId() { - return assigneeId; - } - - public void setAssigneeId(String assigneeId) { - this.assigneeId = assigneeId; - } - - public String getReporterId() { - return reporterId; - } - - public void setReporterId(String reporterId) { - this.reporterId = reporterId; - } - - public List getAffectsVersions() { - return affectsVersions; - } - - public void setAffectsVersions(List affectsVersions) { - this.affectsVersions = affectsVersions; - } - - public List getFixVersions() { - return fixVersions; - } - - public void setFixVersions(List fixVersions) { - this.fixVersions = fixVersions; - } - - public List getComponents() { - return components; - } - - public void setComponents(List components) { - this.components = components; - } - - public String getOriginalEstimate() { - return originalEstimate; - } - - public void setOriginalEstimate(String originalEstimate) { - this.originalEstimate = originalEstimate; - } - - public String getRemainingEstimate() { - return remainingEstimate; - } - - public void setRemainingEstimate(String remainingEstimate) { - this.remainingEstimate = remainingEstimate; - } - - public String getTimeSpent() { - return timeSpent; - } - - public void setTimeSpent(String timeSpent) { - this.timeSpent = timeSpent; - } - - public List getComments() { - return commentsList; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueTypeBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueTypeBean.java deleted file mode 100644 index 558ed3cf9ab1..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAIssueTypeBean.java +++ /dev/null @@ -1,48 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.net.URL; -import java.util.Map; - -public class JIRAIssueTypeBean extends AbstractJIRAConstantBean { - private boolean subTask = false; - public JIRAIssueTypeBean(Map map) { - super(map); - subTask = Boolean.valueOf(map.get("subTask")); - } - - public JIRAIssueTypeBean(long id, String name, URL iconUrl) { - super(id, name, iconUrl); - } - - public JIRAIssueTypeBean(JIRAIssueTypeBean other) { - this(other.getMap()); - } - - public String getQueryStringFragment() { - return "type=" + getId(); - } - - public JIRAIssueTypeBean getClone() { - return new JIRAIssueTypeBean(this); - } - - public boolean isSubTask() { - return subTask; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRALoginException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRALoginException.java deleted file mode 100644 index 1ff3ee7d4f1c..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRALoginException.java +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -/** - * Generic Bamboo Excepion. - */ -public class JIRALoginException extends JIRAException { - - public JIRALoginException(String message) { - super(message); - } - - public JIRALoginException(String message, Throwable throwable) { - super(message, throwable); - } -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAPriorityBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAPriorityBean.java deleted file mode 100644 index 5239bbc01c54..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAPriorityBean.java +++ /dev/null @@ -1,44 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.net.URL; -import java.util.Map; - -public class JIRAPriorityBean extends AbstractJIRAConstantBean { - public JIRAPriorityBean(Map map) { - super(map); - } - - public JIRAPriorityBean(long id, String name, URL iconUrl) { - super(id, name, iconUrl); - } - - public JIRAPriorityBean(JIRAPriorityBean other) { - super(other.getMap()); - } - - public String getQueryStringFragment() { - return "priority=" + getId(); - } - - public JIRAPriorityBean getClone() { - return new JIRAPriorityBean(this); - } - - -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProject.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProject.java deleted file mode 100644 index ea3b4946e671..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProject.java +++ /dev/null @@ -1,27 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public interface JIRAProject extends JIRAQueryFragment { - String getKey(); - - String getUrl(); - - String getLead(); - - String getDescription(); -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProjectBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProjectBean.java deleted file mode 100644 index edcb5a592398..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAProjectBean.java +++ /dev/null @@ -1,121 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import com.intellij.util.xmlb.annotations.Transient; - -import java.util.HashMap; -import java.util.Map; - -public class JIRAProjectBean implements JIRAProject { - private String name; - private String key; - private String url; - private long id; - private String description; - private String lead; - - public JIRAProjectBean() { - } - - public JIRAProjectBean(Map projMap) { - name = (String) projMap.get("name"); - key = (String) projMap.get("key"); - description = (String) projMap.get("description"); - url = (String) projMap.get("url"); - lead = (String) projMap.get("lead"); - id = Long.valueOf((String) projMap.get("id")); - } - - public JIRAProjectBean(long id, String name) { - this.id = id; - this.name = name; - } - - public JIRAProjectBean(JIRAProjectBean other) { - this(other.getMap()); - } - - public String getName() { - return name; - } - - public HashMap getMap() { - HashMap map = new HashMap(); - map.put("name", getName()); - map.put("id", Long.toString(id)); - map.put("key", getKey()); - map.put("description", getDescription()); - map.put("url", getUrl()); - map.put("lead", getLead()); - map.put("filterTypeClass", this.getClass().getName()); - return map; - } - - public JIRAProjectBean getClone() { - return new JIRAProjectBean(this); - } - - public String getKey() { - return key; - } - - public String getUrl() { - return url; - } - - public long getId() { - return id; - } - - public String getDescription() { - return description; - } - - public String getLead() { - return lead; - } - - @Transient - public String getQueryStringFragment() { - return "pid=" + id; - } - - public void setName(String name) { - this.name = name; - } - - public void setKey(String key) { - this.key = key; - } - - public void setUrl(String url) { - this.url = url; - } - - public void setId(long id) { - this.id = id; - } - - public void setDescription(String description) { - this.description = description; - } - - public void setLead(String lead) { - this.lead = lead; - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAQueryFragment.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAQueryFragment.java deleted file mode 100644 index 72ba7e311663..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAQueryFragment.java +++ /dev/null @@ -1,31 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.HashMap; - -public interface JIRAQueryFragment { - String getQueryStringFragment(); - - long getId(); - - String getName(); - - HashMap getMap(); - - JIRAQueryFragment getClone(); -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAReporterBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAReporterBean.java deleted file mode 100644 index 8e243a982ef7..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAReporterBean.java +++ /dev/null @@ -1,45 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAReporterBean extends JIRAUserBean { - public JIRAReporterBean() { - } - - public JIRAReporterBean(long id, String name, String value) { - super(id, name, value); - } - - public JIRAReporterBean(Map map) { - super(map); - } - - public JIRAReporterBean(JIRAReporterBean other) { - this(other.getMap()); - } - - @Override - public String getQueryStringFragment() { - return "reporter=" + getValue(); - } - - public JIRAReporterBean getClone() { - return new JIRAReporterBean(this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAResolutionBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAResolutionBean.java deleted file mode 100644 index 80688698819e..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAResolutionBean.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAResolutionBean extends AbstractJIRAConstantBean { - - public JIRAResolutionBean(Map map) { - super(map); - } - - public JIRAResolutionBean(long id, String name) { - super(id, name, null); - } - - public JIRAResolutionBean(JIRAResolutionBean other) { - this(other.getMap()); - } - - public String getQueryStringFragment() { - return "resolution=" + id; - } - - public JIRAResolutionBean getClone() { - return new JIRAResolutionBean(this); - } -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilter.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilter.java deleted file mode 100644 index 8c80e1ce0b82..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilter.java +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -public interface JIRASavedFilter extends JIRAQueryFragment { - String getAuthor(); - - String getProject(); -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilterBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilterBean.java deleted file mode 100644 index 6279f264196f..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRASavedFilterBean.java +++ /dev/null @@ -1,77 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.HashMap; -import java.util.Map; - -public class JIRASavedFilterBean implements JIRASavedFilter { - private String name; - private String author; - private String project; - private long id; - - public JIRASavedFilterBean(Map projMap) { - name = (String) projMap.get("name"); - author = (String) projMap.get("author"); - project = (String) projMap.get("project"); - id = Long.valueOf((String) projMap.get("id")); - } - - public JIRASavedFilterBean(String n, long id) { - name = n; - this.id = id; - } - - public JIRASavedFilterBean(JIRASavedFilterBean other) { - this(other.getMap()); - } - - public String getName() { - return name; - } - - public HashMap getMap() { - HashMap map = new HashMap(); - map.put("name", getName()); - map.put("id", Long.toString(id)); - map.put("author", getAuthor()); - map.put("project", getProject()); - map.put("filterTypeClass", this.getClass().getName()); - return map; - } - - public JIRASavedFilterBean getClone() { - return new JIRASavedFilterBean(this); - } - - public long getId() { - return id; - } - - public String getAuthor() { - return author; - } - - public String getProject() { - return project; - } - - public String getQueryStringFragment() { - return Long.toString(id); - } -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAStatusBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAStatusBean.java deleted file mode 100644 index 0b2f54dc9a80..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAStatusBean.java +++ /dev/null @@ -1,42 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.net.URL; -import java.util.Map; - -public class JIRAStatusBean extends AbstractJIRAConstantBean { - public JIRAStatusBean(Map map) { - super(map); - } - - public JIRAStatusBean(long id, String name, URL iconUrl) { - super(id, name, iconUrl); - } - - public JIRAStatusBean(JIRAStatusBean other) { - this(other.getMap()); - } - - public String getQueryStringFragment() { - return "status=" + getId(); - } - - public JIRAStatusBean getClone() { - return new JIRAStatusBean(this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAUserBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAUserBean.java deleted file mode 100644 index a9a0d9ca2796..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAUserBean.java +++ /dev/null @@ -1,50 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.HashMap; -import java.util.Map; - -public abstract class JIRAUserBean extends AbstractJIRAConstantBean { - protected String value = ""; - - public JIRAUserBean() { - super(); - } - - public JIRAUserBean(long id, String name, String value) { - super(id, name, null); - this.value = value; - } - - public JIRAUserBean(Map map) { - super(map); - value = map.get("value"); - } - - public HashMap getMap() { - HashMap map = super.getMap(); - map.put("value", getValue()); - return map; - } - - public String getValue() { - return value; - } - - public abstract String getQueryStringFragment(); -} \ No newline at end of file diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAVersionBean.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAVersionBean.java deleted file mode 100644 index d1703860fcf9..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAVersionBean.java +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Copyright (C) 2008 Atlassian - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package com.atlassian.theplugin.jira.api; - -import java.util.Map; - -public class JIRAVersionBean extends AbstractJIRAConstantBean { - protected boolean isReleased; - - public JIRAVersionBean(Map map) { - super(map); - isReleased = Boolean.valueOf(map.get("released")); - } - - public JIRAVersionBean(long id, String name) { - this.id = id; - this.name = name; - } - - public JIRAVersionBean(JIRAVersionBean other) { - this(other.getMap()); - } - - public boolean isReleased() { - return isReleased; - } - - public void setReleased(boolean released) { - isReleased = released; - } - - public String getQueryStringFragment() { - return "version=" + getId(); - } - - public JIRAVersionBean getClone() { - return new JIRAVersionBean(this); - } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JiraUserNotFoundException.java b/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JiraUserNotFoundException.java deleted file mode 100644 index b7f1504a42a3..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JiraUserNotFoundException.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.atlassian.theplugin.jira.api; - -/** - * User: jgorycki - * Date: Dec 8, 2008 - * Time: 6:22:09 PM - */ -public class JiraUserNotFoundException extends Exception { - public JiraUserNotFoundException(String message) { super(message); } -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/icons/JiraConnectorIcons.java b/plugins/tasks/jira-connector/src/atlassian/java/icons/JiraConnectorIcons.java deleted file mode 100644 index fa575fc52266..000000000000 --- a/plugins/tasks/jira-connector/src/atlassian/java/icons/JiraConnectorIcons.java +++ /dev/null @@ -1,17 +0,0 @@ -package icons; - -import com.intellij.openapi.util.IconLoader; - -import javax.swing.*; - -/** - * NOTE THIS FILE IS AUTO-GENERATED by the build/scripts/icons.gant - * Don't repeat mistakes of others ;-) - */ -public class JiraConnectorIcons { - private static Icon load(String path) { - return IconLoader.getIcon(path, JiraConnectorIcons.class); - } - - public static final Icon Jira_blue_16 = load("/resources/jira-blue-16.png"); // 16x16 -} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/resources/jira-blue-16.png b/plugins/tasks/jira-connector/src/atlassian/java/resources/jira-blue-16.png deleted file mode 100644 index e66b0d1c4c3415deeadd3db9784a1392463f75a6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 241 zcmV}pR&avO?r@~ybwTe&)MQobC%HA<6wZGUw@x4S%Ywmsjt7!f0?pCW{khg z**{$x)Bpegb4f%&R2Ufr!HHqQFaQ9tlk+=JAo~wnDPU~d0K)6>)Z=*}mTvZ)yM@+a z0a%Q+YXZQ$at`=>V4O0K?X=hK+>R;c(f6+V+c63AXsfMbB3P?xg}_?1f`F?oAg~;D rEFkc!`hj4tzrWfcEcG7aT?_sJx&8wCU children = channel.getChildren("item"); - LOG.info("JIRA: " + children.size() + " issues found"); - final List tasks = ContainerUtil.map(children, new Function() { - public Task fun(Element o) { - return new JiraTask(new JIRAIssueBean(getUrl(), o, false), JiraRepository.this); - } - }); - return tasks.toArray(new Task[tasks.size()]); - } - else { - LOG.warn("JIRA channel not found"); - } - return Task.EMPTY_ARRAY; - } - - private HttpClient login() throws Exception { - - HttpClient client = getHttpClient(); - client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); - if (myJira4) { - PostMethod postMethod = getLoginMethodFor4x(); - client.executeMethod(postMethod); - if (checkLoginResult(postMethod)) { - return client; - } - } - // try 3.x protocol - axisLogin(); - return client; - } - - private void axisLogin() throws Exception { - - try { - JiraSoapService soapService = - new JiraSoapServiceServiceLocator().getJirasoapserviceV2(new URL(getUrl() + "/rpc/soap/jirasoapservice-v2")); - if (isUseProxy()) { - final List> list = HttpConfigurable.getJvmPropertiesList(false, null); - if (! list.isEmpty()) { - for (KeyValue value : list) { - AxisProperties.setProperty(value.getKey(), value.getValue()); - } - } - } - - soapService.login(getUsername(), getPassword()); - } - catch (RemoteException e) { - String message = e.toString(); - int i = message.indexOf(": "); - if (i > 0) { - message = message.substring(i + 2); - } - throw new Exception(message, e); - } - } - - private boolean checkLoginResult(PostMethod postMethod) throws IOException { - int statusCode = postMethod.getStatusCode(); - if (statusCode == HttpStatus.SC_NOT_FOUND) { - myJira4 = false; - return false; - } - if (statusCode != HttpStatus.SC_OK && statusCode != HttpStatus.SC_MOVED_TEMPORARILY) { - throw new IOException("Can't login: " + statusCode + " (" + HttpStatus.getStatusText(statusCode) + ")"); - } - if (statusCode == HttpStatus.SC_OK && new String(postMethod.getResponseBody(2000)).contains("\"loginSucceeded\":false")) { - throw new IOException(LOGIN_FAILED_CHECK_YOUR_PERMISSIONS); - } - return true; - } - - private PostMethod getLoginMethodFor4x() { - String url = getUrl() + "/rest/gadget/1.0/login"; - PostMethod postMethod = new PostMethod(url); - postMethod.addParameter("os_username", getUsername()); - postMethod.addParameter("os_password", getPassword()); - postMethod.addParameter("os_destination", "/success"); - configureHttpMethod(postMethod); - return postMethod; - } - - @Nullable - @Override - public CancellableConnection createCancellableConnection() { - PostMethod method = getLoginMethodFor4x(); - return new HttpTestConnection(method) { - - @Override - public void doTest(PostMethod method) throws Exception { - HttpClient client = getHttpClient(); - client.executeMethod(myMethod); - if (!checkLoginResult(method)) { - axisLogin(); - } - getIssues(1, client); - } - }; - } - - public JiraRepository clone() { - return new JiraRepository(this); - } - - @Nullable - public Task findTask(String id) { - try { - StringBuilder url = new StringBuilder(getUrl()); - url.append("/si/jira.issueviews:issue-xml/"); - url.append(id).append('/').append(id).append(".xml"); - - Task[] tasks = processRSS(url.toString(), login()); - return tasks.length == 0 ? null : tasks[0]; - } - catch (Exception e) { - LOG.warn("Cannot get issue " + id + ": " + e.getMessage()); - return null; - } - } - - @Override - public void updateTimeSpent(final LocalTask task, final String timeSpent, final String comment) throws Exception { - final HttpClient client = login(); - checkVersion(client); - PostMethod method = new PostMethod(getUrl() + "/rest/api/2/issue/" + task.getId() + "/worklog"); - method.setRequestEntity( - new StringRequestEntity("{\"timeSpent\" : \"" + timeSpent + "\"" + - (StringUtil.isNotEmpty(comment) ? ", \"comment\" : " + comment : "") - + " }", "application/json", "UTF-8")); - client.executeMethod(method); - if (method.getStatusCode() != 201) { - throw new Exception(method.getResponseBodyAsString()); - } - } - - private void checkVersion(final HttpClient client) throws Exception { - GetMethod method = new GetMethod(getUrl() + "/rest/api/2/project"); - client.executeMethod(method); - if (method.getStatusCode() != 200) { - throw new Exception("This version of JIRA doesn't have support REST API for working with worklog items."); - } - } - - @Override - protected int getFeatures() { - return BASIC_HTTP_AUTHORIZATION | TIME_MANAGEMENT; - } -} diff --git a/plugins/tasks/tasks-core/src/META-INF/plugin.xml b/plugins/tasks/tasks-core/src/META-INF/plugin.xml index 77e744f5915f..3573bb180bb9 100644 --- a/plugins/tasks/tasks-core/src/META-INF/plugin.xml +++ b/plugins/tasks/tasks-core/src/META-INF/plugin.xml @@ -123,6 +123,15 @@ + + + + + + + diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/idea/jira/CachedIconLoader.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/CachedIconLoader.java similarity index 98% rename from plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/idea/jira/CachedIconLoader.java rename to plugins/tasks/tasks-core/src/com/intellij/tasks/jira/CachedIconLoader.java index 3961464dc80d..e439446be54b 100644 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/idea/jira/CachedIconLoader.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/CachedIconLoader.java @@ -14,7 +14,7 @@ * limitations under the License. */ -package com.atlassian.theplugin.idea.jira; +package com.intellij.tasks.jira; import javax.swing.*; import java.net.MalformedURLException; diff --git a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraComment.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraCommentAdapter.java similarity index 74% rename from plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraComment.java rename to plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraCommentAdapter.java index 4fe22c29384e..8265d00d9204 100644 --- a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraComment.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraCommentAdapter.java @@ -16,19 +16,19 @@ package com.intellij.tasks.jira; -import com.atlassian.theplugin.jira.api.JIRAComment; import com.intellij.tasks.Comment; +import com.intellij.tasks.jira.model.JiraComment; import java.util.Date; /** * @author Dmitry Avdeev */ -public class JiraComment extends Comment { +public class JiraCommentAdapter extends Comment { - private final JIRAComment myComment; + private final JiraComment myComment; - public JiraComment(JIRAComment comment) { + public JiraCommentAdapter(JiraComment comment) { myComment = comment; } @@ -37,15 +37,15 @@ public class JiraComment extends Comment { } public String getAuthor() { - return myComment.getAuthorFullName(); + return myComment.getAuthor().getDisplayName(); } public Date getDate() { - return myComment.getCreationDate().getTime(); + return myComment.getCreated(); } @Override public String toString() { - return myComment.getAuthorFullName(); + return myComment.getAuthor().getDisplayName(); } } diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepository.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepository.java new file mode 100644 index 000000000000..d386ec76dd95 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepository.java @@ -0,0 +1,157 @@ +package com.intellij.tasks.jira; + +import com.intellij.openapi.diagnostic.Logger; +import com.intellij.openapi.util.Comparing; +import com.intellij.openapi.util.io.StreamUtil; +import com.intellij.openapi.util.text.StringUtil; +import com.intellij.tasks.Task; +import com.intellij.tasks.impl.BaseRepositoryImpl; +import com.intellij.tasks.jira.model.JiraIssue; +import com.intellij.tasks.jira.model.JiraResponseWrapper; +import com.intellij.util.Function; +import com.intellij.util.containers.ContainerUtil; +import com.intellij.util.xmlb.annotations.Tag; +import org.apache.commons.httpclient.HttpClient; +import org.apache.commons.httpclient.HttpStatus; +import org.apache.commons.httpclient.NameValuePair; +import org.apache.commons.httpclient.methods.GetMethod; +import org.jetbrains.annotations.Nullable; + +import java.util.List; + +/** + * @author Dmitry Avdeev + */ +@Tag("JIRA") +public class JiraRepository extends BaseRepositoryImpl { + + private final static Logger LOG = Logger.getInstance("#com.intellij.tasks.jira.JiraRepository"); + public static final String LOGIN_FAILED_CHECK_YOUR_PERMISSIONS = "Login failed. Check your permissions."; + public static final String REST_API_PATH_SUFFIX = "/rest/api/latest"; + + private String mySearchQuery = "assignee = currentUser() order by duedate"; + + /** + * Serialization constructor + */ + @SuppressWarnings({"UnusedDeclaration"}) + public JiraRepository() { + } + + public JiraRepository(JiraRepositoryType type) { + super(type); + } + + private JiraRepository(JiraRepository other) { + super(other); + mySearchQuery = other.mySearchQuery; + } + + @Override + public boolean equals(Object o) { + if (!super.equals(o)) return false; + if (o.getClass() != getClass()) return false; + return Comparing.equal(mySearchQuery, ((JiraRepository)o).mySearchQuery); + } + + + /** + * Always use Basic HTTP authentication for JIRA REST interface + */ + @Override + public boolean isUseHttpAuthentication() { + return true; + } + + public Task[] getIssues(@Nullable String searchQuery, int max, long since) throws Exception { + HttpClient client = getHttpClient(); + GetMethod method = new GetMethod(getUrl() + REST_API_PATH_SUFFIX + "/search"); + String jqlQuery = mySearchQuery; + if (!StringUtil.isEmpty(searchQuery)) { + if (JiraUtil.ANY_ISSUE_KEY_REGEX.matcher(searchQuery).matches()) { + jqlQuery += String.format(" and key = \"%s\"", searchQuery); + } + else { + jqlQuery += String.format(" and summary ~ \"%s\"", searchQuery); + } + } + method.setQueryString(new NameValuePair[]{ + new NameValuePair("jql", jqlQuery), + // by default comment field will be skipped + //new NameValuePair("fields", "*all"), + new NameValuePair("fields", JiraIssue.REQUIRED_RESPONSE_FIELDS), + new NameValuePair("maxResults", String.valueOf(max)) + }); + LOG.debug("URI is " + method.getURI()); + int statusCode = client.executeMethod(method); + LOG.debug("Status code is " + statusCode); + String entityContent = StreamUtil.readText(method.getResponseBodyAsStream(), "utf-8"); + LOG.debug(entityContent); + if (statusCode != HttpStatus.SC_OK) { + return Task.EMPTY_ARRAY; + } + JiraResponseWrapper.Issues wrapper = JiraUtil.GSON.fromJson(entityContent, JiraResponseWrapper.Issues.class); + List issues = wrapper.getIssues(); + LOG.debug("Total " + issues.size() + " issues downloaded"); + return ContainerUtil.map2Array(issues, Task.class, new Function() { + @Override + public JiraTask fun(JiraIssue issue) { + return new JiraTask(issue, JiraRepository.this); + } + }); + } + + + @Nullable + @Override + public Task findTask(String id) throws Exception { + HttpClient client = getHttpClient(); + GetMethod method = new GetMethod(getUrl() + REST_API_PATH_SUFFIX + "/issue/" + id); + method.setQueryString("fields=" + encodeUrl(JiraIssue.REQUIRED_RESPONSE_FIELDS)); + int statusCode = client.executeMethod(method); + LOG.debug("Status code is " + statusCode); + String entityContent = StreamUtil.readText(method.getResponseBodyAsStream(), "utf-8"); + LOG.debug(entityContent); + if (statusCode != HttpStatus.SC_OK) { + return null; + } + return new JiraTask(JiraUtil.GSON.fromJson(entityContent, JiraIssue.class), this); + } + + @Nullable + @Override + public CancellableConnection createCancellableConnection() { + String uri = getUrl() + REST_API_PATH_SUFFIX + "/search?maxResults=1"; + return new HttpTestConnection(new GetMethod(uri)) { + @Override + public void doTest(GetMethod method) throws Exception { + HttpClient client = getHttpClient(); + int statusCode = client.executeMethod(myMethod); + if (statusCode == HttpStatus.SC_UNAUTHORIZED) { + throw new Exception(LOGIN_FAILED_CHECK_YOUR_PERMISSIONS); + } + else if (statusCode != HttpStatus.SC_OK) { + throw new Exception("Error while connecting to server: " + HttpStatus.getStatusText(statusCode)); + } + } + }; + } + + public JiraRepository clone() { + return new JiraRepository(this); + } + + @Override + protected int getFeatures() { + return TIME_MANAGEMENT; + } + + + public String getSearchQuery() { + return mySearchQuery; + } + + public void setSearchQuery(String searchQuery) { + mySearchQuery = searchQuery; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryEditor.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryEditor.java new file mode 100644 index 000000000000..7ad7faf5fefa --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryEditor.java @@ -0,0 +1,68 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira; + +import com.intellij.openapi.editor.Document; +import com.intellij.openapi.project.Project; +import com.intellij.psi.PsiDocumentManager; +import com.intellij.psi.PsiFile; +import com.intellij.psi.PsiFileFactory; +import com.intellij.tasks.config.BaseRepositoryEditor; +import com.intellij.tasks.jira.jql.JqlFileType; +import com.intellij.tasks.jira.jql.JqlLanguage; +import com.intellij.ui.EditorTextField; +import com.intellij.ui.components.JBLabel; +import com.intellij.util.Consumer; +import com.intellij.util.ui.FormBuilder; +import org.jetbrains.annotations.Nullable; + +import javax.swing.*; + +/** + * @author Mikhail Golubev + */ +public class JiraRepositoryEditor extends BaseRepositoryEditor { + private EditorTextField mySearchQueryField; + private JBLabel mySearchLabel; + + public JiraRepositoryEditor(Project project, JiraRepository repository, Consumer changeListener) { + super(project, repository, changeListener); + } + + @Override + public void apply() { + myRepository.setSearchQuery(mySearchQueryField.getText()); + super.apply(); + } + + @Nullable + @Override + protected JComponent createCustomPanel() { + mySearchLabel = new JBLabel("Search:", SwingConstants.RIGHT); + PsiFileFactory fileFactory = PsiFileFactory.getInstance(myProject); + PsiFile psiFile = fileFactory.createFileFromText("query.jql", JqlLanguage.INSTANCE, myRepository.getSearchQuery()); + Document document = PsiDocumentManager.getInstance(myProject).getDocument(psiFile); + mySearchQueryField = new EditorTextField(document, myProject, JqlFileType.INSTANCE); + installListener(document); + return FormBuilder.createFormBuilder().addLabeledComponent(mySearchLabel, mySearchQueryField).getPanel(); + } + + @Override + public void setAnchor(@Nullable final JComponent anchor) { + super.setAnchor(anchor); + mySearchLabel.setAnchor(anchor); + } +} diff --git a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraRepositoryType.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryType.java similarity index 61% rename from plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraRepositoryType.java rename to plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryType.java index f34ceffb794a..b3c0c7bcc7a0 100644 --- a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraRepositoryType.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraRepositoryType.java @@ -1,7 +1,10 @@ package com.intellij.tasks.jira; +import com.intellij.openapi.project.Project; +import com.intellij.tasks.config.TaskRepositoryEditor; import com.intellij.tasks.impl.BaseRepositoryType; -import icons.JiraConnectorIcons; +import com.intellij.util.Consumer; +import icons.TasksIcons; import org.jetbrains.annotations.NotNull; import javax.swing.*; @@ -21,7 +24,7 @@ public class JiraRepositoryType extends BaseRepositoryType { @NotNull public Icon getIcon() { - return JiraConnectorIcons.Jira_blue_16; + return TasksIcons.JIRA; } @NotNull @@ -34,6 +37,15 @@ public class JiraRepositoryType extends BaseRepositoryType { public Class getRepositoryClass() { return JiraRepository.class; } + + @NotNull + @Override + public TaskRepositoryEditor createEditor(JiraRepository repository, + Project project, + Consumer changeListener) { + return new JiraRepositoryEditor(project, repository, changeListener); + } + // //@Override //public EnumSet getPossibleTaskStates() { diff --git a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraTask.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraTask.java similarity index 68% rename from plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraTask.java rename to plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraTask.java index 804df7524513..c83bdf56723c 100644 --- a/plugins/tasks/jira-connector/src/main/java/com/intellij/tasks/jira/JiraTask.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraTask.java @@ -16,33 +16,28 @@ package com.intellij.tasks.jira; -import com.atlassian.theplugin.idea.jira.CachedIconLoader; -import com.atlassian.theplugin.jira.api.JIRAComment; -import com.atlassian.theplugin.jira.api.JIRAIssue; import com.intellij.tasks.*; +import com.intellij.tasks.jira.model.JiraComment; +import com.intellij.tasks.jira.model.JiraIssue; +import com.intellij.tasks.jira.model.JiraIssueType; import com.intellij.util.Function; import com.intellij.util.containers.ContainerUtil; -import icons.JiraConnectorIcons; import icons.TasksIcons; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import javax.swing.*; -import java.text.ParseException; -import java.text.SimpleDateFormat; import java.util.Date; -import java.util.List; -import java.util.Locale; /** * @author Dmitry Avdeev */ class JiraTask extends Task { - private final JIRAIssue myJiraIssue; + private final JiraIssue myJiraIssue; private final TaskRepository myRepository; - public JiraTask(JIRAIssue jiraIssue, TaskRepository repository) { + public JiraTask(JiraIssue jiraIssue, TaskRepository repository) { myJiraIssue = jiraIssue; myRepository = repository; } @@ -61,22 +56,23 @@ class JiraTask extends Task { return myJiraIssue.getDescription(); } + @NotNull public Comment[] getComments() { - List jiraComments = myJiraIssue.getComments(); - if (jiraComments == null) return new Comment[0]; - return ContainerUtil.map2Array(jiraComments, Comment.class, new Function() { - public Comment fun(JIRAComment jiraComment) { - return new JiraComment(jiraComment); + return ContainerUtil.map2Array(myJiraIssue.getComments(), Comment.class, new Function() { + @Override + public Comment fun(JiraComment comment) { + return new JiraCommentAdapter(comment); } }); } @NotNull public Icon getIcon() { - String iconUrl = myJiraIssue.getTypeIconUrl(); + JiraIssueType issueType = myJiraIssue.getIssueType(); + String iconUrl = issueType.getIconUrl(); final Icon icon = iconUrl == null - ? JiraConnectorIcons.Jira_blue_16 + ? TasksIcons.JIRA : isClosed() ? CachedIconLoader.getDisabledIcon(iconUrl) : CachedIconLoader.getIcon(iconUrl); return icon != null ? icon : TasksIcons.Other; } @@ -84,7 +80,7 @@ class JiraTask extends Task { @NotNull @Override public TaskType getType() { - String type = myJiraIssue.getType(); + String type = myJiraIssue.getIssueType().getName(); if (type == null) { return TaskType.OTHER; } @@ -104,7 +100,7 @@ class JiraTask extends Task { @Override public TaskState getState() { - switch ((int)myJiraIssue.getStatusId()) { + switch (Integer.parseInt(myJiraIssue.getId())) { case 1: return TaskState.OPEN; case 3: @@ -121,22 +117,12 @@ class JiraTask extends Task { @Nullable @Override public Date getUpdated() { - return getDate(myJiraIssue.getUpdated()); - } - - @Nullable - private static Date getDate(String date) { - try { - return new SimpleDateFormat("EEE, dd MMM yyyy HH:mm:ss Z", Locale.US).parse(date); - } - catch (ParseException e) { - return null; - } + return myJiraIssue.getUpdated(); } @Override public Date getCreated() { - return getDate(myJiraIssue.getCreated()); + return myJiraIssue.getCreated(); } @Override @@ -150,7 +136,8 @@ class JiraTask extends Task { @Override public String getIssueUrl() { - return myJiraIssue.getIssueUrl(); + //return myJiraIssue.getIssueUrl(); + return myRepository.getUrl() + "/browse/" + myJiraIssue.getKey(); } @Nullable diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraUtil.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraUtil.java new file mode 100644 index 000000000000..8580f716762b --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/JiraUtil.java @@ -0,0 +1,37 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira; + +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; + +import java.util.regex.Pattern; + +/** + * @author Mikhail Golubev + */ +public class JiraUtil { + public static final Gson GSON = buildGson(); + //public static final Pattern DEFAULT_ISSUE_KEY_REGEX = Pattern.compile("\\p{Upper}{2,}+-\\d+"); + public static final Pattern ANY_ISSUE_KEY_REGEX = Pattern.compile("\\w+-\\d+"); + + private static Gson buildGson() { + GsonBuilder gson = new GsonBuilder(); + // ISO-8601 with timezone info + gson.setDateFormat("yyyy-MM-dd'T'hh:mm:ss.SSSZ"); + return gson.create(); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlBraceMatcher.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlBraceMatcher.java new file mode 100644 index 000000000000..96d5d3b95e00 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlBraceMatcher.java @@ -0,0 +1,30 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.lang.BracePair; +import com.intellij.lang.PairedBraceMatcher; +import com.intellij.psi.PsiFile; +import com.intellij.psi.tree.IElementType; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public class JqlBraceMatcher implements PairedBraceMatcher { + private static final BracePair[] PAIRS = {new BracePair(JqlTokenTypes.LPAR, JqlTokenTypes.RPAR, false)}; + + @Override + public BracePair[] getPairs() { + return PAIRS; + } + + @Override + public boolean isPairedBracesAllowedBeforeType(@NotNull IElementType lbraceType, @Nullable IElementType contextType) { + return false; + } + + @Override + public int getCodeConstructStart(PsiFile file, int openingBraceOffset) { + return openingBraceOffset; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElement.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElement.java new file mode 100644 index 000000000000..25329ece610b --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElement.java @@ -0,0 +1,14 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.extapi.psi.ASTWrapperPsiElement; +import com.intellij.lang.ASTNode; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlElement extends ASTWrapperPsiElement { + public JqlElement(@NotNull ASTNode node) { + super(node); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementType.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementType.java new file mode 100644 index 000000000000..fde826e4a62c --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementType.java @@ -0,0 +1,36 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.jql; + +import com.intellij.psi.tree.IElementType; +import org.jetbrains.annotations.NonNls; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlElementType extends IElementType { + private String myName; + public JqlElementType(@NotNull @NonNls String debugName) { + super(debugName, JqlLanguage.INSTANCE); + myName = debugName; + } + + @Override + public String toString() { + return "JQL: " + super.toString(); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementTypes.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementTypes.java new file mode 100644 index 000000000000..68a989335cb4 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlElementTypes.java @@ -0,0 +1,93 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.psi.tree.IElementType; +import com.intellij.psi.tree.IFileElementType; +import com.intellij.psi.tree.TokenSet; + +/** + * @author Mikhail Golubev + * + * Slightly refactored JQL grammar. See original ANTLR parser grammar at: + * http://jira.stagingonserver.com/jira-project/jira-components/jira-core/src/main/antlr3/com/atlassian/jira/jql/parser/antlr/Jql.g + * + * query ::= or_clause [order_by] + * or_clause ::= and_clause {or_op and_clause} + * and_clause ::= not_expr {and_op not_expr} + * not_expr ::= not_op not_expr + * | "(" or_clause ")" + * | terminal_clause + * terminal_clause ::= simple_clause + * | was_clause + * | changed_clause + * simple_clause ::= field simple_op value + * # although this is not mentioned in JQL manual, usage of both "from" and "to" predicates in "was" clause is legal + * was_clause ::= field "was" ["not"] ["in"] operand {history_predicate} + * changed_clause ::= field "changed" {history_predicate} + * simple_op ::= "=" + * | "!=" + * | "~" + * | "!~" + * | "<" + * | ">" + * | "<=" + * | ">=" + * | ["not"] "in" + * | "is" ["not"] + * not_op ::= "not" | "!" + * and_op ::= "and" | "&&" | "&" + * or_op ::= "or" | "||" | "|" + * history_predicate ::= "from" operand + * | "to" operand + * | "by" operand + * | "before" operand + * | "after" operand + * | "on" operand + * | "during" operand + * field ::= string + * | NUMBER + * | CUSTOM_FIELD + * operand ::= ("empty" | "null") + * | string + * | NUMBER + * | func + * | list + * list ::= "(" operand {"," operand} ")" + * func ::= fname "(" arg_list ")" + * # function name can be even number (!) + * fname ::= string | NUMBER + * arg_list ::= argument {"," argument} + * argument ::= string | NUMBER + * string ::= SQUOTED_STRING + * | QUOTED_STRIN + * | UNQOUTED_STRING + * order_by ::= "order" "by" sort_key {sort_key} + * sort_key ::= field ("asc" | "desc") + * + */ +public interface JqlElementTypes { + IFileElementType FILE = new IFileElementType(JqlLanguage.INSTANCE); + IElementType QUERY = new JqlElementType("QUERY"); + IElementType OR_CLAUSE = new JqlElementType("OR_CLAUSE"); + IElementType AND_CLAUSE = new JqlElementType("AND_CLAUSE"); + IElementType NOT_CLAUSE = new JqlElementType("NOT_CLAUSE"); + //IElementType TERMINAL_CLAUSE = new JqlElementType("TERMINAL_CLAUSE"); + // field (= | != | ~ | !~ | < | > | <= | >= | is [not] | [not] in) value + IElementType SIMPLE_CLAUSE = new JqlElementType("SIMPLE_CLAUSE"); + // field was [not] [in] value {history_predicate} + IElementType WAS_CLAUSE = new JqlElementType("WAS_CLAUSE"); + // field changed {history_predicate} + IElementType CHANGED_CLAUSE = new JqlElementType("CHANGED_CLAUSE"); + IElementType LIST = new JqlElementType("LIST"); + IElementType ORDER_BY = new JqlElementType("ORDER_BY"); + IElementType IDENTIFIER = new JqlElementType("IDENTIFIER"); + IElementType LITERAL = new JqlElementType("LITERAL"); + IElementType FUNCTION_CALL = new JqlElementType("FUNCTION_CALL"); + IElementType ARGUMENT_LIST = new JqlElementType("ARGUMENT_LIST"); + IElementType SORT_KEY = new JqlElementType("SORT_KEY"); + IElementType EMPTY = new JqlElementType("EMPTY"); + IElementType HISTORY_PREDICATE = new JqlElementType("HISTORY_PREDICATE"); + + TokenSet OPERAND_NODES = TokenSet.create( + JqlTokenTypes.NUMBER_LITERAL, JqlTokenTypes.STRING_LITERAL, LIST, FUNCTION_CALL + ); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFile.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFile.java new file mode 100644 index 000000000000..2d7a43f335d4 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFile.java @@ -0,0 +1,21 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.extapi.psi.PsiFileBase; +import com.intellij.openapi.fileTypes.FileType; +import com.intellij.psi.FileViewProvider; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlFile extends PsiFileBase { + public JqlFile(@NotNull FileViewProvider viewProvider) { + super(viewProvider, JqlLanguage.INSTANCE); + } + + @NotNull + @Override + public FileType getFileType() { + return JqlFileType.INSTANCE; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileType.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileType.java new file mode 100644 index 000000000000..68bf7753bdfa --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileType.java @@ -0,0 +1,59 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.jql; + +import com.intellij.openapi.fileTypes.LanguageFileType; +import icons.TasksIcons; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import javax.swing.*; + +/** + * @author Mikhail Golubev + */ +public class JqlFileType extends LanguageFileType { + public static final LanguageFileType INSTANCE = new JqlFileType(); + public static final String DEFAULT_EXTENSION = "jql"; + + public JqlFileType() { + super(JqlLanguage.INSTANCE); + } + + @NotNull + @Override + public String getName() { + return "JQL"; + } + + @NotNull + @Override + public String getDescription() { + return "JIRA query language"; + } + + @NotNull + @Override + public String getDefaultExtension() { + return DEFAULT_EXTENSION; + } + + @Nullable + @Override + public Icon getIcon() { + return TasksIcons.JIRA; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileTypeFactory.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileTypeFactory.java new file mode 100644 index 000000000000..1059e385e945 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlFileTypeFactory.java @@ -0,0 +1,30 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.jql; + +import com.intellij.openapi.fileTypes.FileTypeConsumer; +import com.intellij.openapi.fileTypes.FileTypeFactory; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlFileTypeFactory extends FileTypeFactory { + @Override + public void createFileTypes(@NotNull FileTypeConsumer consumer) { + consumer.consume(JqlFileType.INSTANCE, JqlFileType.DEFAULT_EXTENSION); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighter.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighter.java new file mode 100644 index 000000000000..63fd2a9c2dd5 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighter.java @@ -0,0 +1,43 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.lexer.Lexer; +import com.intellij.openapi.editor.HighlighterColors; +import com.intellij.openapi.editor.colors.TextAttributesKey; +import com.intellij.openapi.fileTypes.SyntaxHighlighterBase; +import com.intellij.psi.tree.IElementType; +import com.intellij.util.containers.HashMap; +import org.jetbrains.annotations.NotNull; + +import java.util.Map; + +import static com.intellij.openapi.editor.DefaultLanguageHighlighterColors.*; + +/** + * @author Mikhail Golubev + */ +public class JqlHighlighter extends SyntaxHighlighterBase { + private static final Map KEYS = new HashMap(); + static { + KEYS.put(JqlTokenTypes.STRING_LITERAL, STRING); + KEYS.put(JqlTokenTypes.NUMBER_LITERAL, NUMBER); + KEYS.put(JqlTokenTypes.COMMA, COMMA); + KEYS.put(JqlTokenTypes.LPAR, PARENTHESES); + KEYS.put(JqlTokenTypes.RPAR, PARENTHESES); + fillMap(KEYS, JqlTokenTypes.KEYWORDS, KEYWORD); + fillMap(KEYS, JqlTokenTypes.SIGN_OPERATORS, OPERATION_SIGN); + + KEYS.put(JqlTokenTypes.BAD_CHARACTER, HighlighterColors.BAD_CHARACTER); + } + + @NotNull + @Override + public Lexer getHighlightingLexer() { + return new JqlLexer(); + } + + @NotNull + @Override + public TextAttributesKey[] getTokenHighlights(IElementType tokenType) { + return pack(KEYS.get(tokenType)); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighterFactory.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighterFactory.java new file mode 100644 index 000000000000..25e5043740fd --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlHighlighterFactory.java @@ -0,0 +1,16 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.openapi.fileTypes.SingleLazyInstanceSyntaxHighlighterFactory; +import com.intellij.openapi.fileTypes.SyntaxHighlighter; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlHighlighterFactory extends SingleLazyInstanceSyntaxHighlighterFactory { + @NotNull + @Override + protected SyntaxHighlighter createHighlighter() { + return new JqlHighlighter(); + } +} diff --git a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAException.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLanguage.java similarity index 54% rename from plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAException.java rename to plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLanguage.java index 77770201c91d..712354764102 100644 --- a/plugins/tasks/jira-connector/src/atlassian/java/com/atlassian/theplugin/jira/api/JIRAException.java +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLanguage.java @@ -1,31 +1,33 @@ -/** - * Copyright (C) 2008 Atlassian - * +/* + * Copyright 2000-2013 JetBrains s.r.o. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ +package com.intellij.tasks.jira.jql; -package com.atlassian.theplugin.jira.api; +import com.intellij.lang.Language; /** - * Generic Bamboo Excepion. + * @author Mikhail Golubev */ -public class JIRAException extends Exception { +public class JqlLanguage extends Language { + public static final JqlLanguage INSTANCE = new JqlLanguage(); + private JqlLanguage() { + super("JQL"); + } - public JIRAException(String message) { - super(message); - } - - public JIRAException(String message, Throwable throwable) { - super(message, throwable); - } -} \ No newline at end of file + @Override + public boolean isCaseSensitive() { + return false; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.flex b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.flex new file mode 100644 index 000000000000..b92401cd3cfa --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.flex @@ -0,0 +1,82 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.lexer.FlexLexer; +import com.intellij.psi.tree.IElementType; + +%% + +%class _JqlLexer +%implements FlexLexer +%unicode +%function advance +%type IElementType +%ignorecase +%eof{ return; +%eof} + +WHITESPACE_CHAR = [\ \t] +DIGIT = [0-9] +HEX_DIGIT = [0-9a-fA-F] +// RESERVED_CHARS = [/+.;?*%\^$#@\[\]{}] +// OPERATORS = [<>=~!()] +// this symbols unused but also disallowed to include in identifier +// UNUSED_OPERATORS = [&|] + +VALID_ESCAPE = \\['\"tnr\\\ ] | \\u{HEX_DIGIT}{4} +// JIRA allows to include virtually any symbol in field name except reserved ones +// VALID_CHAR = !({WHITESPACE_CHAR}|{RESERVED_CHARS}|{OPERATORS}|\\)+ +VALID_CHAR = [^'\"\n\r\ \t+.,;?*%\^$#@\[\]{}<>=~!()\\|\&] +UNQUOTED_STRING = ({VALID_ESCAPE}|{VALID_CHAR})+ +QUOTED_STRING = \"({VALID_ESCAPE}|[^\\\"])*\" +SQUOTED_STRING = '({VALID_ESCAPE}|[^\\'])*' +// only minus sign is allowed as prefix and no floating point numbers +STRING_LITERAL = {UNQUOTED_STRING} | {QUOTED_STRING} | {SQUOTED_STRING} +NUMBER_LITERAL = [-]?{DIGIT}+ +CUSTOM_FIELD = cf\[{DIGIT}+\] + +%% +"and" { return JqlTokenTypes.AND_KEYWORD; } +"or" { return JqlTokenTypes.OR_KEYWORD; } +"not" { return JqlTokenTypes.NOT_KEYWORD; } +"empty" { return JqlTokenTypes.EMPTY_KEYWORD; } +"null" { return JqlTokenTypes.NULL_KEYWORD; } +"order" { return JqlTokenTypes.ORDER_KEYWORD; } +"by" { return JqlTokenTypes.BY_KEYWORD; } +"was" { return JqlTokenTypes.WAS_KEYWORD; } +"changed" { return JqlTokenTypes.CHANGED_KEYWORD; } +"is" { return JqlTokenTypes.IS_KEYWORD; } +"in" { return JqlTokenTypes.IN_KEYWORD; } +"asc" { return JqlTokenTypes.ASC_KEYWORD; } +"desc" { return JqlTokenTypes.DESC_KEYWORD; } +"changed" { return JqlTokenTypes.CHANGED_KEYWORD; } +"from" { return JqlTokenTypes.FROM_KEYWORD; } +"to" { return JqlTokenTypes.TO_KEYWORD; } +"on" { return JqlTokenTypes.ON_KEYWORD; } +"during" { return JqlTokenTypes.DURING_KEYWORD; } +"before" { return JqlTokenTypes.BEFORE_KEYWORD; } +"after" { return JqlTokenTypes.AFTER_KEYWORD; } + +"=" { return JqlTokenTypes.EQ; } +"!=" { return JqlTokenTypes.NE; } +"<" { return JqlTokenTypes.LT; } +">" { return JqlTokenTypes.GT; } +"<=" { return JqlTokenTypes.LE; } +">=" { return JqlTokenTypes.GE; } +"~" { return JqlTokenTypes.CONTAINS; } +"!~" { return JqlTokenTypes.NOT_CONTAINS; } +"(" { return JqlTokenTypes.LPAR; } +")" { return JqlTokenTypes.RPAR; } +"&&" { return JqlTokenTypes.AMP_AMP; } +"&" { return JqlTokenTypes.AMP; } +"||" { return JqlTokenTypes.PIPE_PIPE; } +"|" { return JqlTokenTypes.PIPE; } +"!" { return JqlTokenTypes.BANG; } +"," { return JqlTokenTypes.COMMA; } + +{CUSTOM_FIELD} { return JqlTokenTypes.CUSTOM_FIELD; } +{NUMBER_LITERAL} { return JqlTokenTypes.NUMBER_LITERAL; } +{STRING_LITERAL} { return JqlTokenTypes.STRING_LITERAL; } + +{WHITESPACE_CHAR}+ { return JqlTokenTypes.WHITE_SPACE; } + +[^] { return JqlTokenTypes.BAD_CHARACTER; } diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.java new file mode 100644 index 000000000000..c662b8cc8574 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlLexer.java @@ -0,0 +1,14 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.lexer.FlexAdapter; + +import java.io.Reader; + +/** + * @author Mikhail Golubev + */ +public class JqlLexer extends FlexAdapter { + public JqlLexer() { + super(new _JqlLexer((Reader)null)); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParser.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParser.java new file mode 100644 index 000000000000..1dcac3633cd1 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParser.java @@ -0,0 +1,320 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.lang.ASTNode; +import com.intellij.lang.PsiBuilder; +import com.intellij.lang.PsiParser; +import com.intellij.openapi.diagnostic.Logger; +import com.intellij.psi.tree.IElementType; +import com.intellij.psi.tree.TokenSet; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlParser implements PsiParser { + private static final Logger LOG = Logger.getInstance("#com.intellij.tasks.jira.jql.JqlParser"); + + @NotNull + @Override + public ASTNode parse(IElementType root, PsiBuilder builder) { + //builder.setDebugMode(true); + PsiBuilder.Marker rootMarker = builder.mark(); + // Parser should accept empty string + if (!builder.eof()) { + parseQuery(builder); + while (!builder.eof()) { + builder.error("Illegal query part"); + builder.advanceLexer(); + } + } + rootMarker.done(root); + return builder.getTreeBuilt(); + } + + private boolean parseQuery(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + parseORClause(builder); + if (builder.getTokenType() == JqlTokenTypes.ORDER_KEYWORD) { + parseOrderBy(builder); + } + marker.done(JqlElementTypes.QUERY); + return true; + } + + private boolean parseORClause(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!parseANDClause(builder)) { + marker.drop(); + return false; + } + while (advanceIfMatches(builder, JqlTokenTypes.OR_OPERATORS)) { + if (!parseANDClause(builder)) { + builder.error("Expecting clause"); + } + marker.done(JqlElementTypes.OR_CLAUSE); + marker = marker.precede(); + } + marker.drop(); + return true; + } + + private boolean parseANDClause(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!parseNOTClause(builder)) { + marker.drop(); + return false; + } + while (advanceIfMatches(builder, JqlTokenTypes.AND_OPERATORS)) { + if (!parseNOTClause(builder)) { + builder.error("Expecting clause"); + } + marker.done(JqlElementTypes.AND_CLAUSE); + marker = marker.precede(); + } + marker.drop(); + return true; + } + + private boolean parseNOTClause(PsiBuilder builder) { + if (JqlTokenTypes.NOT_OPERATORS.contains(builder.getTokenType())) { + PsiBuilder.Marker marker = builder.mark(); + builder.advanceLexer(); + if (!parseNOTClause(builder)) { + builder.error("Expecting clause"); + } + marker.done(JqlElementTypes.NOT_CLAUSE); + return true; + } + else if (builder.getTokenType() == JqlTokenTypes.LPAR) { + return parseSubClause(builder); + } + return parseTerminalClause(builder); + } + + private boolean parseSubClause(PsiBuilder builder) { + if (!advanceIfMatches(builder, JqlTokenTypes.LPAR)) { + return false; + } + if (!parseORClause(builder)) { + return false; + } + if (!advanceIfMatches(builder, JqlTokenTypes.RPAR)) { + builder.error("Expecting ')'"); + return false; + } + return true; + } + + private boolean parseTerminalClause(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!parseFieldName(builder)) { + marker.drop(); + return false; + } + if (advanceIfMatches(builder, JqlTokenTypes.IS_KEYWORD)) { + advanceIfMatches(builder, JqlTokenTypes.NOT_KEYWORD); + parseOperand(builder); + } + else if (advanceIfMatches(builder, JqlTokenTypes.SIMPLE_OPERATORS) || advanceIfMatches(builder, JqlTokenTypes.IN_KEYWORD)) { + parseOperand(builder); + } + else if (advanceIfMatches(builder, JqlTokenTypes.NOT_KEYWORD)) { + if (!advanceIfMatches(builder, JqlTokenTypes.IN_KEYWORD)) { + builder.error("Expecting 'in'"); + } + parseOperand(builder); + } + else if (builder.getTokenType() == JqlTokenTypes.WAS_KEYWORD) { + parseWASClause(builder); + marker.done(JqlElementTypes.WAS_CLAUSE); + return true; + } + else if (builder.getTokenType() == JqlTokenTypes.CHANGED_KEYWORD) { + parseCHANGEDClause(builder); + marker.done(JqlElementTypes.CHANGED_CLAUSE); + return true; + } + else { + builder.error("Expecting operator"); + } + marker.done(JqlElementTypes.SIMPLE_CLAUSE); + return true; + } + + private void parseCHANGEDClause(PsiBuilder builder) { + if (!advanceIfMatches(builder, JqlTokenTypes.CHANGED_KEYWORD)) { + return; + } + while (JqlTokenTypes.HISTORY_PREDICATES.contains(builder.getTokenType())) { + parseHistoryPredicate(builder); + } + } + + private void parseWASClause(PsiBuilder builder) { + if (!advanceIfMatches(builder, JqlTokenTypes.WAS_KEYWORD)) { + return; + } + advanceIfMatches(builder, JqlTokenTypes.NOT_KEYWORD); + advanceIfMatches(builder, JqlTokenTypes.IN_KEYWORD); + parseOperand(builder); + while (JqlTokenTypes.HISTORY_PREDICATES.contains(builder.getTokenType())) { + parseHistoryPredicate(builder); + } + } + + private void parseHistoryPredicate(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.HISTORY_PREDICATES)) { + marker.drop(); + return; + } + parseOperand(builder); + marker.done(JqlElementTypes.HISTORY_PREDICATE); + } + + private boolean parseOperand(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + boolean parsed = true; + if (builder.getTokenType() == JqlTokenTypes.LPAR) { + marker.drop(); + parsed = parseList(builder); + } + else if (advanceIfMatches(builder, JqlTokenTypes.EMPTY_VALUES)) { + marker.done(JqlElementTypes.EMPTY); + } + else if (advanceIfMatches(builder, JqlTokenTypes.LITERALS)) { + if (builder.getTokenType() == JqlTokenTypes.LPAR) { + marker.done(JqlElementTypes.IDENTIFIER); + marker = marker.precede(); + parseArgumentList(builder); + marker.done(JqlElementTypes.FUNCTION_CALL); + } + else { + marker.done(JqlElementTypes.LITERAL); + } + } + else { + marker.drop(); + parsed = false; + } + if (!parsed) { + builder.error("Expecting either literal, list or function call"); + } + return parsed; + } + + private boolean parseList(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.LPAR)) { + marker.drop(); + return false; + } + if (parseOperand(builder)) { + while (advanceIfMatches(builder, JqlTokenTypes.COMMA)) { + if (!parseOperand(builder)) { + break; + } + } + } + if (!advanceIfMatches(builder, JqlTokenTypes.RPAR)) { + builder.error("Expecting ')'"); + } + marker.done(JqlElementTypes.LIST); + return true; + } + + private boolean parseFieldName(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.VALID_FIELD_NAMES)) { + builder.error("Expecting field name"); + marker.drop(); + return false; + } + marker.done(JqlElementTypes.IDENTIFIER); + return true; + } + + private void parseArgumentList(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.LPAR)) { + marker.drop(); + return; + } + // empty argument list + if (advanceIfMatches(builder, JqlTokenTypes.RPAR)) { + marker.done(JqlElementTypes.ARGUMENT_LIST); + return; + } + PsiBuilder.Marker argument = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.VALID_ARGUMENTS)) { + builder.error("Expecting argument"); + argument.drop(); + } + else { + // valid argument is always literal, at least in current implementation of JQU + argument.done(JqlElementTypes.LITERAL); + while (advanceIfMatches(builder, JqlTokenTypes.COMMA)) { + argument = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.VALID_ARGUMENTS)) { + marker.drop(); + builder.error("Expecting argument"); + break; + } + argument.done(JqlElementTypes.LITERAL); + } + } + if (!advanceIfMatches(builder, JqlTokenTypes.RPAR)) { + builder.error("Expecting ')'"); + } + marker.done(JqlElementTypes.ARGUMENT_LIST); + } + + private void parseOrderBy(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!advanceIfMatches(builder, JqlTokenTypes.ORDER_KEYWORD)) { + marker.drop(); + return; + } + if (!advanceIfMatches(builder, JqlTokenTypes.BY_KEYWORD)) { + builder.error("Expecting 'by'"); + marker.done(JqlElementTypes.ORDER_BY); + return; + } + if (parseSortKey(builder)) { + while (advanceIfMatches(builder, JqlTokenTypes.COMMA)) { + if (!parseSortKey(builder)) { + break; + } + } + } + marker.done(JqlElementTypes.ORDER_BY); + } + + private boolean parseSortKey(PsiBuilder builder) { + PsiBuilder.Marker marker = builder.mark(); + if (!parseFieldName(builder)) { + marker.drop(); + return false; + } + advanceIfMatches(builder, JqlTokenTypes.SORT_ORDERS); + marker.done(JqlElementTypes.SORT_KEY); + return true; + } + + + private boolean advanceIfMatches(PsiBuilder builder, IElementType type) { + if (builder.getTokenType() == type) { + builder.advanceLexer(); + return true; + } + return false; + } + + private boolean advanceIfMatches(PsiBuilder builder, TokenSet set) { + if (set.contains(builder.getTokenType())) { + builder.advanceLexer(); + return true; + } + return false; + } +} \ No newline at end of file diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParserDefinition.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParserDefinition.java new file mode 100644 index 000000000000..7e3eb55dffbf --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlParserDefinition.java @@ -0,0 +1,123 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.extapi.psi.ASTWrapperPsiElement; +import com.intellij.lang.ASTNode; +import com.intellij.lang.ParserDefinition; +import com.intellij.lang.PsiParser; +import com.intellij.lexer.Lexer; +import com.intellij.openapi.diagnostic.Logger; +import com.intellij.openapi.project.Project; +import com.intellij.psi.FileViewProvider; +import com.intellij.psi.PsiElement; +import com.intellij.psi.PsiFile; +import com.intellij.psi.tree.IElementType; +import com.intellij.psi.tree.IFileElementType; +import com.intellij.psi.tree.TokenSet; +import com.intellij.tasks.jira.jql.psi.impl.*; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlParserDefinition implements ParserDefinition { + private static final Logger LOG = Logger.getInstance(JqlParserDefinition.class); + + @NotNull + @Override + public Lexer createLexer(Project project) { + return new JqlLexer(); + } + + @Override + public PsiParser createParser(Project project) { + return new JqlParser(); + } + + @Override + public IFileElementType getFileNodeType() { + return JqlElementTypes.FILE; + } + + @NotNull + @Override + public TokenSet getWhitespaceTokens() { + return JqlTokenTypes.WHITESPACES; + } + + @NotNull + @Override + public TokenSet getCommentTokens() { + return TokenSet.EMPTY; + } + + @NotNull + @Override + public TokenSet getStringLiteralElements() { + return TokenSet.create(JqlTokenTypes.STRING_LITERAL); + } + + @NotNull + @Override + public PsiElement createElement(ASTNode node) { + IElementType type = node.getElementType(); + if (type == JqlElementTypes.QUERY) { + return new JqlQueryImpl(node); + } + if (type == JqlElementTypes.AND_CLAUSE) { + return new JqlAndClauseImpl(node); + } + if (type == JqlElementTypes.OR_CLAUSE) { + return new JqlOrClauseImpl(node); + } + if (type == JqlElementTypes.NOT_CLAUSE) { + return new JqlNotClauseImpl(node); + } + if (type == JqlElementTypes.SIMPLE_CLAUSE) { + return new JqlSimpleClauseImpl(node); + } + if (type == JqlElementTypes.WAS_CLAUSE) { + return new JqlWasClauseImpl(node); + } + if (type == JqlElementTypes.CHANGED_CLAUSE) { + return new JqlChangedClauseImpl(node); + } + if (type == JqlElementTypes.FUNCTION_CALL) { + return new JqlFunctionCallImpl(node); + } + if (type == JqlElementTypes.IDENTIFIER) { + return new JqlIdentifierImpl(node); + } + if (type == JqlElementTypes.HISTORY_PREDICATE) { + return new JqlHistoryPredicateImpl(node); + } + if (type == JqlElementTypes.ARGUMENT_LIST) { + return new JqlArgumentListImpl(node); + } + if (type == JqlElementTypes.LITERAL) { + return new JqlLiteralImpl(node); + } + if (type == JqlElementTypes.EMPTY) { + return new JqlEmptyValueImpl(node); + } + if (type == JqlElementTypes.LIST) { + return new JqlListImpl(node); + } + if (type == JqlElementTypes.SORT_KEY) { + return new JqlSortKeyImpl(node); + } + if (type == JqlElementTypes.ORDER_BY) { + return new JqlOrderByImpl(node); + } + return new ASTWrapperPsiElement(node); + } + + @Override + public PsiFile createFile(FileViewProvider viewProvider) { + return new JqlFile(viewProvider); + } + + @Override + public SpaceRequirements spaceExistanceTypeBetweenTokens(ASTNode left, ASTNode right) { + return SpaceRequirements.MAY; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlTokenTypes.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlTokenTypes.java new file mode 100644 index 000000000000..1d0c6f1c6a0e --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/JqlTokenTypes.java @@ -0,0 +1,123 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.jql; + +import com.intellij.psi.TokenType; +import com.intellij.psi.tree.IElementType; +import com.intellij.psi.tree.TokenSet; + +/** + * @author Mikhail Golubev + */ +public interface JqlTokenTypes { + IElementType WHITE_SPACE = TokenType.WHITE_SPACE; + IElementType BAD_CHARACTER = TokenType.BAD_CHARACTER; + + IElementType AND_KEYWORD = new JqlElementType("AND_KEYWORD"); + IElementType OR_KEYWORD = new JqlElementType("OR_KEYWORD"); + IElementType NOT_KEYWORD = new JqlElementType("NOT_KEYWORD"); + IElementType EMPTY_KEYWORD = new JqlElementType("EMPTY_KEYWORD"); + IElementType NULL_KEYWORD = new JqlElementType("NULL_KEYWORD"); + IElementType ORDER_KEYWORD = new JqlElementType("ORDER_KEYWORD"); + IElementType BY_KEYWORD = new JqlElementType("BY_KEYWORD"); + IElementType WAS_KEYWORD = new JqlElementType("WAS_KEYWORD"); + IElementType IS_KEYWORD = new JqlElementType("IS_KEYWORD"); + IElementType IN_KEYWORD = new JqlElementType("IN_KEYWORD"); + IElementType ASC_KEYWORD = new JqlElementType("ASC_KEYWORD"); + IElementType DESC_KEYWORD = new JqlElementType("DESC_KEYWORD"); + + IElementType CHANGED_KEYWORD = new JqlElementType("CHANGED_KEYWORD"); + IElementType FROM_KEYWORD = new JqlElementType("FROM_KEYWORD"); + IElementType TO_KEYWORD = new JqlElementType("TO_KEYWORD"); + IElementType ON_KEYWORD = new JqlElementType("ON_KEYWORD"); + IElementType DURING_KEYWORD = new JqlElementType("DURING_KEYWORD"); + IElementType BEFORE_KEYWORD = new JqlElementType("BEFORE_KEYWORD"); + IElementType AFTER_KEYWORD = new JqlElementType("AFTER_KEYWORD"); + + IElementType STRING_LITERAL = new JqlElementType("STRING_LITERAL"); + IElementType NUMBER_LITERAL = new JqlElementType("NUMBER_LITERAL"); + IElementType CUSTOM_FIELD = new JqlElementType("CUSTOM_FIELD"); + // operators + IElementType EQ = new JqlElementType("EQ"); // = + IElementType NE = new JqlElementType("NE"); // != + IElementType LT = new JqlElementType("LT"); // < + IElementType GT = new JqlElementType("GT"); // > + IElementType LE = new JqlElementType("LE"); // <= + IElementType GE = new JqlElementType("GE"); // >= + IElementType LPAR = new JqlElementType("LPAR"); // ( + IElementType RPAR = new JqlElementType("RPAR"); // ) + IElementType CONTAINS = new JqlElementType("CONTAINS"); // ~ + IElementType NOT_CONTAINS = new JqlElementType("NOT_CONTAINS"); // !~ + IElementType COMMA = new JqlElementType("COMMA"); // , + IElementType AMP = new JqlElementType("AMP"); // & + IElementType AMP_AMP = new JqlElementType("AMP_AMP"); // && + IElementType PIPE = new JqlElementType("PIPE"); // | + IElementType PIPE_PIPE = new JqlElementType("PIPE_PIPE"); // || + IElementType BANG = new JqlElementType("BANG"); // ! + /** + * Well-known tokes types + */ + TokenSet WHITESPACES = TokenSet.create(WHITE_SPACE); + TokenSet KEYWORDS = TokenSet.create( + AND_KEYWORD, + OR_KEYWORD, + NOT_KEYWORD, + IS_KEYWORD, + EMPTY_KEYWORD, + NULL_KEYWORD, + IN_KEYWORD, + WAS_KEYWORD, + CHANGED_KEYWORD, + FROM_KEYWORD, + TO_KEYWORD, + BY_KEYWORD, + DURING_KEYWORD, + AFTER_KEYWORD, + BEFORE_KEYWORD, + ORDER_KEYWORD, + ON_KEYWORD, + ASC_KEYWORD, + DESC_KEYWORD + ); + TokenSet SIMPLE_OPERATORS = TokenSet.create(EQ, NE, LT, LE, GT, GE, CONTAINS, NOT_CONTAINS); + + TokenSet SIGN_OPERATORS = TokenSet.create( + EQ, NE, LT, LE, GT, GE, CONTAINS, NOT_CONTAINS, AMP, AMP_AMP, PIPE, PIPE_PIPE, BANG + ); + TokenSet AND_OPERATORS = TokenSet.create(AND_KEYWORD, AMP_AMP, AMP); + TokenSet OR_OPERATORS = TokenSet.create(OR_KEYWORD, PIPE_PIPE, PIPE); + + TokenSet NOT_OPERATORS = TokenSet.create(NOT_KEYWORD, BANG); + TokenSet HISTORY_PREDICATES = TokenSet.create( + ON_KEYWORD, BEFORE_KEYWORD, AFTER_KEYWORD, DURING_KEYWORD, FROM_KEYWORD, TO_KEYWORD, BY_KEYWORD + ); + TokenSet WAS_CONSTRAINTS = TokenSet.create( + ON_KEYWORD, BEFORE_KEYWORD, AFTER_KEYWORD, DURING_KEYWORD, BY_KEYWORD + ); + TokenSet CHANGED_CONSTRAINTS = TokenSet.create( + ON_KEYWORD, BEFORE_KEYWORD, AFTER_KEYWORD, DURING_KEYWORD, FROM_KEYWORD, TO_KEYWORD, BY_KEYWORD + ); + TokenSet SORT_ORDERS = TokenSet.create(ASC_KEYWORD, DESC_KEYWORD); + TokenSet EMPTY_VALUES = TokenSet.create(EMPTY_KEYWORD, NULL_KEYWORD); + TokenSet LITERALS = TokenSet.create(NUMBER_LITERAL, STRING_LITERAL); + + /** + * Any properly escaped literal can be used as field name according to weird JQL grammar + * @see JqlElementTypes + */ + TokenSet VALID_FIELD_NAMES = TokenSet.create(STRING_LITERAL, NUMBER_LITERAL, CUSTOM_FIELD); + TokenSet VALID_ARGUMENTS = LITERALS; +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/_JqlLexer.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/_JqlLexer.java new file mode 100644 index 000000000000..534dd01518ae --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/_JqlLexer.java @@ -0,0 +1,768 @@ +/* The following code was generated by JFlex 1.4.3 on 7/23/13 4:32 PM */ + +package com.intellij.tasks.jira.jql; + +import com.intellij.lexer.FlexLexer; +import com.intellij.psi.tree.IElementType; + + +/** + * This class is a scanner generated by + * JFlex 1.4.3 + * on 7/23/13 4:32 PM from the specification file + * /home/user/development/repos/IDEA/community/plugins/tasks/jira-connector/src/com/intellij/tasks/jira/jql/JqlLexer.flex + */ +class _JqlLexer implements FlexLexer { + /** initial size of the lookahead buffer */ + private static final int ZZ_BUFFERSIZE = 16384; + + /** lexical states */ + public static final int YYINITIAL = 0; + + /** + * ZZ_LEXSTATE[l] is the state in the DFA for the lexical state l + * ZZ_LEXSTATE[l+1] is the state in the DFA for the lexical state l + * at the beginning of a line + * l is of the form l = 2*k, k a non negative integer + */ + private static final int ZZ_LEXSTATE[] = { + 0, 0 + }; + + /** + * Translates characters to character classes + */ + private static final String ZZ_CMAP_PACKED = + "\11\0\1\1\1\10\2\0\1\10\22\0\1\6\1\43\1\12\3\10"+ + "\1\51\1\11\1\47\1\50\2\10\1\53\1\13\1\10\1\0\12\2"+ + "\1\0\1\10\1\44\1\42\1\45\2\10\1\20\1\3\1\14\1\23"+ + "\1\30\1\15\1\40\1\37\1\41\2\0\1\34\1\31\1\21\1\24"+ + "\1\32\1\0\1\25\1\36\1\27\1\7\1\0\1\35\1\0\1\33"+ + "\1\0\1\16\1\4\1\17\1\10\2\0\1\20\1\3\1\14\1\23"+ + "\1\30\1\15\1\40\1\37\1\41\2\0\1\34\1\31\1\22\1\24"+ + "\1\32\1\0\1\26\1\36\1\5\1\7\1\0\1\35\1\0\1\33"+ + "\1\0\1\10\1\52\1\10\1\46\uff81\0"; + + /** + * Translates characters to character classes + */ + private static final char [] ZZ_CMAP = zzUnpackCMap(ZZ_CMAP_PACKED); + + /** + * Translates DFA states to action switch labels. + */ + private static final int [] ZZ_ACTION = zzUnpackAction(); + + private static final String ZZ_ACTION_PACKED_0 = + "\1\0\1\1\1\2\1\3\1\1\1\4\1\1\3\4"+ + "\12\1\1\5\1\6\1\7\1\10\1\11\1\12\1\13"+ + "\1\14\1\15\1\16\1\0\1\1\1\17\1\0\1\20"+ + "\2\0\1\1\2\0\12\1\1\21\1\22\2\1\1\23"+ + "\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\1"+ + "\4\0\3\1\1\33\1\34\1\1\1\35\4\1\1\36"+ + "\1\1\4\0\1\1\1\37\1\1\1\40\1\1\1\41"+ + "\3\1\3\0\1\42\1\1\1\43\1\1\1\44\1\45"+ + "\1\46\2\0\1\1\1\47\1\50"; + + private static int [] zzUnpackAction() { + int [] result = new int[108]; + int offset = 0; + offset = zzUnpackAction(ZZ_ACTION_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackAction(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + do result[j++] = value; while (--count > 0); + } + return j; + } + + + /** + * Translates a state to a row index in the transition table + */ + private static final int [] ZZ_ROWMAP = zzUnpackRowMap(); + + private static final String ZZ_ROWMAP_PACKED_0 = + "\0\0\0\54\0\130\0\204\0\260\0\334\0\u0108\0\u0134"+ + "\0\u0160\0\u018c\0\204\0\u01b8\0\u01e4\0\u0210\0\u023c\0\u0268"+ + "\0\u0294\0\u02c0\0\u02ec\0\u0318\0\u0134\0\u0344\0\u0370\0\u039c"+ + "\0\u0134\0\u0134\0\u0134\0\u03c8\0\u03f4\0\u0134\0\334\0\u0420"+ + "\0\54\0\u044c\0\54\0\u0160\0\u0478\0\u0134\0\u018c\0\u04a4"+ + "\0\u04d0\0\u04fc\0\u0528\0\u0554\0\u0580\0\u05ac\0\u05d8\0\u0604"+ + "\0\u0630\0\u065c\0\54\0\u0688\0\u06b4\0\u06e0\0\54\0\54"+ + "\0\u0134\0\u0134\0\u0134\0\u0134\0\u0134\0\u0134\0\u070c\0\u0738"+ + "\0\u0764\0\u0790\0\u07bc\0\u07e8\0\u0814\0\u0840\0\54\0\54"+ + "\0\u086c\0\54\0\u0898\0\u08c4\0\u08f0\0\u091c\0\54\0\u0948"+ + "\0\u0974\0\u09a0\0\u09cc\0\u09f8\0\u0a24\0\54\0\u0a50\0\54"+ + "\0\u0a7c\0\54\0\u0aa8\0\u0ad4\0\u0b00\0\u0b2c\0\u0b58\0\u0b84"+ + "\0\u0134\0\u0bb0\0\54\0\u0bdc\0\54\0\54\0\54\0\u0c08"+ + "\0\u0c34\0\u0c60\0\54\0\54"; + + private static int [] zzUnpackRowMap() { + int [] result = new int[108]; + int offset = 0; + offset = zzUnpackRowMap(ZZ_ROWMAP_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackRowMap(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int high = packed.charAt(i++) << 16; + result[j++] = high | packed.charAt(i++); + } + return j; + } + + /** + * The transition table of the DFA + */ + private static final int [] ZZ_TRANS = zzUnpackTrans(); + + private static final String ZZ_TRANS_PACKED_0 = + "\1\2\1\3\1\4\1\5\1\6\1\7\1\3\1\2"+ + "\1\10\1\11\1\12\1\13\1\14\1\15\2\10\1\16"+ + "\2\17\1\20\1\21\2\2\1\7\1\22\4\2\1\23"+ + "\3\2\1\24\1\25\1\26\1\27\1\30\1\31\1\32"+ + "\1\33\1\34\1\35\1\36\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\2\0\22\2\13\0"+ + "\1\3\4\0\1\3\45\0\1\2\1\0\1\4\1\2"+ + "\1\37\1\2\1\0\1\2\3\0\3\2\2\0\22\2"+ + "\12\0\1\2\1\0\2\2\1\37\1\2\1\0\1\2"+ + "\3\0\3\2\2\0\10\2\1\40\2\2\1\41\6\2"+ + "\16\0\3\2\1\42\1\0\2\2\7\0\1\2\3\0"+ + "\1\2\25\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\4\2\1\43\15\2\66\0"+ + "\4\44\1\45\4\44\1\46\42\44\4\47\1\50\5\47"+ + "\1\46\41\47\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\2\2\1\51\2\0\17\2\1\52\2\2"+ + "\12\0\1\2\1\0\2\2\1\37\1\2\1\0\1\2"+ + "\3\0\3\2\2\0\5\2\2\53\13\2\12\0\1\2"+ + "\1\0\2\2\1\37\1\2\1\0\1\2\3\0\2\2"+ + "\1\54\2\0\1\2\2\55\13\2\1\56\3\2\12\0"+ + "\1\2\1\0\2\2\1\37\1\2\1\0\1\57\3\0"+ + "\3\2\2\0\4\2\1\60\15\2\12\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\61\3\0\3\2\2\0"+ + "\10\2\1\62\11\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\2\0\1\2\2\63"+ + "\2\2\2\64\13\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\2\0\11\2\1\65"+ + "\10\2\12\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\1\66\21\2\12\0\1\2"+ + "\1\0\2\2\1\37\1\2\1\0\1\2\3\0\3\2"+ + "\2\0\1\2\2\67\13\2\1\70\3\2\54\0\1\71"+ + "\3\0\1\72\47\0\1\73\53\0\1\74\62\0\1\75"+ + "\54\0\1\76\1\0\1\2\1\0\2\2\1\37\1\2"+ + "\1\0\1\2\3\0\2\2\1\77\2\0\22\2\14\0"+ + "\2\100\10\0\2\100\2\0\1\100\2\0\1\100\4\0"+ + "\1\100\27\0\3\44\1\101\1\0\2\44\7\0\1\44"+ + "\3\0\1\44\31\0\3\47\1\102\1\0\2\47\7\0"+ + "\1\47\3\0\1\47\25\0\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\1\103\1\0\22\2"+ + "\12\0\1\2\1\0\2\2\1\37\1\2\1\0\1\2"+ + "\3\0\3\2\2\0\1\104\21\2\12\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\2\3\0\3\2\2\0"+ + "\4\2\1\105\15\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\106\1\0\1\2\3\0\3\2\2\0\7\2\1\106"+ + "\12\2\12\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\3\2\1\107\16\2\12\0"+ + "\1\2\1\0\2\2\1\37\1\2\1\0\1\2\3\0"+ + "\1\2\1\110\1\2\2\0\22\2\12\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\2\3\0\3\2\2\0"+ + "\14\2\1\111\5\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\112\1\0\1\2\3\0\3\2\2\0\7\2\1\112"+ + "\12\2\12\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\5\2\2\113\13\2\12\0"+ + "\1\2\1\0\2\2\1\37\1\2\1\0\1\2\3\0"+ + "\3\2\2\0\16\2\1\114\3\2\12\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\2\3\0\3\2\2\0"+ + "\3\2\1\115\16\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\2\0\12\2\1\116"+ + "\7\2\12\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\16\2\1\117\3\2\12\0"+ + "\1\2\1\0\2\2\1\37\1\2\1\0\1\2\3\0"+ + "\3\2\2\0\4\2\1\120\15\2\14\0\2\121\10\0"+ + "\2\121\2\0\1\121\2\0\1\121\4\0\1\121\25\0"+ + "\2\122\10\0\2\122\2\0\1\122\2\0\1\122\4\0"+ + "\1\122\25\0\2\123\10\0\2\123\2\0\1\123\2\0"+ + "\1\123\4\0\1\123\25\0\1\124\51\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\2\3\0\3\2\2\0"+ + "\1\2\2\125\17\2\12\0\1\2\1\0\2\2\1\37"+ + "\1\2\1\0\1\2\3\0\3\2\2\0\11\2\1\126"+ + "\10\2\12\0\1\2\1\0\2\2\1\37\1\2\1\0"+ + "\1\2\3\0\3\2\2\0\10\2\1\127\11\2\12\0"+ + "\1\2\1\0\2\2\1\37\1\2\1\0\1\2\3\0"+ + "\3\2\2\0\14\2\1\130\5\2\12\0\1\2\1\0"+ + "\2\2\1\37\1\2\1\0\1\2\3\0\3\2\2\0"+ + "\21\2\1\131\12\0\1\2\1\0\2\2\1\37\1\2"+ + "\1\0\1\2\3\0\1\2\1\132\1\2\2\0\22\2"+ + "\12\0\1\2\1\0\2\2\1\37\1\2\1\0\1\2"+ + "\3\0\3\2\2\0\10\2\1\133\11\2\12\0\1\2"+ + "\1\0\2\2\1\37\1\134\1\0\1\2\3\0\3\2"+ + "\2\0\7\2\1\134\12\2\12\0\1\2\1\0\2\2"+ + "\1\37\1\2\1\0\1\2\3\0\3\2\2\0\5\2"+ + "\2\135\13\2\14\0\2\136\10\0\2\136\2\0\1\136"+ + "\2\0\1\136\4\0\1\136\25\0\2\137\10\0\2\137"+ + "\2\0\1\137\2\0\1\137\4\0\1\137\25\0\2\140"+ + "\10\0\2\140\2\0\1\140\2\0\1\140\4\0\1\140"+ + "\25\0\1\124\14\0\1\141\34\0\1\2\1\0\2\2"+ + "\1\37\1\2\1\0\1\2\3\0\3\2\2\0\20\2"+ + "\1\142\1\2\12\0\1\2\1\0\2\2\1\37\1\2"+ + "\1\0\1\2\3\0\3\2\2\0\5\2\2\143\13\2"+ + "\12\0\1\2\1\0\2\2\1\37\1\2\1\0\1\2"+ + "\3\0\3\2\2\0\1\2\2\144\17\2\12\0\1\2"+ + "\1\0\2\2\1\37\1\2\1\0\1\2\3\0\3\2"+ + "\2\0\5\2\2\145\13\2\12\0\1\2\1\0\2\2"+ + "\1\37\1\2\1\0\1\2\3\0\3\2\2\0\13\2"+ + "\1\146\6\2\12\0\1\2\1\0\2\2\1\37\1\2"+ + "\1\0\1\2\3\0\3\2\2\0\10\2\1\147\11\2"+ + "\14\0\2\2\10\0\2\2\2\0\1\2\2\0\1\2"+ + "\4\0\1\2\25\0\2\150\10\0\2\150\2\0\1\150"+ + "\2\0\1\150\4\0\1\150\25\0\2\151\10\0\2\151"+ + "\2\0\1\151\2\0\1\151\4\0\1\151\23\0\1\2"+ + "\1\0\2\2\1\37\1\2\1\0\1\2\3\0\3\2"+ + "\2\0\10\2\1\152\11\2\12\0\1\2\1\0\2\2"+ + "\1\37\1\2\1\0\1\2\3\0\3\2\2\0\20\2"+ + "\1\153\1\2\14\0\2\44\10\0\2\44\2\0\1\44"+ + "\2\0\1\44\4\0\1\44\25\0\2\47\10\0\2\47"+ + "\2\0\1\47\2\0\1\47\4\0\1\47\23\0\1\2"+ + "\1\0\2\2\1\37\1\2\1\0\1\2\3\0\3\2"+ + "\2\0\3\2\1\154\16\2\12\0"; + + private static int [] zzUnpackTrans() { + int [] result = new int[3212]; + int offset = 0; + offset = zzUnpackTrans(ZZ_TRANS_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackTrans(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + value--; + do result[j++] = value; while (--count > 0); + } + return j; + } + + + /* error codes */ + private static final int ZZ_UNKNOWN_ERROR = 0; + private static final int ZZ_NO_MATCH = 1; + private static final int ZZ_PUSHBACK_2BIG = 2; + private static final char[] EMPTY_BUFFER = new char[0]; + private static final int YYEOF = -1; + private static java.io.Reader zzReader = null; // Fake + + /* error messages for the codes above */ + private static final String ZZ_ERROR_MSG[] = { + "Unkown internal scanner error", + "Error: could not match input", + "Error: pushback value was too large" + }; + + /** + * ZZ_ATTRIBUTE[aState] contains the attributes of state aState + */ + private static final int [] ZZ_ATTRIBUTE = zzUnpackAttribute(); + + private static final String ZZ_ATTRIBUTE_PACKED_0 = + "\1\0\6\1\1\11\14\1\1\11\3\1\3\11\2\1"+ + "\1\11\1\0\2\1\1\0\1\1\2\0\1\11\2\0"+ + "\20\1\6\11\1\1\4\0\15\1\4\0\11\1\3\0"+ + "\1\11\6\1\2\0\3\1"; + + private static int [] zzUnpackAttribute() { + int [] result = new int[108]; + int offset = 0; + offset = zzUnpackAttribute(ZZ_ATTRIBUTE_PACKED_0, offset, result); + return result; + } + + private static int zzUnpackAttribute(String packed, int offset, int [] result) { + int i = 0; /* index in packed string */ + int j = offset; /* index in unpacked array */ + int l = packed.length(); + while (i < l) { + int count = packed.charAt(i++); + int value = packed.charAt(i++); + do result[j++] = value; while (--count > 0); + } + return j; + } + + /** the current state of the DFA */ + private int zzState; + + /** the current lexical state */ + private int zzLexicalState = YYINITIAL; + + /** this buffer contains the current text to be matched and is + the source of the yytext() string */ + private CharSequence zzBuffer = ""; + + /** this buffer may contains the current text array to be matched when it is cheap to acquire it */ + private char[] zzBufferArray; + + /** the textposition at the last accepting state */ + private int zzMarkedPos; + + /** the textposition at the last state to be included in yytext */ + private int zzPushbackPos; + + /** the current text position in the buffer */ + private int zzCurrentPos; + + /** startRead marks the beginning of the yytext() string in the buffer */ + private int zzStartRead; + + /** endRead marks the last character in the buffer, that has been read + from input */ + private int zzEndRead; + + /** + * zzAtBOL == true <=> the scanner is currently at the beginning of a line + */ + private boolean zzAtBOL = true; + + /** zzAtEOF == true <=> the scanner is at the EOF */ + private boolean zzAtEOF; + + /** denotes if the user-EOF-code has already been executed */ + private boolean zzEOFDone; + + + _JqlLexer(java.io.Reader in) { + this.zzReader = in; + } + + /** + * Creates a new scanner. + * There is also java.io.Reader version of this constructor. + * + * @param in the java.io.Inputstream to read input from. + */ + _JqlLexer(java.io.InputStream in) { + this(new java.io.InputStreamReader(in)); + } + + /** + * Unpacks the compressed character translation table. + * + * @param packed the packed character translation table + * @return the unpacked character translation table + */ + private static char [] zzUnpackCMap(String packed) { + char [] map = new char[0x10000]; + int i = 0; /* index in packed string */ + int j = 0; /* index in unpacked array */ + while (i < 172) { + int count = packed.charAt(i++); + char value = packed.charAt(i++); + do map[j++] = value; while (--count > 0); + } + return map; + } + + public final int getTokenStart(){ + return zzStartRead; + } + + public final int getTokenEnd(){ + return getTokenStart() + yylength(); + } + + public void reset(CharSequence buffer, int start, int end,int initialState){ + zzBuffer = buffer; + zzBufferArray = com.intellij.util.text.CharArrayUtil.fromSequenceWithoutCopying(buffer); + zzCurrentPos = zzMarkedPos = zzStartRead = start; + zzPushbackPos = 0; + zzAtEOF = false; + zzAtBOL = true; + zzEndRead = end; + yybegin(initialState); + } + + /** + * Refills the input buffer. + * + * @return false, iff there was new input. + * + * @exception java.io.IOException if any I/O-Error occurs + */ + private boolean zzRefill() throws java.io.IOException { + return true; + } + + + /** + * Returns the current lexical state. + */ + public final int yystate() { + return zzLexicalState; + } + + + /** + * Enters a new lexical state + * + * @param newState the new lexical state + */ + public final void yybegin(int newState) { + zzLexicalState = newState; + } + + + /** + * Returns the text matched by the current regular expression. + */ + public final CharSequence yytext() { + return zzBuffer.subSequence(zzStartRead, zzMarkedPos); + } + + + /** + * Returns the character at position pos from the + * matched text. + * + * It is equivalent to yytext().charAt(pos), but faster + * + * @param pos the position of the character to fetch. + * A value from 0 to yylength()-1. + * + * @return the character at position pos + */ + public final char yycharat(int pos) { + return zzBufferArray != null ? zzBufferArray[zzStartRead+pos]:zzBuffer.charAt(zzStartRead+pos); + } + + + /** + * Returns the length of the matched text region. + */ + public final int yylength() { + return zzMarkedPos-zzStartRead; + } + + + /** + * Reports an error that occured while scanning. + * + * In a wellformed scanner (no or only correct usage of + * yypushback(int) and a match-all fallback rule) this method + * will only be called with things that "Can't Possibly Happen". + * If this method is called, something is seriously wrong + * (e.g. a JFlex bug producing a faulty scanner etc.). + * + * Usual syntax/scanner level error handling should be done + * in error fallback rules. + * + * @param errorCode the code of the errormessage to display + */ + private void zzScanError(int errorCode) { + String message; + try { + message = ZZ_ERROR_MSG[errorCode]; + } + catch (ArrayIndexOutOfBoundsException e) { + message = ZZ_ERROR_MSG[ZZ_UNKNOWN_ERROR]; + } + + throw new Error(message); + } + + + /** + * Pushes the specified amount of characters back into the input stream. + * + * They will be read again by then next call of the scanning method + * + * @param number the number of characters to be read again. + * This number must not be greater than yylength()! + */ + public void yypushback(int number) { + if ( number > yylength() ) + zzScanError(ZZ_PUSHBACK_2BIG); + + zzMarkedPos -= number; + } + + + /** + * Contains user EOF-code, which will be executed exactly once, + * when the end of file is reached + */ + private void zzDoEOF() { + if (!zzEOFDone) { + zzEOFDone = true; + + } + } + + + /** + * Resumes scanning until the next regular expression is matched, + * the end of input is encountered or an I/O-Error occurs. + * + * @return the next token + * @exception java.io.IOException if any I/O-Error occurs + */ + public IElementType advance() throws java.io.IOException { + int zzInput; + int zzAction; + + // cached fields: + int zzCurrentPosL; + int zzMarkedPosL; + int zzEndReadL = zzEndRead; + CharSequence zzBufferL = zzBuffer; + char[] zzBufferArrayL = zzBufferArray; + char [] zzCMapL = ZZ_CMAP; + + int [] zzTransL = ZZ_TRANS; + int [] zzRowMapL = ZZ_ROWMAP; + int [] zzAttrL = ZZ_ATTRIBUTE; + + while (true) { + zzMarkedPosL = zzMarkedPos; + + zzAction = -1; + + zzCurrentPosL = zzCurrentPos = zzStartRead = zzMarkedPosL; + + zzState = ZZ_LEXSTATE[zzLexicalState]; + + + zzForAction: { + while (true) { + + if (zzCurrentPosL < zzEndReadL) + zzInput = zzBufferL.charAt(zzCurrentPosL++); + else if (zzAtEOF) { + zzInput = YYEOF; + break zzForAction; + } + else { + // store back cached positions + zzCurrentPos = zzCurrentPosL; + zzMarkedPos = zzMarkedPosL; + boolean eof = zzRefill(); + // get translated positions and possibly new buffer + zzCurrentPosL = zzCurrentPos; + zzMarkedPosL = zzMarkedPos; + zzBufferL = zzBuffer; + zzEndReadL = zzEndRead; + if (eof) { + zzInput = YYEOF; + break zzForAction; + } + else { + zzInput = zzBufferL.charAt(zzCurrentPosL++); + } + } + int zzNext = zzTransL[ zzRowMapL[zzState] + zzCMapL[zzInput] ]; + if (zzNext == -1) break zzForAction; + zzState = zzNext; + + int zzAttributes = zzAttrL[zzState]; + if ( (zzAttributes & 1) == 1 ) { + zzAction = zzState; + zzMarkedPosL = zzCurrentPosL; + if ( (zzAttributes & 8) == 8 ) break zzForAction; + } + + } + } + + // store back cached position + zzMarkedPos = zzMarkedPosL; + + switch (zzAction < 0 ? zzAction : ZZ_ACTION[zzAction]) { + case 3: + { return JqlTokenTypes.NUMBER_LITERAL; + } + case 41: break; + case 13: + { return JqlTokenTypes.PIPE; + } + case 42: break; + case 38: + { return JqlTokenTypes.BEFORE_KEYWORD; + } + case 43: break; + case 28: + { return JqlTokenTypes.ASC_KEYWORD; + } + case 44: break; + case 27: + { return JqlTokenTypes.AND_KEYWORD; + } + case 45: break; + case 19: + { return JqlTokenTypes.IN_KEYWORD; + } + case 46: break; + case 20: + { return JqlTokenTypes.IS_KEYWORD; + } + case 47: break; + case 16: + { return JqlTokenTypes.TO_KEYWORD; + } + case 48: break; + case 14: + { return JqlTokenTypes.COMMA; + } + case 49: break; + case 6: + { return JqlTokenTypes.BANG; + } + case 50: break; + case 32: + { return JqlTokenTypes.NULL_KEYWORD; + } + case 51: break; + case 1: + { return JqlTokenTypes.STRING_LITERAL; + } + case 52: break; + case 36: + { return JqlTokenTypes.ORDER_KEYWORD; + } + case 53: break; + case 35: + { return JqlTokenTypes.AFTER_KEYWORD; + } + case 54: break; + case 34: + { return JqlTokenTypes.CUSTOM_FIELD; + } + case 55: break; + case 15: + { return JqlTokenTypes.BY_KEYWORD; + } + case 56: break; + case 24: + { return JqlTokenTypes.GE; + } + case 57: break; + case 30: + { return JqlTokenTypes.WAS_KEYWORD; + } + case 58: break; + case 22: + { return JqlTokenTypes.NOT_CONTAINS; + } + case 59: break; + case 8: + { return JqlTokenTypes.GT; + } + case 60: break; + case 10: + { return JqlTokenTypes.LPAR; + } + case 61: break; + case 9: + { return JqlTokenTypes.CONTAINS; + } + case 62: break; + case 21: + { return JqlTokenTypes.NE; + } + case 63: break; + case 31: + { return JqlTokenTypes.FROM_KEYWORD; + } + case 64: break; + case 18: + { return JqlTokenTypes.OR_KEYWORD; + } + case 65: break; + case 4: + { return JqlTokenTypes.BAD_CHARACTER; + } + case 66: break; + case 26: + { return JqlTokenTypes.PIPE_PIPE; + } + case 67: break; + case 5: + { return JqlTokenTypes.EQ; + } + case 68: break; + case 17: + { return JqlTokenTypes.ON_KEYWORD; + } + case 69: break; + case 40: + { return JqlTokenTypes.CHANGED_KEYWORD; + } + case 70: break; + case 2: + { return JqlTokenTypes.WHITE_SPACE; + } + case 71: break; + case 23: + { return JqlTokenTypes.LE; + } + case 72: break; + case 39: + { return JqlTokenTypes.DURING_KEYWORD; + } + case 73: break; + case 12: + { return JqlTokenTypes.AMP; + } + case 74: break; + case 33: + { return JqlTokenTypes.DESC_KEYWORD; + } + case 75: break; + case 29: + { return JqlTokenTypes.NOT_KEYWORD; + } + case 76: break; + case 11: + { return JqlTokenTypes.RPAR; + } + case 77: break; + case 7: + { return JqlTokenTypes.LT; + } + case 78: break; + case 37: + { return JqlTokenTypes.EMPTY_KEYWORD; + } + case 79: break; + case 25: + { return JqlTokenTypes.AMP_AMP; + } + case 80: break; + default: + if (zzInput == YYEOF && zzStartRead == zzCurrentPos) { + zzAtEOF = true; + zzDoEOF(); + return null; + } + else { + zzScanError(ZZ_NO_MATCH); + } + } + } + } + + +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlCompletionContributor.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlCompletionContributor.java new file mode 100644 index 000000000000..baefe2d239bb --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlCompletionContributor.java @@ -0,0 +1,332 @@ +package com.intellij.tasks.jira.jql.codeinsight; + +import com.intellij.codeInsight.completion.*; +import com.intellij.codeInsight.lookup.LookupElementBuilder; +import com.intellij.openapi.diagnostic.Logger; +import com.intellij.openapi.util.Condition; +import com.intellij.openapi.util.text.StringUtil; +import com.intellij.patterns.PsiElementPattern; +import com.intellij.psi.PsiElement; +import com.intellij.psi.PsiFile; +import com.intellij.psi.filters.ElementFilter; +import com.intellij.psi.filters.position.FilterPattern; +import com.intellij.psi.impl.DebugUtil; +import com.intellij.psi.util.PsiTreeUtil; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.*; +import com.intellij.util.ProcessingContext; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import static com.intellij.patterns.PlatformPatterns.psiElement; + +/** + * @author Mikhail Golubev + */ +public class JqlCompletionContributor extends CompletionContributor { + private static final Logger LOG = Logger.getInstance(JqlCompletionContributor.class); + + private static final FilterPattern BEGINNING_OF_LINE = new FilterPattern(new ElementFilter() { + @Override + public boolean isAcceptable(Object element, @Nullable PsiElement context) { + if (!(element instanceof PsiElement)) return false; + PsiElement p = (PsiElement)element; + PsiFile file = p.getContainingFile().getOriginalFile(); + char[] chars = file.textToCharArray(); + for (int offset = p.getTextOffset() - 1; offset >= 0; offset--) { + char c = chars[offset]; + if (c == '\n') return true; + if (!StringUtil.isWhiteSpace(c)) return false; + } + return true; + } + + @Override + public boolean isClassAcceptable(Class hintClass) { + return true; + } + }); + + private static FilterPattern rightAfterElement(final PsiElementPattern.Capture pattern) { + return new FilterPattern(new ElementFilter() { + @Override + public boolean isAcceptable(Object element, @Nullable PsiElement context) { + if (!(element instanceof PsiElement)) return false; + PsiElement prevLeaf = PsiTreeUtil.prevVisibleLeaf((PsiElement)element); + if (prevLeaf == null) return false; + PsiElement enclosingClause = PsiTreeUtil.findFirstParent(prevLeaf, new Condition() { + @Override + public boolean value(PsiElement element) { + return pattern.accepts(element); + } + }); + if (enclosingClause == null) return false; + if (PsiTreeUtil.hasErrorElements(enclosingClause)) return false; + return prevLeaf.getTextRange().getEndOffset() == enclosingClause.getTextRange().getEndOffset(); + } + + @Override + public boolean isClassAcceptable(Class hintClass) { + return true; + } + }); + } + + private static FilterPattern rightAfterElement(Class aClass) { + return rightAfterElement(psiElement(aClass)); + } + + // Patterns: + + public static final PsiElementPattern.Capture AFTER_CLAUSE_WITH_HISTORY_PREDICATE = + psiElement().and(rightAfterElement(JqlClauseWithHistoryPredicates.class)); + + private static final PsiElementPattern.Capture AFTER_ANY_CLAUSE = + psiElement().and(rightAfterElement(JqlTerminalClause.class)); + + public static final PsiElementPattern.Capture AFTER_ORDER_KEYWORD = + psiElement().afterLeaf(psiElement(JqlTokenTypes.ORDER_KEYWORD)); + + public static final PsiElementPattern.Capture AFTER_FIELD_IN_CLAUSE = + psiElement().and(rightAfterElement( + psiElement(JqlIdentifier.class). + andNot(psiElement().inside(JqlFunctionCall.class)). + andNot(psiElement().inside(JqlOrderBy.class)))); + + + /** + * e.g. "not | ...", "status = closed and |" or "status = closed or |" + */ + private static final PsiElementPattern.Capture BEGINNING_OF_CLAUSE = psiElement().andOr( + BEGINNING_OF_LINE, + psiElement().afterLeaf(psiElement().andOr( + psiElement().withElementType(JqlTokenTypes.AND_OPERATORS), + psiElement().withElementType(JqlTokenTypes.OR_OPERATORS), + psiElement().withElementType(JqlTokenTypes.NOT_OPERATORS). + andNot(psiElement().inside(JqlTerminalClause.class)) + ))); + + /** + * e.g. "status changed on |" + */ + private static final PsiElementPattern.Capture AFTER_KEYWORD_IN_HISTORY_PREDICATE = psiElement(). + inside(JqlHistoryPredicate.class). // do not consider "by" inside "order by" + afterLeaf(psiElement().withElementType(JqlTokenTypes.HISTORY_PREDICATES)); + + /** + * e.g. "duedate > |" or "type was in |" + */ + private static final PsiElementPattern.Capture AFTER_OPERATOR_EXCEPT_IS = psiElement(). + inside(JqlTerminalClause.class). + afterLeaf( + psiElement().andOr( + psiElement().withElementType(JqlTokenTypes.SIMPLE_OPERATORS), + psiElement(JqlTokenTypes.WAS_KEYWORD), + psiElement(JqlTokenTypes.IN_KEYWORD), + // "not" is considered only as part of other complex operators + // "is" and "is not" are not suitable also + psiElement(JqlTokenTypes.NOT_KEYWORD). + afterLeaf(psiElement(JqlTokenTypes.WAS_KEYWORD)))); + /** + * e.g. "foo is |" or "foo is not |" + */ + private static final PsiElementPattern.Capture AFTER_IS_OPERATOR = psiElement(). + inside(JqlTerminalClause.class).andOr( + psiElement().afterLeaf(psiElement(JqlTokenTypes.IS_KEYWORD)), + psiElement().afterLeaf(psiElement(JqlTokenTypes.NOT_KEYWORD). + afterLeaf(psiElement(JqlTokenTypes.IS_KEYWORD))) + ); + + /** + * e.g. "commentary ~ 'spam' order by |" or "assignee = currentUser() order by duedate desc, |" + */ + private static final PsiElementPattern.Capture BEGINNING_OF_SORT_KEY = psiElement(). + inside(JqlOrderBy.class). + andOr( + psiElement().afterLeaf(psiElement(JqlTokenTypes.COMMA)), + psiElement().afterLeaf(psiElement(JqlTokenTypes.BY_KEYWORD)) + ); + + /** + * e.g. "status = 'in progress' order by reported |" + */ + private static final PsiElementPattern.Capture AFTER_FIELD_IN_SORT_KEY = psiElement(). + afterLeaf(psiElement().withElementType(JqlTokenTypes.VALID_FIELD_NAMES).inside(JqlSortKey.class)); + + private static final PsiElementPattern.Capture INSIDE_LIST = psiElement(). + inside(JqlList.class). + afterLeaf( + psiElement().andOr( + psiElement(JqlTokenTypes.LPAR), + psiElement(JqlTokenTypes.COMMA) + // e.g. assignee in ('mark', 'bob', currentUser() | ) + ).andNot(psiElement().inside(JqlFunctionCall.class)) + ); + + public JqlCompletionContributor() { + addKeywordsCompletion(); + addFieldNamesCompletion(); + addFunctionNamesCompletion(); + addEmptyOrNullCompletion(); + } + + @Override + public void fillCompletionVariants(CompletionParameters parameters, CompletionResultSet result) { + LOG.debug(DebugUtil.psiToString(parameters.getOriginalFile(), true)); + super.fillCompletionVariants(parameters, result); + } + + private void addKeywordsCompletion() { + extend(CompletionType.BASIC, + AFTER_ANY_CLAUSE, + new JqlKeywordCompletionProvider("and", "or", "order by")); + extend(CompletionType.BASIC, + AFTER_CLAUSE_WITH_HISTORY_PREDICATE, + new JqlKeywordCompletionProvider("on", "before", "after", "during", "from", "to", "by")); + extend(CompletionType.BASIC, + AFTER_FIELD_IN_CLAUSE, + new JqlKeywordCompletionProvider("was", "in", "not", "is", "changed")); + extend(CompletionType.BASIC, + psiElement().andOr( + BEGINNING_OF_CLAUSE, + psiElement().inside(JqlTerminalClause.class).andOr( + psiElement().afterLeaf(psiElement(JqlTokenTypes.WAS_KEYWORD)), + psiElement().afterLeaf(psiElement(JqlTokenTypes.IS_KEYWORD)))), + new JqlKeywordCompletionProvider("not")); + extend(CompletionType.BASIC, + psiElement().afterLeaf( + psiElement().andOr( + psiElement(JqlTokenTypes.NOT_KEYWORD). + andNot(psiElement().afterLeaf( + psiElement(JqlTokenTypes.IS_KEYWORD))). + andNot(psiElement().withParent(JqlNotClause.class)), + psiElement(JqlTokenTypes.WAS_KEYWORD))), + new JqlKeywordCompletionProvider("in")); + extend(CompletionType.BASIC, + AFTER_ORDER_KEYWORD, + new JqlKeywordCompletionProvider("by")); + extend(CompletionType.BASIC, + AFTER_FIELD_IN_SORT_KEY, + new JqlKeywordCompletionProvider("asc", "desc")); + } + + private void addFieldNamesCompletion() { + extend(CompletionType.BASIC, + psiElement().andOr( + BEGINNING_OF_CLAUSE, + BEGINNING_OF_SORT_KEY), + new JqlFieldCompletionProvider(JqlFieldType.UNKNOWN)); + } + + private void addFunctionNamesCompletion() { + extend(CompletionType.BASIC, + psiElement().andOr( + AFTER_OPERATOR_EXCEPT_IS, + INSIDE_LIST, + // NOTE: function calls can't be used as other functions arguments according to grammar + AFTER_KEYWORD_IN_HISTORY_PREDICATE), + new JqlFunctionCompletionProvider()); + } + + private void addEmptyOrNullCompletion() { + extend(CompletionType.BASIC, + AFTER_IS_OPERATOR, + new JqlKeywordCompletionProvider("empty", "null")); + } + + private static class JqlKeywordCompletionProvider extends CompletionProvider { + private final String[] myKeywords; + + private JqlKeywordCompletionProvider(String... keywords) { + myKeywords = keywords; + } + + @Override + protected void addCompletions(@NotNull CompletionParameters parameters, + ProcessingContext context, + @NotNull CompletionResultSet result) { + for (String keyword : myKeywords) { + result.addElement(LookupElementBuilder.create(keyword).withBoldness(true)); + } + } + } + + private static class JqlFunctionCompletionProvider extends CompletionProvider { + + @Override + protected void addCompletions(@NotNull CompletionParameters parameters, + ProcessingContext context, + @NotNull CompletionResultSet result) { + JqlFieldType operandType; + boolean listFunctionExpected; + PsiElement pos = parameters.getPosition(); + JqlHistoryPredicate predicate = PsiTreeUtil.getParentOfType(pos, JqlHistoryPredicate.class); + if (predicate != null) { + listFunctionExpected = false; + JqlHistoryPredicate.Type predicateType = predicate.getType(); + switch (predicateType) { + case BEFORE: + case AFTER: + case DURING: + case ON: + operandType = JqlFieldType.DATE; + break; + case BY: + operandType = JqlFieldType.USER; + break; + // from, to + default: + operandType = findTypeOfField(pos); + } + } + else { + operandType = findTypeOfField(pos); + listFunctionExpected = insideClauseWithListOperator(pos); + } + for (String functionName : JqlStandardFunction.allOfType(operandType, listFunctionExpected)) { + result.addElement(LookupElementBuilder.create(functionName + "()")); + } + } + + private static JqlFieldType findTypeOfField(PsiElement element) { + JqlTerminalClause clause = PsiTreeUtil.getParentOfType(element, JqlTerminalClause.class); + if (clause != null) { + return JqlStandardField.typeOf(clause.getFieldName()); + } + return JqlFieldType.UNKNOWN; + } + + private static boolean insideClauseWithListOperator(PsiElement element) { + JqlTerminalClause clause = PsiTreeUtil.getParentOfType(element, JqlTerminalClause.class); + if (clause == null || clause.getType() == null) { + return false; + } + switch (clause.getType()) { + case IN: + case NOT_IN: + case WAS_IN: + case WAS_NOT_IN: + return true; + default: + return false; + } + } + } + + private static class JqlFieldCompletionProvider extends CompletionProvider { + private final JqlFieldType myFieldType; + + private JqlFieldCompletionProvider(JqlFieldType fieldType) { + myFieldType = fieldType; + } + + @Override + protected void addCompletions(@NotNull CompletionParameters parameters, + ProcessingContext context, + @NotNull CompletionResultSet result) { + for (String field : JqlStandardField.allOfType(myFieldType)) { + result.addElement(LookupElementBuilder.create(field)); + } + } + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlFieldType.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlFieldType.java new file mode 100644 index 000000000000..8160a4c35184 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlFieldType.java @@ -0,0 +1,28 @@ +package com.intellij.tasks.jira.jql.codeinsight; + +/** + * Custom fields types are not considered here + * + * @author Mikhail Golubev + */ +public enum JqlFieldType { + VERSION, + USER, + CATEGORY, + TEXT, + COMPONENT, + DATE, + FILTER, + ISSUE, + SECURITY_LEVEL, + DURATION, + PRIORITY, + RESOLUTION, + STATUS, + ISSUE_TYPE, + PROJECT, + NUMBER, + // used for custom field and when field type is yet unknown, + // e.g. in the beginning of new clause + UNKNOWN +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardField.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardField.java new file mode 100644 index 000000000000..e6b0f963bafb --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardField.java @@ -0,0 +1,121 @@ +package com.intellij.tasks.jira.jql.codeinsight; + +import com.intellij.util.Function; +import com.intellij.util.containers.ContainerUtil; +import com.intellij.util.containers.Convertor; +import com.intellij.util.containers.MultiMap; + +import java.util.Collection; +import java.util.List; +import java.util.Map; + +/** + * @author Mikhail Golubev + */ +public enum JqlStandardField { + AFFECTED_VERSION("affectedVersion", JqlFieldType.VERSION), + ASSIGNEE("assignee", JqlFieldType.USER), + CATEGORY("category", JqlFieldType.CATEGORY), + COMMENT("comment", JqlFieldType.TEXT), + COMPONENT("component", JqlFieldType.COMPONENT), + CREATED("created", JqlFieldType.DATE), + CREATED_DATE("createdDate", JqlFieldType.DATE), + DESCRIPTION("description", JqlFieldType.TEXT), + DUE("due", JqlFieldType.DATE), + DUE_DATE("dueDate", JqlFieldType.DATE), + ENVIRONMENT("environment", JqlFieldType.TEXT), + FILTER("filter", JqlFieldType.FILTER), + REQUEST("request", JqlFieldType.FILTER), + SAVED_FILTER("savedFilter", JqlFieldType.FILTER), + SEARCH_REQUEST("searchRequest", JqlFieldType.FILTER), + FIX_VERSION("fixVersion", JqlFieldType.VERSION), + ISSUE_KEY("issueKey", JqlFieldType.ISSUE), + ID("id", JqlFieldType.ISSUE), + ISSUE("issue", JqlFieldType.ISSUE), + KEY("key", JqlFieldType.ISSUE), + LAST_VIEWED("lastViewed", JqlFieldType.DATE), + LEVEL("level", JqlFieldType.SECURITY_LEVEL), + ORIGINAL_ESTIMATE("originalEstimate", JqlFieldType.DURATION), + TIME_ORIGINAL_ESTIMATE("timeOriginalEstimate", JqlFieldType.DURATION), + PARENT("parent", JqlFieldType.ISSUE), + PRIORITY("priority", JqlFieldType.PRIORITY), + PROJECT("project", JqlFieldType.PROJECT), + REMAINING_ESTIMATE("remainingEstimate", JqlFieldType.DURATION), + TIME_ESTIMATE("timeEstimate", JqlFieldType.DURATION), + REPORTER("reporter", JqlFieldType.USER), + RESOLUTION("resolution", JqlFieldType.RESOLUTION), + RESOLVED("resolved", JqlFieldType.DATE), + RESOLUTION_DATE("resolutionDate", JqlFieldType.DATE), + STATUS("status", JqlFieldType.STATUS), + SUMMARY("summary", JqlFieldType.TEXT), + // So called "master-field". Search in summary, description, environment, + // comments and custom fields + TEXT("text", JqlFieldType.TEXT), + TYPE("type", JqlFieldType.ISSUE_TYPE), + ISSUE_TYPE("issueType", JqlFieldType.ISSUE_TYPE), + TIME_SPENT("timeSpent", JqlFieldType.DURATION), + UPDATED("updated", JqlFieldType.DATE), + UPDATED_DATE("updatedDate", JqlFieldType.DATE), + VOTER("voter", JqlFieldType.USER), + VOTES("votes", JqlFieldType.NUMBER), + WATCHER("watcher", JqlFieldType.USER), + WATCHERS("watchers", JqlFieldType.NUMBER), + WORK_RATION("workRatio", JqlFieldType.NUMBER); + + private final String myName; + private final JqlFieldType myType; + private JqlStandardField(String name, JqlFieldType type) { + myName = name; + myType = type; + } + + public String getName() { + return myName; + } + + public JqlFieldType getType() { + return myType; + } + + private static final JqlStandardField[] VALUES = values(); + private static final Map NAME_LOOKUP = ContainerUtil.newMapFromValues( + ContainerUtil.iterate(VALUES), + new Convertor() { + @Override + public String convert(JqlStandardField field) { + return field.getName(); + } + } + ); + + public static JqlStandardField byName(String name) { + return NAME_LOOKUP.get(name); + } + + private static final MultiMap TYPE_LOOKUP = new MultiMap(); + static { + for (JqlStandardField field : VALUES) { + TYPE_LOOKUP.putValue(field.getType(), field.getName()); + } + } + + public static Collection allOfType(JqlFieldType type) { + return type == JqlFieldType.UNKNOWN? ALL_FIELDS_NAMES : TYPE_LOOKUP.get(type); + } + + public static final List ALL_FIELDS_NAMES = ContainerUtil.map2List(VALUES, new Function() { + @Override + public String fun(JqlStandardField field) { + return field.myName; + } + }); + + public static JqlFieldType typeOf(String name) { + for (Map.Entry> entry : TYPE_LOOKUP.entrySet()) { + if (entry.getValue().contains(name)) { + return entry.getKey(); + } + } + return JqlFieldType.UNKNOWN; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardFunction.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardFunction.java new file mode 100644 index 000000000000..27f7c6ce6ea5 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/codeinsight/JqlStandardFunction.java @@ -0,0 +1,95 @@ +package com.intellij.tasks.jira.jql.codeinsight; + +import com.intellij.openapi.util.Pair; +import com.intellij.util.Function; +import com.intellij.util.containers.ContainerUtil; +import com.intellij.util.containers.Convertor; +import com.intellij.util.containers.MultiMap; + +import java.util.Collection; +import java.util.List; +import java.util.Map; + +/** + * @author Mikhail Golubev + */ +public enum JqlStandardFunction { + RELEASED_VERSIONS("releasedVersions", JqlFieldType.VERSION, true), // () -> [Version] + LATEST_RELEASED_VERSION("latestReleasedVersion", JqlFieldType.VERSION, false), // () -> Version + UNRELEASED_VERSIONS("unreleasedVersions", JqlFieldType.VERSION, true), // () -> [Version] + EARLIEST_UNRELEASED_VERSION("earliestUnreleasedVersion", JqlFieldType.VERSION, false), // () -> Version + MEMBERS_OF("membersOf", JqlFieldType.USER, true), // String -> [User] + CURRENT_USER("currentUser", JqlFieldType.USER, false), // () -> User + COMPONENTS_LEAD_BY_USER("componentsLeadByUser", JqlFieldType.COMPONENT, true), // User -> [Component] + CURRENT_LOGIN("currentLogin", JqlFieldType.DATE, false), // () -> Date + LAST_LOGIN("lastLogin", JqlFieldType.DATE, false), // () -> Date + NOW("now", JqlFieldType.DATE, false), // () -> Date + START_OF_DAY("startOfDay", JqlFieldType.DATE, false), // () -> Date + START_OF_WEEK("startOfWeek", JqlFieldType.DATE, false), // () -> Date + START_OF_MONTH("startOfMonth", JqlFieldType.DATE, false), // () -> Date + START_OF_YEAR("startOfYear", JqlFieldType.DATE, false), // () -> Date + END_OF_DAY("endOfDay", JqlFieldType.DATE, false), // () -> Date + END_OF_WEEK("endOfWeek", JqlFieldType.DATE, false), // () -> Date + END_OF_MONTH("endOfMonth", JqlFieldType.DATE, false), // () -> Date + END_OF_YEAR("endOfYear", JqlFieldType.DATE, false), // () -> Date + ISSUE_HISTORY("issueHistory", JqlFieldType.ISSUE, true), // () -> [Issue] + LINKED_ISSUES("linkedIssues", JqlFieldType.ISSUE, true), // () -> [Issue] + VOTED_ISSUES("votedIssues", JqlFieldType.ISSUE, true), // () -> [Issue] + WATCHED_ISSUES("watchedIssues", JqlFieldType.ISSUE, true), // () -> [Issue] + PROJECTS_LEAD_BY_USER("projectsLeadByUser", JqlFieldType.PROJECT, true), // User -> [Project] + PROJECTS_WHERE_USER_HAS_PERMISSION("projectsWhereUserHasPermission", JqlFieldType.PROJECT, true), // ? -> [Project] + PROJECTS_WHERE_USER_HAS_ROLE("projectsWhereUserHasRole", null, true); // ? -> [Project] + + private final String myName; + private final JqlFieldType myReturnType; + private final boolean myHasMultipleResults; + + JqlStandardFunction(String name, JqlFieldType returnType, boolean hasMultipleResults) { + myName = name; + myReturnType = returnType; + myHasMultipleResults = hasMultipleResults; + } + + public String getName() { + return myName; + } + + public JqlFieldType getReturnType() { + return myReturnType; + } + + public boolean hasMultipleResults() { + return myHasMultipleResults; + } + + private static final JqlStandardFunction[] VALUES = values(); + + private static final Map NAME_LOOKUP = ContainerUtil.newMapFromValues(ContainerUtil.iterate(VALUES), new Convertor() { + @Override + public String convert(JqlStandardFunction field) { + return field.getName(); + } + }); + + public static JqlStandardFunction byName(String name) { + return NAME_LOOKUP.get(name); + } + + private static final MultiMap, String> TYPE_LOOKUP = new MultiMap, String>(); + static { + for (JqlStandardFunction function : VALUES) { + TYPE_LOOKUP.putValue(Pair.create(function.getReturnType(), function.hasMultipleResults()), function.getName()); + } + } + + public static Collection allOfType(JqlFieldType type, boolean multipleResults) { + return type == JqlFieldType.UNKNOWN? ALL_FUNCTION_NAMES : TYPE_LOOKUP.get(Pair.create(type, multipleResults)); + } + + public static final List ALL_FUNCTION_NAMES = ContainerUtil.map2List(VALUES, new Function() { + @Override + public String fun(JqlStandardFunction field) { + return field.myName; + } + }); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlAndClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlAndClause.java new file mode 100644 index 000000000000..13a9200c43be --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlAndClause.java @@ -0,0 +1,7 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlAndClause extends JqlBinaryClause { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlArgumentList.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlArgumentList.java new file mode 100644 index 000000000000..59ced568583c --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlArgumentList.java @@ -0,0 +1,11 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public interface JqlArgumentList extends JqlElement { + @NotNull + JqlLiteral[] getArguments(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlBinaryClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlBinaryClause.java new file mode 100644 index 000000000000..3118bf3e49bc --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlBinaryClause.java @@ -0,0 +1,9 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlBinaryClause extends JqlClause { + JqlClause getLeftSubClause(); + JqlClause getRightSubClause(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlChangedClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlChangedClause.java new file mode 100644 index 000000000000..34eaa127d9fe --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlChangedClause.java @@ -0,0 +1,7 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlChangedClause extends JqlTerminalClause, JqlClauseWithHistoryPredicates { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClause.java new file mode 100644 index 000000000000..041aefa004c0 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClause.java @@ -0,0 +1,7 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlClause extends JqlElement { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClauseWithHistoryPredicates.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClauseWithHistoryPredicates.java new file mode 100644 index 000000000000..ca9d3fff44cb --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlClauseWithHistoryPredicates.java @@ -0,0 +1,33 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public interface JqlClauseWithHistoryPredicates extends JqlElement { + @Nullable + JqlOperand getAfter(); + + @Nullable + JqlOperand getBefore(); + + @Nullable + JqlOperand getOn(); + + @Nullable + JqlOperand getBy(); + + @Nullable + JqlOperand getDuring(); + + @Nullable + JqlOperand getFrom(); + + @Nullable + JqlOperand getTo(); + + @NotNull + JqlHistoryPredicate[] getHistoryPredicates(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElement.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElement.java new file mode 100644 index 000000000000..c76ed9772b8d --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElement.java @@ -0,0 +1,9 @@ +package com.intellij.tasks.jira.jql.psi; + +import com.intellij.psi.PsiElement; + +/** + * @author Mikhail Golubev + */ +public interface JqlElement extends PsiElement { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElementVisitor.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElementVisitor.java new file mode 100644 index 000000000000..e0dc6895cb44 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlElementVisitor.java @@ -0,0 +1,43 @@ +package com.intellij.tasks.jira.jql.psi; + +import com.intellij.psi.PsiElementVisitor; +import com.intellij.tasks.jira.jql.psi.impl.JqlArgumentListImpl; +import com.intellij.tasks.jira.jql.psi.impl.JqlHistoryPredicateImpl; + +/** + * @author Mikhail Golubev + */ +public abstract class JqlElementVisitor extends PsiElementVisitor { + + public abstract void visitJqlQuery(JqlQuery query); + + public abstract void visitJqlOrderBy(JqlOrderBy orderBy); + + public abstract void visitJqlOrClause(JqlOrClause clause); + + public abstract void visitJqlAndClause(JqlAndClause clause); + + public abstract void visitJqlNotClause(JqlNotClause clause); + + public abstract void visitJqlSimpleClause(JqlSimpleClause clause); + + public abstract void visitJqlWasClause(JqlWasClause clause); + + public abstract void visitJqlChangedClause(JqlChangedClause clause); + + public abstract void visitJqlIdentifier(JqlIdentifier identifier); + + public abstract void visitJqlLiteral(JqlLiteral literal); + + public abstract void visitEmptyValue(JqlEmptyValue emptyValue); + + public abstract void visitJqlFunctionCall(JqlFunctionCall call); + + public abstract void visitJqlList(JqlList list); + + public abstract void visitJqlSortKey(JqlSortKey key); + + public abstract void visitJqlArgumentList(JqlArgumentListImpl list); + + public abstract void visitJqlHistoryPredicate(JqlHistoryPredicateImpl predicate); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlEmptyValue.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlEmptyValue.java new file mode 100644 index 000000000000..c2ab7806418f --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlEmptyValue.java @@ -0,0 +1,8 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlEmptyValue extends JqlOperand { + +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlFunctionCall.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlFunctionCall.java new file mode 100644 index 000000000000..e8e34d6e0d35 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlFunctionCall.java @@ -0,0 +1,14 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public interface JqlFunctionCall extends JqlOperand { + @NotNull + JqlIdentifier getFunctionName(); + + @NotNull + JqlArgumentList getArgumentList(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlHistoryPredicate.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlHistoryPredicate.java new file mode 100644 index 000000000000..37b37fcf0aba --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlHistoryPredicate.java @@ -0,0 +1,25 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public interface JqlHistoryPredicate extends JqlElement { + enum Type { + FROM, + TO, + BEFORE, + AFTER, + BY, + ON, + DURING + } + + @NotNull + Type getType(); + + @Nullable + JqlOperand getOperand(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlIdentifier.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlIdentifier.java new file mode 100644 index 000000000000..43047516a8b4 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlIdentifier.java @@ -0,0 +1,10 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlIdentifier extends JqlElement { + String getEscapedText(); + + boolean isCustomField(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlList.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlList.java new file mode 100644 index 000000000000..0ff74b696595 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlList.java @@ -0,0 +1,8 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlList extends JqlOperand { + JqlOperand[] getElements(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlLiteral.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlLiteral.java new file mode 100644 index 000000000000..78bb359a7276 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlLiteral.java @@ -0,0 +1,10 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlLiteral extends JqlOperand { + String getEscapedText(); + + String getOriginalText(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlNotClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlNotClause.java new file mode 100644 index 000000000000..038686454d15 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlNotClause.java @@ -0,0 +1,8 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlNotClause extends JqlClause { + JqlClause getSubClause(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOperand.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOperand.java new file mode 100644 index 000000000000..6391602750c3 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOperand.java @@ -0,0 +1,7 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlOperand extends JqlElement { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrClause.java new file mode 100644 index 000000000000..87ec5f94be81 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrClause.java @@ -0,0 +1,8 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlOrClause extends JqlBinaryClause { + +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrderBy.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrderBy.java new file mode 100644 index 000000000000..002255970b39 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlOrderBy.java @@ -0,0 +1,11 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public interface JqlOrderBy extends JqlElement { + @NotNull + JqlSortKey[] getSortKeys(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlQuery.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlQuery.java new file mode 100644 index 000000000000..b832b9d684c3 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlQuery.java @@ -0,0 +1,15 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public interface JqlQuery extends JqlElement { + @Nullable + JqlClause getClause(); + boolean isOrdered(); + @NotNull + JqlSortKey[] getOrderKeys(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSimpleClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSimpleClause.java new file mode 100644 index 000000000000..790d80469e73 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSimpleClause.java @@ -0,0 +1,13 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.Nullable; + +/** + * Simple clauses such as EQ, NE, GT, LT, GE, LE, CONTAINS, NOT_CONTAINS, IN, NOT_IN, IS and IS_NOT + * + * @author Mikhail Golubev + */ +public interface JqlSimpleClause extends JqlTerminalClause { + @Nullable + JqlOperand getOperand(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSortKey.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSortKey.java new file mode 100644 index 000000000000..ae6a55b478eb --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlSortKey.java @@ -0,0 +1,13 @@ +package com.intellij.tasks.jira.jql.psi; + +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public interface JqlSortKey extends JqlElement { + @NotNull + String getFieldName(); + + boolean isAscending(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlTerminalClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlTerminalClause.java new file mode 100644 index 000000000000..c087181a3fc1 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlTerminalClause.java @@ -0,0 +1,60 @@ +package com.intellij.tasks.jira.jql.psi; + +import com.intellij.psi.tree.IElementType; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import java.util.IdentityHashMap; + +/** + * @author Mikhail Golubev + */ +public interface JqlTerminalClause extends JqlElement { + enum Type { + EQ, + NE, + LT, + GT, + LE, + GE, + CONTAINS, + NOT_CONTAINS, + IS, + IS_NOT, + IN, + NOT_IN, + WAS, + WAS_IN, + WAS_NOT, + WAS_NOT_IN, + CHANGED; + + private final static IdentityHashMap MAP = new IdentityHashMap(); + static { + MAP.put(JqlTokenTypes.EQ, EQ); + MAP.put(JqlTokenTypes.NE, NE); + MAP.put(JqlTokenTypes.LT, LT); + MAP.put(JqlTokenTypes.GT, GT); + MAP.put(JqlTokenTypes.LE, LE); + MAP.put(JqlTokenTypes.GE, GE); + MAP.put(JqlTokenTypes.CONTAINS, CONTAINS); + MAP.put(JqlTokenTypes.NOT_CONTAINS, NOT_CONTAINS); + } + + @Nullable + public static Type fromTokenType(IElementType type) { + return MAP.get(type); + } + + } + + @Nullable + Type getType(); + + @NotNull + JqlIdentifier getField(); + + @NotNull + String getFieldName(); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlWasClause.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlWasClause.java new file mode 100644 index 000000000000..0c57fcbc4902 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/JqlWasClause.java @@ -0,0 +1,7 @@ +package com.intellij.tasks.jira.jql.psi; + +/** + * @author Mikhail Golubev + */ +public interface JqlWasClause extends JqlTerminalClause, JqlClauseWithHistoryPredicates { +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlAndClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlAndClauseImpl.java new file mode 100644 index 000000000000..228748f6f0b0 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlAndClauseImpl.java @@ -0,0 +1,20 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlAndClause; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlAndClauseImpl extends JqlBinaryClauseImpl implements JqlAndClause { + public JqlAndClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlAndClause(this); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlArgumentListImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlArgumentListImpl.java new file mode 100644 index 000000000000..ca99c30124c2 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlArgumentListImpl.java @@ -0,0 +1,27 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlArgumentList; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlLiteral; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlArgumentListImpl extends JqlElementImpl implements JqlArgumentList { + public JqlArgumentListImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlArgumentList(this); + } + + @NotNull + @Override + public JqlLiteral[] getArguments() { + return findChildrenByClass(JqlLiteral.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlBinaryClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlBinaryClauseImpl.java new file mode 100644 index 000000000000..f47bffe22362 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlBinaryClauseImpl.java @@ -0,0 +1,26 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.psi.util.PsiTreeUtil; +import com.intellij.tasks.jira.jql.psi.JqlBinaryClause; +import com.intellij.tasks.jira.jql.psi.JqlClause; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public abstract class JqlBinaryClauseImpl extends JqlElementImpl implements JqlBinaryClause { + protected JqlBinaryClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public JqlClause getLeftSubClause() { + return findChildByClass(JqlClause.class); + } + + @Override + public JqlClause getRightSubClause() { + return PsiTreeUtil.getNextSiblingOfType(getLeftSubClause(), JqlClause.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlChangedClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlChangedClauseImpl.java new file mode 100644 index 000000000000..bc2c17dfafc0 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlChangedClauseImpl.java @@ -0,0 +1,26 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlChangedClause; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlChangedClauseImpl extends JqlClauseWithHistoryPredicatesImpl implements JqlChangedClause { + public JqlChangedClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlChangedClause(this); + } + + @NotNull + @Override + public Type getType() { + return Type.CHANGED; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlClauseWithHistoryPredicatesImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlClauseWithHistoryPredicatesImpl.java new file mode 100644 index 000000000000..ac4d1294c8a9 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlClauseWithHistoryPredicatesImpl.java @@ -0,0 +1,72 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.*; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public abstract class JqlClauseWithHistoryPredicatesImpl extends JqlTerminalClauseImpl implements JqlClauseWithHistoryPredicates { + public JqlClauseWithHistoryPredicatesImpl(@NotNull ASTNode node) { + super(node); + } + + @Nullable + @Override + public JqlOperand getAfter() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.AFTER); + } + + @Nullable + @Override + public JqlOperand getBefore() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.BEFORE); + } + + @Nullable + @Override + public JqlOperand getOn() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.ON); + } + + @Nullable + @Override + public JqlOperand getBy() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.BY); + } + + @Nullable + @Override + public JqlOperand getDuring() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.DURING); + } + + @Nullable + @Override + public JqlOperand getFrom() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.FROM); + } + + @Nullable + @Override + public JqlOperand getTo() { + return findOperandOfPredicate(JqlHistoryPredicate.Type.TO); + } + + @NotNull + @Override + public JqlHistoryPredicate[] getHistoryPredicates() { + return findChildrenByClass(JqlHistoryPredicate.class); + } + + private JqlOperand findOperandOfPredicate(JqlHistoryPredicate.Type type) { + for (JqlHistoryPredicate predicate : getHistoryPredicates()) { + if (predicate.getType() == type) { + return predicate.getOperand(); + } + } + return null; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlElementImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlElementImpl.java new file mode 100644 index 000000000000..cfa99296a24c --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlElementImpl.java @@ -0,0 +1,82 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.extapi.psi.ASTWrapperPsiElement; +import com.intellij.lang.ASTNode; +import com.intellij.psi.PsiElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlElement; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public abstract class JqlElementImpl extends ASTWrapperPsiElement implements JqlElement { + protected JqlElementImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public String toString() { + String className = getClass().getSimpleName(); + if (className.endsWith("Impl")) { + className = className.substring(0, className.length() - 4); + } + return String.format("%s(%s)", className, getText()); + } + + @Override + public void accept(@NotNull PsiElementVisitor visitor) { + if (visitor instanceof JqlElementVisitor) { + accept((JqlElementVisitor)visitor); + } + else { + super.accept(visitor); + } + } + + protected static String unescape(String s) { + if (s.length() >= 2 && + ((s.charAt(0) == '\'' && s.charAt(s.length() - 1) == '\'') || + (s.charAt(0) == '\"' && s.charAt(s.length() - 1) == '\"'))) { + s = s.substring(1, s.length() - 1); + } + StringBuilder builder = new StringBuilder(); + for (int i = 0; i < s.length(); i++) { + char c1 = s.charAt(i); + if (c1 == '\\') { + assert i != s.length() - 1 : "Trailing backslash"; + char c2 = s.charAt(++i); + switch (c2) { + case ' ': + case '\'': + case '\"': + case '\\': + builder.append(c2); + break; + case 'n': + builder.append('\n'); + break; + case 't': + builder.append('\t'); + break; + case '\r': + builder.append('\r'); + break; + // Only \\uXXXX escape is legal, so character always resides inside BMP + case 'u': + assert i < s.length() - 4 : "Incomplete unicode escape sequence: " + s.substring(i - 1); + builder.append((char)Integer.parseInt(s.substring(i + 1, i + 5), 16)); + i += 4; + break; + default: + throw new AssertionError("Illegal escape at " + s.substring(i)); + } + } + else { + builder.append(c1); + } + } + return builder.toString(); + } + public abstract void accept(JqlElementVisitor visitor); +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlEmptyValueImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlEmptyValueImpl.java new file mode 100644 index 000000000000..4fbf0b5f40f5 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlEmptyValueImpl.java @@ -0,0 +1,20 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlEmptyValue; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlEmptyValueImpl extends JqlElementImpl implements JqlEmptyValue { + public JqlEmptyValueImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitEmptyValue(this); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlFunctionCallImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlFunctionCallImpl.java new file mode 100644 index 000000000000..c16df1a2d580 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlFunctionCallImpl.java @@ -0,0 +1,33 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.*; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlFunctionCallImpl extends JqlElementImpl implements JqlFunctionCall { + public JqlFunctionCallImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlFunctionCall(this); + } + + @NotNull + @Override + public JqlIdentifier getFunctionName() { + JqlIdentifier idenifier = findChildByClass(JqlIdentifier.class); + assert idenifier != null; + return idenifier; + } + + @NotNull + @Override + public JqlArgumentList getArgumentList() { + return findChildByClass(JqlArgumentList.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlHistoryPredicateImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlHistoryPredicateImpl.java new file mode 100644 index 000000000000..db8fd03c44a2 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlHistoryPredicateImpl.java @@ -0,0 +1,38 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.psi.PsiElement; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlHistoryPredicate; +import com.intellij.tasks.jira.jql.psi.JqlOperand; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public class JqlHistoryPredicateImpl extends JqlElementImpl implements JqlHistoryPredicate { + public JqlHistoryPredicateImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlHistoryPredicate(this); + } + + @NotNull + @Override + public Type getType() { + PsiElement keyword = findChildByType(JqlTokenTypes.HISTORY_PREDICATES); + assert keyword != null; + return Type.valueOf(keyword.getText().toUpperCase()); + } + + @Nullable + @Override + public JqlOperand getOperand() { + return findChildByClass(JqlOperand.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlIdentifierImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlIdentifierImpl.java new file mode 100644 index 000000000000..822d6e1a823c --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlIdentifierImpl.java @@ -0,0 +1,31 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlIdentifier; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlIdentifierImpl extends JqlElementImpl implements JqlIdentifier { + public JqlIdentifierImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlIdentifier(this); + } + + @Override + public boolean isCustomField() { + return findChildByType(JqlTokenTypes.CUSTOM_FIELD) != null; + } + + @Override + public String getEscapedText() { + return unescape(getText()); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlListImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlListImpl.java new file mode 100644 index 000000000000..6b981760b5db --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlListImpl.java @@ -0,0 +1,26 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlList; +import com.intellij.tasks.jira.jql.psi.JqlOperand; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlListImpl extends JqlElementImpl implements JqlList { + public JqlListImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlList(this); + } + + @Override + public JqlOperand[] getElements() { + return findChildrenByClass(JqlOperand.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlLiteralImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlLiteralImpl.java new file mode 100644 index 000000000000..0b216eee5869 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlLiteralImpl.java @@ -0,0 +1,30 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlLiteral; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlLiteralImpl extends JqlElementImpl implements JqlLiteral { + public JqlLiteralImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlLiteral(this); + } + + @Override + public String getEscapedText() { + return unescape(getText()); + } + + @Override + public String getOriginalText() { + return getNode().getText(); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlNotClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlNotClauseImpl.java new file mode 100644 index 000000000000..7252a28cb5ed --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlNotClauseImpl.java @@ -0,0 +1,26 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlClause; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlNotClause; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlNotClauseImpl extends JqlElementImpl implements JqlNotClause { + public JqlNotClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlNotClause(this); + } + + @Override + public JqlClause getSubClause() { + return findChildByClass(JqlClause.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrClauseImpl.java new file mode 100644 index 000000000000..a99ce98e1785 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrClauseImpl.java @@ -0,0 +1,20 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlOrClause; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlOrClauseImpl extends JqlBinaryClauseImpl implements JqlOrClause { + public JqlOrClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlOrClause(this); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrderByImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrderByImpl.java new file mode 100644 index 000000000000..11535ff68f3a --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlOrderByImpl.java @@ -0,0 +1,27 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlOrderBy; +import com.intellij.tasks.jira.jql.psi.JqlSortKey; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlOrderByImpl extends JqlElementImpl implements JqlOrderBy { + public JqlOrderByImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlOrderBy(this); + } + + @NotNull + @Override + public JqlSortKey[] getSortKeys() { + return findChildrenByClass(JqlSortKey.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlQueryImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlQueryImpl.java new file mode 100644 index 000000000000..c9ed11a745f1 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlQueryImpl.java @@ -0,0 +1,37 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlClause; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlSortKey; +import com.intellij.tasks.jira.jql.psi.JqlQuery; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlQueryImpl extends JqlElementImpl implements JqlQuery { + public JqlQueryImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlQuery(this); + } + + @Override + public JqlClause getClause() { + return findChildByClass(JqlClause.class); + } + + @Override + public boolean isOrdered() { + return getOrderKeys().length != 0; + } + + @Override + public JqlSortKey[] getOrderKeys() { + return findChildrenByClass(JqlSortKey.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSimpleClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSimpleClauseImpl.java new file mode 100644 index 000000000000..079f472d9204 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSimpleClauseImpl.java @@ -0,0 +1,47 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.psi.PsiElement; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.*; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +/** + * @author Mikhail Golubev + */ +public class JqlSimpleClauseImpl extends JqlTerminalClauseImpl implements JqlSimpleClause { + public JqlSimpleClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlSimpleClause(this); + } + + @NotNull + @Override + public Type getType() { + if (findChildByType(JqlTokenTypes.IN_KEYWORD) != null) { + return findChildByType(JqlTokenTypes.NOT_KEYWORD) != null ? Type.NOT_IN : Type.IN; + } + if (findChildByType(JqlTokenTypes.IS_KEYWORD) != null) { + return findChildByType(JqlTokenTypes.NOT_KEYWORD) != null ? Type.IS_NOT : Type.IS; + } + PsiElement opElem = findChildByType(JqlTokenTypes.SIGN_OPERATORS); + assert opElem != null; + Type type = Type.fromTokenType(opElem.getNode().getElementType()); + assert type != null; + return type; + } + + /** + * Operand can be missing in malformed query. + */ + @Nullable + @Override + public JqlOperand getOperand() { + return findChildByClass(JqlOperand.class); + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSortKeyImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSortKeyImpl.java new file mode 100644 index 000000000000..869d00d14be5 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlSortKeyImpl.java @@ -0,0 +1,36 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.psi.PsiElement; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlSortKey; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlSortKeyImpl extends JqlElementImpl implements JqlSortKey { + public JqlSortKeyImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlSortKey(this); + } + + @NotNull + @Override + public String getFieldName() { + PsiElement fieldNode = getFirstChild(); + assert fieldNode != null; + return unescape(fieldNode.getText()); + } + + @Override + public boolean isAscending() { + PsiElement order = findChildByType(JqlTokenTypes.SORT_ORDERS); + return order == null || order.getNode().getElementType() == JqlTokenTypes.ASC_KEYWORD; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlTerminalClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlTerminalClauseImpl.java new file mode 100644 index 000000000000..295167bcdc31 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlTerminalClauseImpl.java @@ -0,0 +1,29 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.psi.JqlIdentifier; +import com.intellij.tasks.jira.jql.psi.JqlTerminalClause; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public abstract class JqlTerminalClauseImpl extends JqlElementImpl implements JqlTerminalClause { + public JqlTerminalClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @NotNull + @Override + public String getFieldName() { + return getField().getText(); + } + + @NotNull + @Override + public JqlIdentifier getField() { + JqlIdentifier identifier = findChildByClass(JqlIdentifier.class); + assert identifier != null; + return identifier; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlWasClauseImpl.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlWasClauseImpl.java new file mode 100644 index 000000000000..46ef8c9ff7bf --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/jql/psi/impl/JqlWasClauseImpl.java @@ -0,0 +1,40 @@ +package com.intellij.tasks.jira.jql.psi.impl; + +import com.intellij.lang.ASTNode; +import com.intellij.tasks.jira.jql.JqlTokenTypes; +import com.intellij.tasks.jira.jql.psi.JqlElementVisitor; +import com.intellij.tasks.jira.jql.psi.JqlWasClause; +import org.jetbrains.annotations.NotNull; + +/** + * @author Mikhail Golubev + */ +public class JqlWasClauseImpl extends JqlClauseWithHistoryPredicatesImpl implements JqlWasClause { + public JqlWasClauseImpl(@NotNull ASTNode node) { + super(node); + } + + @Override + public void accept(JqlElementVisitor visitor) { + visitor.visitJqlWasClause(this); + } + + @NotNull + @Override + public Type getType() { + boolean hasNot = getNode().findChildByType(JqlTokenTypes.NOT_KEYWORD) != null; + boolean hasIn = getNode().findChildByType(JqlTokenTypes.IN_KEYWORD) != null; + if (hasIn && hasNot) { + return Type.WAS_NOT_IN; + } + else if (hasIn) { + return Type.WAS_IN; + } + else if (hasNot) { + return Type.WAS_NOT; + } + else { + return Type.WAS; + } + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraComment.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraComment.java new file mode 100644 index 000000000000..196c49d5b401 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraComment.java @@ -0,0 +1,59 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +import java.util.Date; + +/** + * @author Mikhail Golubev + */ +public class JiraComment { + private JiraUser author; + private JiraUser updateAuthor; + private Date update; + private Date created; + private String id; + private String self; + private String body; + + public JiraUser getAuthor() { + return author; + } + + public JiraUser getUpdateAuthor() { + return updateAuthor; + } + + public Date getUpdate() { + return update; + } + + public Date getCreated() { + return created; + } + + public String getId() { + return id; + } + + public String getSelf() { + return self; + } + + public String getBody() { + return body; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssue.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssue.java new file mode 100644 index 000000000000..5c7d03279826 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssue.java @@ -0,0 +1,126 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +import com.intellij.util.containers.ContainerUtil; +import org.jetbrains.annotations.NotNull; +import org.jetbrains.annotations.Nullable; + +import java.util.Date; +import java.util.List; + +/** + * @author Mikhail Golubev + */ +public class JiraIssue { + /** + * JIRA by default will return enormous amount of fields for every task. + * "fields" query parameter may be used for filtering however + */ + public static final String REQUIRED_RESPONSE_FIELDS = "id,key,summary,description," + + "created,updated,duedate,resolutiondate" + + "assignee,reporter,issuetype,comment"; + + private String id; + private String key; + private String self; + private Fields fields; + + @Override + public String toString() { + return String.format("JiraIssue(id=%s, summary=%s)", id, fields.summary); + } + + @NotNull + public String getId() { + return id; + } + + @NotNull + public String getKey() { + return key; + } + + @NotNull + public String getIssueUrl() { + return self; + } + + @NotNull + public String getSummary() { + return fields.summary; + } + + @NotNull + public String getDescription() { + return fields.description; + } + + @NotNull + public Date getCreated() { + return fields.created; + } + + @NotNull + public Date getUpdated() { + return fields.updated; + } + + @Nullable + public Date getResolutionDate() { + return fields.resolutiondate; + } + + @Nullable + public Date getDueDate() { + return fields.duedate; + } + + @NotNull + public JiraIssueType getIssueType() { + return fields.issuetype; + } + + @Nullable + public JiraUser getAssignee() { + return fields.assignee; + } + + @Nullable + public JiraUser getReporter() { + return fields.reporter; + } + + @NotNull + public List getComments() { + return fields.comment == null ? ContainerUtil.emptyList() : fields.comment.getComments(); + } + + public static class Fields { + private String summary; + private String description; + private Date created; + private Date updated; + private Date resolutiondate; + private Date duedate; + private JiraResponseWrapper.Comments comment; + + private JiraUser assignee; + private JiraUser reporter; + + private JiraIssueType issuetype; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssueType.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssueType.java new file mode 100644 index 000000000000..9bf12da6156a --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraIssueType.java @@ -0,0 +1,58 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +/** + * @author Mikhail Golubev + */ +public class JiraIssueType { + + private String id; + private String self; + private String name; + private String description; + private String iconUrl; + private boolean subtask; + + @Override + public String toString() { + return String.format("JiraIssueType(name=%s)", name); + } + + public String getId() { + return id; + } + + public String getIssueTypeUrl() { + return self; + } + + public String getName() { + return name; + } + + public String getDescription() { + return description; + } + + public String getIconUrl() { + return iconUrl; + } + + public boolean isSubtask() { + return subtask; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraResponseWrapper.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraResponseWrapper.java new file mode 100644 index 000000000000..ab308c203a94 --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraResponseWrapper.java @@ -0,0 +1,63 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +import com.intellij.util.containers.ContainerUtil; +import org.jetbrains.annotations.NotNull; + +import java.util.List; + +/** + * Auxiliary wrapper object for JIRA tracker responses. + * + * @author Mikhail Golubev + */ +public abstract class JiraResponseWrapper { + + private int startAt; + private int maxResults; + private int total; + + public int getStartAt() { + return startAt; + } + + public int getMaxResults() { + return maxResults; + } + + public int getTotal() { + return total; + } + + public static class Issues extends JiraResponseWrapper { + private List issues = ContainerUtil.emptyList(); + + @NotNull + public List getIssues() { + return issues; + } + } + + public static class Comments extends JiraResponseWrapper { + private List comments = ContainerUtil.emptyList(); + + @NotNull + public List getComments() { + return comments; + } + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraStatus.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraStatus.java new file mode 100644 index 000000000000..e36dc196c1cd --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraStatus.java @@ -0,0 +1,47 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +/** + * @author Mikhail Golubev + */ +public class JiraStatus { + private String id; + private String self; + private String name; + private String description; + + @Override + public String toString() { + return String.format("JiraStatus(name=%s)", name); + } + + public String getId() { + return id; + } + + public String getSelf() { + return self; + } + + public String getName() { + return name; + } + + public String getDescription() { + return description; + } +} diff --git a/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraUser.java b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraUser.java new file mode 100644 index 000000000000..4122ae9622ce --- /dev/null +++ b/plugins/tasks/tasks-core/src/com/intellij/tasks/jira/model/JiraUser.java @@ -0,0 +1,51 @@ +/* + * Copyright 2000-2013 JetBrains s.r.o. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package com.intellij.tasks.jira.model; + +/** + * @author Mikhail Golubev + */ +public class JiraUser { + private String emailAddress; + private boolean active; + private String name, displayName; + private String self; + + @Override + public String toString() { + return String.format("JiraUser(name=%s)", name); + } + + public String getEmailAddress() { + return emailAddress; + } + + public boolean isActive() { + return active; + } + + public String getName() { + return name; + } + + public String getDisplayName() { + return displayName; + } + + public String getUserUrl() { + return self; + } +} diff --git a/plugins/tasks/tasks-core/src/icons/TasksIcons.java b/plugins/tasks/tasks-core/src/icons/TasksIcons.java index 11e0a85b3aed..b089872da7fc 100644 --- a/plugins/tasks/tasks-core/src/icons/TasksIcons.java +++ b/plugins/tasks/tasks-core/src/icons/TasksIcons.java @@ -41,4 +41,5 @@ public class TasksIcons { public static final Icon Unknown = load("/icons/unknown.png"); // 16x16 public static final Icon Youtrack = load("/icons/youtrack.png"); // 16x16 public static final Icon Trello = load("/icons/trello.png"); // 16x16 + public static final Icon JIRA = load("/icons/jira.png"); // 16x16 } diff --git a/plugins/tasks/tasks-core/src/icons/jira.png b/plugins/tasks/tasks-core/src/icons/jira.png new file mode 100644 index 0000000000000000000000000000000000000000..b0d8793b1251458c538ea3923c213db3fc6ec9b8 GIT binary patch literal 814 zcmV+}1JV46P)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2i*q& z3m_A9hm^Sh00OQ_L_t(I%Vm>WNK|nU#((FWU0qBqvzt^JWnz|TqGf7#ixM=tKvWW0 zNKq6?1Qk&f-3WvtFi1_X@}Y?C+Jlj(-IjU?CEKuQDU+qOTC>zWXV3JYyR15o^PlgV zZ|0jn5)`Isif;JCFnl5+Qg3gQ)0K}!H+%zcx*?`%21CR`Q1tfel-+JX(^N{f2L`&8U(X7Rk40Rj<08I+Fe=O0WFJ~~}^b%W&@iC8UKpi^sm2M(u;^rSdcRUsyN zG!~17I=}=CZyansTF%=xCpoF{bh+E<9-@pg} znx-;tOgK$;2Td>E6BQZ8lC%VNoxMSy*P!B9AwRqSvi(FAhTFs1B`MfKtpKPZ0zgW_ z6xQaZf#Kuu<-2H_%CVh!Y+R8>c4|C_F5SWC{zq~~BALn4Q3v-%uq6*0-%0fH5+S)r zQa7IxPfxG(dv)1%yh@l;B%~Ef*{x?oY*)lDVK7c!eZ-k-wdlS5`dQ#+Ut6)~h%^>c`f<#(G|y>JfO3$nm#;OXh5`td8wVc-!20AIel zDZAZ3@tN!7FPh8Jtl9Yf_4Cx;M*Zuyzy*#V@F(l-ALw*@=yJM(=_ z)9}_YMCphf0JOAs(EYuOm>Dso&x#{{>I8DG<<}->|~-N!-yPo28i;0~y7G+rde}N=q4`EKH&j0`b07*qoM6N<$f&(aWO8@`> literal 0 HcmV?d00001 diff --git a/plugins/tasks/tasks-core/tasks-core.iml b/plugins/tasks/tasks-core/tasks-core.iml index 393ea6f61058..707b452077d5 100644 --- a/plugins/tasks/tasks-core/tasks-core.iml +++ b/plugins/tasks/tasks-core/tasks-core.iml @@ -29,9 +29,19 @@ + + + + + + + + + + diff --git a/plugins/tasks/tasks-tests/tasks-tests.iml b/plugins/tasks/tasks-tests/tasks-tests.iml index 50b9abc289e7..deeddccdb91f 100644 --- a/plugins/tasks/tasks-tests/tasks-tests.iml +++ b/plugins/tasks/tasks-tests/tasks-tests.iml @@ -10,7 +10,6 @@ - diff --git a/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/CompletionTest.java b/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/CompletionTest.java new file mode 100644 index 000000000000..bf56b703e7f9 --- /dev/null +++ b/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/CompletionTest.java @@ -0,0 +1,141 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.tasks.jira.jql.codeinsight.JqlFieldType; +import com.intellij.tasks.jira.jql.codeinsight.JqlStandardField; +import com.intellij.tasks.jira.jql.codeinsight.JqlStandardFunction; +import com.intellij.testFramework.IdeaTestCase; +import com.intellij.testFramework.fixtures.CodeInsightFixtureTestCase; +import com.intellij.util.ArrayUtil; +import com.intellij.util.Function; +import com.intellij.util.containers.ContainerUtil; + +import java.util.ArrayList; +import java.util.Collection; +import java.util.List; + +/** + * @author Mikhail Golubev + */ +public class CompletionTest extends CodeInsightFixtureTestCase { + + @Override + public void setUp() throws Exception { + IdeaTestCase.initPlatformPrefix(); + super.setUp(); + } + + @Override + protected String getBasePath() { + return "/plugins/tasks/tasks-tests/testData/jira/jql/completion"; + } + + private String getTestFilePath() { + return getTestName(false) + ".jql"; + } + + @Override + protected boolean isCommunity() { + return true; + } + + private void checkCompletionVariants(List initial, String... others) { + List variants = new ArrayList(initial); + ContainerUtil.addAll(variants, others); + myFixture.testCompletionVariants(getTestFilePath(), ArrayUtil.toStringArray(variants)); + } + + private void checkCompletionVariants(String... variants) { + checkCompletionVariants(ContainerUtil.emptyList(), variants); + } + + private static List parenthesize(Collection names) { + return ContainerUtil.map2List(names, new Function() { + @Override + public String fun(String s) { + return s + "()"; + } + }); + } + + private static final List PARENTHESIZED_FUNCTION_NAMES = parenthesize(JqlStandardFunction.ALL_FUNCTION_NAMES); + + public void testBeginningOfLine() throws Exception { + checkCompletionVariants(JqlStandardField.ALL_FIELDS_NAMES, "not"); + } + + public void testAfterClause() throws Exception { + checkCompletionVariants("and", "or", "order by"); + } + + public void testAfterFieldNameInClause() throws Exception { + checkCompletionVariants("was", "changed", "not", "is", "in"); + } + + public void testAfterFieldNameInSortKey() throws Exception { + checkCompletionVariants("asc", "desc"); + } + + public void testAfterIsKeyword() throws Exception { + checkCompletionVariants("empty", "null", "not"); + } + + public void testAfterIsNotKeywords() throws Exception { + checkCompletionVariants("empty", "null"); + } + + public void testAfterNotKeywordInTerminalClause() throws Exception { + checkCompletionVariants("in"); + } + + public void testAfterChangedKeyword() throws Exception { + checkCompletionVariants("and", "or", "order by", + "on", "by", "during", "after", "before", "to", "from"); + } + + public void testAfterWasClause() throws Exception { + checkCompletionVariants("and", "or", "order by", + "on", "by", "during", "after", "before", "to", "from"); + } + + public void testFunctionType1() throws Exception { + checkCompletionVariants("membersOf()"); + } + + public void testFunctionType2() throws Exception { + checkCompletionVariants("currentUser()"); + } + + public void testFunctionType3() throws Exception { + checkCompletionVariants("currentUser()"); + } + + public void testFunctionType4() throws Exception { + checkCompletionVariants(parenthesize(JqlStandardFunction.allOfType(JqlFieldType.DATE, false))); + } + + public void testFunctionType5() throws Exception { + checkCompletionVariants(parenthesize(JqlStandardFunction.allOfType(JqlFieldType.DATE, false))); + } + + /** + * "not |" -> "not not |", "not field |" + */ + public void testAfterNotKeywordInNotClause() throws Exception { + checkCompletionVariants(JqlStandardField.ALL_FIELDS_NAMES, "not"); + } + + public void testAfterOrderKeyword() throws Exception { + checkCompletionVariants("by"); + } + + /** + * "foo was |" -> "foo was func()", "foo was not |", "foo was in |" + */ + public void testAfterWasKeyword() throws Exception { + checkCompletionVariants(PARENTHESIZED_FUNCTION_NAMES, "not", "in"); + } + + public void testInList() throws Exception { + checkCompletionVariants(PARENTHESIZED_FUNCTION_NAMES); + } +} diff --git a/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/ParsingTest.java b/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/ParsingTest.java new file mode 100644 index 000000000000..485addd2e800 --- /dev/null +++ b/plugins/tasks/tasks-tests/test/com/intellij/tasks/jira/jql/ParsingTest.java @@ -0,0 +1,86 @@ +package com.intellij.tasks.jira.jql; + +import com.intellij.openapi.diagnostic.Logger; +import com.intellij.testFramework.ParsingTestCase; +import com.intellij.testFramework.PlatformTestUtil; + +import java.io.File; + + +/** + * @author Mikhail Golubev + */ +public class ParsingTest extends ParsingTestCase { + private static final Logger LOG = Logger.getInstance("#com.intellij.tasks.generic.ParsingTest"); + + public ParsingTest() { + super("psi", "jql", new JqlParserDefinition()); + } + + public void testIdentifiersParsing() throws Exception { + doCodeTest("5b changed and 12 changed and foo\\ \\n\\t\\'\\\"\\\\bar changed and 'baz' changed and \"quux\" changed"); + } + + public void testOrOperators() throws Exception { + doCodeTest("a = 42 or b > 42 || c < 42 | d != 42"); + } + + public void testAndOperators() throws Exception { + doCodeTest("a = 42 and b > 42 && c < 42 & d != 42"); + } + + public void testNotOperators() throws Exception { + doCodeTest("not a = 42 and ! b > 42"); + } + + public void testListParsing() throws Exception { + doCodeTest("field in (1, \"2\", func1(), (3, func2()))"); + } + + public void testSimpleComparisons() throws Exception { + doCodeTest("a1 < 42 or a2 <= 42 and " + + "b1 > 42 or b2 >= 42 and " + + "c1 ~ \"ham\" or c1 !~ 'spam' and " + + "d1 = 'green' or d2 != \"green\""); + } + + public void testIsClause() throws Exception { + doCodeTest("a1 is empty or a2 is null or a3 is not empty or a4 is not null"); + } + + public void testSubclauses() throws Exception { + doCodeTest("(a = foo or (b > 12 and ((c < 40)))) and d ~ 'foo'"); + } + + public void testWasClause() throws Exception { + doCodeTest("status was in (open, 'closed', \"resolved\") during (\"-3d\", -1d) by Mark"); + } + + public void testChangedClause() throws Exception { + doCodeTest("status changed from reported to resolved by Bob on '2012-11-15'"); + } + + public void testOrderByStatement() throws Exception { + doCodeTest("assignee = John order by duedate desc, reported, votes asc"); + } + + public void testEmptyQuery() throws Exception { + doCodeTest(""); + } + + @Override + protected boolean includeRanges() { + return true; + } + + @Override + protected boolean skipSpaces() { + return false; + } + + @Override + protected String getTestDataPath() { + // trailing slash will be inserted in superclass constructor + return PlatformTestUtil.getCommunityPath().replace(File.separatorChar, '/') + "/plugins/tasks/tasks-tests/testData/jira/jql"; + } +} diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterChangedKeyword.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterChangedKeyword.jql new file mode 100644 index 000000000000..966a85250975 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterChangedKeyword.jql @@ -0,0 +1 @@ +foo changed \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterClause.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterClause.jql new file mode 100644 index 000000000000..e0bfc47ee3dd --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterClause.jql @@ -0,0 +1 @@ +foo = bar \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInClause.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInClause.jql new file mode 100644 index 000000000000..75434edf0629 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInClause.jql @@ -0,0 +1 @@ +foo \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInSortKey.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInSortKey.jql new file mode 100644 index 000000000000..a36c574d883c --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterFieldNameInSortKey.jql @@ -0,0 +1 @@ +foo < bar order by baz \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsKeyword.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsKeyword.jql new file mode 100644 index 000000000000..7e3ffb738d2f --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsKeyword.jql @@ -0,0 +1 @@ +foo is \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsNotKeywords.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsNotKeywords.jql new file mode 100644 index 000000000000..658944e417de --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterIsNotKeywords.jql @@ -0,0 +1 @@ +foo is not \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInNotClause.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInNotClause.jql new file mode 100644 index 000000000000..abebddcf9dd2 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInNotClause.jql @@ -0,0 +1 @@ +not \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInTerminalClause.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInTerminalClause.jql new file mode 100644 index 000000000000..1477ae4d879b --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterNotKeywordInTerminalClause.jql @@ -0,0 +1 @@ +foo not \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterOrderKeyword.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterOrderKeyword.jql new file mode 100644 index 000000000000..6f43c33a71f3 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterOrderKeyword.jql @@ -0,0 +1 @@ +foo != bar order \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasClause.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasClause.jql new file mode 100644 index 000000000000..6cc903d0942b --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasClause.jql @@ -0,0 +1 @@ +foo was not in (1, 2) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasKeyword.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasKeyword.jql new file mode 100644 index 000000000000..5616a79ccfae --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/AfterWasKeyword.jql @@ -0,0 +1 @@ +foo was \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/BeginningOfLine.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/BeginningOfLine.jql new file mode 100644 index 000000000000..81389d508410 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/BeginningOfLine.jql @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType1.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType1.jql new file mode 100644 index 000000000000..30c16545c132 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType1.jql @@ -0,0 +1 @@ +assignee not in \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType2.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType2.jql new file mode 100644 index 000000000000..e169a46d5088 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType2.jql @@ -0,0 +1 @@ +assignee = \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType3.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType3.jql new file mode 100644 index 000000000000..6217dd4ecb2e --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType3.jql @@ -0,0 +1 @@ +status was in (closed, 'in progress') by \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType4.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType4.jql new file mode 100644 index 000000000000..ba0cc6d6bf56 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType4.jql @@ -0,0 +1 @@ +status was in (closed, 'in progress') on \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType5.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType5.jql new file mode 100644 index 000000000000..ab8697224d7f --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/FunctionType5.jql @@ -0,0 +1 @@ +assignee was "John Smith" during ( \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/completion/InList.jql b/plugins/tasks/tasks-tests/testData/jira/jql/completion/InList.jql new file mode 100644 index 000000000000..616562f3562a --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/completion/InList.jql @@ -0,0 +1 @@ +foo in (bar, \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/AndOperators.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/AndOperators.txt new file mode 100644 index 000000000000..985b1fd3f986 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/AndOperators.txt @@ -0,0 +1,46 @@ +FILE(0,37) + JqlQuery(a = 42 and b > 42 && c < 42 & d != 42)(0,37) + JqlAndClause(a = 42 and b > 42 && c < 42 & d != 42)(0,37) + JqlAndClause(a = 42 and b > 42 && c < 42)(0,27) + JqlAndClause(a = 42 and b > 42)(0,17) + JqlSimpleClause(a = 42)(0,6) + JqlIdentifier(a)(0,1) + PsiElement(JQL: STRING_LITERAL)('a')(0,1) + PsiWhiteSpace(' ')(1,2) + PsiElement(JQL: EQ)('=')(2,3) + PsiWhiteSpace(' ')(3,4) + JqlLiteral(42)(4,6) + PsiElement(JQL: NUMBER_LITERAL)('42')(4,6) + PsiWhiteSpace(' ')(6,7) + PsiElement(JQL: AND_KEYWORD)('and')(7,10) + PsiWhiteSpace(' ')(10,11) + JqlSimpleClause(b > 42)(11,17) + JqlIdentifier(b)(11,12) + PsiElement(JQL: STRING_LITERAL)('b')(11,12) + PsiWhiteSpace(' ')(12,13) + PsiElement(JQL: GT)('>')(13,14) + PsiWhiteSpace(' ')(14,15) + JqlLiteral(42)(15,17) + PsiElement(JQL: NUMBER_LITERAL)('42')(15,17) + PsiWhiteSpace(' ')(17,18) + PsiElement(JQL: AMP_AMP)('&&')(18,20) + PsiWhiteSpace(' ')(20,21) + JqlSimpleClause(c < 42)(21,27) + JqlIdentifier(c)(21,22) + PsiElement(JQL: STRING_LITERAL)('c')(21,22) + PsiWhiteSpace(' ')(22,23) + PsiElement(JQL: LT)('<')(23,24) + PsiWhiteSpace(' ')(24,25) + JqlLiteral(42)(25,27) + PsiElement(JQL: NUMBER_LITERAL)('42')(25,27) + PsiWhiteSpace(' ')(27,28) + PsiElement(JQL: AMP)('&')(28,29) + PsiWhiteSpace(' ')(29,30) + JqlSimpleClause(d != 42)(30,37) + JqlIdentifier(d)(30,31) + PsiElement(JQL: STRING_LITERAL)('d')(30,31) + PsiWhiteSpace(' ')(31,32) + PsiElement(JQL: NE)('!=')(32,34) + PsiWhiteSpace(' ')(34,35) + JqlLiteral(42)(35,37) + PsiElement(JQL: NUMBER_LITERAL)('42')(35,37) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/ChangedClause.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/ChangedClause.txt new file mode 100644 index 000000000000..f64cee339767 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/ChangedClause.txt @@ -0,0 +1,31 @@ +FILE(0,63) + JqlQuery(status changed from reported to resolved by Bob on '2012-11-15')(0,63) + JqlChangedClause(status changed from reported to resolved by Bob on '2012-11-15')(0,63) + JqlIdentifier(status)(0,6) + PsiElement(JQL: STRING_LITERAL)('status')(0,6) + PsiWhiteSpace(' ')(6,7) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(7,14) + PsiWhiteSpace(' ')(14,15) + JqlHistoryPredicate(from reported)(15,28) + PsiElement(JQL: FROM_KEYWORD)('from')(15,19) + PsiWhiteSpace(' ')(19,20) + JqlLiteral(reported)(20,28) + PsiElement(JQL: STRING_LITERAL)('reported')(20,28) + PsiWhiteSpace(' ')(28,29) + JqlHistoryPredicate(to resolved)(29,40) + PsiElement(JQL: TO_KEYWORD)('to')(29,31) + PsiWhiteSpace(' ')(31,32) + JqlLiteral(resolved)(32,40) + PsiElement(JQL: STRING_LITERAL)('resolved')(32,40) + PsiWhiteSpace(' ')(40,41) + JqlHistoryPredicate(by Bob)(41,47) + PsiElement(JQL: BY_KEYWORD)('by')(41,43) + PsiWhiteSpace(' ')(43,44) + JqlLiteral(Bob)(44,47) + PsiElement(JQL: STRING_LITERAL)('Bob')(44,47) + PsiWhiteSpace(' ')(47,48) + JqlHistoryPredicate(on '2012-11-15')(48,63) + PsiElement(JQL: ON_KEYWORD)('on')(48,50) + PsiWhiteSpace(' ')(50,51) + JqlLiteral('2012-11-15')(51,63) + PsiElement(JQL: STRING_LITERAL)(''2012-11-15'')(51,63) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/EmptyQuery.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/EmptyQuery.txt new file mode 100644 index 000000000000..8563fb0eaece --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/EmptyQuery.txt @@ -0,0 +1,2 @@ +FILE(0,0) + \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/IdentifiersParsing.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/IdentifiersParsing.txt new file mode 100644 index 000000000000..73eb8b69894c --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/IdentifiersParsing.txt @@ -0,0 +1,43 @@ +FILE(0,93) + JqlQuery(5b changed and 12 changed and foo\ \n\t\'\"\\bar changed and 'baz' changed and "quux" changed)(0,93) + JqlAndClause(5b changed and 12 changed and foo\ \n\t\'\"\\bar changed and 'baz' changed and "quux" changed)(0,93) + JqlAndClause(5b changed and 12 changed and foo\ \n\t\'\"\\bar changed and 'baz' changed)(0,74) + JqlAndClause(5b changed and 12 changed and foo\ \n\t\'\"\\bar changed)(0,56) + JqlAndClause(5b changed and 12 changed)(0,25) + JqlChangedClause(5b changed)(0,10) + JqlIdentifier(5b)(0,2) + PsiElement(JQL: STRING_LITERAL)('5b')(0,2) + PsiWhiteSpace(' ')(2,3) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(3,10) + PsiWhiteSpace(' ')(10,11) + PsiElement(JQL: AND_KEYWORD)('and')(11,14) + PsiWhiteSpace(' ')(14,15) + JqlChangedClause(12 changed)(15,25) + JqlIdentifier(12)(15,17) + PsiElement(JQL: NUMBER_LITERAL)('12')(15,17) + PsiWhiteSpace(' ')(17,18) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(18,25) + PsiWhiteSpace(' ')(25,26) + PsiElement(JQL: AND_KEYWORD)('and')(26,29) + PsiWhiteSpace(' ')(29,30) + JqlChangedClause(foo\ \n\t\'\"\\bar changed)(30,56) + JqlIdentifier(foo\ \n\t\'\"\\bar)(30,48) + PsiElement(JQL: STRING_LITERAL)('foo\ \n\t\'\"\\bar')(30,48) + PsiWhiteSpace(' ')(48,49) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(49,56) + PsiWhiteSpace(' ')(56,57) + PsiElement(JQL: AND_KEYWORD)('and')(57,60) + PsiWhiteSpace(' ')(60,61) + JqlChangedClause('baz' changed)(61,74) + JqlIdentifier('baz')(61,66) + PsiElement(JQL: STRING_LITERAL)(''baz'')(61,66) + PsiWhiteSpace(' ')(66,67) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(67,74) + PsiWhiteSpace(' ')(74,75) + PsiElement(JQL: AND_KEYWORD)('and')(75,78) + PsiWhiteSpace(' ')(78,79) + JqlChangedClause("quux" changed)(79,93) + JqlIdentifier("quux")(79,85) + PsiElement(JQL: STRING_LITERAL)('"quux"')(79,85) + PsiWhiteSpace(' ')(85,86) + PsiElement(JQL: CHANGED_KEYWORD)('changed')(86,93) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/IsClause.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/IsClause.txt new file mode 100644 index 000000000000..d70d053298b0 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/IsClause.txt @@ -0,0 +1,50 @@ +FILE(0,62) + JqlQuery(a1 is empty or a2 is null or a3 is not empty or a4 is not null)(0,62) + JqlOrClause(a1 is empty or a2 is null or a3 is not empty or a4 is not null)(0,62) + JqlOrClause(a1 is empty or a2 is null or a3 is not empty)(0,44) + JqlOrClause(a1 is empty or a2 is null)(0,25) + JqlSimpleClause(a1 is empty)(0,11) + JqlIdentifier(a1)(0,2) + PsiElement(JQL: STRING_LITERAL)('a1')(0,2) + PsiWhiteSpace(' ')(2,3) + PsiElement(JQL: IS_KEYWORD)('is')(3,5) + PsiWhiteSpace(' ')(5,6) + JqlEmptyValue(empty)(6,11) + PsiElement(JQL: EMPTY_KEYWORD)('empty')(6,11) + PsiWhiteSpace(' ')(11,12) + PsiElement(JQL: OR_KEYWORD)('or')(12,14) + PsiWhiteSpace(' ')(14,15) + JqlSimpleClause(a2 is null)(15,25) + JqlIdentifier(a2)(15,17) + PsiElement(JQL: STRING_LITERAL)('a2')(15,17) + PsiWhiteSpace(' ')(17,18) + PsiElement(JQL: IS_KEYWORD)('is')(18,20) + PsiWhiteSpace(' ')(20,21) + JqlEmptyValue(null)(21,25) + PsiElement(JQL: NULL_KEYWORD)('null')(21,25) + PsiWhiteSpace(' ')(25,26) + PsiElement(JQL: OR_KEYWORD)('or')(26,28) + PsiWhiteSpace(' ')(28,29) + JqlSimpleClause(a3 is not empty)(29,44) + JqlIdentifier(a3)(29,31) + PsiElement(JQL: STRING_LITERAL)('a3')(29,31) + PsiWhiteSpace(' ')(31,32) + PsiElement(JQL: IS_KEYWORD)('is')(32,34) + PsiWhiteSpace(' ')(34,35) + PsiElement(JQL: NOT_KEYWORD)('not')(35,38) + PsiWhiteSpace(' ')(38,39) + JqlEmptyValue(empty)(39,44) + PsiElement(JQL: EMPTY_KEYWORD)('empty')(39,44) + PsiWhiteSpace(' ')(44,45) + PsiElement(JQL: OR_KEYWORD)('or')(45,47) + PsiWhiteSpace(' ')(47,48) + JqlSimpleClause(a4 is not null)(48,62) + JqlIdentifier(a4)(48,50) + PsiElement(JQL: STRING_LITERAL)('a4')(48,50) + PsiWhiteSpace(' ')(50,51) + PsiElement(JQL: IS_KEYWORD)('is')(51,53) + PsiWhiteSpace(' ')(53,54) + PsiElement(JQL: NOT_KEYWORD)('not')(54,57) + PsiWhiteSpace(' ')(57,58) + JqlEmptyValue(null)(58,62) + PsiElement(JQL: NULL_KEYWORD)('null')(58,62) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/ListParsing.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/ListParsing.txt new file mode 100644 index 000000000000..2ccfe11e942e --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/ListParsing.txt @@ -0,0 +1,40 @@ +FILE(0,40) + JqlQuery(field in (1, "2", func1(), (3, func2())))(0,40) + JqlSimpleClause(field in (1, "2", func1(), (3, func2())))(0,40) + JqlIdentifier(field)(0,5) + PsiElement(JQL: STRING_LITERAL)('field')(0,5) + PsiWhiteSpace(' ')(5,6) + PsiElement(JQL: IN_KEYWORD)('in')(6,8) + PsiWhiteSpace(' ')(8,9) + JqlList((1, "2", func1(), (3, func2())))(9,40) + PsiElement(JQL: LPAR)('(')(9,10) + JqlLiteral(1)(10,11) + PsiElement(JQL: NUMBER_LITERAL)('1')(10,11) + PsiElement(JQL: COMMA)(',')(11,12) + PsiWhiteSpace(' ')(12,13) + JqlLiteral("2")(13,16) + PsiElement(JQL: STRING_LITERAL)('"2"')(13,16) + PsiElement(JQL: COMMA)(',')(16,17) + PsiWhiteSpace(' ')(17,18) + JqlFunctionCall(func1())(18,25) + JqlIdentifier(func1)(18,23) + PsiElement(JQL: STRING_LITERAL)('func1')(18,23) + JqlArgumentList(())(23,25) + PsiElement(JQL: LPAR)('(')(23,24) + PsiElement(JQL: RPAR)(')')(24,25) + PsiElement(JQL: COMMA)(',')(25,26) + PsiWhiteSpace(' ')(26,27) + JqlList((3, func2()))(27,39) + PsiElement(JQL: LPAR)('(')(27,28) + JqlLiteral(3)(28,29) + PsiElement(JQL: NUMBER_LITERAL)('3')(28,29) + PsiElement(JQL: COMMA)(',')(29,30) + PsiWhiteSpace(' ')(30,31) + JqlFunctionCall(func2())(31,38) + JqlIdentifier(func2)(31,36) + PsiElement(JQL: STRING_LITERAL)('func2')(31,36) + JqlArgumentList(())(36,38) + PsiElement(JQL: LPAR)('(')(36,37) + PsiElement(JQL: RPAR)(')')(37,38) + PsiElement(JQL: RPAR)(')')(38,39) + PsiElement(JQL: RPAR)(')')(39,40) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/NotOperators.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/NotOperators.txt new file mode 100644 index 000000000000..a681c77fd49e --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/NotOperators.txt @@ -0,0 +1,28 @@ +FILE(0,23) + JqlQuery(not a = 42 and ! b > 42)(0,23) + JqlAndClause(not a = 42 and ! b > 42)(0,23) + JqlNotClause(not a = 42)(0,10) + PsiElement(JQL: NOT_KEYWORD)('not')(0,3) + PsiWhiteSpace(' ')(3,4) + JqlSimpleClause(a = 42)(4,10) + JqlIdentifier(a)(4,5) + PsiElement(JQL: STRING_LITERAL)('a')(4,5) + PsiWhiteSpace(' ')(5,6) + PsiElement(JQL: EQ)('=')(6,7) + PsiWhiteSpace(' ')(7,8) + JqlLiteral(42)(8,10) + PsiElement(JQL: NUMBER_LITERAL)('42')(8,10) + PsiWhiteSpace(' ')(10,11) + PsiElement(JQL: AND_KEYWORD)('and')(11,14) + PsiWhiteSpace(' ')(14,15) + JqlNotClause(! b > 42)(15,23) + PsiElement(JQL: BANG)('!')(15,16) + PsiWhiteSpace(' ')(16,17) + JqlSimpleClause(b > 42)(17,23) + JqlIdentifier(b)(17,18) + PsiElement(JQL: STRING_LITERAL)('b')(17,18) + PsiWhiteSpace(' ')(18,19) + PsiElement(JQL: GT)('>')(19,20) + PsiWhiteSpace(' ')(20,21) + JqlLiteral(42)(21,23) + PsiElement(JQL: NUMBER_LITERAL)('42')(21,23) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrOperators.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrOperators.txt new file mode 100644 index 000000000000..cbac96b48f39 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrOperators.txt @@ -0,0 +1,46 @@ +FILE(0,36) + JqlQuery(a = 42 or b > 42 || c < 42 | d != 42)(0,36) + JqlOrClause(a = 42 or b > 42 || c < 42 | d != 42)(0,36) + JqlOrClause(a = 42 or b > 42 || c < 42)(0,26) + JqlOrClause(a = 42 or b > 42)(0,16) + JqlSimpleClause(a = 42)(0,6) + JqlIdentifier(a)(0,1) + PsiElement(JQL: STRING_LITERAL)('a')(0,1) + PsiWhiteSpace(' ')(1,2) + PsiElement(JQL: EQ)('=')(2,3) + PsiWhiteSpace(' ')(3,4) + JqlLiteral(42)(4,6) + PsiElement(JQL: NUMBER_LITERAL)('42')(4,6) + PsiWhiteSpace(' ')(6,7) + PsiElement(JQL: OR_KEYWORD)('or')(7,9) + PsiWhiteSpace(' ')(9,10) + JqlSimpleClause(b > 42)(10,16) + JqlIdentifier(b)(10,11) + PsiElement(JQL: STRING_LITERAL)('b')(10,11) + PsiWhiteSpace(' ')(11,12) + PsiElement(JQL: GT)('>')(12,13) + PsiWhiteSpace(' ')(13,14) + JqlLiteral(42)(14,16) + PsiElement(JQL: NUMBER_LITERAL)('42')(14,16) + PsiWhiteSpace(' ')(16,17) + PsiElement(JQL: PIPE_PIPE)('||')(17,19) + PsiWhiteSpace(' ')(19,20) + JqlSimpleClause(c < 42)(20,26) + JqlIdentifier(c)(20,21) + PsiElement(JQL: STRING_LITERAL)('c')(20,21) + PsiWhiteSpace(' ')(21,22) + PsiElement(JQL: LT)('<')(22,23) + PsiWhiteSpace(' ')(23,24) + JqlLiteral(42)(24,26) + PsiElement(JQL: NUMBER_LITERAL)('42')(24,26) + PsiWhiteSpace(' ')(26,27) + PsiElement(JQL: PIPE)('|')(27,28) + PsiWhiteSpace(' ')(28,29) + JqlSimpleClause(d != 42)(29,36) + JqlIdentifier(d)(29,30) + PsiElement(JQL: STRING_LITERAL)('d')(29,30) + PsiWhiteSpace(' ')(30,31) + PsiElement(JQL: NE)('!=')(31,33) + PsiWhiteSpace(' ')(33,34) + JqlLiteral(42)(34,36) + PsiElement(JQL: NUMBER_LITERAL)('42')(34,36) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrderByStatement.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrderByStatement.txt new file mode 100644 index 000000000000..80396f18cd81 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/OrderByStatement.txt @@ -0,0 +1,33 @@ +FILE(0,58) + JqlQuery(assignee = John order by duedate desc, reported, votes asc)(0,58) + JqlSimpleClause(assignee = John)(0,15) + JqlIdentifier(assignee)(0,8) + PsiElement(JQL: STRING_LITERAL)('assignee')(0,8) + PsiWhiteSpace(' ')(8,9) + PsiElement(JQL: EQ)('=')(9,10) + PsiWhiteSpace(' ')(10,11) + JqlLiteral(John)(11,15) + PsiElement(JQL: STRING_LITERAL)('John')(11,15) + PsiWhiteSpace(' ')(15,16) + JqlOrderBy(order by duedate desc, reported, votes asc)(16,58) + PsiElement(JQL: ORDER_KEYWORD)('order')(16,21) + PsiWhiteSpace(' ')(21,22) + PsiElement(JQL: BY_KEYWORD)('by')(22,24) + PsiWhiteSpace(' ')(24,25) + JqlSortKey(duedate desc)(25,37) + JqlIdentifier(duedate)(25,32) + PsiElement(JQL: STRING_LITERAL)('duedate')(25,32) + PsiWhiteSpace(' ')(32,33) + PsiElement(JQL: DESC_KEYWORD)('desc')(33,37) + PsiElement(JQL: COMMA)(',')(37,38) + PsiWhiteSpace(' ')(38,39) + JqlSortKey(reported)(39,47) + JqlIdentifier(reported)(39,47) + PsiElement(JQL: STRING_LITERAL)('reported')(39,47) + PsiElement(JQL: COMMA)(',')(47,48) + PsiWhiteSpace(' ')(48,49) + JqlSortKey(votes asc)(49,58) + JqlIdentifier(votes)(49,54) + PsiElement(JQL: STRING_LITERAL)('votes')(49,54) + PsiWhiteSpace(' ')(54,55) + PsiElement(JQL: ASC_KEYWORD)('asc')(55,58) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/SimpleComparisons.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/SimpleComparisons.txt new file mode 100644 index 000000000000..ce9f5e5dc4b9 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/SimpleComparisons.txt @@ -0,0 +1,94 @@ +FILE(0,108) + JqlQuery(a1 < 42 or a2 <= 42 and b1 > 42 or b2 >= 42 and c1 ~ "ham" or c1 !~ 'spam' and d1 = 'green' or d2 != "green")(0,108) + JqlOrClause(a1 < 42 or a2 <= 42 and b1 > 42 or b2 >= 42 and c1 ~ "ham" or c1 !~ 'spam' and d1 = 'green' or d2 != "green")(0,108) + JqlOrClause(a1 < 42 or a2 <= 42 and b1 > 42 or b2 >= 42 and c1 ~ "ham" or c1 !~ 'spam' and d1 = 'green')(0,91) + JqlOrClause(a1 < 42 or a2 <= 42 and b1 > 42 or b2 >= 42 and c1 ~ "ham")(0,58) + JqlOrClause(a1 < 42 or a2 <= 42 and b1 > 42)(0,31) + JqlSimpleClause(a1 < 42)(0,7) + JqlIdentifier(a1)(0,2) + PsiElement(JQL: STRING_LITERAL)('a1')(0,2) + PsiWhiteSpace(' ')(2,3) + PsiElement(JQL: LT)('<')(3,4) + PsiWhiteSpace(' ')(4,5) + JqlLiteral(42)(5,7) + PsiElement(JQL: NUMBER_LITERAL)('42')(5,7) + PsiWhiteSpace(' ')(7,8) + PsiElement(JQL: OR_KEYWORD)('or')(8,10) + PsiWhiteSpace(' ')(10,11) + JqlAndClause(a2 <= 42 and b1 > 42)(11,31) + JqlSimpleClause(a2 <= 42)(11,19) + JqlIdentifier(a2)(11,13) + PsiElement(JQL: STRING_LITERAL)('a2')(11,13) + PsiWhiteSpace(' ')(13,14) + PsiElement(JQL: LE)('<=')(14,16) + PsiWhiteSpace(' ')(16,17) + JqlLiteral(42)(17,19) + PsiElement(JQL: NUMBER_LITERAL)('42')(17,19) + PsiWhiteSpace(' ')(19,20) + PsiElement(JQL: AND_KEYWORD)('and')(20,23) + PsiWhiteSpace(' ')(23,24) + JqlSimpleClause(b1 > 42)(24,31) + JqlIdentifier(b1)(24,26) + PsiElement(JQL: STRING_LITERAL)('b1')(24,26) + PsiWhiteSpace(' ')(26,27) + PsiElement(JQL: GT)('>')(27,28) + PsiWhiteSpace(' ')(28,29) + JqlLiteral(42)(29,31) + PsiElement(JQL: NUMBER_LITERAL)('42')(29,31) + PsiWhiteSpace(' ')(31,32) + PsiElement(JQL: OR_KEYWORD)('or')(32,34) + PsiWhiteSpace(' ')(34,35) + JqlAndClause(b2 >= 42 and c1 ~ "ham")(35,58) + JqlSimpleClause(b2 >= 42)(35,43) + JqlIdentifier(b2)(35,37) + PsiElement(JQL: STRING_LITERAL)('b2')(35,37) + PsiWhiteSpace(' ')(37,38) + PsiElement(JQL: GE)('>=')(38,40) + PsiWhiteSpace(' ')(40,41) + JqlLiteral(42)(41,43) + PsiElement(JQL: NUMBER_LITERAL)('42')(41,43) + PsiWhiteSpace(' ')(43,44) + PsiElement(JQL: AND_KEYWORD)('and')(44,47) + PsiWhiteSpace(' ')(47,48) + JqlSimpleClause(c1 ~ "ham")(48,58) + JqlIdentifier(c1)(48,50) + PsiElement(JQL: STRING_LITERAL)('c1')(48,50) + PsiWhiteSpace(' ')(50,51) + PsiElement(JQL: CONTAINS)('~')(51,52) + PsiWhiteSpace(' ')(52,53) + JqlLiteral("ham")(53,58) + PsiElement(JQL: STRING_LITERAL)('"ham"')(53,58) + PsiWhiteSpace(' ')(58,59) + PsiElement(JQL: OR_KEYWORD)('or')(59,61) + PsiWhiteSpace(' ')(61,62) + JqlAndClause(c1 !~ 'spam' and d1 = 'green')(62,91) + JqlSimpleClause(c1 !~ 'spam')(62,74) + JqlIdentifier(c1)(62,64) + PsiElement(JQL: STRING_LITERAL)('c1')(62,64) + PsiWhiteSpace(' ')(64,65) + PsiElement(JQL: NOT_CONTAINS)('!~')(65,67) + PsiWhiteSpace(' ')(67,68) + JqlLiteral('spam')(68,74) + PsiElement(JQL: STRING_LITERAL)(''spam'')(68,74) + PsiWhiteSpace(' ')(74,75) + PsiElement(JQL: AND_KEYWORD)('and')(75,78) + PsiWhiteSpace(' ')(78,79) + JqlSimpleClause(d1 = 'green')(79,91) + JqlIdentifier(d1)(79,81) + PsiElement(JQL: STRING_LITERAL)('d1')(79,81) + PsiWhiteSpace(' ')(81,82) + PsiElement(JQL: EQ)('=')(82,83) + PsiWhiteSpace(' ')(83,84) + JqlLiteral('green')(84,91) + PsiElement(JQL: STRING_LITERAL)(''green'')(84,91) + PsiWhiteSpace(' ')(91,92) + PsiElement(JQL: OR_KEYWORD)('or')(92,94) + PsiWhiteSpace(' ')(94,95) + JqlSimpleClause(d2 != "green")(95,108) + JqlIdentifier(d2)(95,97) + PsiElement(JQL: STRING_LITERAL)('d2')(95,97) + PsiWhiteSpace(' ')(97,98) + PsiElement(JQL: NE)('!=')(98,100) + PsiWhiteSpace(' ')(100,101) + JqlLiteral("green")(101,108) + PsiElement(JQL: STRING_LITERAL)('"green"')(101,108) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/Subclauses.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/Subclauses.txt new file mode 100644 index 000000000000..d004bc4a6360 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/Subclauses.txt @@ -0,0 +1,54 @@ +FILE(0,50) + JqlQuery((a = foo or (b > 12 and ((c < 40)))) and d ~ 'foo')(0,50) + JqlAndClause((a = foo or (b > 12 and ((c < 40)))) and d ~ 'foo')(0,50) + PsiElement(JQL: LPAR)('(')(0,1) + JqlOrClause(a = foo or (b > 12 and ((c < 40))))(1,35) + JqlSimpleClause(a = foo)(1,8) + JqlIdentifier(a)(1,2) + PsiElement(JQL: STRING_LITERAL)('a')(1,2) + PsiWhiteSpace(' ')(2,3) + PsiElement(JQL: EQ)('=')(3,4) + PsiWhiteSpace(' ')(4,5) + JqlLiteral(foo)(5,8) + PsiElement(JQL: STRING_LITERAL)('foo')(5,8) + PsiWhiteSpace(' ')(8,9) + PsiElement(JQL: OR_KEYWORD)('or')(9,11) + PsiWhiteSpace(' ')(11,12) + PsiElement(JQL: LPAR)('(')(12,13) + JqlAndClause(b > 12 and ((c < 40)))(13,34) + JqlSimpleClause(b > 12)(13,19) + JqlIdentifier(b)(13,14) + PsiElement(JQL: STRING_LITERAL)('b')(13,14) + PsiWhiteSpace(' ')(14,15) + PsiElement(JQL: GT)('>')(15,16) + PsiWhiteSpace(' ')(16,17) + JqlLiteral(12)(17,19) + PsiElement(JQL: NUMBER_LITERAL)('12')(17,19) + PsiWhiteSpace(' ')(19,20) + PsiElement(JQL: AND_KEYWORD)('and')(20,23) + PsiWhiteSpace(' ')(23,24) + PsiElement(JQL: LPAR)('(')(24,25) + PsiElement(JQL: LPAR)('(')(25,26) + JqlSimpleClause(c < 40)(26,32) + JqlIdentifier(c)(26,27) + PsiElement(JQL: STRING_LITERAL)('c')(26,27) + PsiWhiteSpace(' ')(27,28) + PsiElement(JQL: LT)('<')(28,29) + PsiWhiteSpace(' ')(29,30) + JqlLiteral(40)(30,32) + PsiElement(JQL: NUMBER_LITERAL)('40')(30,32) + PsiElement(JQL: RPAR)(')')(32,33) + PsiElement(JQL: RPAR)(')')(33,34) + PsiElement(JQL: RPAR)(')')(34,35) + PsiElement(JQL: RPAR)(')')(35,36) + PsiWhiteSpace(' ')(36,37) + PsiElement(JQL: AND_KEYWORD)('and')(37,40) + PsiWhiteSpace(' ')(40,41) + JqlSimpleClause(d ~ 'foo')(41,50) + JqlIdentifier(d)(41,42) + PsiElement(JQL: STRING_LITERAL)('d')(41,42) + PsiWhiteSpace(' ')(42,43) + PsiElement(JQL: CONTAINS)('~')(43,44) + PsiWhiteSpace(' ')(44,45) + JqlLiteral('foo')(45,50) + PsiElement(JQL: STRING_LITERAL)(''foo'')(45,50) \ No newline at end of file diff --git a/plugins/tasks/tasks-tests/testData/jira/jql/psi/WasClause.txt b/plugins/tasks/tasks-tests/testData/jira/jql/psi/WasClause.txt new file mode 100644 index 000000000000..0095056c4e93 --- /dev/null +++ b/plugins/tasks/tasks-tests/testData/jira/jql/psi/WasClause.txt @@ -0,0 +1,42 @@ +FILE(0,70) + JqlQuery(status was in (open, 'closed', "resolved") during ("-3d", -1d) by Mark)(0,70) + JqlWasClause(status was in (open, 'closed', "resolved") during ("-3d", -1d) by Mark)(0,70) + JqlIdentifier(status)(0,6) + PsiElement(JQL: STRING_LITERAL)('status')(0,6) + PsiWhiteSpace(' ')(6,7) + PsiElement(JQL: WAS_KEYWORD)('was')(7,10) + PsiWhiteSpace(' ')(10,11) + PsiElement(JQL: IN_KEYWORD)('in')(11,13) + PsiWhiteSpace(' ')(13,14) + JqlList((open, 'closed', "resolved"))(14,42) + PsiElement(JQL: LPAR)('(')(14,15) + JqlLiteral(open)(15,19) + PsiElement(JQL: STRING_LITERAL)('open')(15,19) + PsiElement(JQL: COMMA)(',')(19,20) + PsiWhiteSpace(' ')(20,21) + JqlLiteral('closed')(21,29) + PsiElement(JQL: STRING_LITERAL)(''closed'')(21,29) + PsiElement(JQL: COMMA)(',')(29,30) + PsiWhiteSpace(' ')(30,31) + JqlLiteral("resolved")(31,41) + PsiElement(JQL: STRING_LITERAL)('"resolved"')(31,41) + PsiElement(JQL: RPAR)(')')(41,42) + PsiWhiteSpace(' ')(42,43) + JqlHistoryPredicate(during ("-3d", -1d))(43,62) + PsiElement(JQL: DURING_KEYWORD)('during')(43,49) + PsiWhiteSpace(' ')(49,50) + JqlList(("-3d", -1d))(50,62) + PsiElement(JQL: LPAR)('(')(50,51) + JqlLiteral("-3d")(51,56) + PsiElement(JQL: STRING_LITERAL)('"-3d"')(51,56) + PsiElement(JQL: COMMA)(',')(56,57) + PsiWhiteSpace(' ')(57,58) + JqlLiteral(-1d)(58,61) + PsiElement(JQL: STRING_LITERAL)('-1d')(58,61) + PsiElement(JQL: RPAR)(')')(61,62) + PsiWhiteSpace(' ')(62,63) + JqlHistoryPredicate(by Mark)(63,70) + PsiElement(JQL: BY_KEYWORD)('by')(63,65) + PsiWhiteSpace(' ')(65,66) + JqlLiteral(Mark)(66,70) + PsiElement(JQL: STRING_LITERAL)('Mark')(66,70) \ No newline at end of file