public class CommentService extends DefaultComponent
Modifier and Type | Field and Description |
---|---|
static String |
ID |
static String |
VERSIONING_EXTENSION_POINT_RULES |
Constructor and Description |
---|
CommentService() |
Modifier and Type | Method and Description |
---|---|
<T> T |
getAdapter(Class<T> adapter)
Returns an object which is an instance of the given class
associated with this object.
|
CommentManager |
getCommentManager() |
CommentServiceConfig |
getConfig() |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public static final String ID
public static final String VERSIONING_EXTENSION_POINT_RULES
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public CommentManager getCommentManager()
public CommentServiceConfig getConfig()
public <T> T getAdapter(Class<T> adapter)
Adaptable
null
if
no such object can be found.getAdapter
in interface Adaptable
getAdapter
in class DefaultComponent
adapter
- the adapter class to look upnull
if this object does not
have an adapter for the given classCopyright © 2013 Nuxeo SA. All Rights Reserved.