org.nuxeo.opensocial.container.server.service
Class WebContentSaverServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.opensocial.container.server.service.WebContentSaverServiceImpl
- All Implemented Interfaces:
- WebContentSaverService, org.nuxeo.runtime.model.Adaptable, org.nuxeo.runtime.model.Component, org.nuxeo.runtime.model.Extensible
public class WebContentSaverServiceImpl
- extends org.nuxeo.runtime.model.DefaultComponent
- implements WebContentSaverService
- Author:
- Stéphane Fourrier
Field Summary |
static org.nuxeo.runtime.model.ComponentName |
NAME
|
Methods inherited from class org.nuxeo.runtime.model.DefaultComponent |
applicationStarted, getAdapter, registerExtension, unregisterExtension |
NAME
public static final org.nuxeo.runtime.model.ComponentName NAME
WebContentSaverServiceImpl
public WebContentSaverServiceImpl()
create
public WebContentData create(WebContentData data,
String parentId,
org.nuxeo.ecm.core.api.CoreSession session)
throws Exception
- Specified by:
create
in interface WebContentSaverService
- Throws:
Exception
read
public WebContentData read(org.nuxeo.ecm.core.api.DocumentModel doc,
org.nuxeo.ecm.core.api.CoreSession session)
throws Exception
- Specified by:
read
in interface WebContentSaverService
- Throws:
Exception
update
public WebContentData update(WebContentData data,
org.nuxeo.ecm.core.api.CoreSession session)
throws Exception
- Specified by:
update
in interface WebContentSaverService
- Throws:
Exception
delete
public void delete(WebContentData data,
org.nuxeo.ecm.core.api.CoreSession session)
throws Exception
- Specified by:
delete
in interface WebContentSaverService
- Throws:
Exception
getWebContentAdapterFor
public Class<?> getWebContentAdapterFor(org.nuxeo.ecm.core.api.DocumentModel doc)
- Specified by:
getWebContentAdapterFor
in interface WebContentSaverService
getWebContentDAOFor
public Class<?> getWebContentDAOFor(org.nuxeo.ecm.core.api.DocumentModel doc)
- Specified by:
getWebContentDAOFor
in interface WebContentSaverService
getDocTypeFor
public String getDocTypeFor(WebContentData data)
- Specified by:
getDocTypeFor
in interface WebContentSaverService
activate
public void activate(org.nuxeo.runtime.model.ComponentContext context)
- Specified by:
activate
in interface org.nuxeo.runtime.model.Component
- Overrides:
activate
in class org.nuxeo.runtime.model.DefaultComponent
deactivate
public void deactivate(org.nuxeo.runtime.model.ComponentContext context)
- Specified by:
deactivate
in interface org.nuxeo.runtime.model.Component
- Overrides:
deactivate
in class org.nuxeo.runtime.model.DefaultComponent
registerContribution
public void registerContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
- Overrides:
registerContribution
in class org.nuxeo.runtime.model.DefaultComponent
unregisterContribution
public void unregisterContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor)
- Overrides:
unregisterContribution
in class org.nuxeo.runtime.model.DefaultComponent
Copyright © 2011 Nuxeo SAS. All Rights Reserved.