@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface WikiPageService extends BaseService
WikiPageServiceUtil,
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl,
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl| Modifier and Type | Method and Description |
|---|---|
WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
ServiceContext serviceContext) |
WikiPage |
addPage(long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
java.lang.String parentTitle,
java.lang.String redirectTitle,
ServiceContext serviceContext) |
void |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
void |
addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
void |
addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
void |
addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
void |
changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext) |
void |
copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
void |
deletePage(long nodeId,
java.lang.String title) |
void |
deletePage(long nodeId,
java.lang.String title,
double version)
Deprecated.
As of 6.2.0 replaced by
discardDraft(long, String,
double) |
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
deletePageAttachments(long nodeId,
java.lang.String title) |
void |
deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName) |
void |
deleteTrashPageAttachments(long nodeId,
java.lang.String title) |
void |
discardDraft(long nodeId,
java.lang.String title,
double version) |
java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
java.util.List<WikiPage> |
getChildren(long groupId,
long nodeId,
boolean head,
java.lang.String parentTitle) |
WikiPage |
getDraftPage(long nodeId,
java.lang.String title) |
java.util.List<WikiPage> |
getNodePages(long nodeId,
int max) |
java.lang.String |
getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL)
Deprecated.
As of 6.2.0, replaced by
getNodePagesRSS(long, int,
String, double, String, String, String, String) |
java.lang.String |
getNodePagesRSS(long nodeId,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix) |
java.util.List<WikiPage> |
getOrphans(long groupId,
long nodeId) |
WikiPage |
getPage(long groupId,
long nodeId,
java.lang.String title) |
WikiPage |
getPage(long nodeId,
java.lang.String title) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
java.lang.Boolean head) |
WikiPage |
getPage(long nodeId,
java.lang.String title,
double version) |
java.util.List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc) |
java.util.List<WikiPage> |
getPages(long groupId,
long userId,
long nodeId,
int status,
int start,
int end) |
int |
getPagesCount(long groupId,
long nodeId,
boolean head) |
int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status) |
java.lang.String |
getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.util.Locale locale)
Deprecated.
|
java.lang.String |
getPagesRSS(long companyId,
long nodeId,
java.lang.String title,
int max,
java.lang.String type,
double version,
java.lang.String displayStyle,
java.lang.String feedURL,
java.lang.String entryURL,
java.lang.String attachmentURLPrefix,
java.util.Locale locale) |
java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
int |
getRecentChangesCount(long groupId,
long nodeId) |
java.lang.String[] |
getTempPageAttachmentNames(long nodeId,
java.lang.String tempFolderName) |
void |
movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext) |
FileEntry |
movePageAttachmentToTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
WikiPage |
movePageToTrash(long nodeId,
java.lang.String title) |
WikiPage |
movePageToTrash(long nodeId,
java.lang.String title,
double version) |
void |
restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
restorePageFromTrash(long resourcePrimKey) |
WikiPage |
revertPage(long nodeId,
java.lang.String title,
double version,
ServiceContext serviceContext) |
void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
subscribePage(long nodeId,
java.lang.String title) |
void |
unsubscribePage(long nodeId,
java.lang.String title) |
WikiPage |
updatePage(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) |
java.lang.String getBeanIdentifier()
void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanWikiPage addPage(long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage addPage(long nodeId, java.lang.String title, 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
PortalExceptionSystemExceptionvoid addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addPageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addPageAttachments(long nodeId,
java.lang.String title,
java.util.List<ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid addTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid changeParent(long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid copyPageAttachments(long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deletePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deletePage(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
discardDraft(long, String,
double)PortalExceptionSystemExceptionvoid deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deletePageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteTempPageAttachment(long nodeId,
java.lang.String fileName,
java.lang.String tempFolderName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid deleteTrashPageAttachments(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid discardDraft(long nodeId,
java.lang.String title,
double version)
throws PortalException,
SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getChildren(long groupId, long nodeId, boolean head, java.lang.String parentTitle) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getDraftPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getNodePages(long nodeId, int max) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getNodePagesRSS(long nodeId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL) throws PortalException, SystemException
getNodePagesRSS(long, int,
String, double, String, String, String, String)PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getNodePagesRSS(long nodeId, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, java.lang.String attachmentURLPrefix) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getOrphans(long groupId, long nodeId) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage getPage(long groupId, long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage getPage(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage getPage(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long nodeId, boolean head) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long userId, long nodeId, int status) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getPagesRSS(long companyId, long nodeId, java.lang.String title, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, java.util.Locale locale) throws PortalException, SystemException
getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale)PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String getPagesRSS(long companyId, long nodeId, java.lang.String title, int max, java.lang.String type, double version, java.lang.String displayStyle, java.lang.String feedURL, java.lang.String entryURL, java.lang.String attachmentURLPrefix, java.util.Locale locale) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) int getRecentChangesCount(long groupId, long nodeId) throws PortalException, SystemException
PortalExceptionSystemException@Transactional(propagation=SUPPORTS, readOnly=true) java.lang.String[] getTempPageAttachmentNames(long nodeId, java.lang.String tempFolderName) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid movePage(long nodeId,
java.lang.String title,
java.lang.String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalExceptionSystemExceptionFileEntry movePageAttachmentToTrash(long nodeId, java.lang.String title, java.lang.String fileName) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage movePageToTrash(long nodeId, java.lang.String title) throws PortalException, SystemException
PortalExceptionSystemExceptionWikiPage movePageToTrash(long nodeId, java.lang.String title, double version) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid restorePageAttachmentFromTrash(long nodeId,
java.lang.String title,
java.lang.String fileName)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid restorePageFromTrash(long resourcePrimKey)
throws PortalException,
SystemException
PortalExceptionSystemExceptionWikiPage revertPage(long nodeId, java.lang.String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
PortalExceptionSystemExceptionvoid subscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionvoid unsubscribePage(long nodeId,
java.lang.String title)
throws PortalException,
SystemException
PortalExceptionSystemExceptionWikiPage updatePage(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
PortalExceptionSystemException