|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.platform.modifier.service.DocModifierServiceImpl
public class DocModifierServiceImpl
Document modification procedure: Core Event -> Extract word File + some fields -> call NXPlugin (generate the new file) -> update the document with the generated file.
| Field Summary | |
|---|---|
static String |
MODIFIER_EXTENSION_POINT_ASSOCIATIONS
|
static String |
NAME
|
| Constructor Summary | |
|---|---|
DocModifierServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
activate(ComponentContext context)
Activates the component. |
void |
deactivate(ComponentContext context)
Deactivates the component. |
void |
processDocument(DocumentModel doc,
String eventName)
If the value of the content property is null, this method returns without any further processing. |
void |
registerExtension(Extension extension)
Registers the given extension. |
void |
unregisterExtension(Extension extension)
Unregisters the given extension. |
| Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
|---|
getAdapter, registerContribution, unregisterContribution |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NAME
public static final String MODIFIER_EXTENSION_POINT_ASSOCIATIONS
| Constructor Detail |
|---|
public DocModifierServiceImpl()
| Method Detail |
|---|
public void activate(ComponentContext context)
throws Exception
ComponentThis method will be called by the runtime when a component is activated.
activate in interface Componentactivate in class DefaultComponentcontext - the runtime context
Exception - if an error occurs during activation
public void registerExtension(Extension extension)
throws Exception
Extensible
registerExtension in interface ExtensibleregisterExtension in class DefaultComponentextension - the extension to register
Exception - if any error occurs
public void unregisterExtension(Extension extension)
throws Exception
Extensible
unregisterExtension in interface ExtensibleunregisterExtension in class DefaultComponentextension - the extension to unregister
Exception - if any error occurs
public void deactivate(ComponentContext context)
throws Exception
ComponentThis method will be called by the runtime when a component is deactivated.
deactivate in interface Componentdeactivate in class DefaultComponentcontext - the runtime context
Exception - if an error occurs during activation
public void processDocument(DocumentModel doc,
String eventName)
throws DocModifierException
DocModifierService
processDocument in interface DocModifierServiceDocModifierException - if
|
Nuxeo Enterprise Platform 5.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||