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?
??
?[???????? _v1Url Ljava/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;)V Code LineNumberTable LocalVariableTable this /Lcom/versionone/apiclient/example/DataExamples; v1Url userName password
dataConnector )Lcom/versionone/apiclient/V1APIConnector;
metaConnector getDataConnector +()Lcom/versionone/apiclient/V1APIConnector; getMetaConnector getMetaConnectorWithProxy
Exceptions? getMetaModelWithProxy &()Lcom/versionone/apiclient/MetaModel; getProxyProvider *()Lcom/versionone/apiclient/ProxyProvider; proxy Ljava/net/URI; getAPIConnectorWithProxy SetUpServicesV1Authentication ()V metaModel services .SetUpServicesWindowsAuthenticationLoggedInUser SingleAsset "()Lcom/versionone/apiclient/Asset; memberId Lcom/versionone/Oid; query Lcom/versionone/apiclient/Query; result &Lcom/versionone/apiclient/QueryResult; member Lcom/versionone/apiclient/Asset;? SingleAssetWithAttributes
nameAttribute /Lcom/versionone/apiclient/IAttributeDefinition; emailAttribute getV1configuration ,()Lcom/versionone/apiclient/V1Configuration; IsEffortTrackingEnabled ()Z
configuration *Lcom/versionone/apiclient/V1Configuration; ListOfAssets #()[Lcom/versionone/apiclient/Asset; story arr$ ![Lcom/versionone/apiclient/Asset; len$ I i$ storyType %Lcom/versionone/apiclient/IAssetType; estimateAttribute FindListOfAssets request requestType selection -Lcom/versionone/apiclient/AttributeSelection; FilterListOfAssets task taskType
todoAttribute toDoTerm %Lcom/versionone/apiclient/FilterTerm; SortListOfAssets PageListOfAssets HistorySingleAsset
memberType idAttribute changeDateAttribute idTerm
memberHistory HistoryListOfAssets StoryAndDefectTrackingLevel HistoryAsOfTime c Ljava/util/Calendar; UpdateScalarAttribute storyId oldName UpdateSingleValueRelation sourceAttribute oldSource UpdateMultiValueRelation oid o Ljava/lang/Object; [Ljava/lang/Object; ownersAttribute oldOwners Ljava/util/List; iter Ljava/util/Iterator; LocalVariableTypeTable $Ljava/util/List; (Ljava/util/Iterator; AddNewAsset projectId newStory DeleteAsset ()Lcom/versionone/Oid; e .Lcom/versionone/apiclient/ConnectionException; deleteOperation %Lcom/versionone/apiclient/IOperation; deletedID
CloseAsset closeOperation closeID
assetState
closeStory state %Lcom/versionone/apiclient/AssetState; ReOpenAsset activateOperation activeID activeStory connectionWithProxy &()Lcom/versionone/apiclient/IServices; metaConnectorWithProxy (Lcom/versionone/apiclient/IAPIConnector; metaModelWithProxy dataConnectorWithProxy servicesWithProxy createStoryThroughProxy F(Ljava/lang/String;Ljava/lang/String;)Lcom/versionone/apiclient/Asset; storyName projectToken service nameDef scopeDef asset?? 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 Signature 8(Ljava/util/List;)Ljava/lang/String; getOwnerToRemove
SourceFile DataExamples.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/URI https://myProxyServer:3128 &com/versionone/apiclient/ProxyProvider user1 pw1 ? ? Member:20 com/versionone/apiclient/Query ?
?
F? Member.Name Member.Email (com/versionone/apiclient/V1Configuration 0https://www14.v1host.com/v1sdktesting/config.v1/ ? Story ! ?" Name# Estimate ? Request +com/versionone/apiclient/AttributeSelection "com/versionone/apiclient/QueryFind Urgent ?$%& Task ToDo #com/versionone/apiclient/FilterTerm ?' java/lang/Object()*+,-./03456789:;<=< Member ?> ID
ChangeDate Email ? ??BCBDEFGHIJK
Story:1094EFLMNO SourceGH Owners java/util/ArrayListPQRSTUVWNJXMIJYMZ[\] ?^ com/versionone/Oid
Scope:1012_` My New Story Scope ? Story.Deleteabcde ,com/versionone/apiclient/ConnectionExceptionfg Story has been deleted: ?h Story.Inactivate Story.AssetState java/lang/Integerigj(k&