|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.wiki.service.base.WikiPageLocalServiceBaseImpl
com.liferay.portlet.wiki.service.impl.WikiPageLocalServiceImpl
public class WikiPageLocalServiceImpl
Provides the local service for accessing, adding, deleting, moving, subscription handling of, trash handling of, updating, and validating wiki pages.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
WikiPageLocalServiceImpl()
|
|
| Method Summary | |
|---|---|
WikiPage |
addPage(long userId,
long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
boolean head,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
WikiPage |
addPage(long userId,
long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
void |
addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
File file,
String mimeType)
|
void |
addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
InputStream inputStream,
String mimeType)
|
void |
addPageAttachments(long userId,
long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
|
void |
addPageResources(long nodeId,
String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addPageResources(long nodeId,
String title,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions)
|
void |
addPageResources(WikiPage page,
String[] groupPermissions,
String[] guestPermissions)
|
void |
addTempFileEntry(long groupId,
long userId,
String folderName,
String fileName,
InputStream inputStream,
String mimeType)
|
void |
addTempPageAttachment(long groupId,
long userId,
String fileName,
String tempFolderName,
InputStream inputStream,
String mimeType)
Deprecated. As of 7.0.0 replaced by addTempFileEntry(long, long,
String, String, InputStream, String) |
protected void |
changeChildPagesNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
|
void |
changeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
|
WikiPage |
changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
protected void |
changeRedirectPagesNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
|
protected void |
checkDuplicationOnNodeChange(long nodeId,
String title,
long newNodeId)
|
protected void |
checkNodeChange(long nodeId,
String title,
long newNodeId)
|
protected void |
clearPageCache(WikiPage page)
|
void |
copyPageAttachments(long userId,
long templateNodeId,
String templateTitle,
long nodeId,
String title)
|
void |
deletePage(long nodeId,
String title)
|
void |
deletePage(long nodeId,
String title,
double version)
Deprecated. As of 6.2.0 replaced by discardDraft(long, String,
double) |
void |
deletePage(WikiPage page)
|
protected void |
deletePageAttachment(long fileEntryId)
|
void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
void |
deletePageAttachments(long nodeId,
String title)
|
void |
deletePages(long nodeId)
|
void |
deleteTempFileEntry(long groupId,
long userId,
String folderName,
String fileName)
|
void |
deleteTrashPageAttachments(long nodeId,
String title)
|
void |
discardDraft(long nodeId,
String title,
double version)
|
protected WikiPage |
doChangeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
|
protected WikiPage |
doRenamePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
WikiPage |
fetchLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
|
WikiPage |
fetchLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
|
WikiPage |
fetchLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
|
WikiPage |
fetchPage(long resourcePrimKey)
|
WikiPage |
fetchPage(long nodeId,
String title)
|
WikiPage |
fetchPage(long nodeId,
String title,
double version)
|
List<WikiPage> |
getChildren(long nodeId,
boolean head,
String parentTitle)
|
List<WikiPage> |
getChildren(long nodeId,
boolean head,
String parentTitle,
int status)
|
List<WikiPage> |
getChildren(long nodeId,
boolean head,
String parentTitle,
int start,
int end)
|
int |
getChildrenCount(long nodeId,
boolean head,
String parentTitle)
|
int |
getChildrenCount(long nodeId,
boolean head,
String parentTitle,
int status)
|
List<WikiPage> |
getDependentPages(long nodeId,
boolean head,
String title,
int status)
|
protected String |
getDiffsURL(WikiPage page,
WikiPage previousVersionPage,
ServiceContext serviceContext)
|
WikiPage |
getDraftPage(long nodeId,
String title)
|
List<WikiPage> |
getIncomingLinks(long nodeId,
String title)
|
WikiPage |
getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
|
WikiPage |
getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
|
WikiPage |
getLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
|
List<WikiPage> |
getNoAssetPages()
|
List<WikiPage> |
getOrphans(long nodeId)
|
List<WikiPage> |
getOutgoingLinks(long nodeId,
String title)
|
WikiPage |
getPage(long resourcePrimKey)
|
WikiPage |
getPage(long resourcePrimKey,
Boolean head)
|
WikiPage |
getPage(long nodeId,
String title)
|
WikiPage |
getPage(long nodeId,
String title,
Boolean head)
|
WikiPage |
getPage(long nodeId,
String title,
double version)
|
WikiPage |
getPageByPageId(long pageId)
|
WikiPageDisplay |
getPageDisplay(long nodeId,
String title,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
|
WikiPageDisplay |
getPageDisplay(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
|
List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator<WikiPage> obc)
|
List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator<WikiPage> obc)
|
List<WikiPage> |
getPages(long nodeId,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
int start,
int end,
OrderByComparator<WikiPage> obc)
|
List<WikiPage> |
getPages(long resourcePrimKey,
long nodeId,
int status)
|
List<WikiPage> |
getPages(long userId,
long nodeId,
int status,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
String title,
boolean head,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
String title,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
String title,
int start,
int end,
OrderByComparator<WikiPage> obc)
|
List<WikiPage> |
getPages(String format)
|
int |
getPagesCount(long nodeId)
|
int |
getPagesCount(long nodeId,
boolean head)
|
int |
getPagesCount(long nodeId,
boolean head,
int status)
|
int |
getPagesCount(long nodeId,
int status)
|
int |
getPagesCount(long userId,
long nodeId,
int status)
|
int |
getPagesCount(long nodeId,
String title)
|
int |
getPagesCount(long nodeId,
String title,
boolean head)
|
int |
getPagesCount(String format)
|
protected String |
getPageURL(WikiPage page,
ServiceContext serviceContext)
|
protected List<ObjectValuePair<Long,Integer>> |
getPageVersionStatuses(List<WikiPage> pages)
|
protected String |
getParentPageTitle(WikiPage page)
|
WikiPage |
getPreviousVersionPage(WikiPage page)
|
List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
Deprecated. As of 6.2.0, replaced by getRecentChanges(long, long,
int, int) |
List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end)
|
int |
getRecentChangesCount(long nodeId)
Deprecated. As of 6.2.0, replaced by getRecentChangesCount(long,
long) |
int |
getRecentChangesCount(long groupId,
long nodeId)
|
List<WikiPage> |
getRedirectPages(long nodeId,
boolean head,
String redirectTitle,
int status)
|
String[] |
getTempFileNames(long groupId,
long userId,
String folderName)
|
boolean |
hasDraftPage(long nodeId,
String title)
|
protected boolean |
isLinkedTo(WikiPage page,
String targetTitle)
|
protected boolean |
isUsedTitle(long nodeId,
String title)
|
protected void |
moveDependentChildPagesFromTrash(WikiPage page,
long nodeId,
String title,
String trashTitle)
|
protected void |
moveDependentChildPagesToTrash(WikiPage page,
String title,
String trashTitle,
long trashEntryId,
boolean createTrashVersion)
|
protected void |
moveDependentFromTrash(WikiPage page,
long newNodeId,
String newParentTitle)
|
protected void |
moveDependentRedirectPagesFromTrash(WikiPage page,
long nodeId,
String title,
String trashTitle)
|
protected void |
moveDependentRedirectPagesToTrash(WikiPage page,
String title,
String trashTitle,
long trashEntryId,
boolean createTrashVersion)
|
void |
moveDependentToTrash(WikiPage page,
long trashEntryId)
|
protected void |
moveDependentToTrash(WikiPage page,
long trashEntryId,
boolean createTrashVersion)
|
void |
movePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
Deprecated. As of 6.2.0, replaced by renamePage(long, long,
String, String, boolean, ServiceContext) |
void |
movePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by renamePage(long, long,
String, String, ServiceContext) |
FileEntry |
movePageAttachmentToTrash(long userId,
long nodeId,
String title,
String fileName)
|
WikiPage |
movePageFromTrash(long userId,
long nodeId,
String title,
long newNodeId,
String newParentTitle)
|
WikiPage |
movePageFromTrash(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by movePageFromTrash(long,
long, String, long, String) * |
protected void |
movePageFromTrash(long userId,
WikiPage page,
long newNodeId,
String newParentTitle)
|
WikiPage |
movePageToTrash(long userId,
long nodeId,
String title)
|
WikiPage |
movePageToTrash(long userId,
long nodeId,
String title,
double version)
|
WikiPage |
movePageToTrash(long userId,
WikiPage page)
|
protected void |
notifySubscribers(WikiPage page,
String pageURL,
ServiceContext serviceContext)
|
protected void |
populateServiceContext(ServiceContext serviceContext,
WikiPage page)
|
void |
renamePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
|
void |
renamePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
void |
restorePageAttachmentFromTrash(long userId,
long nodeId,
String title,
String fileName)
|
void |
restorePageFromTrash(long userId,
WikiPage page)
|
WikiPage |
revertPage(long userId,
long nodeId,
String title,
double version,
ServiceContext serviceContext)
|
protected void |
startWorkflowInstance(long userId,
WikiPage page,
ServiceContext serviceContext)
|
void |
subscribePage(long userId,
long nodeId,
String title)
|
void |
unsubscribePage(long userId,
long nodeId,
String title)
|
void |
updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
|
WikiPage |
updatePage(long userId,
long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
protected WikiPage |
updatePage(long userId,
WikiPage oldPage,
long newNodeId,
String newTitle,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
WikiPage |
updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext)
|
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext)
Deprecated. As of 7.0.0, replaced by updateStatus(long, WikiPage,
int, ServiceContext, Map) |
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
|
protected void |
validate(long nodeId,
String content,
String format)
|
protected void |
validate(String title,
long nodeId,
String content,
String format)
|
void |
validateTitle(String title)
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiPageLocalServiceImpl()
| Method Detail |
|---|
public WikiPage addPage(long userId,
long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
boolean head,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
public WikiPage addPage(long userId,
long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException
PortalException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
File file,
String mimeType)
throws PortalException
PortalException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
InputStream inputStream,
String mimeType)
throws PortalException
PortalException
public void addPageAttachments(long userId,
long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
throws PortalException
PortalException
public void addPageResources(long nodeId,
String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
public void addPageResources(long nodeId,
String title,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
PortalException
public void addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
PortalException
public void addPageResources(WikiPage page,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
PortalException
public void addTempFileEntry(long groupId,
long userId,
String folderName,
String fileName,
InputStream inputStream,
String mimeType)
throws PortalException
PortalException
@Deprecated
public void addTempPageAttachment(long groupId,
long userId,
String fileName,
String tempFolderName,
InputStream inputStream,
String mimeType)
throws PortalException
addTempFileEntry(long, long,
String, String, InputStream, String)
PortalException
public void changeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
throws PortalException
PortalException
public WikiPage changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
public void copyPageAttachments(long userId,
long templateNodeId,
String templateTitle,
long nodeId,
String title)
throws PortalException
PortalException
public void deletePage(long nodeId,
String title)
throws PortalException
PortalException
@Deprecated
public void deletePage(long nodeId,
String title,
double version)
throws PortalException
discardDraft(long, String,
double)
PortalException
@SystemEvent(action=1,
send=false,
type=1)
public void deletePage(WikiPage page)
throws PortalException
PortalException
public void deletePageAttachment(long nodeId,
String title,
String fileName)
throws PortalException
PortalException
public void deletePageAttachments(long nodeId,
String title)
throws PortalException
PortalException
public void deletePages(long nodeId)
throws PortalException
PortalException
public void deleteTempFileEntry(long groupId,
long userId,
String folderName,
String fileName)
throws PortalException
PortalException
public void deleteTrashPageAttachments(long nodeId,
String title)
throws PortalException
PortalException
public void discardDraft(long nodeId,
String title,
double version)
throws PortalException
PortalException
public WikiPage fetchLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
public WikiPage fetchLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
public WikiPage fetchLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
public WikiPage fetchPage(long resourcePrimKey)
public WikiPage fetchPage(long nodeId,
String title)
public WikiPage fetchPage(long nodeId,
String title,
double version)
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle)
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle,
int status)
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle,
int start,
int end)
public int getChildrenCount(long nodeId,
boolean head,
String parentTitle)
public int getChildrenCount(long nodeId,
boolean head,
String parentTitle,
int status)
public List<WikiPage> getDependentPages(long nodeId,
boolean head,
String title,
int status)
public WikiPage getDraftPage(long nodeId,
String title)
throws PortalException
PortalException
public List<WikiPage> getIncomingLinks(long nodeId,
String title)
throws PortalException
PortalException
public WikiPage getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
throws PortalException
PortalException
public WikiPage getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
throws PortalException
PortalException
public WikiPage getLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
throws PortalException
PortalExceptionpublic List<WikiPage> getNoAssetPages()
public List<WikiPage> getOrphans(long nodeId)
throws PortalException
PortalException
public List<WikiPage> getOutgoingLinks(long nodeId,
String title)
throws PortalException
PortalException
public WikiPage getPage(long resourcePrimKey)
throws PortalException
PortalException
public WikiPage getPage(long resourcePrimKey,
Boolean head)
throws PortalException
PortalException
public WikiPage getPage(long nodeId,
String title)
throws PortalException
PortalException
public WikiPage getPage(long nodeId,
String title,
Boolean head)
throws PortalException
PortalException
public WikiPage getPage(long nodeId,
String title,
double version)
throws PortalException
PortalException
public WikiPage getPageByPageId(long pageId)
throws PortalException
PortalException
public WikiPageDisplay getPageDisplay(long nodeId,
String title,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException
PortalException
public WikiPageDisplay getPageDisplay(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException
PortalException
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
boolean head,
int status,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator<WikiPage> obc)
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator<WikiPage> obc)
public List<WikiPage> getPages(long nodeId,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
int start,
int end,
OrderByComparator<WikiPage> obc)
public List<WikiPage> getPages(long resourcePrimKey,
long nodeId,
int status)
public List<WikiPage> getPages(long userId,
long nodeId,
int status,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
String title,
boolean head,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end)
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end,
OrderByComparator<WikiPage> obc)
public List<WikiPage> getPages(String format)
public int getPagesCount(long nodeId)
public int getPagesCount(long nodeId,
boolean head)
public int getPagesCount(long nodeId,
boolean head,
int status)
public int getPagesCount(long nodeId,
int status)
public int getPagesCount(long userId,
long nodeId,
int status)
public int getPagesCount(long nodeId,
String title)
public int getPagesCount(long nodeId,
String title,
boolean head)
public int getPagesCount(String format)
public WikiPage getPreviousVersionPage(WikiPage page)
throws PortalException
PortalException
@Deprecated
public List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws PortalException
getRecentChanges(long, long,
int, int)
PortalException
public List<WikiPage> getRecentChanges(long groupId,
long nodeId,
int start,
int end)
@Deprecated
public int getRecentChangesCount(long nodeId)
throws PortalException
getRecentChangesCount(long,
long)
PortalException
public int getRecentChangesCount(long groupId,
long nodeId)
public List<WikiPage> getRedirectPages(long nodeId,
boolean head,
String redirectTitle,
int status)
public String[] getTempFileNames(long groupId,
long userId,
String folderName)
throws PortalException
PortalException
public boolean hasDraftPage(long nodeId,
String title)
public void moveDependentToTrash(WikiPage page,
long trashEntryId)
throws PortalException
PortalException
@Deprecated
public void movePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException
renamePage(long, long,
String, String, boolean, ServiceContext)
PortalException
@Deprecated
public void movePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException
renamePage(long, long,
String, String, ServiceContext)
PortalException
public FileEntry movePageAttachmentToTrash(long userId,
long nodeId,
String title,
String fileName)
throws PortalException
PortalException
public WikiPage movePageFromTrash(long userId,
long nodeId,
String title,
long newNodeId,
String newParentTitle)
throws PortalException
PortalException
@Deprecated
public WikiPage movePageFromTrash(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException
movePageFromTrash(long,
long, String, long, String) *
PortalException
public WikiPage movePageToTrash(long userId,
long nodeId,
String title)
throws PortalException
PortalException
public WikiPage movePageToTrash(long userId,
long nodeId,
String title,
double version)
throws PortalException
PortalException
public WikiPage movePageToTrash(long userId,
WikiPage page)
throws PortalException
PortalException
public void renamePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException
PortalException
public void renamePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
public void restorePageAttachmentFromTrash(long userId,
long nodeId,
String title,
String fileName)
throws PortalException
PortalException
public void restorePageFromTrash(long userId,
WikiPage page)
throws PortalException
PortalException
public WikiPage revertPage(long userId,
long nodeId,
String title,
double version,
ServiceContext serviceContext)
throws PortalException
PortalException
public void subscribePage(long userId,
long nodeId,
String title)
throws PortalException
PortalException
public void unsubscribePage(long userId,
long nodeId,
String title)
throws PortalException
PortalException
public void updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
PortalException
public WikiPage updatePage(long userId,
long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
public WikiPage updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext)
throws PortalException
PortalException
@Deprecated
public WikiPage updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext)
throws PortalException
updateStatus(long, WikiPage,
int, ServiceContext, Map)
PortalException
public WikiPage updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
PortalException
public void validateTitle(String title)
throws PortalException
PortalException
protected void changeChildPagesNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void changeRedirectPagesNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void checkDuplicationOnNodeChange(long nodeId,
String title,
long newNodeId)
throws PortalException
PortalException
protected void checkNodeChange(long nodeId,
String title,
long newNodeId)
throws PortalException
PortalExceptionprotected void clearPageCache(WikiPage page)
protected void deletePageAttachment(long fileEntryId)
throws PortalException
PortalException
protected WikiPage doChangeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
throws PortalException
PortalException
protected WikiPage doRenamePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
protected String getDiffsURL(WikiPage page,
WikiPage previousVersionPage,
ServiceContext serviceContext)
throws PortalException
PortalException
protected String getPageURL(WikiPage page,
ServiceContext serviceContext)
throws PortalException
PortalExceptionprotected List<ObjectValuePair<Long,Integer>> getPageVersionStatuses(List<WikiPage> pages)
protected String getParentPageTitle(WikiPage page)
protected boolean isLinkedTo(WikiPage page,
String targetTitle)
throws PortalException
PortalException
protected boolean isUsedTitle(long nodeId,
String title)
protected void moveDependentChildPagesFromTrash(WikiPage page,
long nodeId,
String title,
String trashTitle)
throws PortalException
PortalException
protected void moveDependentChildPagesToTrash(WikiPage page,
String title,
String trashTitle,
long trashEntryId,
boolean createTrashVersion)
throws PortalException
PortalException
protected void moveDependentFromTrash(WikiPage page,
long newNodeId,
String newParentTitle)
throws PortalException
PortalException
protected void moveDependentRedirectPagesFromTrash(WikiPage page,
long nodeId,
String title,
String trashTitle)
throws PortalException
PortalException
protected void moveDependentRedirectPagesToTrash(WikiPage page,
String title,
String trashTitle,
long trashEntryId,
boolean createTrashVersion)
throws PortalException
PortalException
protected void moveDependentToTrash(WikiPage page,
long trashEntryId,
boolean createTrashVersion)
throws PortalException
PortalException
protected void movePageFromTrash(long userId,
WikiPage page,
long newNodeId,
String newParentTitle)
throws PortalException
PortalException
protected void notifySubscribers(WikiPage page,
String pageURL,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void populateServiceContext(ServiceContext serviceContext,
WikiPage page)
throws PortalException
PortalException
protected void startWorkflowInstance(long userId,
WikiPage page,
ServiceContext serviceContext)
throws PortalException
PortalException
protected WikiPage updatePage(long userId,
WikiPage oldPage,
long newNodeId,
String newTitle,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
throws PortalException
PortalException
protected void validate(long nodeId,
String content,
String format)
throws PortalException
PortalException
protected void validate(String title,
long nodeId,
String content,
String format)
throws PortalException
PortalException
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||