Interface WikiCreator
-
@Role public interface WikiCreator
Component to create a wiki and perform actions during the creation.- Since:
- 7.0M2
- Version:
- $Id: 47e0dbb040816bfd083c1f11fbe1417d39f1a3d3 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.xwiki.job.Job
createWiki(WikiCreationRequest request)
Start an asynchronous wiki creation.org.xwiki.job.event.status.JobStatus
getJobStatus(String wikiId)
-
-
-
Method Detail
-
createWiki
org.xwiki.job.Job createWiki(WikiCreationRequest request) throws WikiCreationException
Start an asynchronous wiki creation.- Parameters:
request
- a wiki creation request containing all the information about the wiki to create- Returns:
- the job of the wiki creation
- Throws:
WikiCreationException
- if problem occurs
-
getJobStatus
org.xwiki.job.event.status.JobStatus getJobStatus(String wikiId)
- Parameters:
wikiId
- id of the wiki which is creatincreatorjoby a job- Returns:
- the status of the wiki crcreatorjobion job
-
-