public interface ContentStatisticsService
extends com.appiancorp.services.ContextSensitiveService
Modifier and Type | Method and Description |
---|---|
java.lang.Double |
getContentMegabytesUsed()
Get the amount of space used by all leaf content.
|
TotalByType[] |
getContentStatistics()
Get a count of content items by type.
|
java.lang.Integer |
getTotal(ContentFilter filter)
This returns the total number of content items matching the typemask.
|
TotalByDayOfWeek[] |
getTotalByDayOfWeek(ContentFilter filter)
Get a count of content items modified by day of week.
|
TotalByExtension[] |
getTotalByExtension()
Get a count of content items by extension.
|
TotalByHour[] |
getTotalByHour(ContentFilter filter)
Get a count of content items modified by hour.
|
java.lang.Integer |
getTotalFiles(java.lang.Boolean includingVersions)
Get a count of the total number of content items.
|
java.lang.Integer |
getTotalModified(ContentFilter filter,
java.lang.Integer days)
Get the total number of Content items modified in the given number of days.
|
UserStatistics |
getUserStatistics()
Get user statistics for content.
|
java.lang.Integer getTotal(ContentFilter filter) throws InvalidTypeMaskException
filter
- only count contents matching this filterInvalidTypeMaskException
- if an invalid typemask is specified in the filterjava.lang.Integer getTotalModified(ContentFilter filter, java.lang.Integer days) throws InvalidTypeMaskException
filter
- only count contents matching this filterdays
- number of daysInvalidTypeMaskException
- if an invalid typemask is specified in the filterTotalByHour[] getTotalByHour(ContentFilter filter) throws InvalidTypeMaskException
filter
- only count contents matching this filterInvalidTypeMaskException
- if an invalid typemask is specified in the filterTotalByDayOfWeek[] getTotalByDayOfWeek(ContentFilter filter) throws InvalidTypeMaskException
filter
- only count contents matching this filterInvalidTypeMaskException
- if an invalid typemask is specified in the filterTotalByExtension[] getTotalByExtension()
java.lang.Integer getTotalFiles(java.lang.Boolean includingVersions)
includingVersions
- true if including version, false otherwiseTotalByType[] getContentStatistics()
java.lang.Double getContentMegabytesUsed()
UserStatistics getUserStatistics()
Copyright © 2003-2023 Appian Corporation. All Rights Reserved.