public class WikiNodeServiceWrapper extends java.lang.Object implements ServiceWrapper<WikiNodeService>, WikiNodeService
WikiNodeService.WikiNodeService| Constructor and Description |
|---|
WikiNodeServiceWrapper(WikiNodeService wikiNodeService) |
| Modifier and Type | Method and Description |
|---|---|
WikiNode |
addNode(java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
void |
deleteNode(long nodeId) |
WikiNode |
getNode(long nodeId) |
WikiNode |
getNode(long groupId,
java.lang.String name) |
java.util.List<WikiNode> |
getNodes(long groupId) |
java.util.List<WikiNode> |
getNodes(long groupId,
int status) |
java.util.List<WikiNode> |
getNodes(long groupId,
int start,
int end) |
java.util.List<WikiNode> |
getNodes(long groupId,
int status,
int start,
int end) |
java.util.List<WikiNode> |
getNodes(long groupId,
int status,
int start,
int end,
OrderByComparator<WikiNode> orderByComparator) |
int |
getNodesCount(long groupId) |
int |
getNodesCount(long groupId,
int status) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
WikiNodeService |
getWrappedService() |
void |
importPages(long nodeId,
java.lang.String importer,
java.io.InputStream[] inputStreams,
java.util.Map<java.lang.String,java.lang.String[]> options) |
WikiNode |
moveNodeToTrash(long nodeId) |
void |
restoreNodeFromTrash(long nodeId) |
void |
setWrappedService(WikiNodeService wikiNodeService) |
void |
subscribeNode(long nodeId) |
void |
unsubscribeNode(long nodeId) |
WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext) |
public WikiNodeServiceWrapper(WikiNodeService wikiNodeService)
public WikiNode addNode(java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
addNode in interface WikiNodeServicePortalExceptionpublic void deleteNode(long nodeId)
throws PortalException
deleteNode in interface WikiNodeServicePortalExceptionpublic WikiNode getNode(long nodeId) throws PortalException
getNode in interface WikiNodeServicePortalExceptionpublic WikiNode getNode(long groupId, java.lang.String name) throws PortalException
getNode in interface WikiNodeServicePortalExceptionpublic java.util.List<WikiNode> getNodes(long groupId) throws PortalException
getNodes in interface WikiNodeServicePortalExceptionpublic java.util.List<WikiNode> getNodes(long groupId, int status) throws PortalException
getNodes in interface WikiNodeServicePortalExceptionpublic java.util.List<WikiNode> getNodes(long groupId, int start, int end)
getNodes in interface WikiNodeServicepublic java.util.List<WikiNode> getNodes(long groupId, int status, int start, int end)
getNodes in interface WikiNodeServicepublic java.util.List<WikiNode> getNodes(long groupId, int status, int start, int end, OrderByComparator<WikiNode> orderByComparator)
getNodes in interface WikiNodeServicepublic int getNodesCount(long groupId)
getNodesCount in interface WikiNodeServicepublic int getNodesCount(long groupId,
int status)
getNodesCount in interface WikiNodeServicepublic java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface WikiNodeServicepublic void importPages(long nodeId,
java.lang.String importer,
java.io.InputStream[] inputStreams,
java.util.Map<java.lang.String,java.lang.String[]> options)
throws PortalException
importPages in interface WikiNodeServicePortalExceptionpublic WikiNode moveNodeToTrash(long nodeId) throws PortalException
moveNodeToTrash in interface WikiNodeServicePortalExceptionpublic void restoreNodeFromTrash(long nodeId)
throws PortalException
restoreNodeFromTrash in interface WikiNodeServicePortalExceptionpublic void subscribeNode(long nodeId)
throws PortalException
subscribeNode in interface WikiNodeServicePortalExceptionpublic void unsubscribeNode(long nodeId)
throws PortalException
unsubscribeNode in interface WikiNodeServicePortalExceptionpublic WikiNode updateNode(long nodeId, java.lang.String name, java.lang.String description, ServiceContext serviceContext) throws PortalException
updateNode in interface WikiNodeServicePortalExceptionpublic WikiNodeService getWrappedService()
getWrappedService in interface ServiceWrapper<WikiNodeService>public void setWrappedService(WikiNodeService wikiNodeService)
setWrappedService in interface ServiceWrapper<WikiNodeService>