public class WikiNodeLocalServiceImpl extends WikiNodeLocalServiceBaseImpl
assetEntryFinder, assetEntryLocalService, assetEntryPersistence, assetEntryService, counterLocalService, groupFinder, groupLocalService, groupPersistence, groupService, persistedModelLocalServiceRegistry, resourceLocalService, subscriptionLocalService, subscriptionPersistence, systemEventLocalService, systemEventPersistence, trashEntryLocalService, trashEntryPersistence, trashEntryService, trashVersionLocalService, trashVersionPersistence, userFinder, userLocalService, userPersistence, userService, wikiNodeLocalService, wikiNodePersistence, wikiNodeService, wikiPageFinder, wikiPageLocalService, wikiPagePersistence, wikiPageResourceLocalService, wikiPageResourcePersistence, wikiPageService, workflowInstanceLinkLocalService, workflowInstanceLinkPersistence| Constructor and Description |
|---|
WikiNodeLocalServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
addDefaultNode(long groupId) |
com.liferay.portlet.wiki.model.WikiNode |
addDefaultNode(long userId,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.wiki.model.WikiNode |
addNode(long userId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext) |
void |
addNodeResources(long nodeId,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addNodeResources(long nodeId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
java.lang.String[] groupPermissions,
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 |
fetchNode(long groupId,
java.lang.String name) |
com.liferay.portlet.wiki.model.WikiNode |
fetchNodeByUuidAndGroupId(java.lang.String uuid,
long groupId) |
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getCompanyNodes(long companyId,
int start,
int end) |
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getCompanyNodes(long companyId,
int status,
int start,
int end) |
int |
getCompanyNodesCount(long companyId) |
int |
getCompanyNodesCount(long companyId,
int status) |
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 status) |
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getNodes(long groupId,
int start,
int end) |
java.util.List<com.liferay.portlet.wiki.model.WikiNode> |
getNodes(long groupId,
int status,
int start,
int end) |
int |
getNodesCount(long groupId) |
int |
getNodesCount(long groupId,
int status) |
protected WikiImporter |
getWikiImporter(java.lang.String importer) |
void |
importPages(long userId,
long nodeId,
java.lang.String importer,
java.io.InputStream[] inputStreams,
java.util.Map<java.lang.String,java.lang.String[]> options) |
protected void |
moveDependentsToTrash(long nodeId,
long trashEntryId) |
com.liferay.portlet.wiki.model.WikiNode |
moveNodeToTrash(long userId,
long nodeId) |
com.liferay.portlet.wiki.model.WikiNode |
moveNodeToTrash(long userId,
com.liferay.portlet.wiki.model.WikiNode node) |
protected void |
restoreDependentFromTrash(long nodeId,
long trashEntryId) |
void |
restoreNodeFromTrash(long userId,
com.liferay.portlet.wiki.model.WikiNode node) |
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,
com.liferay.portal.service.ServiceContext serviceContext) |
com.liferay.portlet.wiki.model.WikiNode |
updateStatus(long userId,
com.liferay.portlet.wiki.model.WikiNode node,
int status,
com.liferay.portal.service.ServiceContext serviceContext) |
protected void |
validate(long nodeId,
long groupId,
java.lang.String name) |
protected void |
validate(long groupId,
java.lang.String name) |
addWikiNode, afterPropertiesSet, createWikiNode, deleteWikiNode, deleteWikiNode, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchWikiNode, fetchWikiNodeByUuidAndCompanyId, fetchWikiNodeByUuidAndGroupId, getAssetEntryFinder, getAssetEntryLocalService, getAssetEntryPersistence, getAssetEntryService, getBeanIdentifier, getCounterLocalService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getModelClass, getModelClassName, getPersistedModel, getResourceLocalService, getSubscriptionLocalService, getSubscriptionPersistence, getSystemEventLocalService, getSystemEventPersistence, getTrashEntryLocalService, getTrashEntryPersistence, getTrashEntryService, getTrashVersionLocalService, getTrashVersionPersistence, getUserFinder, getUserLocalService, getUserPersistence, getUserService, getWikiNode, getWikiNodeByUuidAndCompanyId, getWikiNodeByUuidAndGroupId, getWikiNodeLocalService, getWikiNodePersistence, getWikiNodes, getWikiNodesCount, getWikiNodeService, getWikiPageFinder, getWikiPageLocalService, getWikiPagePersistence, getWikiPageResourceLocalService, getWikiPageResourcePersistence, getWikiPageService, getWorkflowInstanceLinkLocalService, getWorkflowInstanceLinkPersistence, runSQL, setAssetEntryFinder, setAssetEntryLocalService, setAssetEntryPersistence, setAssetEntryService, setBeanIdentifier, setCounterLocalService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setResourceLocalService, setSubscriptionLocalService, setSubscriptionPersistence, setSystemEventLocalService, setSystemEventPersistence, setTrashEntryLocalService, setTrashEntryPersistence, setTrashEntryService, setTrashVersionLocalService, setTrashVersionPersistence, setUserFinder, setUserLocalService, setUserPersistence, setUserService, setWikiNodeLocalService, setWikiNodePersistence, setWikiNodeService, setWikiPageFinder, setWikiPageLocalService, setWikiPagePersistence, setWikiPageResourceLocalService, setWikiPageResourcePersistence, setWikiPageService, setWorkflowInstanceLinkLocalService, setWorkflowInstanceLinkPersistence, updateWikiNodepublic com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic 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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addNodeResources(long nodeId,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addNodeResources(long nodeId,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteNode(long nodeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException@SystemEvent(action=1,
type=1)
public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void deleteNodes(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode fetchNode(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode fetchNodeByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(long companyId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(long companyId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyNodesCount(long companyId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getCompanyNodesCount(long companyId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
java.lang.String nodeName)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId,
int status)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(long groupId,
int status,
int start,
int end)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic int getNodesCount(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic int getNodesCount(long groupId,
int status)
throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionpublic void importPages(long userId,
long nodeId,
java.lang.String importer,
java.io.InputStream[] inputStreams,
java.util.Map<java.lang.String,java.lang.String[]> options)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(long userId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(long userId,
com.liferay.portlet.wiki.model.WikiNode node)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void restoreNodeFromTrash(long userId,
com.liferay.portlet.wiki.model.WikiNode node)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void subscribeNode(long userId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic void unsubscribeNode(long userId,
long nodeId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionpublic com.liferay.portlet.wiki.model.WikiNode updateStatus(long userId,
com.liferay.portlet.wiki.model.WikiNode node,
int status,
com.liferay.portal.service.ServiceContext serviceContext)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected java.util.List<com.liferay.portlet.wiki.model.WikiNode> addDefaultNode(long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected WikiImporter getWikiImporter(java.lang.String importer) throws com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.SystemExceptionprotected void moveDependentsToTrash(long nodeId,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void restoreDependentFromTrash(long nodeId,
long trashEntryId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(long nodeId,
long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemExceptionprotected void validate(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
com.liferay.portal.kernel.exception.PortalExceptioncom.liferay.portal.kernel.exception.SystemException