| Package | Description | 
|---|---|
| com.versionone.apiclient | |
| com.versionone.apiclient.exceptions | |
| com.versionone.apiclient.interfaces | 
| Modifier and Type | Method and Description | 
|---|---|
| protected OutputStream | V1Connector. beginRequest(String path,
            String contentType) | 
| OutputStream | V1APIConnector. beginRequest(String path,
            String contentType)Deprecated.  Beginning HTTP POST request to the server. | 
| static Document | XMLHandler. buildDocument(Reader reader,
             String url) | 
| protected InputStream | V1Connector. endRequest(String path) | 
| InputStream | V1APIConnector. endRequest(String path)Deprecated.  Complete the HTTP request and get a response. | 
| protected InputStream | V1Connector. getAttachment(String path) | 
| String | V1Configuration. getCapacityPlanning()Gets capacity planning setting. | 
| protected Reader | V1Connector. getData() | 
| Reader | V1APIConnector. getData()Deprecated.  Read data from the root of the connection. | 
| Reader | FileAPIConnector. getData() | 
| protected Reader | V1Connector. getData(String path) | 
| Reader | V1APIConnector. getData(String path)Deprecated.  Read data from the path provided. | 
| Reader | FileAPIConnector. getData(String path) | 
| IV1Configuration.TrackingLevel | V1Configuration. getDefectTrackingLevel()Gets level of Defect tracking. | 
| Map<String,String> | Services. getLocalization(ArrayList<IAttributeDefinition> attributes) | 
| Oid | Services. getLoggedIn()Get the Oid of the current logged in user | 
| int | V1Configuration. getMaxAttachmentSize()Gets maximum size of attachment file. | 
| InputStream | Attachments. getReader(String key)Deprecated.  Getting reader | 
| IV1Configuration.TrackingLevel | V1Configuration. getStoryTrackingLevel()Gets level of Story tracking. | 
| OutputStream | Attachments. getWriter(String key,
         String contentType)Deprecated.  Getting writer | 
| boolean | V1Configuration. isEffortTracking()Gets EffortTracking | 
| boolean | RequiredFieldValidator. isRequired(IAssetType assetType,
          String attributeName)Check whether the attribute corresponding to the attributeName is required in current VersionOne server setup. | 
| boolean | RequiredFieldValidator. isRequired(IAttributeDefinition definition)Check whether the provided attribute is required in current VersionOne server setup. | 
| QueryResult | Services. retrieve(Query query)Query VersionOne | 
| void | Services. save(Asset asset)Save an asset with no comment | 
| void | Services. save(Asset asset,
    String comment)Save an asset with comment | 
| protected Reader | V1Connector. sendData(String path,
        Object data) | 
| Reader | V1APIConnector. sendData(String path,
        String data)Deprecated.  Send data to the path. | 
| Reader | FileAPIConnector. sendData(String path,
        String data) | 
| void | Attachments. setWriter(String key)Deprecated.  Setting Writer | 
| List<IAttributeDefinition> | RequiredFieldValidator. validate(Asset asset)Validate all available Asset attributes. | 
| Map<Asset,List<IAttributeDefinition>> | RequiredFieldValidator. validate(Asset[] assets)Validate collection of Assets. | 
| boolean | RequiredFieldValidator. validate(Asset asset,
        IAttributeDefinition attributeDefinition)Validate single Asset attribute. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SecurityExceptionException thrown when the APIClient encounters a security exception (401) | 
| Modifier and Type | Method and Description | 
|---|---|
| OutputStream | IAPIConnector. beginRequest(String path,
            String contentType)Deprecated.  Creating stream for writing data | 
| InputStream | IAPIConnector. endRequest(String path)Deprecated.  Getting response from request | 
| Reader | IAPIConnector. getData()Deprecated.  Read data from the root of the connection
 Note: Caller is responsible for closing the returned stream | 
| Reader | IAPIConnector. getData(String path)Deprecated.  Read data from the path provided
 Note: Caller is responsible for closing the returned stream | 
| IV1Configuration.TrackingLevel | IV1Configuration. getDefectTrackingLevel()Gets level of Defect tracking. | 
| Map<String,String> | IServices. getLocalization(ArrayList<IAttributeDefinition> attributes)Returns a Map of localized values. | 
| Oid | IServices. getLoggedIn()Determines the OID of the currently logged in user. | 
| int | IV1Configuration. getMaxAttachmentSize()Gets maximum size of attachment file. | 
| InputStream | IAttachments. getReader(String key)Deprecated.  Getting reader | 
| IV1Configuration.TrackingLevel | IV1Configuration. getStoryTrackingLevel()Gets level of Story tracking. | 
| OutputStream | IAttachments. getWriter(String key,
         String contentType)Deprecated.  Getting writer | 
| boolean | IV1Configuration. isEffortTracking()Gets EffortTracking | 
| QueryResult | IServices. retrieve(Query query)Executes a query and returns the results. | 
| void | IServices. save(Asset asset)Persists changes to an asset without a comment. | 
| void | IServices. save(Asset asset,
    String comment)Persists changes to as asset with a comment. | 
| Reader | IAPIConnector. sendData(String path,
        String data)Deprecated.  Send data to the path
 Note: Caller is responsible for closing the returned stream | 
| void | IAttachments. setWriter(String key)Deprecated.  Setting Writer | 
Copyright © 2015 VersionOne, Inc.. All rights reserved.