com.liferay.portlet.wiki.service
Class WikiNodeLocalServiceUtil
java.lang.Object
com.liferay.portlet.wiki.service.WikiNodeLocalServiceUtil
public class WikiNodeLocalServiceUtil
- extends Object
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.
- See Also:
WikiNodeLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static WikiNode |
addDefaultNode(long userId,
ServiceContext serviceContext)
|
static WikiNode |
addNode(long userId,
String name,
String description,
ServiceContext serviceContext)
|
static void |
addNodeResources(long nodeId,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addNodeResources(long nodeId,
String[] communityPermissions,
String[] guestPermissions)
|
static void |
addNodeResources(WikiNode node,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
static void |
addNodeResources(WikiNode node,
String[] communityPermissions,
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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static List<WikiNode> |
getCompanyNodes(long companyId,
int start,
int end)
|
static int |
getCompanyNodesCount(long companyId)
|
static WikiNode |
getNode(long nodeId)
|
static WikiNode |
getNode(long groupId,
String nodeName)
|
static List<WikiNode> |
getNodes(long groupId)
|
static 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(String uuid,
long groupId)
|
static List<WikiNode> |
getWikiNodes(int start,
int end)
|
static int |
getWikiNodesCount()
|
static void |
importPages(long userId,
long nodeId,
String importer,
File[] files,
Map<String,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,
String name,
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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(String uuid,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getWikiNodes
public static 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
addDefaultNode
public static WikiNode addDefaultNode(long userId,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNode
public static WikiNode addNode(long userId,
String name,
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,
String[] communityPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
addNodeResources
public static void addNodeResources(WikiNode node,
String[] communityPermissions,
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 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,
String nodeName)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodes
public static List<WikiNode> getNodes(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodes
public static List<WikiNode> getNodes(long groupId,
int start,
int end)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getNodesCount
public static int getNodesCount(long groupId)
throws SystemException
- Throws:
SystemException
importPages
public static void importPages(long userId,
long nodeId,
String importer,
File[] files,
Map<String,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,
String name,
String description,
ServiceContext serviceContext)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static WikiNodeLocalService getService()
setService
public void setService(WikiNodeLocalService service)