@ProviderType public class WikiPageLocalServiceWrapper extends java.lang.Object implements WikiPageLocalService, com.liferay.portal.kernel.service.ServiceWrapper<WikiPageLocalService>
WikiPageLocalService
.WikiPageLocalService
Constructor and Description |
---|
WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService) |
Modifier and Type | Method and Description |
---|---|
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
double version,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
java.lang.String format,
boolean head,
java.lang.String parentTitle,
java.lang.String redirectTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WikiPage |
addPage(long userId,
long nodeId,
java.lang.String title,
java.lang.String content,
java.lang.String summary,
boolean minorEdit,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.File file,
java.lang.String mimeType) |
com.liferay.portal.kernel.repository.model.FileEntry |
addPageAttachment(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> |
addPageAttachments(long userId,
long nodeId,
java.lang.String title,
java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) |
void |
addPageResources(long nodeId,
java.lang.String title,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addPageResources(long nodeId,
java.lang.String title,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
void |
addPageResources(WikiPage page,
boolean addGroupPermissions,
boolean addGuestPermissions) |
void |
addPageResources(WikiPage page,
java.lang.String[] groupPermissions,
java.lang.String[] guestPermissions) |
com.liferay.portal.kernel.repository.model.FileEntry |
addTempFileEntry(long groupId,
long userId,
java.lang.String folderName,
java.lang.String fileName,
java.io.InputStream inputStream,
java.lang.String mimeType) |
void |
addTempPageAttachment(long groupId,
long userId,
java.lang.String fileName,
java.lang.String tempFolderName,
java.io.InputStream inputStream,
java.lang.String mimeType)
Deprecated.
As of Wilberforce (7.0.x), replaced by
addTempFileEntry(long, long, String, String, InputStream,
String) |
WikiPage |
addWikiPage(WikiPage wikiPage)
Adds the wiki page to the database.
|
WikiPage |
changeParent(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
copyPageAttachments(long userId,
long templateNodeId,
java.lang.String templateTitle,
long nodeId,
java.lang.String title) |
WikiPage |
createWikiPage(long pageId)
Creates a new wiki page with the primary key.
|
void |
deletePage(long nodeId,
java.lang.String title) |
void |
deletePage(WikiPage page) |
void |
deletePageAttachment(long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
deletePageAttachments(long nodeId,
java.lang.String title) |
void |
deletePages(long nodeId) |
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
void |
deleteTempFileEntry(long groupId,
long userId,
java.lang.String folderName,
java.lang.String fileName) |
void |
deleteTrashPageAttachments(long nodeId,
java.lang.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,
java.lang.String title,
double version) |
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery() |
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> java.util.List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.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,
java.lang.String title,
int status,
boolean preferApproved) |
WikiPage |
fetchPage(long resourcePrimKey) |
WikiPage |
fetchPage(long nodeId,
java.lang.String title) |
WikiPage |
fetchPage(long nodeId,
java.lang.String title,
double version) |
WikiPage |
fetchWikiPage(long pageId) |
WikiPage |
fetchWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery() |
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle) |
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle,
int status) |
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle,
int start,
int end) |
java.util.List<WikiPage> |
getChildren(long nodeId,
boolean head,
java.lang.String parentTitle,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc) |
int |
getChildrenCount(long nodeId,
boolean head,
java.lang.String parentTitle) |
int |
getChildrenCount(long nodeId,
boolean head,
java.lang.String parentTitle,
int status) |
java.util.List<WikiPage> |
getDependentPages(long nodeId,
boolean head,
java.lang.String title,
int status) |
WikiPage |
getDraftPage(long nodeId,
java.lang.String title) |
com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery |
getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) |
java.util.List<WikiPage> |
getIncomingLinks(long nodeId,
java.lang.String title) |
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
WikiPage |
getLatestPage(long resourcePrimKey,
int status,
boolean preferApproved) |
WikiPage |
getLatestPage(long resourcePrimKey,
long nodeId,
int status,
boolean preferApproved) |
WikiPage |
getLatestPage(long nodeId,
java.lang.String title,
int status,
boolean preferApproved) |
java.util.List<WikiPage> |
getNoAssetPages() |
java.util.List<WikiPage> |
getOrphans(long nodeId) |
java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
java.util.List<WikiPage> |
getOutgoingLinks(long nodeId,
java.lang.String title) |
WikiPage |
getPage(long resourcePrimKey) |
WikiPage |
getPage(long resourcePrimKey,
java.lang.Boolean head) |
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) |
WikiPage |
getPageByPageId(long pageId) |
WikiPageDisplay |
getPageDisplay(long nodeId,
java.lang.String title,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
WikiPageDisplay |
getPageDisplay(WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix) |
WikiPageDisplay |
getPageDisplay(WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WikiPageDisplay |
getPageDisplay(WikiPage page,
javax.portlet.PortletURL viewPageURL,
java.util.function.Supplier<javax.portlet.PortletURL> editPageURLSupplier,
java.lang.String attachmentURLPrefix,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int status,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) |
java.util.List<WikiPage> |
getPages(long nodeId,
boolean head,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) |
java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) |
java.util.List<WikiPage> |
getPages(long resourcePrimKey,
long nodeId,
int status) |
java.util.List<WikiPage> |
getPages(long userId,
long nodeId,
int status,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
boolean head,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end) |
java.util.List<WikiPage> |
getPages(long nodeId,
java.lang.String title,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc) |
java.util.List<WikiPage> |
getPages(java.lang.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,
java.lang.String title) |
int |
getPagesCount(long nodeId,
java.lang.String title,
boolean head) |
int |
getPagesCount(java.lang.String format) |
java.util.List<? extends com.liferay.portal.kernel.model.PersistedModel> |
getPersistedModel(long resourcePrimKey) |
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(java.io.Serializable primaryKeyObj) |
WikiPage |
getPreviousVersionPage(WikiPage page) |
java.util.List<WikiPage> |
getRecentChanges(long groupId,
long nodeId,
int start,
int end) |
int |
getRecentChangesCount(long groupId,
long nodeId) |
java.util.List<WikiPage> |
getRedirectorPages(long nodeId,
boolean head,
java.lang.String redirectTitle,
int status) |
java.util.List<WikiPage> |
getRedirectorPages(long nodeId,
java.lang.String redirectTitle) |
java.lang.String[] |
getTempFileNames(long groupId,
long userId,
java.lang.String folderName) |
WikiPage |
getWikiPage(long pageId)
Returns the wiki page with the primary key.
|
WikiPage |
getWikiPageByUuidAndGroupId(java.lang.String uuid,
long groupId)
Returns the wiki page matching the UUID and group.
|
java.util.List<WikiPage> |
getWikiPages(int start,
int end)
Returns a range of all the wiki pages.
|
java.util.List<WikiPage> |
getWikiPagesByUuidAndCompanyId(java.lang.String uuid,
long companyId)
Returns all the wiki pages matching the UUID and company.
|
java.util.List<WikiPage> |
getWikiPagesByUuidAndCompanyId(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator)
Returns a range of wiki pages matching the UUID and company.
|
int |
getWikiPagesCount()
Returns the number of wiki pages.
|
WikiPageLocalService |
getWrappedService() |
boolean |
hasDraftPage(long nodeId,
java.lang.String title) |
void |
moveDependentToTrash(WikiPage page,
long trashEntryId) |
void |
movePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
renamePage(long, long, String, String, ServiceContext) |
com.liferay.portal.kernel.repository.model.FileEntry |
movePageAttachmentToTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
WikiPage |
movePageFromTrash(long userId,
long nodeId,
java.lang.String title,
long newNodeId,
java.lang.String newParentTitle) |
WikiPage |
movePageFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String newParentTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
movePageFromTrash(long, long, String, long, String) * |
WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title) |
WikiPage |
movePageToTrash(long userId,
long nodeId,
java.lang.String title,
double version) |
WikiPage |
movePageToTrash(long userId,
WikiPage page) |
void |
renamePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
boolean strict,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
renamePage(long userId,
long nodeId,
java.lang.String title,
java.lang.String newTitle,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
restorePageAttachmentFromTrash(long userId,
long nodeId,
java.lang.String title,
java.lang.String fileName) |
void |
restorePageFromTrash(long userId,
WikiPage page) |
WikiPage |
revertPage(long userId,
long nodeId,
java.lang.String title,
double version,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setWrappedService(WikiPageLocalService wikiPageLocalService) |
void |
subscribePage(long userId,
long nodeId,
java.lang.String title) |
void |
unsubscribePage(long userId,
long nodeId,
java.lang.String title) |
void |
updateAsset(long userId,
WikiPage page,
long[] assetCategoryIds,
java.lang.String[] assetTagNames,
long[] assetLinkEntryIds,
java.lang.Double priority) |
WikiPage |
updatePage(long userId,
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,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WikiPage |
updateStatus(long userId,
long resourcePrimKey,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x), replaced by
updateStatus(long, WikiPage, int, ServiceContext, Map) |
WikiPage |
updateStatus(long userId,
WikiPage page,
int status,
com.liferay.portal.kernel.service.ServiceContext serviceContext,
java.util.Map<java.lang.String,java.io.Serializable> workflowContext) |
WikiPage |
updateWikiPage(WikiPage wikiPage)
Updates the wiki page in the database or adds it if it does not yet exist.
|
void |
validateTitle(java.lang.String title)
Deprecated.
As of Wilberforce (7.0.x), replaced by
WikiPageTitleValidator#validate(String) |
public WikiPageLocalServiceWrapper(WikiPageLocalService wikiPageLocalService)
public WikiPage addPage(long userId, long nodeId, java.lang.String title, double version, java.lang.String content, java.lang.String summary, boolean minorEdit, java.lang.String format, boolean head, java.lang.String parentTitle, java.lang.String redirectTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage addPage(long userId, long nodeId, java.lang.String title, java.lang.String content, java.lang.String summary, boolean minorEdit, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long userId, long nodeId, java.lang.String title, java.lang.String fileName, java.io.File file, java.lang.String mimeType) throws com.liferay.portal.kernel.exception.PortalException
addPageAttachment
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry addPageAttachment(long userId, long nodeId, java.lang.String title, java.lang.String fileName, java.io.InputStream inputStream, java.lang.String mimeType) throws com.liferay.portal.kernel.exception.PortalException
addPageAttachment
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<com.liferay.portal.kernel.repository.model.FileEntry> addPageAttachments(long userId, long nodeId, java.lang.String title, java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String,java.io.InputStream>> inputStreamOVPs) throws com.liferay.portal.kernel.exception.PortalException
addPageAttachments
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void addPageResources(long nodeId, java.lang.String title, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addPageResources
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void addPageResources(long nodeId, java.lang.String title, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addPageResources
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void addPageResources(WikiPage page, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addPageResources
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void addPageResources(WikiPage page, java.lang.String[] groupPermissions, java.lang.String[] guestPermissions) throws com.liferay.portal.kernel.exception.PortalException
addPageResources
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(long groupId, long userId, java.lang.String folderName, java.lang.String fileName, java.io.InputStream inputStream, java.lang.String mimeType) throws com.liferay.portal.kernel.exception.PortalException
addTempFileEntry
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void addTempPageAttachment(long groupId, long userId, java.lang.String fileName, java.lang.String tempFolderName, java.io.InputStream inputStream, java.lang.String mimeType) throws com.liferay.portal.kernel.exception.PortalException
addTempFileEntry(long, long, String, String, InputStream,
String)
addTempPageAttachment
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage addWikiPage(WikiPage wikiPage)
addWikiPage
in interface WikiPageLocalService
wikiPage
- the wiki pagepublic WikiPage changeParent(long userId, long nodeId, java.lang.String title, java.lang.String newParentTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
changeParent
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void copyPageAttachments(long userId, long templateNodeId, java.lang.String templateTitle, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
copyPageAttachments
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage createWikiPage(long pageId)
createWikiPage
in interface WikiPageLocalService
pageId
- the primary key for the new wiki pagepublic void deletePage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deletePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void deletePage(WikiPage page) throws com.liferay.portal.kernel.exception.PortalException
deletePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void deletePageAttachment(long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachment
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void deletePageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deletePageAttachments
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void deletePages(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
deletePages
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface WikiPageLocalService
PortalException
public void deleteTempFileEntry(long groupId, long userId, java.lang.String folderName, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
deleteTempFileEntry
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void deleteTrashPageAttachments(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
deleteTrashPageAttachments
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage deleteWikiPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
deleteWikiPage
in interface WikiPageLocalService
pageId
- the primary key of the wiki pagePortalException
- if a wiki page with the primary key could not be foundpublic WikiPage deleteWikiPage(WikiPage wikiPage)
deleteWikiPage
in interface WikiPageLocalService
wikiPage
- the wiki pagepublic void discardDraft(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
discardDraft
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface WikiPageLocalService
public <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface WikiPageLocalService
dynamicQuery
- the dynamic querypublic <T> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 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 WikiPageLocalService
dynamicQuery
- 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> java.util.List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 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 WikiPageLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface WikiPageLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface WikiPageLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic WikiPage fetchLatestPage(long resourcePrimKey, 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 nodeId, java.lang.String title, int status, boolean preferApproved)
fetchLatestPage
in interface WikiPageLocalService
public WikiPage fetchPage(long resourcePrimKey)
fetchPage
in interface WikiPageLocalService
public WikiPage fetchPage(long nodeId, java.lang.String title)
fetchPage
in interface WikiPageLocalService
public WikiPage fetchPage(long nodeId, java.lang.String title, double version)
fetchPage
in interface WikiPageLocalService
public WikiPage fetchWikiPage(long pageId)
fetchWikiPage
in interface WikiPageLocalService
public WikiPage fetchWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId)
fetchWikiPageByUuidAndGroupId
in interface WikiPageLocalService
uuid
- the wiki page's UUIDgroupId
- the primary key of the groupnull
if a matching wiki page could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface WikiPageLocalService
public java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle)
getChildren
in interface WikiPageLocalService
public java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle, int status)
getChildren
in interface WikiPageLocalService
public java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle, int start, int end)
getChildren
in interface WikiPageLocalService
public java.util.List<WikiPage> getChildren(long nodeId, boolean head, java.lang.String parentTitle, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
getChildren
in interface WikiPageLocalService
public int getChildrenCount(long nodeId, boolean head, java.lang.String parentTitle)
getChildrenCount
in interface WikiPageLocalService
public int getChildrenCount(long nodeId, boolean head, java.lang.String parentTitle, int status)
getChildrenCount
in interface WikiPageLocalService
public java.util.List<WikiPage> getDependentPages(long nodeId, boolean head, java.lang.String title, int status)
getDependentPages
in interface WikiPageLocalService
public WikiPage getDraftPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getDraftPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext)
getExportActionableDynamicQuery
in interface WikiPageLocalService
public java.util.List<WikiPage> getIncomingLinks(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getIncomingLinks
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface WikiPageLocalService
public WikiPage getLatestPage(long resourcePrimKey, int status, boolean preferApproved) throws com.liferay.portal.kernel.exception.PortalException
getLatestPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getLatestPage(long resourcePrimKey, long nodeId, int status, boolean preferApproved) throws com.liferay.portal.kernel.exception.PortalException
getLatestPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getLatestPage(long nodeId, java.lang.String title, int status, boolean preferApproved) throws com.liferay.portal.kernel.exception.PortalException
getLatestPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getNoAssetPages()
getNoAssetPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getOrphans(long nodeId) throws com.liferay.portal.kernel.exception.PortalException
getOrphans
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public java.lang.String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface WikiPageLocalService
public java.util.List<WikiPage> getOutgoingLinks(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getOutgoingLinks
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long resourcePrimKey, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title, java.lang.Boolean head) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPage(long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
getPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPageByPageId(long pageId) throws com.liferay.portal.kernel.exception.PortalException
getPageByPageId
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageDisplay getPageDisplay(long nodeId, java.lang.String title, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws com.liferay.portal.kernel.exception.PortalException
getPageDisplay
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageDisplay getPageDisplay(WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws com.liferay.portal.kernel.exception.PortalException
getPageDisplay
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageDisplay getPageDisplay(WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
getPageDisplay
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageDisplay getPageDisplay(WikiPage page, javax.portlet.PortletURL viewPageURL, java.util.function.Supplier<javax.portlet.PortletURL> editPageURLSupplier, java.lang.String attachmentURLPrefix, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
getPageDisplay
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, boolean head, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, boolean head, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long resourcePrimKey, long nodeId, int status)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long userId, long nodeId, int status, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, boolean head, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(long nodeId, java.lang.String title, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> obc)
getPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getPages(java.lang.String format)
getPages
in interface WikiPageLocalService
public 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 userId, long nodeId, int status)
getPagesCount
in interface WikiPageLocalService
public int getPagesCount(long nodeId, java.lang.String title)
getPagesCount
in interface WikiPageLocalService
public int getPagesCount(long nodeId, java.lang.String title, boolean head)
getPagesCount
in interface WikiPageLocalService
public int getPagesCount(java.lang.String format)
getPagesCount
in interface WikiPageLocalService
public java.util.List<? extends com.liferay.portal.kernel.model.PersistedModel> getPersistedModel(long resourcePrimKey) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedResourcedModelLocalService
getPersistedModel
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(java.io.Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getPreviousVersionPage(WikiPage page) throws com.liferay.portal.kernel.exception.PortalException
getPreviousVersionPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public java.util.List<WikiPage> getRecentChanges(long groupId, long nodeId, int start, int end)
getRecentChanges
in interface WikiPageLocalService
public int getRecentChangesCount(long groupId, long nodeId)
getRecentChangesCount
in interface WikiPageLocalService
public java.util.List<WikiPage> getRedirectorPages(long nodeId, boolean head, java.lang.String redirectTitle, int status)
getRedirectorPages
in interface WikiPageLocalService
public java.util.List<WikiPage> getRedirectorPages(long nodeId, java.lang.String redirectTitle)
getRedirectorPages
in interface WikiPageLocalService
public java.lang.String[] getTempFileNames(long groupId, long userId, java.lang.String folderName) throws com.liferay.portal.kernel.exception.PortalException
getTempFileNames
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage getWikiPage(long pageId) throws com.liferay.portal.kernel.exception.PortalException
getWikiPage
in interface WikiPageLocalService
pageId
- the primary key of the wiki pagePortalException
- if a wiki page with the primary key could not be foundpublic WikiPage getWikiPageByUuidAndGroupId(java.lang.String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException
getWikiPageByUuidAndGroupId
in interface WikiPageLocalService
uuid
- the wiki page's UUIDgroupId
- the primary key of the groupPortalException
- if a matching wiki page could not be foundpublic java.util.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 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 WikiPageLocalService
start
- the lower bound of the range of wiki pagesend
- the upper bound of the range of wiki pages (not inclusive)public java.util.List<WikiPage> getWikiPagesByUuidAndCompanyId(java.lang.String uuid, long companyId)
getWikiPagesByUuidAndCompanyId
in interface WikiPageLocalService
uuid
- the UUID of the wiki pagescompanyId
- the primary key of the companypublic java.util.List<WikiPage> getWikiPagesByUuidAndCompanyId(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<WikiPage> orderByComparator)
getWikiPagesByUuidAndCompanyId
in interface WikiPageLocalService
uuid
- 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, java.lang.String title)
hasDraftPage
in interface WikiPageLocalService
public void moveDependentToTrash(WikiPage page, long trashEntryId) throws com.liferay.portal.kernel.exception.PortalException
moveDependentToTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public void movePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
renamePage(long, long, String, String, ServiceContext)
movePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(long userId, long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
movePageAttachmentToTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageFromTrash(long userId, long nodeId, java.lang.String title, long newNodeId, java.lang.String newParentTitle) throws com.liferay.portal.kernel.exception.PortalException
movePageFromTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public WikiPage movePageFromTrash(long userId, long nodeId, java.lang.String title, java.lang.String newParentTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
movePageFromTrash(long, long, String, long, String)
*movePageFromTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageToTrash(long userId, long nodeId, java.lang.String title, double version) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage movePageToTrash(long userId, WikiPage page) throws com.liferay.portal.kernel.exception.PortalException
movePageToTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void renamePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, boolean strict, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
renamePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void renamePage(long userId, long nodeId, java.lang.String title, java.lang.String newTitle, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
renamePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void restorePageAttachmentFromTrash(long userId, long nodeId, java.lang.String title, java.lang.String fileName) throws com.liferay.portal.kernel.exception.PortalException
restorePageAttachmentFromTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void restorePageFromTrash(long userId, WikiPage page) throws com.liferay.portal.kernel.exception.PortalException
restorePageFromTrash
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage revertPage(long userId, long nodeId, java.lang.String title, double version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
revertPage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void subscribePage(long userId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
subscribePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void unsubscribePage(long userId, long nodeId, java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
unsubscribePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public void updateAsset(long userId, WikiPage page, long[] assetCategoryIds, java.lang.String[] assetTagNames, long[] assetLinkEntryIds, java.lang.Double priority) throws com.liferay.portal.kernel.exception.PortalException
updateAsset
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage updatePage(long userId, 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, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updatePage
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage updateStatus(long userId, long resourcePrimKey, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
@Deprecated public WikiPage updateStatus(long userId, WikiPage page, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus(long, WikiPage, int, ServiceContext, Map)
updateStatus
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage updateStatus(long userId, WikiPage page, int status, com.liferay.portal.kernel.service.ServiceContext serviceContext, java.util.Map<java.lang.String,java.io.Serializable> workflowContext) throws com.liferay.portal.kernel.exception.PortalException
updateStatus
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPage updateWikiPage(WikiPage wikiPage)
updateWikiPage
in interface WikiPageLocalService
wikiPage
- the wiki page@Deprecated public void validateTitle(java.lang.String title) throws com.liferay.portal.kernel.exception.PortalException
WikiPageTitleValidator#validate(String)
validateTitle
in interface WikiPageLocalService
com.liferay.portal.kernel.exception.PortalException
public WikiPageLocalService getWrappedService()
getWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageLocalService>
public void setWrappedService(WikiPageLocalService wikiPageLocalService)
setWrappedService
in interface com.liferay.portal.kernel.service.ServiceWrapper<WikiPageLocalService>