|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.wiki.service.WikiPageServiceUtil
public class WikiPageServiceUtil
The utility for the wiki page remote service. This utility wraps com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
WikiPageService
,
com.liferay.portlet.wiki.service.base.WikiPageServiceBaseImpl
,
com.liferay.portlet.wiki.service.impl.WikiPageServiceImpl
Constructor Summary | |
---|---|
WikiPageServiceUtil()
|
Method Summary | |
---|---|
static WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
|
static WikiPage |
addPage(long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
static void |
addPageAttachment(long nodeId,
String title,
String fileName,
File file)
|
static void |
addPageAttachment(long nodeId,
String title,
String fileName,
InputStream inputStream)
|
static void |
addPageAttachments(long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStream)
|
static String |
addTempPageAttachment(long nodeId,
String fileName,
String tempFolderName,
InputStream inputStream)
|
static void |
changeParent(long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
static void |
deletePage(long nodeId,
String title)
|
static void |
deletePage(long nodeId,
String title,
double version)
|
static void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
static void |
deleteTempPageAttachment(long nodeId,
String fileName,
String tempFolderName)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<WikiPage> |
getChildren(long groupId,
long nodeId,
boolean head,
String parentTitle)
|
static WikiPage |
getDraftPage(long nodeId,
String title)
|
static List<WikiPage> |
getNodePages(long nodeId,
int max)
|
static String |
getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL)
|
static String |
getNodePagesRSS(long nodeId,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
String attachmentURLPrefix)
|
static List<WikiPage> |
getOrphans(long groupId,
long nodeId)
|
static WikiPage |
getPage(long groupId,
long nodeId,
String title)
|
static WikiPage |
getPage(long nodeId,
String title)
|
static WikiPage |
getPage(long nodeId,
String title,
Boolean head)
|
static WikiPage |
getPage(long nodeId,
String title,
double version)
|
static List<WikiPage> |
getPages(long groupId,
long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator obc)
|
static List<WikiPage> |
getPages(long groupId,
long userId,
long nodeId,
int status,
int start,
int end)
|
static int |
getPagesCount(long groupId,
long nodeId,
boolean head)
|
static int |
getPagesCount(long groupId,
long userId,
long nodeId,
int status)
|
static String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
Locale locale)
|
static String |
getPagesRSS(long companyId,
long nodeId,
String title,
int max,
String type,
double version,
String displayStyle,
String feedURL,
String entryURL,
String attachmentURLPrefix,
Locale locale)
|
static List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end)
|
static int |
getRecentChangesCount(long groupId,
long nodeId)
|
static WikiPageService |
getService()
|
static String[] |
getTempPageAttachmentNames(long nodeId,
String tempFolderName)
|
static void |
movePage(long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
static WikiPage |
revertPage(long nodeId,
String title,
double version,
ServiceContext serviceContext)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(WikiPageService service)
Deprecated. |
static void |
subscribePage(long nodeId,
String title)
|
static void |
unsubscribePage(long nodeId,
String title)
|
static WikiPage |
updatePage(long nodeId,
String title,
double version,
String content,
String summary,
boolean minorEdit,
String format,
String parentTitle,
String redirectTitle,
ServiceContext serviceContext)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WikiPageServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static WikiPage addPage(long nodeId, String title, String content, String summary, boolean minorEdit, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static 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
public static void addPageAttachment(long nodeId, String title, String fileName, File file) throws PortalException, SystemException
PortalException
SystemException
public static void addPageAttachment(long nodeId, String title, String fileName, InputStream inputStream) throws PortalException, SystemException
PortalException
SystemException
public static void addPageAttachments(long nodeId, String title, List<ObjectValuePair<String,InputStream>> inputStream) throws PortalException, SystemException
PortalException
SystemException
public static String addTempPageAttachment(long nodeId, String fileName, String tempFolderName, InputStream inputStream) throws PortalException, SystemException
PortalException
SystemException
public static void changeParent(long nodeId, String title, String newParentTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void deletePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static void deletePage(long nodeId, String title, double version) throws PortalException, SystemException
PortalException
SystemException
public static void deletePageAttachment(long nodeId, String title, String fileName) throws PortalException, SystemException
PortalException
SystemException
public static void deleteTempPageAttachment(long nodeId, String fileName, String tempFolderName) throws PortalException, SystemException
PortalException
SystemException
public static List<WikiPage> getChildren(long groupId, long nodeId, boolean head, String parentTitle) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage getDraftPage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static List<WikiPage> getNodePages(long nodeId, int max) throws PortalException, SystemException
PortalException
SystemException
public static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL) throws PortalException, SystemException
PortalException
SystemException
public static String getNodePagesRSS(long nodeId, int max, String type, double version, String displayStyle, String feedURL, String entryURL, String attachmentURLPrefix) throws PortalException, SystemException
PortalException
SystemException
public static List<WikiPage> getOrphans(long groupId, long nodeId) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage getPage(long groupId, long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage getPage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage getPage(long nodeId, String title, Boolean head) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage getPage(long nodeId, String title, double version) throws PortalException, SystemException
PortalException
SystemException
public static List<WikiPage> getPages(long groupId, long nodeId, boolean head, int status, int start, int end, OrderByComparator obc) throws PortalException, SystemException
PortalException
SystemException
public static List<WikiPage> getPages(long groupId, long userId, long nodeId, int status, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public static int getPagesCount(long groupId, long nodeId, boolean head) throws PortalException, SystemException
PortalException
SystemException
public static int getPagesCount(long groupId, long userId, long nodeId, int status) throws PortalException, SystemException
PortalException
SystemException
public static 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
PortalException
SystemException
public static 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
public static List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end) throws PortalException, SystemException
PortalException
SystemException
public static int getRecentChangesCount(long groupId, long nodeId) throws PortalException, SystemException
PortalException
SystemException
public static String[] getTempPageAttachmentNames(long nodeId, String tempFolderName) throws PortalException, SystemException
PortalException
SystemException
public static void movePage(long nodeId, String title, String newTitle, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static WikiPage revertPage(long nodeId, String title, double version, ServiceContext serviceContext) throws PortalException, SystemException
PortalException
SystemException
public static void subscribePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static void unsubscribePage(long nodeId, String title) throws PortalException, SystemException
PortalException
SystemException
public static 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
public static WikiPageService getService()
public void setService(WikiPageService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |