Package com.xwiki.admintools.usage
Interface WikiUsageResult
@Unstable
public interface WikiUsageResult
General interface for gathering info about a wiki.
- Since:
- 1.0
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionGet the number of attachments in this wiki.default LongGet the total size of the attachments.Get the number of documents in this wiki.default LonggetTotal()Get the total number of documents and attachments.default LongGet the number of users registered in the wiki.Get the name of the wiki.voidsetAttachmentsCount(Long attachmentsCount) Set the number attachments in this wiki.default voidsetAttachmentsSize(Long attachmentsSize) Set the total size of the attachments.voidsetDocumentsCount(Long documentsCount) Set the number of documents in this wiki.default voidsetUserCount(Long userCount) Set the number of users registered in the wiki.voidsetWikiName(String wikiName) Set the name of the wiki.
-
Method Details
-
getWikiName
String getWikiName()Get the name of the wiki.- Returns:
- the name of the wiki.
-
setWikiName
Set the name of the wiki.- Parameters:
wikiName- representing the name of the wiki.
-
getDocumentsCount
Long getDocumentsCount()Get the number of documents in this wiki.- Returns:
- number of documents in wiki.
-
setDocumentsCount
Set the number of documents in this wiki.- Parameters:
documentsCount- number of documents for wiki.
-
getAttachmentsCount
Long getAttachmentsCount()Get the number of attachments in this wiki.- Returns:
- number of attachments in wiki.
-
setAttachmentsCount
Set the number attachments in this wiki.- Parameters:
attachmentsCount- number of attachments for wiki.
-
getTotal
Get the total number of documents and attachments.- Returns:
- the total number of documents and attachments.
-
getUserCount
Get the number of users registered in the wiki.- Returns:
Longrepresenting the number of users in the wiki.
-
setUserCount
Set the number of users registered in the wiki.- Parameters:
userCount- the number of users in the wiki.
-
getAttachmentsSize
Get the total size of the attachments.- Returns:
Longwith the size of the attachments in the wiki.
-
setAttachmentsSize
Set the total size of the attachments.- Parameters:
attachmentsSize- the size of the attachments in the wiki.
-