|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface WikiPageService
Provides the remote service interface for WikiPage. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
WikiPageServiceUtil
,
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
,
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
Method Summary | |
---|---|
WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
void |
addPageAttachment(long nodeId,
String title,
String fileName,
File file,
String mimeType)
|
void |
addPageAttachment(long nodeId,
String title,
String fileName,
InputStream inputStream,
String mimeType)
|
void |
addPageAttachments(long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
|
void |
addTempPageAttachment(long nodeId,
String fileName,
String tempFolderName,
InputStream inputStream,
String mimeType)
|
void |
changeParent(long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
void |
copyPageAttachments(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 |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
void |
deletePageAttachments(long nodeId,
String title)
|
void |
deleteTempPageAttachment(long nodeId,
String fileName,
String tempFolderName)
|
void |
deleteTrashPageAttachments(long nodeId,
String title)
|
void |
discardDraft(long nodeId,
String title,
double version)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<WikiPage> |
getChildren(long groupId,
long nodeId,
boolean head,
String parentTitle)
|
WikiPage |
getDraftPage(long nodeId,
String title)
|
List<WikiPage> |
getNodePages(long nodeId,
int max)
|
String |
getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL)
Deprecated. As of 6.2.0, replaced by getNodePagesRSS(long, int,
String, double, String, String, String, String) |
String |
getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
String attachmentURLPrefix)
|
List<WikiPage> |
getOrphans(long groupId,
long nodeId)
|
WikiPage |
getPage(long groupId,
long nodeId,
String title)
|
WikiPage |
getPage(long nodeId,
String title)
|
WikiPage |
getPage(long nodeId,
String title,
Boolean head)
|
WikiPage |
getPage(long nodeId,
String title,
double version)
|
List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc)
|
List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
long userId,
boolean includeOwner,
int status,
int start,
int end,
OrderByComparator obc)
|
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 nodeId,
boolean head,
long userId,
boolean includeOwner,
int status)
|
int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status)
|
String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
Locale locale)
Deprecated. As of 6.2.0, replaced by getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale) |
String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
String attachmentURLPrefix,
Locale locale)
|
List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end)
|
int |
getRecentChangesCount(long groupId,
long nodeId)
|
String[] |
getTempPageAttachmentNames(long nodeId,
String tempFolderName)
|
void |
movePage(long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
FileEntry |
movePageAttachmentToTrash(long nodeId,
String title,
String fileName)
|
WikiPage |
movePageToTrash(long nodeId,
String title)
|
WikiPage |
movePageToTrash(long nodeId,
String title,
double version)
|
void |
restorePageAttachmentFromTrash(long nodeId,
String title,
String fileName)
|
void |
restorePageFromTrash(long resourcePrimKey)
|
WikiPage |
revertPage(long nodeId,
String title,
double version,
ServiceContext serviceContext)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
subscribePage(long nodeId,
String title)
|
void |
unsubscribePage(long nodeId,
String title)
|
WikiPage |
updatePage(long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
Method Detail |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanWikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void addPageAttachment(long nodeId, String title, String fileName, File file, String mimeType) throws PortalException, SystemException
PortalException
SystemException
void addPageAttachment(long nodeId, String title, String fileName, InputStream inputStream, String mimeType) throws PortalException, SystemException
PortalException
SystemException
void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStreamOVPs) throws PortalException, SystemException
PortalException
SystemException
void addTempPageAttachment(long nodeId, String fileName, String tempFolderName, InputStream inputStream, String mimeType) throws PortalException, SystemException
PortalException
SystemException
void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void copyPageAttachments(long templateNodeId, String templateTitle, long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
void deletePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
void deletePage(long nodeId, String title, double version) throws PortalException, SystemException
discardDraft(long, String,
double)
PortalException
SystemException
void deletePageAttachment(long nodeId, String title, String fileName) throws PortalException, SystemException
PortalException
SystemException
void deletePageAttachments(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
void deleteTempPageAttachment(long nodeId, String fileName, String tempFolderName) throws PortalException, SystemException
PortalException
SystemException
void deleteTrashPageAttachments(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
void discardDraft(long nodeId, String title, double version) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getChildren(long groupId, long nodeId, boolean head, String parentTitle) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) WikiPage getDraftPage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getNodePages(long nodeId, int max) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL) throws PortalException, SystemException
getNodePagesRSS(long, int,
String, double, String, String, String, String)
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getOrphans(long groupId, long nodeId) throws PortalException, SystemException
PortalException
SystemException
WikiPage getPage(long groupId, long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
WikiPage getPage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
WikiPage getPage(long nodeId, String title, Boolean head) throws PortalException, SystemException
PortalException
SystemException
WikiPage getPage(long nodeId, String title, double version) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getPages(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long nodeId, boolean head) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long nodeId, boolean head, long userId, boolean includeOwner, int status) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getPagesCount(long groupId, long userId, long nodeId, int status) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, Locale locale) throws PortalException, SystemException
getPagesRSS(long, long,
String, int, String, double, String, String, String, String,
java.util.Locale)
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String getPagesRSS(long companyId, long nodeId, String title, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix, Locale locale) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) int getRecentChangesCount(long groupId, long nodeId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) String[] getTempPageAttachmentNames(long nodeId, String tempFolderName) throws PortalException, SystemException
PortalException
SystemException
void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
FileEntry movePageAttachmentToTrash(long nodeId, String title, String fileName) throws PortalException, SystemException
PortalException
SystemException
WikiPage movePageToTrash(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
WikiPage movePageToTrash(long nodeId, String title, double version) throws PortalException, SystemException
PortalException
SystemException
void restorePageAttachmentFromTrash(long nodeId, String title, String fileName) throws PortalException, SystemException
PortalException
SystemException
void restorePageFromTrash(long resourcePrimKey) throws PortalException, SystemException
PortalException
SystemException
WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
void subscribePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
void unsubscribePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
WikiPage updatePage(long nodeId, String title, double version, String content, String summary, boolean minorEdit, String format, String parentTitle, String redirectTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |