Class DocumentStatistics
java.lang.Object
com.appiancorp.suiteapi.collaboration.Document
com.appiancorp.suiteapi.collaboration.DocumentStatistics
- All Implemented Interfaces:
LocalId
,Serializable
,Cloneable
This class represents a versioned document in the collaboration application.
It has an additional property related to the download statistics of the
document
- See Also:
-
Field Summary
Fields inherited from class com.appiancorp.suiteapi.collaboration.Document
APPROVED, CURRENT_VERSION, PENDING_APPROVAL_CREATION, PENDING_APPROVAL_DELETION, sizeInKB$TRANSIENT, SORT_BY_APPROVED, SORT_BY_CHANGES_REQUIRE_APPROVAL, SORT_BY_DATE_CREATED, SORT_BY_DESCRIPTION, SORT_BY_DISCUSSION_THREAD, SORT_BY_EXPIRATION_DATE, SORT_BY_EXTENSION, SORT_BY_FILE_SYSTEM_ID, SORT_BY_FOLDER_ID, SORT_BY_FOLDER_NAME, SORT_BY_ID, SORT_BY_KNOWLEDGE_CENTER_ID, SORT_BY_KNOWLEDGE_CENTER_NAME, SORT_BY_LAST_USER_TO_MODIFY, SORT_BY_LOCKED_BY, SORT_BY_NAME, SORT_BY_NUMBER_OF_VERSIONS, SORT_BY_PARTITION, SORT_BY_PENDING_APPROVAL, SORT_BY_SIZE, SORT_BY_STATUS, SORT_BY_VERSION_ID, SORT_COLUMN_EXPIRATION_DATE, SORT_COLUMN_EXTENSION, SORT_COLUMN_LAST_MODIFIED_BY, SORT_COLUMN_LAST_MODIFIED_DATE, SORT_COLUMN_NAME, SORT_COLUMN_NUMBER_OF_VERSIONS, SORT_COLUMN_PARENT_KNOWLEDGE_CENTER_NAME, SORT_COLUMN_SIZE, STATUS_PUBLISHED, STATUS_UNPUBLISHED
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the number of times document was downloadedvoid
setNumberOfDownloads
(Long numberOfDownloads_) Sets the number of times document was downloadedMethods inherited from class com.appiancorp.suiteapi.collaboration.Document
accessAsReadOnlyFile, clone, getDateCreated, getDescription, getExpirationDate, getExtension, getFileSystemId, getFolderId, getFolderName, getForum, getId, getInputStream, getInternalFilename, getKnowledgeCenterId, getKnowledgeCenterName, getLastUserToModify, getLockedAt, getLockedBy, getLockedByUsername, getName, getNumberOfVersions, getOutputStream, getPartition, getPendingApproval, getSize, getSizeInKB, getStatus, getTotalNumberOfVersions, getUuid, getVersionId, isApproved, isChangesRequireApproval, setApproved, setChangesRequireApproval, setDateCreated, setDescription, setExpirationDate, setExtension, setFileSystemId, setFolderId, setFolderName, setForum, setId, setInternalFilename, setKnowledgeCenterId, setKnowledgeCenterName, setLastUserToModify, setLockedAt, setLockedBy, setLockedByUsername, setName, setNumberOfVersions, setPartition, setPendingApproval, setSize, setStatus, setUuid, setVersionId, write
-
Constructor Details
-
DocumentStatistics
public DocumentStatistics()
-
-
Method Details
-
getNumberOfDownloads
Gets the number of times document was downloaded- Returns:
- the number of times document was downloaded
-
setNumberOfDownloads
Sets the number of times document was downloaded
-