Package com.xwiki.admintools.usage
Interface WikiUsageResult
-
@Unstable public interface WikiUsageResultGeneral interface for gathering info about a wiki.- Since:
- 1.0
- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LonggetAttachmentsCount()Get the number of attachments in this wiki.default LonggetAttachmentsSize()Get the total size of the attachments.LonggetDocumentsCount()Get the number of documents in this wiki.default LonggetTotal()Get the total number of documents and attachments.default LonggetUserCount()Get the number of users registered in the wiki.StringgetWikiName()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 Detail
-
getWikiName
String getWikiName()
Get the name of the wiki.- Returns:
- the name of the wiki.
-
setWikiName
void setWikiName(String wikiName)
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
void setDocumentsCount(Long documentsCount)
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
void setAttachmentsCount(Long attachmentsCount)
Set the number attachments in this wiki.- Parameters:
attachmentsCount- number of attachments for wiki.
-
getTotal
default Long getTotal()
Get the total number of documents and attachments.- Returns:
- the total number of documents and attachments.
-
getUserCount
default Long getUserCount()
Get the number of users registered in the wiki.- Returns:
Longrepresenting the number of users in the wiki.
-
setUserCount
default void setUserCount(Long userCount)
Set the number of users registered in the wiki.- Parameters:
userCount- the number of users in the wiki.
-
getAttachmentsSize
default Long getAttachmentsSize()
Get the total size of the attachments.- Returns:
Longwith the size of the attachments in the wiki.
-
setAttachmentsSize
default void setAttachmentsSize(Long attachmentsSize)
Set the total size of the attachments.- Parameters:
attachmentsSize- the size of the attachments in the wiki.
-
-