All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.versionone.apiclient.example.DataExamples.class Maven / Gradle / Ivy

????1t
PQRS
T	?U	?V	?WX
Q
YZ
[	?\]	?^_	?`
?a
?bc
d	?ef
g	?hi
j
?k
l
?mno
Tpqr
"s
tu
zvw
)xyz
{|	}~
?
z?
??????
)?
F?
??
??
???
9d?
T
9????
)?????
????
FQ??
H?
)????
N??
??
N?
)?
)?	??
??
)?
??
???
)????
??
9?
9?
??
??
??
)??
P[
??
??y??
????
nQ
??
????
??
??
??
??????????y???
?????y?
z??
???
????
??
??
?[
???
??
??
???y???y?
??y?
??
?[????????_v1UrlLjava/lang/String;	_username	_password_dataUrl_metaUrl
_configUrl
_proxyAddress
ConstantValue_proxyUserName_proxyPassword
_metaModel%Lcom/versionone/apiclient/IMetaModel;	_services$Lcom/versionone/apiclient/IServices;9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)VCodeLineNumberTableLocalVariableTablethis/Lcom/versionone/apiclient/example/DataExamples;v1UrluserNamepassword
dataConnector)Lcom/versionone/apiclient/V1APIConnector;
metaConnectorgetDataConnector+()Lcom/versionone/apiclient/V1APIConnector;getMetaConnectorgetMetaConnectorWithProxy
Exceptions?getMetaModelWithProxy&()Lcom/versionone/apiclient/MetaModel;getProxyProvider*()Lcom/versionone/apiclient/ProxyProvider;proxyLjava/net/URI;getAPIConnectorWithProxySetUpServicesV1Authentication()V	metaModelservices.SetUpServicesWindowsAuthenticationLoggedInUserSingleAsset"()Lcom/versionone/apiclient/Asset;memberIdLcom/versionone/Oid;query Lcom/versionone/apiclient/Query;result&Lcom/versionone/apiclient/QueryResult;member Lcom/versionone/apiclient/Asset;?SingleAssetWithAttributes
nameAttribute/Lcom/versionone/apiclient/IAttributeDefinition;emailAttributegetV1configuration,()Lcom/versionone/apiclient/V1Configuration;IsEffortTrackingEnabled()Z
configuration*Lcom/versionone/apiclient/V1Configuration;ListOfAssets#()[Lcom/versionone/apiclient/Asset;storyarr$![Lcom/versionone/apiclient/Asset;len$Ii$	storyType%Lcom/versionone/apiclient/IAssetType;estimateAttributeFindListOfAssetsrequestrequestType	selection-Lcom/versionone/apiclient/AttributeSelection;FilterListOfAssetstasktaskType
todoAttributetoDoTerm%Lcom/versionone/apiclient/FilterTerm;SortListOfAssetsPageListOfAssetsHistorySingleAsset
memberTypeidAttributechangeDateAttributeidTerm
memberHistoryHistoryListOfAssetsStoryAndDefectTrackingLevelHistoryAsOfTimecLjava/util/Calendar;UpdateScalarAttributestoryIdoldNameUpdateSingleValueRelationsourceAttribute	oldSourceUpdateMultiValueRelationoidoLjava/lang/Object;[Ljava/lang/Object;ownersAttribute	oldOwnersLjava/util/List;iterLjava/util/Iterator;LocalVariableTypeTable$Ljava/util/List;(Ljava/util/Iterator;AddNewAsset	projectIdnewStoryDeleteAsset()Lcom/versionone/Oid;e.Lcom/versionone/apiclient/ConnectionException;deleteOperation%Lcom/versionone/apiclient/IOperation;	deletedID
CloseAssetcloseOperationcloseID
assetState
closeStorystate%Lcom/versionone/apiclient/AssetState;ReOpenAssetactivateOperationactiveIDactiveStoryconnectionWithProxy&()Lcom/versionone/apiclient/IServices;metaConnectorWithProxy(Lcom/versionone/apiclient/IAPIConnector;metaModelWithProxydataConnectorWithProxyservicesWithProxycreateStoryThroughProxyF(Ljava/lang/String;Ljava/lang/String;)Lcom/versionone/apiclient/Asset;	storyNameprojectTokenservicenameDefscopeDefasset??getMetaModel'()Lcom/versionone/apiclient/IMetaModel;getServices
GetNewName()Ljava/lang/String;GetNextSourceID&(Ljava/lang/String;)Ljava/lang/String;
getOwnerToAdd$(Ljava/util/List;)Ljava/lang/String;oids	Signature8(Ljava/util/List;)Ljava/lang/String;getOwnerToRemove
SourceFileDataExamples.java??"java/lang/IllegalArgumentException&v1Url and username must be provided...????????java/lang/StringBuilder??
rest-1.v1/?F??meta.v1/??
config.v1/??????"com/versionone/apiclient/MetaModel????!com/versionone/apiclient/Services????'com/versionone/apiclient/V1APIConnector???????java/net/URIhttps://myProxyServer:3128&com/versionone/apiclient/ProxyProvideruser1pw1??	Member:20com/versionone/apiclient/Query?	
?
 F?Member.NameMember.Email(com/versionone/apiclient/V1Configuration0https://www14.v1host.com/v1sdktesting/config.v1/?Story !?"Name#Estimate?Request+com/versionone/apiclient/AttributeSelection"com/versionone/apiclient/QueryFindUrgent?$%&TaskToDo#com/versionone/apiclient/FilterTerm?'java/lang/Object()*+,-./03456789:;<=<Member?>ID
ChangeDateEmail???BCBDEFGHIJK
Story:1094EFLMNOSourceGHOwnersjava/util/ArrayListPQRSTUVWNJXMIJYMZ[\]?^com/versionone/Oid
Scope:1012_`My New StoryScope?Story.Deleteabcde ,com/versionone/apiclient/ConnectionExceptionfgStory has been deleted: ?hStory.InactivateStory.AssetStatejava/lang/Integerigj(k&?Story.Reactivate????12
Story.NameStory.Scopecom/versionone/apiclient/AssetlmnoStorySource:148StorySource:149StorySource:150pQMember:1003Member:1000-com/versionone/apiclient/example/DataExamplesjava/net/URISyntaxExceptionjava/lang/Exception%com/versionone/apiclient/APIException%com/versionone/apiclient/OidException(Ljava/lang/String;)Vappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString+(Lcom/versionone/apiclient/IAPIConnector;)VP(Lcom/versionone/apiclient/IMetaModel;Lcom/versionone/apiclient/IAPIConnector;)V=(Ljava/lang/String;Lcom/versionone/apiclient/ProxyProvider;)V5(Ljava/net/URI;Ljava/lang/String;Ljava/lang/String;)Va(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/versionone/apiclient/ProxyProvider;)V	fromTokenM(Ljava/lang/String;Lcom/versionone/apiclient/IMetaModel;)Lcom/versionone/Oid;(Lcom/versionone/Oid;)V"com/versionone/apiclient/IServicesretrieveH(Lcom/versionone/apiclient/Query;)Lcom/versionone/apiclient/QueryResult;$com/versionone/apiclient/QueryResult	getAssetsjava/lang/SystemoutLjava/io/PrintStream;getOidgetTokenjava/io/PrintStreamprintln#com/versionone/apiclient/IMetaModelgetAttributeDefinitionC(Ljava/lang/String;)Lcom/versionone/apiclient/IAttributeDefinition;getSelection/()Lcom/versionone/apiclient/AttributeSelection;add(Ljava/lang/Object;)ZgetAttributeU(Lcom/versionone/apiclient/IAttributeDefinition;)Lcom/versionone/apiclient/Attribute;"com/versionone/apiclient/AttributegetValue()Ljava/lang/Object;(Ljava/lang/Object;)VisEffortTrackinggetAssetType9(Ljava/lang/String;)Lcom/versionone/apiclient/IAssetType;((Lcom/versionone/apiclient/IAssetType;)V#com/versionone/apiclient/IAssetTypeB(Ljava/lang/String;Lcom/versionone/apiclient/AttributeSelection;)VsetFind'(Lcom/versionone/apiclient/QueryFind;)V2(Lcom/versionone/apiclient/IAttributeDefinition;)VvalueOf(I)Ljava/lang/Integer;equal([Ljava/lang/Object;)V	setFilter)(Lcom/versionone/apiclient/IFilterTerm;)V
getOrderBy$()Lcom/versionone/apiclient/OrderBy;&com/versionone/apiclient/OrderBy$OrderOrderInnerClasses	Ascending(Lcom/versionone/apiclient/OrderBy$Order; com/versionone/apiclient/OrderBy	minorSortZ(Lcom/versionone/apiclient/IAttributeDefinition;Lcom/versionone/apiclient/OrderBy$Order;)V	getPaging#()Lcom/versionone/apiclient/Paging;com/versionone/apiclient/PagingsetPageSize(I)VsetStart)(Lcom/versionone/apiclient/IAssetType;Z)VgetStoryTrackingLevelr
TrackingLevel;()Lcom/versionone/apiclient/IV1Configuration$TrackingLevel;getDefectTrackingLeveljava/util/CalendargetInstance()Ljava/util/Calendar;(II)VgetTime()Ljava/util/Date;setAsOf(Ljava/util/Date;)VsetAttributeValueD(Lcom/versionone/apiclient/IAttributeDefinition;Ljava/lang/Object;)Vsave#(Lcom/versionone/apiclient/Asset;)V	getValues()[Ljava/lang/Object;java/util/ArraysasList%([Ljava/lang/Object;)Ljava/util/List;java/util/ListaddAll(Ljava/util/Collection;)ZremoveAttributeValueaddAttributeValueiterator()Ljava/util/Iterator;java/util/IteratorhasNextnext	createNew[(Lcom/versionone/apiclient/IAssetType;Lcom/versionone/Oid;)Lcom/versionone/apiclient/Asset;getOperation9(Ljava/lang/String;)Lcom/versionone/apiclient/IOperation;executeOperationO(Lcom/versionone/apiclient/IOperation;Lcom/versionone/Oid;)Lcom/versionone/Oid;
getMomentlessgetServerResponseCode()I-(Ljava/lang/Object;)Ljava/lang/StringBuilder;intValue#com/versionone/apiclient/AssetState((I)Lcom/versionone/apiclient/AssetState;((Ljava/lang/String;)Lcom/versionone/Oid;java/util/UUID
randomUUID()Ljava/util/UUID;toArrays7com/versionone/apiclient/IV1Configuration$TrackingLevel)com/versionone/apiclient/IV1Configuration!?P??????????????? ???#???$????%???.?*?+?,?
?Y??*+?*,?*-?*?Y?	*??
?
??
*?Y?	*??
?
??*?Y?	*??
?
??*?:*?:*?Y??*?Y*?????: "#%& '%)?*Y+s-y./?0?2?>????????????y%???????>?Y*?
*?*????5??????>?Y*?*?*????9??????:?Y*?*????=????????6?Y*????A????????O?Y ?!L?"Y+#$?%??
E
F???

???????B?Y*?
*?*?*??&??J?????????*?L*?M?Y,?N?Y-+?:??NO
PRS?4????
??????????*?L*?M?Y,?N?Y-+?:??VW
XZ[?4????
??????????7'*??(L?)Y+?*M*?,?+N-?,2:?-?.?/?0??^
_`a&c4h?47??
-??$????&????????'*??(L?)Y+?*M*?1?2N*?3?2:,?4-?5W,?4?5W*?,?+:?,2:?-?.?/?0?--?6?7?8?-?6?7?8??2l
mno,p5q?rKsTubvqw??H???
z??q??e??,X??K9??T0???????E?9Y?Y*?*?*???:?????????N?9Y?Y;???L?)Y+?@M+A?BN+C?B:,?4-?5W,?4?5W*?,?+:?,:?66?C2:	?-	?.?/?0?-	-?6?7?8?-	?6?7?8?-?D?????,??:????(?1?;?G?d?r??????????f
d3??	NO??SJ??VG??????????????({??G\???????V
?*?E??L?)Y+?@M+A?BN,?4-?5W?FY?G:-?5W,?HYI?J?K*?,?+:?,:?66?32:	?-	?.?/?0?-	-?6?7?8?-?D?????,??:????'?0?7?F?R?o?}????????f
o#??	Y???^:??a7??????????????0n??RL?????????*?L??L?)Y+?@M+A?BN+M?B:,?4-?5W,?4?5W?NY?O:?PY?QS?R,?S*?,?+:?,:?66		?C	2:
?-
?.?/?0?-
-?6?7?8?-
?6?7?8?-?D?	????,??F????(?1?;?F?V?\?h??????????????p?3??
oO??tJ??wG??	????????????(???F~??h\???????k
?*?>??L?)Y+?@M+A?BN+C?B:,?4-?5W,?4?5W,?T?U?V*?,?+:?,:?66?C2:	?-	?.?/?0?-	-?6?7?8?-	?6?7?8?-?D?????,??>????(?1?;?G?S?p?~?????????f
p3??	ZO??_J??bG??????????????(???S\???????s
?*?>??L?)Y+?@M+A?BN+C?B:,?4-?5W,?4?5W,?W?X,?W?Y*?,?+:?,:?66?C2:	?-	?.?/?0?-	-?6?7?8?-	?6?7?8?-?D?????,??B

(1;CKWt?????(?f
t3??	^O??cJ??fG??????????????(???W\????????
?*?Z??L?)Y+?[M+\?BN+]?B:+^?B:,?4?5W,?4?5W?NY-?O:?PY'S?R,?S*?,?+:?,::		?6
6
?D	2:?-?.?/?0?-?6?7?8?-?6?7?8?-?D??????N,-./)031=2G3Q4_5e6q7x9?:?;?<?=?9?I??
?4??|P??	?K??
?H?????????????)??3???Q~?q^??xW?????k?*?Z??L?)Y+?[M+]?BN+^?B:,?4-?5W,?4?5W*?,?+:?,::?66		?C	2:
?-
?.?/?0?-
-?6?7?8?-
?6?7?8?-?D?	?????>MNOP)Q2R<SHTOViWwX?Y?Z?V?n?pi3??
SO??XJ??[G??	???????????)|??H]??OV?????Z*?_L?-+?`?8?-+?a?8??suv|???????????*?>??L?)Y+?[M+A?BN+C?B:,?4-?5W,?4?5W?b:??c,?d?e*?,?+:?,:?66		?C	2:
?-
?.?/?0?-
-?6?7?8?-
?6?7?8?-?D?	????,??F~??)?2?<?A?I?R?^?{????????????p{3??
eO??jJ??mG??	????????????)???Ay^\????	??9?f*??(L?)Y+?*M*?>??N-A?B:,?4?5W*?,?+:?,2:?6?7?g:?h?i*??j?-?.?/?0?-?0?-?6?7?8??:?
???)?3???H?W?a?l?z??????R???
?
????v??)l???V??HM??W>?????<?f*??(L?)Y+?*M*?>??N-k?B:,?4?5W*?,?+:?,2:?6?7?g:*?l?i*??j?-?.?/?0?-?0?-?6?7?8??:?
???)?3???H?W?d?o?}??????R???
?
????y??)o
??Y??HP??WA?????-f*??(L?)Y+?*M*?>??N-m?B:,?4?5W*?,?+:?,2:?nY?o:?6?p?q?rW*?s?t*?u?v*??j?-?.?/?0?w:?x??y?z:	?-	?/?0????6?p:		?6
6
?"	2:?z:
?-
?/?0??????^?
???)?3???H?Q?f?s????????????????????????????	??
??.?	?)??
?&????
?
???????)??????H???Q??aQ??a?????q{*??(L*?>??M*?,+?|N,A?B:-}?i*?-?j?--?.?/?0?--,~?B?6?7?8?--?6?7?8-??*
?
??"?,?4?>?K?`?o?4q??
g?[??"O?,E???? ??k*?L*????M*?,+?.??N?)Y-???*:*??+:?/:????"?-?Y?	??
+?.??????0-?-:=??*
 	-:=
?Ji?H:???*!"k??f??Z#$ K%?->????&??/	?*?L*????M*?,+?.??N?)Y-???*:*???2:?4?5W*??+:?,2:?6?7??????:?-?.?8?-???0??2 -: E!R"[#p%{&?,?\	??????x'$ i(?-\??:O)?R7??[.*?p+,??-?? 	~*??L*????M*?,+?.??N?)Y-???*:*???2:?4?5W*??+:?,2:?6?7??????:?-?.?8??.012 4-5:6E7R8[:p<{B?\	~??y??m.$ ^/?-Q??:D)?R,??[#0?p+,??12?*?L*??M*??N?Y,-?:??HI
JKM?4??34
5?647???89??K*??N-???:-???:??Y->????:+?i-,???i-?j??"QRSU*V2W@XHY?HK??K:?K;?F<?<=?2>?*!???
@??ABC?/*???^???D2?/*???b???
EF???????gGH?Q+????+???????k	lm????IJ??6+??M,?>6?#,2:?z:?/???????????qr s-q3u?H 
?,?
)??
&??6??6K6KLMNJ??6+??M,?>6?#,2:?z:?/???????????yz {-y3}?H 
?,?
)??
&??6??6K6KLMOP2??1@@qA@




© 2015 - 2025 Weber Informatics LLC | Privacy Policy