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, initializeEnumTypes
public BoxResourceHub()
public Class getClass(IBoxType type)
IBoxResourceHub
IBoxType
, get the corrosponding DAO class.getClass
in interface IBoxResourceHub
getClass
in class BaseBoxResourceHub
type
- resource typepublic Collection<IBoxType> getAllTypes()
protected Class getObjectClassGivenConcreteIBoxType(IBoxType type)
BaseBoxResourceHub
getObjectClassGivenConcreteIBoxType
in class BaseBoxResourceHub
protected Class getConcreteClassForIBoxType()
BaseBoxResourceHub
getConcreteClassForIBoxType
in class BaseBoxResourceHub
public IBoxType getTypeFromLowercaseString(String type)
IBoxResourceHub
protected void initializeTypes()
BaseBoxResourceHub
initializeTypes
in class BaseBoxResourceHub
Copyright © 2015 Nuxeo SA. All rights reserved.