| Package | Description |
|---|---|
| com.box.boxjavalibv2.dao | |
| com.box.boxjavalibv2.interfaces | |
| com.box.boxjavalibv2.jsonparsing | |
| com.box.boxjavalibv2.resourcemanagers |
| Modifier and Type | Class and Description |
|---|---|
class |
BoxResourceType
Type of resources that can be requested by API's.
|
| Modifier and Type | Method and Description |
|---|---|
IBoxType |
IBoxResourceHub.getTypeFromLowercaseString(String type)
Get the IBoxType from a lower case string value.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<IBoxType> |
IBoxResourceHub.getAllTypes() |
| Modifier and Type | Method and Description |
|---|---|
Class |
IBoxResourceHub.getClass(IBoxType type)
Given a
IBoxType, get the corrosponding DAO class. |
| Modifier and Type | Method and Description |
|---|---|
IBoxType |
BoxResourceHub.getTypeFromLowercaseString(String type) |
| Modifier and Type | Method and Description |
|---|---|
Collection<IBoxType> |
BoxResourceHub.getAllTypes() |
protected Map<String,IBoxType> |
BaseBoxResourceHub.getLowerCaseStringToTypeMap() |
| Modifier and Type | Method and Description |
|---|---|
Class |
BoxResourceHub.getClass(IBoxType type) |
Class |
BaseBoxResourceHub.getClass(IBoxType type) |
protected Class |
BoxResourceHub.getObjectClassGivenConcreteIBoxType(IBoxType type) |
protected abstract Class |
BaseBoxResourceHub.getObjectClassGivenConcreteIBoxType(IBoxType type)
Get class for a certain type, assuming the input type is an object of the concrete class of IBoxType defined in this resource hub.
|
| Modifier and Type | Method and Description |
|---|---|
protected Class |
BoxResourceManager.getClassFromType(IBoxType type) |
Object |
BoxResourceManager.getResponseAndParse(DefaultBoxRequest request,
IBoxType type,
IBoxJSONParser parser)
Make a rest api request, get response, and then parse the response.
|
Object |
BoxResourceManager.getResponseAndParseAndTryCast(DefaultBoxRequest request,
IBoxType type,
IBoxJSONParser parser)
Make a rest api request, get response, parse the response, and try to cast parsed out object into expected object.
|
Object |
BoxResourceManager.tryCastObject(IBoxType expectedType,
Object obj)
Try to cast an object into a specific class.
|
Copyright © 2014. All Rights Reserved.