public interface WikiMethods
Modifier and Type | Method and Description |
---|---|
ResponseList<Attachment> |
addWikiAttachment(AddWikiAttachmentParams params)
Attaches the files to the Wiki page.
|
Wiki |
createWiki(CreateWikiParams params)
Create a Wiki page in the project.
|
Wiki |
deleteWiki(java.lang.Object wikiId,
boolean mailNotify)
Deletes the Wiki page.
|
Attachment |
deleteWikiAttachment(java.lang.Object wikiId,
java.lang.Object attachmentId)
Deletes the Wiki page's attachment file
|
AttachmentData |
downloadWikiAttachment(java.lang.Object wikiId,
java.lang.Object attachmentId)
Downloads the Wiki page's attachment file.
|
Wiki |
getWiki(java.lang.Object wikiId)
Returns the Wiki page.
|
ResponseList<Attachment> |
getWikiAttachments(java.lang.Object wikiId)
Returns the Wiki page's attachment files.
|
int |
getWikiCount(java.lang.Object projectIdOrKey)
Returns Wiki pages count.
|
ResponseList<WikiHistory> |
getWikiHistories(java.lang.Object wikiId)
Returns history of the Wiki page.
|
ResponseList<WikiHistory> |
getWikiHistories(java.lang.Object wikiId,
QueryParams queryParams)
Returns history of the Wiki page.
|
ResponseList<Wiki> |
getWikis(GetWikisParams params)
Returns Wiki pages in the project.
|
ResponseList<Wiki> |
getWikis(java.lang.Object projectIdOrKey)
Returns Wiki pages in the project.
|
ResponseList<SharedFile> |
getWikiSharedFiles(java.lang.Object wikiId)
Returns the Wiki page's shared files.
|
ResponseList<Star> |
getWikiStars(java.lang.Object wikiId)
Returns list of stars received on the Wiki page.
|
ResponseList<WikiTag> |
getWikiTags(java.lang.Object projectIdOrKey)
Returns Wiki page's tags in the project.
|
ResponseList<SharedFile> |
linkWikiSharedFile(java.lang.Object wikiId,
java.util.List fileIds)
Links the shared files to Wiki.
|
SharedFile |
unlinkWikiSharedFile(java.lang.Object wikiId,
java.lang.Object fileId)
Removes link to shared Files from the Wiki.
|
Wiki |
updateWiki(UpdateWikiParams params)
Updates an existing Wiki page in the project.
|
ResponseList<Wiki> getWikis(java.lang.Object projectIdOrKey)
projectIdOrKey
- the project identifierResponseList<Wiki> getWikis(GetWikisParams params)
params
- the finding wiki parametersint getWikiCount(java.lang.Object projectIdOrKey)
projectIdOrKey
- the project identifierResponseList<WikiTag> getWikiTags(java.lang.Object projectIdOrKey)
projectIdOrKey
- the project identifierWiki createWiki(CreateWikiParams params)
params
- the creating Wiki page parametersWiki getWiki(java.lang.Object wikiId)
wikiId
- the Wiki page identifierWiki updateWiki(UpdateWikiParams params)
params
- the updating Wiki page parametersWiki deleteWiki(java.lang.Object wikiId, boolean mailNotify)
wikiId
- the Wiki page identifiermailNotify
- ResponseList<Attachment> getWikiAttachments(java.lang.Object wikiId)
wikiId
- the Wiki page identifierResponseList<Attachment> addWikiAttachment(AddWikiAttachmentParams params)
params
- the Wiki page's attachment parametersAttachmentData downloadWikiAttachment(java.lang.Object wikiId, java.lang.Object attachmentId)
wikiId
- the Wiki page identifierattachmentId
- the attachment file identifierAttachment deleteWikiAttachment(java.lang.Object wikiId, java.lang.Object attachmentId)
wikiId
- the Wiki page identifierattachmentId
- the attachment file identifierResponseList<SharedFile> getWikiSharedFiles(java.lang.Object wikiId)
wikiId
- the Wiki page identifierResponseList<SharedFile> linkWikiSharedFile(java.lang.Object wikiId, java.util.List fileIds)
wikiId
- the Wiki page identifierfileIds
- the shared file identifiersSharedFile unlinkWikiSharedFile(java.lang.Object wikiId, java.lang.Object fileId)
wikiId
- the Wiki page identifierfileId
- the shared file identifierResponseList<WikiHistory> getWikiHistories(java.lang.Object wikiId)
wikiId
- the Wiki page identifierResponseList<WikiHistory> getWikiHistories(java.lang.Object wikiId, QueryParams queryParams)
wikiId
- the Wiki page identifierqueryParams
- the query parametersResponseList<Star> getWikiStars(java.lang.Object wikiId)
wikiId
- the Wiki page identifier