|
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.portlet.wiki.service.WikiPageLocalServiceWrapper
@ProviderType public class WikiPageLocalServiceWrapper
Provides 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,
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) |
|
WikiPage |
addWikiPage(WikiPage wikiPage)
Adds the wiki page to the database. |
|
void |
changeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
|
|
WikiPage |
changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
|
|
void |
copyPageAttachments(long userId,
long templateNodeId,
String templateTitle,
long nodeId,
String title)
|
|
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)
Deprecated. As of 6.2.0 replaced by discardDraft(long, String,
double) |
|
void |
deletePage(WikiPage page)
|
|
void |
deletePageAttachment(long nodeId,
String title,
String fileName)
|
|
void |
deletePageAttachments(long nodeId,
String title)
|
|
void |
deletePages(long nodeId)
|
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
void |
deleteTempFileEntry(long groupId,
long userId,
String folderName,
String fileName)
|
|
void |
deleteTrashPageAttachments(long nodeId,
String title)
|
|
WikiPage |
deleteWikiPage(long pageId)
Deletes the wiki page with the primary key from the database. |
|
WikiPage |
deleteWikiPage(WikiPage wikiPage)
Deletes the wiki page from the database. |
|
void |
discardDraft(long nodeId,
String title,
double version)
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> 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 matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
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)
|
|
WikiPage |
fetchWikiPage(long pageId)
|
|
WikiPage |
fetchWikiPageByUuidAndGroupId(String uuid,
long groupId)
Returns the wiki page matching the UUID and group. |
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
|
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)
|
|
WikiPage |
getDraftPage(long nodeId,
String title)
|
|
ExportActionableDynamicQuery |
getExportActionableDynamicQuery(PortletDataContext portletDataContext)
|
|
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)
|
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
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)
|
|
WikiPage |
getWikiPage(long pageId)
Returns the wiki page with the primary key. |
|
WikiPage |
getWikiPageByUuidAndGroupId(String uuid,
long groupId)
Returns the wiki page matching the UUID and group. |
|
List<WikiPage> |
getWikiPages(int start,
int end)
Returns a range of all the wiki pages. |
|
List<WikiPage> |
getWikiPagesByUuidAndCompanyId(String uuid,
long companyId)
Returns all the wiki pages matching the UUID and company. |
|
List<WikiPage> |
getWikiPagesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<WikiPage> orderByComparator)
Returns a range of wiki pages matching the UUID and company. |
|
int |
getWikiPagesCount()
Returns the number of wiki pages. |
|
WikiPageLocalService |
getWrappedService()
|
|
WikiPageLocalService |
getWrappedWikiPageLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
|
boolean |
hasDraftPage(long nodeId,
String title)
|
|
void |
moveDependentToTrash(WikiPage page,
long trashEntryId)
|
|
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) * |
|
WikiPage |
movePageToTrash(long userId,
long nodeId,
String title)
|
|
WikiPage |
movePageToTrash(long userId,
long nodeId,
String title,
double version)
|
|
WikiPage |
movePageToTrash(long userId,
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)
|
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
|
void |
setWrappedService(WikiPageLocalService wikiPageLocalService)
|
|
void |
setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.wiki.service.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)
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)
|
|
WikiPage |
updateWikiPage(WikiPage wikiPage)
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 addPage(long userId,
long nodeId,
String title,
String content,
String summary,
boolean minorEdit,
ServiceContext serviceContext)
throws PortalException
addPage in interface WikiPageLocalServicePortalException
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
addPage in interface WikiPageLocalServicePortalException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
File file,
String mimeType)
throws PortalException
addPageAttachment in interface WikiPageLocalServicePortalException
public void addPageAttachment(long userId,
long nodeId,
String title,
String fileName,
InputStream inputStream,
String mimeType)
throws PortalException
addPageAttachment in interface WikiPageLocalServicePortalException
public void addPageAttachments(long userId,
long nodeId,
String title,
List<ObjectValuePair<String,InputStream>> inputStreamOVPs)
throws PortalException
addPageAttachments in interface WikiPageLocalServicePortalException
public void addPageResources(long nodeId,
String title,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addPageResources in interface WikiPageLocalServicePortalException
public void addPageResources(long nodeId,
String title,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
addPageResources in interface WikiPageLocalServicePortalException
public void addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions)
throws PortalException
addPageResources in interface WikiPageLocalServicePortalException
public void addPageResources(WikiPage page,
String[] groupPermissions,
String[] guestPermissions)
throws PortalException
addPageResources in interface WikiPageLocalServicePortalException
public void addTempFileEntry(long groupId,
long userId,
String folderName,
String fileName,
InputStream inputStream,
String mimeType)
throws PortalException
addTempFileEntry in interface WikiPageLocalServicePortalException
@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)
addTempPageAttachment in interface WikiPageLocalServicePortalExceptionpublic WikiPage addWikiPage(WikiPage wikiPage)
addWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
public void changeNode(long userId,
long nodeId,
String title,
long newNodeId,
ServiceContext serviceContext)
throws PortalException
changeNode in interface WikiPageLocalServicePortalException
public WikiPage changeParent(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException
changeParent in interface WikiPageLocalServicePortalException
public void copyPageAttachments(long userId,
long templateNodeId,
String templateTitle,
long nodeId,
String title)
throws PortalException
copyPageAttachments in interface WikiPageLocalServicePortalExceptionpublic WikiPage createWikiPage(long pageId)
createWikiPage in interface WikiPageLocalServicepageId - the primary key for the new wiki page
public void deletePage(long nodeId,
String title)
throws PortalException
deletePage in interface WikiPageLocalServicePortalException
@Deprecated
public void deletePage(long nodeId,
String title,
double version)
throws PortalException
discardDraft(long, String,
double)
deletePage in interface WikiPageLocalServicePortalException
public void deletePage(WikiPage page)
throws PortalException
deletePage in interface WikiPageLocalServicePortalException
public void deletePageAttachment(long nodeId,
String title,
String fileName)
throws PortalException
deletePageAttachment in interface WikiPageLocalServicePortalException
public void deletePageAttachments(long nodeId,
String title)
throws PortalException
deletePageAttachments in interface WikiPageLocalServicePortalException
public void deletePages(long nodeId)
throws PortalException
deletePages in interface WikiPageLocalServicePortalException
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface WikiPageLocalServicePortalException
public void deleteTempFileEntry(long groupId,
long userId,
String folderName,
String fileName)
throws PortalException
deleteTempFileEntry in interface WikiPageLocalServicePortalException
public void deleteTrashPageAttachments(long nodeId,
String title)
throws PortalException
deleteTrashPageAttachments in interface WikiPageLocalServicePortalException
public WikiPage deleteWikiPage(long pageId)
throws PortalException
deleteWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki page
PortalException - if a wiki page with the primary key could not be foundpublic WikiPage deleteWikiPage(WikiPage wikiPage)
deleteWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
public void discardDraft(long nodeId,
String title,
double version)
throws PortalException
discardDraft in interface WikiPageLocalServicePortalExceptionpublic DynamicQuery dynamicQuery()
dynamicQuery in interface WikiPageLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface WikiPageLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.wiki.model.impl.WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.wiki.model.impl.WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface WikiPageLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface WikiPageLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public WikiPage fetchLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
fetchLatestPage in interface WikiPageLocalService
public WikiPage fetchLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
fetchLatestPage in interface WikiPageLocalService
public WikiPage fetchLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
fetchLatestPage in interface WikiPageLocalService
public WikiPage fetchPage(long nodeId,
String title)
fetchPage in interface WikiPageLocalService
public WikiPage fetchPage(long nodeId,
String title,
double version)
fetchPage in interface WikiPageLocalServicepublic WikiPage fetchPage(long resourcePrimKey)
fetchPage in interface WikiPageLocalServicepublic WikiPage fetchWikiPage(long pageId)
fetchWikiPage in interface WikiPageLocalService
public WikiPage fetchWikiPageByUuidAndGroupId(String uuid,
long groupId)
fetchWikiPageByUuidAndGroupId in interface WikiPageLocalServiceuuid - the wiki page's UUIDgroupId - the primary key of the group
null if a matching wiki page could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface WikiPageLocalServicepublic String getBeanIdentifier()
getBeanIdentifier in interface WikiPageLocalService
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle)
getChildren in interface WikiPageLocalService
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle,
int start,
int end)
getChildren in interface WikiPageLocalService
public List<WikiPage> getChildren(long nodeId,
boolean head,
String parentTitle,
int status)
getChildren in interface WikiPageLocalService
public int getChildrenCount(long nodeId,
boolean head,
String parentTitle)
getChildrenCount in interface WikiPageLocalService
public int getChildrenCount(long nodeId,
boolean head,
String parentTitle,
int status)
getChildrenCount in interface WikiPageLocalService
public List<WikiPage> getDependentPages(long nodeId,
boolean head,
String title,
int status)
getDependentPages in interface WikiPageLocalService
public WikiPage getDraftPage(long nodeId,
String title)
throws PortalException
getDraftPage in interface WikiPageLocalServicePortalExceptionpublic ExportActionableDynamicQuery getExportActionableDynamicQuery(PortletDataContext portletDataContext)
getExportActionableDynamicQuery in interface WikiPageLocalService
public List<WikiPage> getIncomingLinks(long nodeId,
String title)
throws PortalException
getIncomingLinks in interface WikiPageLocalServicePortalException
public WikiPage getLatestPage(long nodeId,
String title,
int status,
boolean preferApproved)
throws PortalException
getLatestPage in interface WikiPageLocalServicePortalException
public WikiPage getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved)
throws PortalException
getLatestPage in interface WikiPageLocalServicePortalException
public WikiPage getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved)
throws PortalException
getLatestPage in interface WikiPageLocalServicePortalExceptionpublic List<WikiPage> getNoAssetPages()
getNoAssetPages in interface WikiPageLocalService
public List<WikiPage> getOrphans(long nodeId)
throws PortalException
getOrphans in interface WikiPageLocalServicePortalException
public List<WikiPage> getOutgoingLinks(long nodeId,
String title)
throws PortalException
getOutgoingLinks in interface WikiPageLocalServicePortalException
public WikiPage getPage(long nodeId,
String title)
throws PortalException
getPage in interface WikiPageLocalServicePortalException
public WikiPage getPage(long nodeId,
String title,
Boolean head)
throws PortalException
getPage in interface WikiPageLocalServicePortalException
public WikiPage getPage(long nodeId,
String title,
double version)
throws PortalException
getPage in interface WikiPageLocalServicePortalException
public WikiPage getPage(long resourcePrimKey)
throws PortalException
getPage in interface WikiPageLocalServicePortalException
public WikiPage getPage(long resourcePrimKey,
Boolean head)
throws PortalException
getPage in interface WikiPageLocalServicePortalException
public WikiPage getPageByPageId(long pageId)
throws PortalException
getPageByPageId in interface WikiPageLocalServicePortalException
public WikiPageDisplay getPageDisplay(long nodeId,
String title,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException
getPageDisplay in interface WikiPageLocalServicePortalException
public WikiPageDisplay getPageDisplay(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
throws PortalException
getPageDisplay in interface WikiPageLocalServicePortalExceptionpublic List<WikiPage> getPages(String format)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
boolean head,
int start,
int end,
OrderByComparator<WikiPage> obc)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
boolean head,
int status,
int start,
int end)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
boolean head,
int status,
int start,
int end,
OrderByComparator<WikiPage> obc)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
int start,
int end)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
int start,
int end,
OrderByComparator<WikiPage> obc)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
String title,
boolean head,
int start,
int end)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long nodeId,
String title,
int start,
int end,
OrderByComparator<WikiPage> obc)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long resourcePrimKey,
long nodeId,
int status)
getPages in interface WikiPageLocalService
public List<WikiPage> getPages(long userId,
long nodeId,
int status,
int start,
int end)
getPages in interface WikiPageLocalServicepublic int getPagesCount(String format)
getPagesCount in interface WikiPageLocalServicepublic int getPagesCount(long nodeId)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long nodeId,
boolean head)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long nodeId,
boolean head,
int status)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long nodeId,
int status)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long nodeId,
String title)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long nodeId,
String title,
boolean head)
getPagesCount in interface WikiPageLocalService
public int getPagesCount(long userId,
long nodeId,
int status)
getPagesCount in interface WikiPageLocalService
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface WikiPageLocalServicePortalException
public WikiPage getPreviousVersionPage(WikiPage page)
throws PortalException
getPreviousVersionPage in interface WikiPageLocalServicePortalException
public List<WikiPage> getRecentChanges(long groupId,
long nodeId,
int start,
int end)
getRecentChanges in interface WikiPageLocalService
@Deprecated
public List<WikiPage> getRecentChanges(long nodeId,
int start,
int end)
throws PortalException
getRecentChanges(long, long,
int, int)
getRecentChanges in interface WikiPageLocalServicePortalException
public int getRecentChangesCount(long groupId,
long nodeId)
getRecentChangesCount in interface WikiPageLocalService
@Deprecated
public int getRecentChangesCount(long nodeId)
throws PortalException
getRecentChangesCount(long,
long)
getRecentChangesCount in interface WikiPageLocalServicePortalException
public List<WikiPage> getRedirectPages(long nodeId,
boolean head,
String redirectTitle,
int status)
getRedirectPages in interface WikiPageLocalService
public String[] getTempFileNames(long groupId,
long userId,
String folderName)
throws PortalException
getTempFileNames in interface WikiPageLocalServicePortalException
public WikiPage getWikiPage(long pageId)
throws PortalException
getWikiPage in interface WikiPageLocalServicepageId - the primary key of the wiki page
PortalException - if a wiki page with the primary key could not be found
public WikiPage getWikiPageByUuidAndGroupId(String uuid,
long groupId)
throws PortalException
getWikiPageByUuidAndGroupId in interface WikiPageLocalServiceuuid - the wiki page's UUIDgroupId - the primary key of the group
PortalException - if a matching wiki page could not be found
public List<WikiPage> getWikiPages(int start,
int end)
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. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from com.liferay.portlet.wiki.model.impl.WikiPageModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getWikiPages in interface WikiPageLocalServicestart - the lower bound of the range of wiki pagesend - the upper bound of the range of wiki pages (not inclusive)
public List<WikiPage> getWikiPagesByUuidAndCompanyId(String uuid,
long companyId)
getWikiPagesByUuidAndCompanyId in interface WikiPageLocalServiceuuid - the UUID of the wiki pagescompanyId - the primary key of the company
public List<WikiPage> getWikiPagesByUuidAndCompanyId(String uuid,
long companyId,
int start,
int end,
OrderByComparator<WikiPage> orderByComparator)
getWikiPagesByUuidAndCompanyId in interface WikiPageLocalServiceuuid - the UUID of the wiki pagescompanyId - the primary key of the companystart - the lower bound of the range of wiki pagesend - the upper bound of the range of wiki pages (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public int getWikiPagesCount()
getWikiPagesCount in interface WikiPageLocalService
public boolean hasDraftPage(long nodeId,
String title)
hasDraftPage in interface WikiPageLocalService
public void moveDependentToTrash(WikiPage page,
long trashEntryId)
throws PortalException
moveDependentToTrash in interface WikiPageLocalServicePortalException
@Deprecated
public void movePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException
renamePage(long, long,
String, String, ServiceContext)
movePage in interface WikiPageLocalServicePortalException
@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)
movePage in interface WikiPageLocalServicePortalException
public FileEntry movePageAttachmentToTrash(long userId,
long nodeId,
String title,
String fileName)
throws PortalException
movePageAttachmentToTrash in interface WikiPageLocalServicePortalException
public WikiPage movePageFromTrash(long userId,
long nodeId,
String title,
long newNodeId,
String newParentTitle)
throws PortalException
movePageFromTrash in interface WikiPageLocalServicePortalException
@Deprecated
public WikiPage movePageFromTrash(long userId,
long nodeId,
String title,
String newParentTitle,
ServiceContext serviceContext)
throws PortalException
movePageFromTrash(long,
long, String, long, String) *
movePageFromTrash in interface WikiPageLocalServicePortalException
public WikiPage movePageToTrash(long userId,
long nodeId,
String title)
throws PortalException
movePageToTrash in interface WikiPageLocalServicePortalException
public WikiPage movePageToTrash(long userId,
long nodeId,
String title,
double version)
throws PortalException
movePageToTrash in interface WikiPageLocalServicePortalException
public WikiPage movePageToTrash(long userId,
WikiPage page)
throws PortalException
movePageToTrash in interface WikiPageLocalServicePortalException
public void renamePage(long userId,
long nodeId,
String title,
String newTitle,
ServiceContext serviceContext)
throws PortalException
renamePage in interface WikiPageLocalServicePortalException
public void renamePage(long userId,
long nodeId,
String title,
String newTitle,
boolean strict,
ServiceContext serviceContext)
throws PortalException
renamePage in interface WikiPageLocalServicePortalException
public void restorePageAttachmentFromTrash(long userId,
long nodeId,
String title,
String fileName)
throws PortalException
restorePageAttachmentFromTrash in interface WikiPageLocalServicePortalException
public void restorePageFromTrash(long userId,
WikiPage page)
throws PortalException
restorePageFromTrash in interface WikiPageLocalServicePortalException
public WikiPage revertPage(long userId,
long nodeId,
String title,
double version,
ServiceContext serviceContext)
throws PortalException
revertPage in interface WikiPageLocalServicePortalExceptionpublic void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier in interface WikiPageLocalServicebeanIdentifier - the Spring bean ID for this bean
public void subscribePage(long userId,
long nodeId,
String title)
throws PortalException
subscribePage in interface WikiPageLocalServicePortalException
public void unsubscribePage(long userId,
long nodeId,
String title)
throws PortalException
unsubscribePage in interface WikiPageLocalServicePortalException
public void updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
String[] assetTagNames,
long[] assetLinkEntryIds)
throws PortalException
updateAsset in interface WikiPageLocalServicePortalException
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
updatePage in interface WikiPageLocalServicePortalException
@Deprecated
public WikiPage updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext)
throws PortalException
updateStatus(long, WikiPage,
int, ServiceContext, Map)
updateStatus in interface WikiPageLocalServicePortalException
public WikiPage updateStatus(long userId,
WikiPage page,
int status,
ServiceContext serviceContext,
Map<String,Serializable> workflowContext)
throws PortalException
updateStatus in interface WikiPageLocalServicePortalException
public WikiPage updateStatus(long userId,
long resourcePrimKey,
int status,
ServiceContext serviceContext)
throws PortalException
updateStatus in interface WikiPageLocalServicePortalExceptionpublic WikiPage updateWikiPage(WikiPage wikiPage)
updateWikiPage in interface WikiPageLocalServicewikiPage - the wiki page
public void validateTitle(String title)
throws PortalException
validateTitle in interface WikiPageLocalServicePortalException@Deprecated public WikiPageLocalService getWrappedWikiPageLocalService()
getWrappedService()
@Deprecated public void setWrappedWikiPageLocalService(WikiPageLocalService wikiPageLocalService)
setWrappedService(com.liferay.portlet.wiki.service.WikiPageLocalService)
public WikiPageLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<WikiPageLocalService>public void setWrappedService(WikiPageLocalService wikiPageLocalService)
setWrappedService in interface ServiceWrapper<WikiPageLocalService>
|
Liferay 7.0-ce-m3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||