com.liferay.portlet.wiki.service.impl
Class WikiNodeLocalServiceImpl
java.lang.Object
com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl
com.liferay.portlet.wiki.service.impl.WikiNodeLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portlet.wiki.service.WikiNodeLocalService
public class WikiNodeLocalServiceImpl
- extends WikiNodeLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Charles May, Raymond Augé
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl |
counterLocalService, counterService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
Method Summary |
com.liferay.portlet.wiki.model.WikiNode |
addNode(long userId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
|
com.liferay.portlet.wiki.model.WikiNode |
addNode(java.lang.String uuid,
long userId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
|
void |
addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
deleteNode(long nodeId)
|
void |
deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
|
void |
deleteNodes(long groupId)
|
com.liferay.portlet.wiki.model.WikiNode |
getNode(long nodeId)
|
com.liferay.portlet.wiki.model.WikiNode |
getNode(long groupId,
java.lang.String nodeName)
|
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getNodes(long groupId)
|
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getNodes(long groupId,
int start,
int end)
|
int |
getNodesCount(long groupId)
|
protected WikiImporter |
getWikiImporter(java.lang.String importer)
|
void |
importPages(long userId,
long nodeId,
java.lang.String importer,
java.io.File[] files,
java.util.Map<java.lang.String,java.lang.String[]> options)
|
void |
reIndex(java.lang.String[] ids)
|
protected void |
reIndexNodes(long companyId)
|
protected void |
reIndexNodes(long companyId,
int nodeStart,
int nodeEnd)
|
protected void |
reIndexPages(long nodeId,
int pageStart,
int pageEnd)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long userId,
long[] nodeIds,
java.lang.String keywords,
int start,
int end)
|
void |
subscribeNode(long userId,
long nodeId)
|
void |
unsubscribeNode(long userId,
long nodeId)
|
com.liferay.portlet.wiki.model.WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description)
|
protected void |
validate(long nodeId,
long groupId,
java.lang.String name)
|
protected void |
validate(long groupId,
java.lang.String name)
|
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl |
addWikiNode, createWikiNode, deleteWikiNode, deleteWikiNode, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNode, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodes, getWikiNodesCount, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setCounterLocalService, setCounterService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, setSubscriptionLocalService, setSubscriptionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, updateWikiNode, updateWikiNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiNodeLocalServiceImpl
public WikiNodeLocalServiceImpl()
addNode
public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addNode
public com.liferay.portlet.wiki.model.WikiNode addNode(java.lang.String uuid,
long userId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addNodeResources
public void addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addNodeResources
public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addNodeResources
public void addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addNodeResources
public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteNode
public void deleteNode(long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteNode
public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteNodes
public void deleteNodes(long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNode
public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNode
public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
java.lang.String nodeName)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getNodes
public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNodes
public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNodesCount
public int getNodesCount(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
importPages
public void importPages(long userId,
long nodeId,
java.lang.String importer,
java.io.File[] files,
java.util.Map<java.lang.String,java.lang.String[]> options)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
reIndex
public void reIndex(java.lang.String[] ids)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
search
public com.liferay.portal.kernel.search.Hits search(long companyId,
long groupId,
long userId,
long[] nodeIds,
java.lang.String keywords,
int start,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
subscribeNode
public void subscribeNode(long userId,
long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
unsubscribeNode
public void unsubscribeNode(long userId,
long nodeId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
updateNode
public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getWikiImporter
protected WikiImporter getWikiImporter(java.lang.String importer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndexNodes
protected void reIndexNodes(long companyId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndexNodes
protected void reIndexNodes(long companyId,
int nodeStart,
int nodeEnd)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
reIndexPages
protected void reIndexPages(long nodeId,
int pageStart,
int pageEnd)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
validate
protected void validate(long groupId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
validate
protected void validate(long nodeId,
long groupId,
java.lang.String name)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException