com.liferay.portlet.wiki.service
Class WikiNodeLocalServiceUtil
java.lang.Object
com.liferay.portlet.wiki.service.WikiNodeLocalServiceUtil
public class WikiNodeLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
WikiNodeLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
WikiNodeLocalService
- Generated:
Method Summary |
static WikiNode |
addNode(long userId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
static WikiNode |
addNode(java.lang.String uuid,
long userId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
static void |
addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static void |
addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addNodeResources(WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
static WikiNode |
addWikiNode(WikiNode wikiNode)
|
static WikiNode |
createWikiNode(long nodeId)
|
static void |
deleteNode(long nodeId)
|
static void |
deleteNode(WikiNode node)
|
static void |
deleteNodes(long groupId)
|
static void |
deleteWikiNode(long nodeId)
|
static void |
deleteWikiNode(WikiNode wikiNode)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<WikiNode> |
getCompanyNodes(long companyId,
int start,
int end)
|
static int |
getCompanyNodesCount(long companyId)
|
static WikiNode |
getNode(long nodeId)
|
static WikiNode |
getNode(long groupId,
java.lang.String nodeName)
|
static java.util.List<WikiNode> |
getNodes(long groupId)
|
static java.util.List<WikiNode> |
getNodes(long groupId,
int start,
int end)
|
static int |
getNodesCount(long groupId)
|
static WikiNodeLocalService |
getService()
|
static WikiNode |
getWikiNode(long nodeId)
|
static WikiNode |
getWikiNodeByUuidAndGroupId(java.lang.String uuid,
long groupId)
|
static java.util.List<WikiNode> |
getWikiNodes(int start,
int end)
|
static int |
getWikiNodesCount()
|
static 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 |
setService(WikiNodeLocalService service)
|
static void |
subscribeNode(long userId,
long nodeId)
|
static void |
unsubscribeNode(long userId,
long nodeId)
|
static WikiNode |
updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
|
static WikiNode |
updateWikiNode(WikiNode wikiNode)
|
static WikiNode |
updateWikiNode(WikiNode wikiNode,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiNodeLocalServiceUtil
public WikiNodeLocalServiceUtil()
addWikiNode
public static WikiNode addWikiNode(WikiNode wikiNode)
throws SystemException
- Throws:
SystemException
createWikiNode
public static WikiNode createWikiNode(long nodeId)
deleteWikiNode
public static void deleteWikiNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteWikiNode
public static void deleteWikiNode(WikiNode wikiNode)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getWikiNode
public static WikiNode getWikiNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWikiNodeByUuidAndGroupId
public static WikiNode getWikiNodeByUuidAndGroupId(java.lang.String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWikiNodes
public static java.util.List<WikiNode> getWikiNodes(int start,
int end)
throws SystemException
- Throws:
SystemException
getWikiNodesCount
public static int getWikiNodesCount()
throws SystemException
- Throws:
SystemException
updateWikiNode
public static WikiNode updateWikiNode(WikiNode wikiNode)
throws SystemException
- Throws:
SystemException
updateWikiNode
public static WikiNode updateWikiNode(WikiNode wikiNode,
boolean merge)
throws SystemException
- Throws:
SystemException
addNode
public static WikiNode addNode(long userId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNode
public static WikiNode addNode(java.lang.String uuid,
long userId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public static void addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public static void addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public static void addNodeResources(long nodeId,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public static void addNodeResources(WikiNode node,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNode
public static void deleteNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNode
public static void deleteNode(WikiNode node)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteNodes
public static void deleteNodes(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getCompanyNodes
public static java.util.List<WikiNode> getCompanyNodes(long companyId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getCompanyNodesCount
public static int getCompanyNodesCount(long companyId)
throws SystemException
- Throws:
SystemException
getNode
public static WikiNode getNode(long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNode
public static WikiNode getNode(long groupId,
java.lang.String nodeName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodes
public static java.util.List<WikiNode> getNodes(long groupId)
throws SystemException
- Throws:
SystemException
getNodes
public static java.util.List<WikiNode> getNodes(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
getNodesCount
public static int getNodesCount(long groupId)
throws SystemException
- Throws:
SystemException
importPages
public static 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 PortalException,
SystemException
- Throws:
PortalException
SystemException
subscribeNode
public static void subscribeNode(long userId,
long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
unsubscribeNode
public static void unsubscribeNode(long userId,
long nodeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateNode
public static WikiNode updateNode(long nodeId,
java.lang.String name,
java.lang.String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WikiNodeLocalService getService()
setService
public void setService(WikiNodeLocalService service)