Class DownloadStatistics
java.lang.Object
com.appiancorp.suiteapi.collaboration.DownloadStatistics
- All Implemented Interfaces:
LocalId,Serializable,Cloneable
This class represents a fragment of a download-related query.
Copyright: Copyright (c) 2002, 2003
Company: Appian Corporation
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Returns the value of the community nameGets the value of the document extensionGets the value of the document IDGets the value of the document nameGets the value of the download dateGets the value of the downloaded day of the weekGets the value of the username of the user who performed the downloadGets the value of the downloaded hour of the daygetId()Gets the ID of thisDownloadStatisticsobjectGets the value of the name of the knowledge centerGets the value of the number of downloadsbooleanGets whether the document is searchablebooleanGets whether the folder is searchablebooleanGets whether the knowledge center is searchablevoidsetCommunityName(String commname_) Sets the value of the community namevoidsetDocumentExtension(String ext_) Sets the value of the document extensionvoidsetDocumentId(Long doid_) Sets the value of the unique ID of the documentvoidsetDocumentName(String docname_) Sets the value of the name of the documentvoidsetDocumentSearchability(boolean b_) Sets whther the document is searchablevoidsetDownloadDate(Timestamp dldate_) Sets the value of the date of the downloadvoidsetDownloadDayOfWeek(Long ddow_) Sets the value of the day of the week of the downloadvoidsetDownloader(String downloader_) Sets the value of the username of the user who performed the downloadvoidsetDownloadHourOfDay(Long dhod_) Sets the value of the downloaded hour of the dayvoidsetFolderSearchability(boolean b_) Sets whether the folder is searchablevoidSets the ID of thisDownloadStatisticsobjectvoidsetKnowledgeCenterName(String kcname_) Sets the value of the name of the knowledge centervoidsetKnowledgeCenterSearchability(boolean b_) Sets whether the knowledge center is searchablevoidsetNumberOfDownloads(Long num_) Sets the value of the number of downloads
-
Constructor Details
-
DownloadStatistics
public DownloadStatistics()
-
-
Method Details
-
getCommunityName
Returns the value of the community name- Returns:
- the value of the community name
-
getDocumentExtension
Gets the value of the document extension- Returns:
- the value of the document extension
-
getDocumentId
Gets the value of the document ID- Returns:
- the value of the document ID
-
getDocumentName
Gets the value of the document name- Returns:
- the value of the document name
-
isDocumentSearchability
public boolean isDocumentSearchability()Gets whether the document is searchable- Returns:
trueif the document is searchable,falseotherwise.
-
getDownloadDate
Gets the value of the download date- Returns:
- the value of the download date
-
getDownloadDayOfWeek
Gets the value of the downloaded day of the week- Returns:
- a number representing the day of the week (1=Sun, 2=Mon, etc)
-
getDownloadHourOfDay
Gets the value of the downloaded hour of the day- Returns:
- a number representing the hour of the day (in 24h time)
-
isFolderSearchability
public boolean isFolderSearchability()Gets whether the folder is searchable- Returns:
trueif the folder is searchable,falseotherwise.
-
getKnowledgeCenterName
Gets the value of the name of the knowledge center- Returns:
- the value of the name of the knowledge center
-
isKnowledgeCenterSearchability
public boolean isKnowledgeCenterSearchability()Gets whether the knowledge center is searchable- Returns:
trueif the knowledge center is searchable,falseotherwise.
-
getNumberOfDownloads
Gets the value of the number of downloads- Returns:
- the value of the number of downloads
-
getDownloader
Gets the value of the username of the user who performed the download- Returns:
- the value of the username of the user who performed the download
-
setCommunityName
Sets the value of the community name- Parameters:
commname_- the value of the community name
-
setDocumentExtension
Sets the value of the document extension- Parameters:
ext_- the value of the document extension
-
setDocumentId
Sets the value of the unique ID of the document- Parameters:
doid_- the value of the unique ID of the document
-
setDocumentName
Sets the value of the name of the document- Parameters:
docname_- the value of the name of the document
-
setDocumentSearchability
public void setDocumentSearchability(boolean b_) Sets whther the document is searchable- Parameters:
b_-trueif the document is searchable;falseotherwise
-
setDownloadDate
Sets the value of the date of the download- Parameters:
dldate_- the value of the date of the download
-
setDownloadDayOfWeek
Sets the value of the day of the week of the download- Parameters:
ddow_- a number representing the day of the week (1=Sun, 2=Mon, etc)
-
setDownloadHourOfDay
Sets the value of the downloaded hour of the day- Parameters:
dhod_- a number representing the hour of the day (in 24h time)
-
setFolderSearchability
public void setFolderSearchability(boolean b_) Sets whether the folder is searchable- Parameters:
b_-trueif the folder is searchable,falseotherwise
-
setKnowledgeCenterName
Sets the value of the name of the knowledge center- Parameters:
kcname_- the name of the kc
-
setKnowledgeCenterSearchability
public void setKnowledgeCenterSearchability(boolean b_) Sets whether the knowledge center is searchable- Parameters:
b_-trueif the knowledge center is searchable,falseotherwise
-
setNumberOfDownloads
Sets the value of the number of downloads- Parameters:
num_- the value of the number of downloads
-
setDownloader
Sets the value of the username of the user who performed the download- Parameters:
downloader_- the value of the username of the user who performed the download
-
getId
Gets the ID of thisDownloadStatisticsobject -
setId
Sets the ID of thisDownloadStatisticsobject -
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-