Package org.alfresco.service.cmr.wiki
Interface WikiService
- All Known Implementing Classes:
WikiServiceImpl
public interface WikiService
The Wiki service.
- Since:
- 4.0
- Author:
- Nick Burch
-
Method Summary
Modifier and TypeMethodDescriptioncreateWikiPage(String siteShortName, String title, String contents) Creates a newWikiPageInfoin the given site, with the specified contentsvoiddeleteWikiPage(WikiPageInfo wikiPage) Deletes an existingWikiPageInfofrom the repositorygetWikiPage(String siteShortName, String pageName) Retrieves an existingWikiPageInfofrom the repositorylistWikiPages(String siteShortName, String user, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site and the specified user.listWikiPages(String siteShortName, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site.listWikiPagesByCreated(String siteShortName, Date from, Date to, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site, created in the specified date rangelistWikiPagesByModified(String siteShortName, Date from, Date to, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site, modified in the specified date rangeupdateWikiPage(WikiPageInfo wikiPage) Updates an existingWikiPageInfoin the repository.
-
Method Details
-
createWikiPage
Creates a newWikiPageInfoin the given site, with the specified contents- Returns:
- The newly created
WikiPageInfo
-
updateWikiPage
Updates an existingWikiPageInfoin the repository.- Returns:
- The updated
WikiPageInfo
-
deleteWikiPage
Deletes an existingWikiPageInfofrom the repository -
getWikiPage
Retrieves an existingWikiPageInfofrom the repository -
listWikiPages
Retrieves allWikiPageInfoinstances in the repository for the given site. -
listWikiPages
@NotAuditable PagingResults<WikiPageInfo> listWikiPages(String siteShortName, String user, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site and the specified user. -
listWikiPagesByCreated
@NotAuditable PagingResults<WikiPageInfo> listWikiPagesByCreated(String siteShortName, Date from, Date to, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site, created in the specified date range -
listWikiPagesByModified
@NotAuditable PagingResults<WikiPageInfo> listWikiPagesByModified(String siteShortName, Date from, Date to, PagingRequest paging) Retrieves allWikiPageInfoinstances in the repository for the given site, modified in the specified date range
-