Modifier and Type | Method and Description |
---|---|
protected java.lang.Class |
AndroidBoxResourceHub.getObjectClassGivenConcreteIBoxType(IBoxType type) |
Modifier and Type | Class and Description |
---|---|
class |
BoxResourceType
Type of resources that can be requested by API's.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,IBoxType> |
BaseBoxResourceHub.lowercaseStringToType |
Modifier and Type | Method and Description |
---|---|
IBoxType |
IBoxResourceHub.getTypeFromLowercaseString(java.lang.String type)
Get the IBoxType from a lower case string value.
|
IBoxType |
BoxResourceHub.getTypeFromLowercaseString(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IBoxType> |
IBoxResourceHub.getAllTypes() |
java.util.Collection<IBoxType> |
BoxResourceHub.getAllTypes() |
protected java.util.Map<java.lang.String,IBoxType> |
BaseBoxResourceHub.getLowerCaseStringToTypeMap() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends BoxObject> |
IBoxResourceHub.getClass(IBoxType type)
Given a
IBoxType , get the corrosponding DAO class. |
java.lang.Class |
BoxResourceHub.getClass(IBoxType type) |
java.lang.Class |
BaseBoxResourceHub.getClass(IBoxType type) |
protected java.lang.Class |
BoxResourceHub.getObjectClassGivenConcreteIBoxType(IBoxType type) |
protected abstract java.lang.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 |
---|---|
static BoxCommentRequestObject |
BoxCommentRequestObject.addCommentRequestObject(IBoxType type,
java.lang.String itemId,
java.lang.String message)
A BoxCommentRequestObject to add a comment.
|
BoxCommentRequestObject |
BoxCommentRequestObject.setItem(IBoxType type,
java.lang.String itemId)
Set the item to be commented.
|
Modifier and Type | Method and Description |
---|---|
BoxComment |
IBoxCommentsManager.addComment(java.lang.String commentedItemId,
IBoxType commentedItemType,
java.lang.String message) |
BoxComment |
BoxCommentsManagerImpl.addComment(java.lang.String commentedItemId,
IBoxType commentedItemType,
java.lang.String message) |
protected java.lang.Class |
AbstractBoxResourceManager.getClassFromType(IBoxType type) |
java.lang.Object |
AbstractBoxResourceManager.getResponseAndParse(DefaultBoxRequest request,
IBoxType type,
IBoxJSONParser parser)
Make a rest api request, get response, and then parse the response.
|
java.lang.Object |
AbstractBoxResourceManager.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.
|
java.lang.Object |
AbstractBoxResourceManager.tryCastObject(IBoxType expectedType,
java.lang.Object obj)
Try to cast an object into a specific class.
|