public class JetAPITaxonomy extends JetAPI implements IJetAPITaxonomy
API.REQUEST_TYPE
AUTH_TEST_RESPONSE, config
client, context, lockHost, maxDownloadSize
Constructor and Description |
---|
JetAPITaxonomy(IAPIHttpClient client,
JetConfig conf)
Create a new API instance
|
JetAPITaxonomy(IAPIHttpClient client,
JetConfig conf,
boolean lockHost)
Create a new API instance
|
JetAPITaxonomy(IAPIHttpClient client,
JetConfig conf,
boolean lockHost,
long maxDownloadSize)
Create a new API instance
|
Modifier and Type | Method and Description |
---|---|
List<AttrRec> |
getAttrDetail(String jetNodeId)
Query for attribute node details
|
NodeRec |
getNodeDetail(String nodeId)
Query for node details
|
List<String> |
pollNodes(int offset,
int limit)
Poll for node uri's
|
List<String> |
pollNodes(int offset,
int limit,
boolean includePath)
Poll for node uri's
|
IJetAPIResponse |
sendGetAttrDetail(String jetNodeId)
Query for attribute node details
|
IJetAPIResponse |
sendGetNodeDetail(String nodeId)
Query for node details
|
IJetAPIResponse |
sendPollNodes(int offset,
int limit)
Poll for node uri's
|
executeRequest, get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, jsonArrayToTokenList, login, post, post, post, put, put, put, setErrorHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getHeaderBuilder, getJSONHeaderBuilder, getPlainHeaderBuilder, post, post, post, put, put, put, setErrorHandler
public JetAPITaxonomy(IAPIHttpClient client, JetConfig conf)
client
- Build http clientconf
- configpublic JetAPITaxonomy(IAPIHttpClient client, JetConfig conf, boolean lockHost)
client
- The built APIHttpClient instanceconf
- The Jet Configuration objectlockHost
- Toggle locking the host to a domain if http is not present
in the url string.public JetAPITaxonomy(IAPIHttpClient client, JetConfig conf, boolean lockHost, long maxDownloadSize)
client
- The built APIHttpClient instanceconf
- The Jet Configuration objectlockHost
- Toggle locking the host to a domain if http is not present
in the url string.maxDownloadSize
- Set a maximum download site for the local client.
This is a fixed limit.public IJetAPIResponse sendPollNodes(int offset, int limit) throws APIException, JetException
sendPollNodes
in interface IJetAPITaxonomy
offset
- startlimit
- limitAPIException
JetException
public List<String> pollNodes(int offset, int limit, boolean includePath) throws APIException, JetException
pollNodes
in interface IJetAPITaxonomy
offset
- startlimit
- limitincludePath
- toggle basename or full uriAPIException
JetException
public List<String> pollNodes(int offset, int limit) throws APIException, JetException
pollNodes
in interface IJetAPITaxonomy
offset
- startlimit
- limitAPIException
JetException
public IJetAPIResponse sendGetNodeDetail(String nodeId) throws APIException, JetException
sendGetNodeDetail
in interface IJetAPITaxonomy
nodeId
- Node idAPIException
JetException
public NodeRec getNodeDetail(String nodeId) throws APIException, JetException
getNodeDetail
in interface IJetAPITaxonomy
nodeId
- Node idAPIException
JetException
public IJetAPIResponse sendGetAttrDetail(String jetNodeId) throws APIException, JetException
sendGetAttrDetail
in interface IJetAPITaxonomy
jetNodeId
- node idAPIException
JetException
public List<AttrRec> getAttrDetail(String jetNodeId) throws APIException, JetException
getAttrDetail
in interface IJetAPITaxonomy
jetNodeId
- node idAPIException
JetException
Copyright © 2017. All rights reserved.