com.liferay.portlet.wiki.service
Interface WikiNodeLocalService
- public interface WikiNodeLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portlet.wiki.service.impl.WikiNodeLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be accessed
from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiNodeServiceFactory
,
WikiNodeServiceUtil
Method Summary |
WikiNode |
addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
WikiNode |
addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
WikiNode |
addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addNodeResources(WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
WikiNode |
addWikiNode(WikiNode model)
|
void |
deleteNode(long nodeId)
|
void |
deleteNode(WikiNode node)
|
void |
deleteNodes(long groupId)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
|
java.util.List |
dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
|
WikiNode |
getNode(long nodeId)
|
java.util.List |
getNodes(long groupId)
|
java.util.List |
getNodes(long groupId,
int begin,
int end)
|
int |
getNodesCount(long groupId)
|
void |
reIndex(java.lang.String[] ids)
|
com.liferay.portal.kernel.search.Hits |
search(long companyId,
long groupId,
long[] nodeIds,
java.lang.String keywords)
|
WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description)
|
WikiNode |
updateWikiNode(WikiNode model)
|
addWikiNode
public WikiNode addWikiNode(WikiNode model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateWikiNode
public WikiNode updateWikiNode(WikiNode model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addNode
public WikiNode addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNode
public WikiNode addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNode
public WikiNode addNode(long userId,
long plid,
java.lang.String name,
java.lang.String description,
java.lang.Boolean addCommunityPermissions,
java.lang.Boolean addGuestPermissions,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNodeResources
public void addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNodeResources
public void addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNodeResources
public void addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
addNodeResources
public void addNodeResources(WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteNode
public void deleteNode(long nodeId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteNode
public void deleteNode(WikiNode node)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
deleteNodes
public void deleteNodes(long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getNode
public WikiNode getNode(long nodeId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getNodes
public java.util.List getNodes(long groupId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getNodes
public java.util.List getNodes(long groupId,
int begin,
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
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[] nodeIds,
java.lang.String keywords)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateNode
public WikiNode updateNode(long nodeId,
java.lang.String name,
java.lang.String description)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException