Package org.alfresco.service.cmr.wiki
Interface WikiService
-
- All Known Implementing Classes:
WikiServiceImpl
public interface WikiServiceThe Wiki service.- Since:
- 4.0
- Author:
- Nick Burch
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WikiPageInfocreateWikiPage(String siteShortName, String title, String contents)Creates a newWikiPageInfoin the given site, with the specified contentsvoiddeleteWikiPage(WikiPageInfo wikiPage)Deletes an existingWikiPageInfofrom the repositoryWikiPageInfogetWikiPage(String siteShortName, String pageName)Retrieves an existingWikiPageInfofrom the repositoryPagingResults<WikiPageInfo>listWikiPages(String siteShortName, String user, PagingRequest paging)Retrieves allWikiPageInfoinstances in the repository for the given site and the specified user.PagingResults<WikiPageInfo>listWikiPages(String siteShortName, PagingRequest paging)Retrieves allWikiPageInfoinstances in the repository for the given site.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 rangePagingResults<WikiPageInfo>listWikiPagesByModified(String siteShortName, Date from, Date to, PagingRequest paging)Retrieves allWikiPageInfoinstances in the repository for the given site, modified in the specified date rangeWikiPageInfoupdateWikiPage(WikiPageInfo wikiPage)Updates an existingWikiPageInfoin the repository.
-
-
-
Method Detail
-
createWikiPage
@NotAuditable WikiPageInfo createWikiPage(String siteShortName, String title, String contents)
Creates a newWikiPageInfoin the given site, with the specified contents- Returns:
- The newly created
WikiPageInfo
-
updateWikiPage
@NotAuditable WikiPageInfo updateWikiPage(WikiPageInfo wikiPage)
Updates an existingWikiPageInfoin the repository.- Returns:
- The updated
WikiPageInfo
-
deleteWikiPage
@NotAuditable void deleteWikiPage(WikiPageInfo wikiPage)
Deletes an existingWikiPageInfofrom the repository
-
getWikiPage
@NotAuditable WikiPageInfo getWikiPage(String siteShortName, String pageName)
Retrieves an existingWikiPageInfofrom the repository
-
listWikiPages
@NotAuditable PagingResults<WikiPageInfo> listWikiPages(String siteShortName, PagingRequest paging)
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
-
-