|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.runtime.model.DefaultComponent org.nuxeo.ecm.platform.types.TypeService
public class TypeService
Field Summary | |
---|---|
static ComponentName |
ID
|
Constructor Summary | |
---|---|
TypeService()
|
Method Summary | |
---|---|
void |
activate(ComponentContext context)
Activates the component. |
void |
deactivate(ComponentContext context)
Deactivates the component. |
java.util.Collection<Type> |
getAllowedSubTypes(java.lang.String typeName)
|
java.lang.String[] |
getSuperTypes(java.lang.String typeName)
Gets the super type names for the given type. |
Type |
getType(java.lang.String typeName)
|
TypeRegistry |
getTypeRegistry()
|
java.util.Collection<Type> |
getTypes()
|
TypeWidgetRegistry |
getTypeWidgetRegistry()
|
boolean |
hasType(java.lang.String typeName)
|
void |
registerExtension(Extension extension)
Registers the given extension. |
void |
registerTypeWidgetExtension(Extension extension)
|
void |
unregisterExtension(Extension extension)
Unregisters the given extension. |
void |
unregisterTypeWidgetExtension(Extension extension)
|
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
---|
getAdapter, registerContribution, unregisterContribution |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final ComponentName ID
Constructor Detail |
---|
public TypeService()
Method Detail |
---|
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic void deactivate(ComponentContext context)
Component
This method is called by the runtime when a component is deactivated.
deactivate
in interface Component
deactivate
in class DefaultComponent
context
- the runtime contextpublic void registerExtension(Extension extension)
Extensible
registerExtension
in interface Extensible
registerExtension
in class DefaultComponent
extension
- the extension to registerpublic void unregisterExtension(Extension extension)
Extensible
unregisterExtension
in interface Extensible
unregisterExtension
in class DefaultComponent
extension
- the extension to unregisterpublic void registerTypeWidgetExtension(Extension extension)
public void unregisterTypeWidgetExtension(Extension extension)
public TypeRegistry getTypeRegistry()
public TypeWidgetRegistry getTypeWidgetRegistry()
public java.lang.String[] getSuperTypes(java.lang.String typeName)
TypeManager
getSuperTypes
in interface TypeManager
public Type getType(java.lang.String typeName)
getType
in interface TypeManager
public boolean hasType(java.lang.String typeName)
hasType
in interface TypeManager
public java.util.Collection<Type> getTypes()
getTypes
in interface TypeManager
public java.util.Collection<Type> getAllowedSubTypes(java.lang.String typeName)
getAllowedSubTypes
in interface TypeManager
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |