|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.wiki.service.WikiPageLocalServiceWrapper
public class WikiPageLocalServiceWrapper
This class is a wrapper for WikiPageLocalService.
WikiPageLocalService| Constructor Summary | |
|---|---|
WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
|
|
| 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)
|
void |
addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
InputStream inputStream)
|
void |
addPageAttachment(long companyId,
String dirName,
Date modifiedDate,
String fileName,
InputStream inputStream)
|
void |
addPageAttachments(long userId,
long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreams)
|
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)
|
String |
addTempPageAttachment(long userId,
String fileName,
String tempFolderName,
InputStream inputStream)
|
WikiPage |
addWikiPage(WikiPage wikiPage)
Adds the wiki page to the database. |
void |
changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
WikiPage |
createWikiPage(long pageId)
Creates a new wiki page with the primary key. |
void |
deletePage(long nodeId,
String title)
|
void |
deletePage(long nodeId,
String title,
double version)
|
void |
deletePage(WikiPage page)
|
void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
void |
deletePages(long nodeId)
|
void |
deleteTempPageAttachment(long userId,
String fileName,
String tempFolderName)
|
void |
deleteWikiPage(long pageId)
Deletes the wiki page with the primary key from the database. |
void |
deleteWikiPage(WikiPage wikiPage)
Deletes the wiki page from the database. |
List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
List<WikiPage> |
getChildren(long nodeId,
boolean head,
String parentTitle)
|
WikiPage |
getDraftPage(long nodeId,
String title)
|
List<WikiPage> |
getIncomingLinks(long nodeId,
String title)
|
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 start,
int end,
OrderByComparator obc)
|
List<WikiPage> |
getPages(long nodeId,
int start,
int end)
|
List<WikiPage> |
getPages(long nodeId,
int start,
int end,
OrderByComparator 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 obc)
|
List<WikiPage> |
getPages(String format)
|
int |
getPagesCount(long nodeId)
|
int |
getPagesCount(long nodeId,
boolean head)
|
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)
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
List<WikiPage> |
getRecentChanges(long nodeId,
int start,
int end)
|
int |
getRecentChangesCount(long nodeId)
|
String[] |
getTempPageAttachmentNames(long userId,
String tempFolderName)
|
WikiPage |
getWikiPage(long pageId)
Returns the wiki page with the primary key. |
WikiPage |
getWikiPageByUuidAndGroupId(String uuid,
long groupId)
Returns the wiki page with the UUID in the group. |
List<WikiPage> |
getWikiPages(int start,
int end)
Returns a range of all the wiki pages. |
int |
getWikiPagesCount()
Returns the number of wiki pages. |
WikiPageLocalService |
getWrappedWikiPageLocalService()
|
boolean |
hasDraftPage(long nodeId,
String title)
|
void |
movePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
|
void |
movePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
|
WikiPage |
revertPage(long userId,
long nodeId,
String title,
double version,
ServiceContext serviceContext)
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
|
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)
|
WikiPage |
updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext)
|
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext)
|
WikiPage |
updateWikiPage(WikiPage wikiPage)
Updates the wiki page in the database or adds it if it does not yet exist. |
WikiPage |
updateWikiPage(WikiPage wikiPage,
boolean merge)
Updates the wiki page in the database or adds it if it does not yet exist. |
void |
validateTitle(String title)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
| Method Detail |
|---|
public WikiPage addWikiPage(WikiPage wikiPage)
throws SystemException
addWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
SystemException - if a system exception occurredpublic WikiPage createWikiPage(long pageId)
createWikiPage in interface WikiPageLocalServicepageId - the primary key for the new wiki page
public void deleteWikiPage(long pageId)
throws PortalException,
SystemException
deleteWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki page
PortalException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred
public void deleteWikiPage(WikiPage wikiPage)
throws SystemException
deleteWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
SystemException - if a system exception occurred
public List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery in interface WikiPageLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public 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.
dynamicQuery in interface WikiPageLocalServicedynamicQuery - 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 occurred
public 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.
dynamicQuery in interface WikiPageLocalServicedynamicQuery - 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 occurred
public long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQueryCount in interface WikiPageLocalServicedynamicQuery - the dynamic query
SystemException - if a system exception occurred
public WikiPage getWikiPage(long pageId)
throws PortalException,
SystemException
getWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki page
PortalException - if a wiki page with the primary key could not be found
SystemException - if a system exception occurred
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getWikiPageByUuidAndGroupId(String uuid,
long groupId)
throws PortalException,
SystemException
getWikiPageByUuidAndGroupId in interface WikiPageLocalServiceuuid - the UUID of wiki pagegroupId - the group id of the wiki page
PortalException - if a wiki page with the UUID in the group could not be found
SystemException - if a system exception occurred
public 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.
getWikiPages in interface WikiPageLocalServicestart - 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 occurred
public int getWikiPagesCount()
throws SystemException
getWikiPagesCount in interface WikiPageLocalServiceSystemException - if a system exception occurred
public WikiPage updateWikiPage(WikiPage wikiPage)
throws SystemException
updateWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
SystemException - if a system exception occurred
public WikiPage updateWikiPage(WikiPage wikiPage,
boolean merge)
throws SystemException
updateWikiPage in interface WikiPageLocalServicewikiPage - the wiki pagemerge - whether to merge the wiki page with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
SystemException - if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier in interface WikiPageLocalServicepublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface WikiPageLocalServicebeanIdentifier - the Spring bean ID for this bean
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,
SystemException
addPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage addPage(long userId,
long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException,
SystemException
addPage in interface WikiPageLocalServicePortalException
SystemException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
File file)
throws PortalException,
SystemException
addPageAttachment in interface WikiPageLocalServicePortalException
SystemException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
InputStream inputStream)
throws PortalException,
SystemException
addPageAttachment in interface WikiPageLocalServicePortalException
SystemException
public void addPageAttachment(long companyId,
String dirName,
Date modifiedDate,
String fileName,
InputStream inputStream)
throws PortalException,
SystemException
addPageAttachment in interface WikiPageLocalServicePortalException
SystemException
public void addPageAttachments(long userId,
long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreams)
throws PortalException,
SystemException
addPageAttachments in interface WikiPageLocalServicePortalException
SystemException
public void addPageResources(long nodeId,
String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalException
SystemException
public void addPageResources(long nodeId,
String title,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalException
SystemException
public void addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalException
SystemException
public void addPageResources(WikiPage page,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException,
SystemException
addPageResources in interface WikiPageLocalServicePortalException
SystemException
public String addTempPageAttachment(long userId,
String fileName,
String tempFolderName,
InputStream inputStream)
throws PortalException,
SystemException,
IOException
addTempPageAttachment in interface WikiPageLocalServicePortalException
SystemException
IOException
public void changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
changeParent in interface WikiPageLocalServicePortalException
SystemException
public void deletePage(long nodeId,
String title)
throws PortalException,
SystemException
deletePage in interface WikiPageLocalServicePortalException
SystemException
public void deletePage(long nodeId,
String title,
double version)
throws PortalException,
SystemException
deletePage in interface WikiPageLocalServicePortalException
SystemException
public void deletePage(WikiPage page)
throws PortalException,
SystemException
deletePage in interface WikiPageLocalServicePortalException
SystemException
public void deletePageAttachment(long nodeId,
String title,
String fileName)
throws PortalException,
SystemException
deletePageAttachment in interface WikiPageLocalServicePortalException
SystemException
public void deletePages(long nodeId)
throws PortalException,
SystemException
deletePages in interface WikiPageLocalServicePortalException
SystemException
public void deleteTempPageAttachment(long userId,
String fileName,
String tempFolderName)
deleteTempPageAttachment in interface WikiPageLocalService
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle)
throws SystemException
getChildren in interface WikiPageLocalServiceSystemException
public WikiPage getDraftPage(long nodeId,
String title)
throws PortalException,
SystemException
getDraftPage in interface WikiPageLocalServicePortalException
SystemException
public List<WikiPage> getIncomingLinks(long nodeId,
String title)
throws PortalException,
SystemException
getIncomingLinks in interface WikiPageLocalServicePortalException
SystemException
public List<WikiPage> getNoAssetPages()
throws SystemException
getNoAssetPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getOrphans(long nodeId)
throws PortalException,
SystemException
getOrphans in interface WikiPageLocalServicePortalException
SystemException
public List<WikiPage> getOutgoingLinks(long nodeId,
String title)
throws PortalException,
SystemException
getOutgoingLinks in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPage(long resourcePrimKey)
throws PortalException,
SystemException
getPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPage(long resourcePrimKey,
Boolean head)
throws PortalException,
SystemException
getPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPage(long nodeId,
String title)
throws PortalException,
SystemException
getPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPage(long nodeId,
String title,
Boolean head)
throws PortalException,
SystemException
getPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPage(long nodeId,
String title,
double version)
throws PortalException,
SystemException
getPage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage getPageByPageId(long pageId)
throws PortalException,
SystemException
getPageByPageId in interface WikiPageLocalServicePortalException
SystemException
public WikiPageDisplay getPageDisplay(long nodeId,
String title,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException,
SystemException
getPageDisplay in interface WikiPageLocalServicePortalException
SystemException
public WikiPageDisplay getPageDisplay(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException,
SystemException
getPageDisplay in interface WikiPageLocalServicePortalException
SystemException
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator obc)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
int start,
int end)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
int start,
int end,
OrderByComparator obc)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long resourcePrimKey,
long nodeId,
int status)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long userId,
long nodeId,
int status,
int start,
int end)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
String title,
boolean head,
int start,
int end)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end,
OrderByComparator obc)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public List<WikiPage> getPages(String format)
throws SystemException
getPages in interface WikiPageLocalServiceSystemException
public int getPagesCount(long nodeId)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public int getPagesCount(long nodeId,
boolean head)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public int getPagesCount(long userId,
long nodeId,
int status)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public int getPagesCount(long nodeId,
String title)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public int getPagesCount(long nodeId,
String title,
boolean head)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public int getPagesCount(String format)
throws SystemException
getPagesCount in interface WikiPageLocalServiceSystemException
public List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws SystemException
getRecentChanges in interface WikiPageLocalServiceSystemException
public int getRecentChangesCount(long nodeId)
throws SystemException
getRecentChangesCount in interface WikiPageLocalServiceSystemException
public String[] getTempPageAttachmentNames(long userId,
String tempFolderName)
getTempPageAttachmentNames in interface WikiPageLocalService
public boolean hasDraftPage(long nodeId,
String title)
throws SystemException
hasDraftPage in interface WikiPageLocalServiceSystemException
public void movePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException,
SystemException
movePage in interface WikiPageLocalServicePortalException
SystemException
public void movePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException,
SystemException
movePage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage revertPage(long userId,
long nodeId,
String title,
double version,
ServiceContext serviceContext)
throws PortalException,
SystemException
revertPage in interface WikiPageLocalServicePortalException
SystemException
public void subscribePage(long userId,
long nodeId,
String title)
throws PortalException,
SystemException
subscribePage in interface WikiPageLocalServicePortalException
SystemException
public void unsubscribePage(long userId,
long nodeId,
String title)
throws PortalException,
SystemException
unsubscribePage in interface WikiPageLocalServicePortalException
SystemException
public void updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException,
SystemException
updateAsset in interface WikiPageLocalServicePortalException
SystemException
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,
SystemException
updatePage in interface WikiPageLocalServicePortalException
SystemException
public WikiPage updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface WikiPageLocalServicePortalException
SystemException
public WikiPage updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
updateStatus in interface WikiPageLocalServicePortalException
SystemException
public void validateTitle(String title)
throws PortalException
validateTitle in interface WikiPageLocalServicePortalExceptionpublic WikiPageLocalService getWrappedWikiPageLocalService()
public void setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
|
Liferay 6.1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||