@Service public class ForumServiceImpl extends Object implements IForumService, org.springframework.context.ApplicationContextAware
IForumService,
ApplicationContextAware| Constructor and Description |
|---|
ForumServiceImpl()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addThreadPost(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
List<ThreadPost> posts,
ThreadPostReplyForm replyForm,
String parentId)
Add thread post.
|
void |
deleteThreadPost(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
List<ThreadPost> posts,
String id)
Delete thread post.
|
org.nuxeo.ecm.automation.client.model.Document |
getDocument(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
Get current Nuxeo document.
|
Thread |
getThread(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
Get current thread view object.
|
List<ThreadPost> |
getThreadPosts(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
Get thread posts.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public org.nuxeo.ecm.automation.client.model.Document getDocument(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController)
throws javax.portlet.PortletException
getDocument in interface IForumServicenuxeoController - Nuxeo controllerjavax.portlet.PortletExceptionpublic Thread getThread(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController) throws javax.portlet.PortletException
getThread in interface IForumServicenuxeoController - Nuxeo controllerjavax.portlet.PortletExceptionpublic List<ThreadPost> getThreadPosts(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController) throws javax.portlet.PortletException
getThreadPosts in interface IForumServicenuxeoController - Nuxeo controllerjavax.portlet.PortletExceptionpublic void addThreadPost(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
List<ThreadPost> posts,
ThreadPostReplyForm replyForm,
String parentId)
throws javax.portlet.PortletException
addThreadPost in interface IForumServicenuxeoController - Nuxeo controllerposts - thread postsreplyForm - thread post reply formparentId - parent thread post identifier, may be nulljavax.portlet.PortletExceptionpublic void deleteThreadPost(fr.toutatice.portail.cms.nuxeo.api.NuxeoController nuxeoController,
List<ThreadPost> posts,
String id)
throws javax.portlet.PortletException
deleteThreadPost in interface IForumServicenuxeoController - Nuxeo controllerposts - thread postsid - thread post identifierjavax.portlet.PortletExceptionpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2016 OSIVIA. All rights reserved.