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:
- WikiNodeLocalService
public class WikiNodeLocalServiceImpl
- extends WikiNodeLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl |
counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, resourceFinder, resourceLocalService, resourcePersistence, resourceService, subscriptionLocalService, subscriptionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService |
Method Summary |
protected List<WikiNode> |
addDefaultNode(long groupId)
|
WikiNode |
addDefaultNode(long userId,
ServiceContext serviceContext)
|
WikiNode |
addNode(long userId,
String name,
String description,
ServiceContext serviceContext)
|
void |
addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(long nodeId,
String[] communityPermissions,
String[] guestPermissions)
|
void |
addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(WikiNode node,
String[] communityPermissions,
String[] guestPermissions)
|
void |
deleteNode(long nodeId)
|
void |
deleteNode(WikiNode node)
|
void |
deleteNodes(long groupId)
|
List<WikiNode> |
getCompanyNodes(long companyId,
int start,
int end)
|
int |
getCompanyNodesCount(long companyId)
|
WikiNode |
getNode(long nodeId)
|
WikiNode |
getNode(long groupId,
String nodeName)
|
List<WikiNode> |
getNodes(long groupId)
|
List<WikiNode> |
getNodes(long groupId,
int start,
int end)
|
int |
getNodesCount(long groupId)
|
protected WikiImporter |
getWikiImporter(String importer)
|
void |
importPages(long userId,
long nodeId,
String importer,
File[] files,
Map<String,String[]> options)
|
void |
subscribeNode(long userId,
long nodeId)
|
void |
unsubscribeNode(long userId,
long nodeId)
|
WikiNode |
updateNode(long nodeId,
String name,
String description,
ServiceContext serviceContext)
|
protected void |
validate(long nodeId,
long groupId,
String name)
|
protected void |
validate(long groupId,
String name)
|
Methods inherited from class com.liferay.portlet.wiki.service.base.WikiNodeLocalServiceBaseImpl |
addWikiNode, createWikiNode, deleteWikiNode, deleteWikiNode, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, getSubscriptionLocalService, getSubscriptionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNode, getWikiNodeByUuidAndGroupId, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodes, getWikiNodesCount, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, runSQL, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, 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()
addDefaultNode
public WikiNode addDefaultNode(long userId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNode
public WikiNode addNode(long userId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public void addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public void addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public void addNodeResources(long nodeId,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public void addNodeResources(WikiNode node,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNode
public void deleteNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNode
public void deleteNode(WikiNode node)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNodes
public void deleteNodes(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyNodes
public List<WikiNode> getCompanyNodes(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyNodesCount
public int getCompanyNodesCount(long companyId)
throws SystemException
- Throws:
SystemException
getNode
public WikiNode getNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNode
public WikiNode getNode(long groupId,
String nodeName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodes
public List<WikiNode> getNodes(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodes
public List<WikiNode> getNodes(long groupId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodesCount
public int getNodesCount(long groupId)
throws SystemException
- Throws:
SystemException
importPages
public void importPages(long userId,
long nodeId,
String importer,
File[] files,
Map<String,String[]> options)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribeNode
public void subscribeNode(long userId,
long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeNode
public void unsubscribeNode(long userId,
long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateNode
public WikiNode updateNode(long nodeId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addDefaultNode
protected List<WikiNode> addDefaultNode(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWikiImporter
protected WikiImporter getWikiImporter(String importer)
throws SystemException
- Throws:
SystemException
validate
protected void validate(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
validate
protected void validate(long nodeId,
long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException