@ProviderType
public class WikiPageLocalServiceUtil
extends java.lang.Object
com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl and is the
primary access point for service operations in application layer code running
on the local server. 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.WikiPageLocalService,
com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl,
com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl| Constructor and Description |
|---|
WikiPageLocalServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext) |
static WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext) |
static void |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
static void |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static void |
addPageAttachments(long userId,
long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
static void |
addPageResources(long nodeId,
java.lang.String title,
boolean addGroupPermissions,
boolean addGuestPermissions) |
static void |
addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
static void |
addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions) |
static void |
addPageResources(WikiPage page,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
static void |
addTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
static WikiPage |
addWikiPage(WikiPage wikiPage)
Adds the wiki page to the database.
|
static void |
changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext) |
static void |
copyPageAttachments(long userId,
long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
static WikiPage |
createWikiPage(long pageId)
Creates a new wiki page with the primary key.
|
static void |
deletePage(long nodeId,
java.lang.String title) |
static void |
deletePage(long nodeId,
java.lang.String title,
double version)
Deprecated.
As of 6.2.0 replaced by
discardDraft(long, String,
double) |
static void |
deletePage(WikiPage page) |
static void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
deletePageAttachments(long nodeId,
java.lang.String title) |
static void |
deletePages(long nodeId) |
static void |
deleteTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName) |
static void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
static WikiPage |
deleteWikiPage(long pageId)
Deletes the wiki page with the primary key from the database.
|
static WikiPage |
deleteWikiPage(WikiPage wikiPage)
Deletes the wiki page from the database.
|
static void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
static DynamicQuery |
dynamicQuery() |
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query.
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query.
|
static WikiPage |
fetchLatestPage(long resourcePrimKey,
int status,
boolean preferApproved) |
static WikiPage |
fetchLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved) |
static WikiPage |
fetchLatestPage(long nodeId,
java.lang.String title,
int status,
boolean preferApproved) |
static WikiPage |
fetchPage(long nodeId,
java.lang.String title) |
static WikiPage |
fetchPage(long nodeId,
java.lang.String title,
double version) |
static WikiPage |
fetchWikiPage(long pageId) |
static WikiPage |
fetchWikiPageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wiki page with the matching UUID and company.
|
static WikiPage |
fetchWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle) |
static WikiPage |
getDraftPage(long nodeId,
java.lang.String title) |
static java.util.List<WikiPage> |
getIncomingLinks(long nodeId,
java.lang.String title) |
static WikiPage |
getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved) |
static WikiPage |
getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved) |
static WikiPage |
getLatestPage(long nodeId,
java.lang.String title,
int status,
boolean preferApproved) |
static java.util.List<WikiPage> |
getNoAssetPages() |
static java.util.List<WikiPage> |
getOrphans(long nodeId) |
static java.util.List<WikiPage> |
getOutgoingLinks(long nodeId,
java.lang.String title) |
static WikiPage |
getPage(long resourcePrimKey) |
static WikiPage |
getPage(long resourcePrimKey,
java.lang.Boolean head) |
static WikiPage |
getPage(long nodeId,
java.lang.String title) |
static WikiPage |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
static WikiPage |
getPage(long nodeId,
java.lang.String title,
double version) |
static WikiPage |
getPageByPageId(long pageId) |
static WikiPageDisplay |
getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
static WikiPageDisplay |
getPageDisplay(WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
static java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc) |
static java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator obc) |
static java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end,
OrderByComparator obc) |
static java.util.List<WikiPage> |
getPages(long resourcePrimKey,
long nodeId,
int status) |
static java.util.List<WikiPage> |
getPages(long userId,
long nodeId,
int status,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end) |
static java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end,
OrderByComparator obc) |
static java.util.List<WikiPage> |
getPages(java.lang.String format) |
static int |
getPagesCount(long nodeId) |
static int |
getPagesCount(long nodeId,
boolean head) |
static int |
getPagesCount(long nodeId,
boolean head,
int status) |
static int |
getPagesCount(long nodeId,
int status) |
static int |
getPagesCount(long userId,
long nodeId,
int status) |
static int |
getPagesCount(long nodeId,
java.lang.String title) |
static int |
getPagesCount(long nodeId,
java.lang.String title,
boolean head) |
static int |
getPagesCount(java.lang.String format) |
static PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
static java.util.List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
Deprecated.
As of 6.2.0, replaced by
getRecentChanges(long, long,
int, int) |
static java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
static int |
getRecentChangesCount(long nodeId)
Deprecated.
As of 6.2.0, replaced by
getRecentChangesCount(long,
long) |
static int |
getRecentChangesCount(long groupId,
long nodeId) |
static WikiPageLocalService |
getService() |
static java.lang.String[] |
getTempPageAttachmentNames(long groupId,
long userId,
java.lang.String tempFolderName) |
static WikiPage |
getWikiPage(long pageId)
Returns the wiki page with the primary key.
|
static WikiPage |
getWikiPageByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns the wiki page with the matching UUID and company.
|
static WikiPage |
getWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
static java.util.List<WikiPage> |
getWikiPages(int start,
int end)
Returns a range of all the wiki pages.
|
static int |
getWikiPagesCount()
Returns the number of wiki pages.
|
static boolean |
hasDraftPage(long nodeId,
java.lang.String title) |
static void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
ServiceContext serviceContext) |
static void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext) |
static FileEntry |
movePageAttachmentToTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
static WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title) |
static WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title,
double version) |
static WikiPage |
movePageToTrash(long userId,
WikiPage page) |
static void |
restorePageAttachmentFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
static void |
restorePageFromTrash(long userId,
WikiPage page) |
static WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(WikiPageLocalService service)
Deprecated.
As of 6.2.0
|
static void |
subscribePage(long userId,
long nodeId,
java.lang.String title) |
static void |
unsubscribePage(long userId,
long nodeId,
java.lang.String title) |
static void |
updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds) |
static WikiPage |
updatePage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext) |
static WikiPage |
updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext) |
static WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext) |
static WikiPage |
updateWikiPage(WikiPage wikiPage)
Updates the wiki page in the database or adds it if it does not yet exist.
|
static void |
validateTitle(java.lang.String title) |
public static WikiPage addWikiPage(WikiPage wikiPage) throws SystemException
wikiPage - the wiki pageSystemException - if a system exception occurredpublic static WikiPage createWikiPage(long pageId)
pageId - the primary key for the new wiki pagepublic static WikiPage deleteWikiPage(long pageId) throws PortalException, SystemException
pageId - the primary key of the wiki pagePortalException - if a wiki page with the primary key could not be foundSystemException - if a system exception occurredpublic static WikiPage deleteWikiPage(WikiPage wikiPage) throws SystemException
wikiPage - the wiki pageSystemException - if a system exception occurredpublic static DynamicQuery dynamicQuery()
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery - the dynamic querySystemException - if a system exception occurredpublic static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)SystemException - if a system exception occurredpublic static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)SystemException - if a system exception occurredpublic static long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery - the dynamic querySystemException - if a system exception occurredpublic static long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQuery - the dynamic queryprojection - the projection to apply to the querySystemException - if a system exception occurredpublic static WikiPage fetchWikiPage(long pageId) throws SystemException
SystemExceptionpublic static WikiPage fetchWikiPageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws SystemException
uuid - the wiki page's UUIDcompanyId - the primary key of the companynull if a matching wiki page could not be foundSystemException - if a system exception occurredpublic static WikiPage fetchWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId) throws SystemException
uuid - the wiki page's UUIDgroupId - the primary key of the groupnull if a matching wiki page could not be foundSystemException - if a system exception occurredpublic static WikiPage getWikiPage(long pageId) throws PortalException, SystemException
pageId - the primary key of the wiki pagePortalException - if a wiki page with the primary key could not be foundSystemException - if a system exception occurredpublic static PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getWikiPageByUuidAndCompanyId(java.lang.String uuid, long companyId) throws PortalException, SystemException
uuid - the wiki page's UUIDcompanyId - the primary key of the companyPortalException - if a matching wiki page could not be foundSystemException - if a system exception occurredpublic static WikiPage getWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId) throws PortalException, SystemException
uuid - the wiki page's UUIDgroupId - the primary key of the groupPortalException - if a matching wiki page could not be foundSystemException - if a system exception occurredpublic static java.util.List<WikiPage> getWikiPages(int start, int end) throws SystemException
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start - the lower bound of the range of wiki pagesend - the upper bound of the range of wiki pages (not inclusive)SystemException - if a system exception occurredpublic static int getWikiPagesCount()
throws SystemException
SystemException - if a system exception occurredpublic static WikiPage updateWikiPage(WikiPage wikiPage) throws SystemException
wikiPage - the wiki pageSystemException - if a system exception occurredpublic static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static WikiPage addPage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, boolean head, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage addPage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageAttachments(long userId,
long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageResources(long nodeId,
java.lang.String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void addPageResources(WikiPage page, boolean addGroupPermissions, boolean addGuestPermissions) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void addPageResources(WikiPage page, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void addTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void copyPageAttachments(long userId,
long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
discardDraft(long, String,
double)PortalExceptionSystemExceptionpublic static void deletePage(WikiPage page) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deletePages(long nodeId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void discardDraft(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiPage fetchLatestPage(long resourcePrimKey, int status, boolean preferApproved) throws SystemException
SystemExceptionpublic static WikiPage fetchLatestPage(long resourcePrimKey, long nodeId, int status, boolean preferApproved) throws SystemException
SystemExceptionpublic static WikiPage fetchLatestPage(long nodeId, java.lang.String title, int status, boolean preferApproved) throws SystemException
SystemExceptionpublic static WikiPage fetchPage(long nodeId, java.lang.String title) throws SystemException
SystemExceptionpublic static WikiPage fetchPage(long nodeId, java.lang.String title, double version) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle) throws SystemException
SystemExceptionpublic static WikiPage getDraftPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getIncomingLinks(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getLatestPage(long resourcePrimKey, int status, boolean preferApproved) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getLatestPage(long resourcePrimKey, long nodeId, int status, boolean preferApproved) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getLatestPage(long nodeId, java.lang.String title, int status, boolean preferApproved) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getNoAssetPages() throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getOrphans(long nodeId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getOutgoingLinks(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long resourcePrimKey) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long resourcePrimKey, java.lang.Boolean head) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPage(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage getPageByPageId(long pageId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPageDisplay getPageDisplay(long nodeId, java.lang.String title, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPageDisplay getPageDisplay(WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long resourcePrimKey, long nodeId, int status) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long userId, long nodeId, int status, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, boolean head, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end, OrderByComparator obc) throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getPages(java.lang.String format) throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId)
throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId,
boolean head)
throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId,
boolean head,
int status)
throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId,
int status)
throws SystemException
SystemExceptionpublic static int getPagesCount(long userId,
long nodeId,
int status)
throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId,
java.lang.String title)
throws SystemException
SystemExceptionpublic static int getPagesCount(long nodeId,
java.lang.String title,
boolean head)
throws SystemException
SystemExceptionpublic static int getPagesCount(java.lang.String format)
throws SystemException
SystemExceptionpublic static java.util.List<WikiPage> getRecentChanges(long nodeId, int start, int end) throws PortalException, SystemException
getRecentChanges(long, long,
int, int)PortalExceptionSystemExceptionpublic static java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws SystemException
SystemExceptionpublic static int getRecentChangesCount(long nodeId)
throws PortalException,
SystemException
getRecentChangesCount(long,
long)PortalExceptionSystemExceptionpublic static int getRecentChangesCount(long groupId,
long nodeId)
throws SystemException
SystemExceptionpublic static java.lang.String[] getTempPageAttachmentNames(long groupId,
long userId,
java.lang.String tempFolderName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static boolean hasDraftPage(long nodeId,
java.lang.String title)
throws SystemException
SystemExceptionpublic static void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static FileEntry movePageAttachmentToTrash(long userId, long nodeId, java.lang.String title, java.lang.String fileName) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage movePageToTrash(long userId, WikiPage page) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void restorePageAttachmentFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void restorePageFromTrash(long userId,
WikiPage page)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void subscribePage(long userId,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void unsubscribePage(long userId,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static void updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static WikiPage updatePage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, java.lang.String parentTitle, java.lang.String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage updateStatus(long userId, long resourcePrimKey, int status, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static WikiPage updateStatus(long userId, WikiPage page, int status, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void validateTitle(java.lang.String title)
throws PortalException
PortalExceptionpublic static WikiPageLocalService getService()
public void setService(WikiPageLocalService service)