public class BoxResourceHub extends BaseBoxResourceHub
| Constructor and Description |
|---|
BoxResourceHub() |
| Modifier and Type | Method and Description |
|---|---|
Collection<IBoxType> |
getAllTypes() |
Class |
getClass(IBoxType type)
Given a
IBoxType, get the corrosponding DAO class. |
protected Class |
getConcreteClassForIBoxType()
Get the concrete class for IBoxType
|
protected Class |
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.
|
IBoxType |
getTypeFromLowercaseString(String type)
Get the IBoxType from a lower case string value.
|
protected void |
initializeTypes()
Do call super.initializeTypes() when overriding this.
|
getLowerCaseStringToTypeMap, initializeEnumTypespublic BoxResourceHub()
public Class getClass(IBoxType type)
IBoxResourceHubIBoxType, get the corrosponding DAO class.getClass in interface IBoxResourceHubgetClass in class BaseBoxResourceHubtype - resource typepublic Collection<IBoxType> getAllTypes()
protected Class getObjectClassGivenConcreteIBoxType(IBoxType type)
BaseBoxResourceHubgetObjectClassGivenConcreteIBoxType in class BaseBoxResourceHubprotected Class getConcreteClassForIBoxType()
BaseBoxResourceHubgetConcreteClassForIBoxType in class BaseBoxResourceHubpublic IBoxType getTypeFromLowercaseString(String type)
IBoxResourceHubprotected void initializeTypes()
BaseBoxResourceHubinitializeTypes in class BaseBoxResourceHubCopyright © 2016 Nuxeo SA. All rights reserved.