public interface ForumThreadRepository
| Modifier and Type | Field and Description |
|---|---|
static String |
CLOSED_PROPERTY
Closed forum thread Nuxeo document property.
|
| Modifier and Type | Method and Description |
|---|---|
ForumThreadObject |
createPost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadForm form,
ForumThreadOptions options)
Create forum thread post.
|
void |
deletePost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadForm form,
ForumThreadOptions options)
Delete forum thread post.
|
net.sf.json.JSONArray |
getPosts(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread)
Get forum thread posts JSON array.
|
org.nuxeo.ecm.automation.client.model.Document |
getThread(org.osivia.portal.api.context.PortalControllerContext portalControllerContext)
Get forum thread Nuxeo document.
|
void |
insertMenubarItems(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document document)
Insert menubar items.
|
boolean |
isClosed(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread)
Check if forum thread is closed.
|
void |
setProperties(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadForm form)
Set forum thread form properties.
|
org.nuxeo.ecm.automation.client.model.Document |
toggleThreadClosure(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread,
boolean close)
Toggle forum thread closure.
|
ForumThreadObject |
updatePost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadObject post,
ForumThreadOptions options)
Update forum thread post.
|
static final String CLOSED_PROPERTY
void insertMenubarItems(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document document)
throws javax.portlet.PortletException
portalControllerContext - portal controller contextdocument - forum thread Nuxeo documentjavax.portlet.PortletExceptionboolean isClosed(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread)
throws javax.portlet.PortletException
portalControllerContext - portal controller contextthread - forum thread Nuxeo documentjavax.portlet.PortletExceptionForumThreadObject updatePost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext, ForumThreadObject post, ForumThreadOptions options) throws javax.portlet.PortletException, IOException
portalControllerContext - portal controller contextpost - forum thread postoptions - forum thread optionsjavax.portlet.PortletExceptionIOExceptionvoid deletePost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadForm form,
ForumThreadOptions options)
throws javax.portlet.PortletException
portalControllerContext - portal controller contextform - forum thread formoptions - forum thread optionsjavax.portlet.PortletExceptionForumThreadObject createPost(org.osivia.portal.api.context.PortalControllerContext portalControllerContext, ForumThreadForm form, ForumThreadOptions options) throws javax.portlet.PortletException, IOException
portalControllerContext - portal controller contextform - forum thread formoptions - thread form optionsjavax.portlet.PortletExceptionIOExceptionorg.nuxeo.ecm.automation.client.model.Document toggleThreadClosure(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread,
boolean close)
throws javax.portlet.PortletException
portalControllerContext - portal controller contextthread - forum thread Nuxeo documentclose - closure indicatorjavax.portlet.PortletExceptionvoid setProperties(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
ForumThreadForm form)
throws javax.portlet.PortletException,
IOException
portalControllerContext - portal controller contextform - forum thread formjavax.portlet.PortletExceptionIOExceptionorg.nuxeo.ecm.automation.client.model.Document getThread(org.osivia.portal.api.context.PortalControllerContext portalControllerContext)
throws javax.portlet.PortletException
portalControllerContext - portal controller contextjavax.portlet.PortletExceptionnet.sf.json.JSONArray getPosts(org.osivia.portal.api.context.PortalControllerContext portalControllerContext,
org.nuxeo.ecm.automation.client.model.Document thread)
throws javax.portlet.PortletException,
IOException
portalControllerContext - portal controller context.thread - forum thread Nuxeo documentjavax.portlet.PortletExceptionIOExceptionCopyright © 2020 OSIVIA. All rights reserved.