public interface ReportingService
extends com.appiancorp.services.ContextSensitiveService
Defines related methods for usage reporting within collaboration.
Methods of service classes can all throw the unchecked exception
ServiceException
if any
system-level error (for example, server failure) occurs, and will in general
throw a checked exception (InvalidXXXException
) when an entity
to be retrieved is inaccessible, instead of returning null
.
Exceptions to this paradigm (including the use of ResultList
as
described below) are noted. All checked exceptions extend
AppianException
.
It may be necessary to retrieve a subset of results as opposed to an entire
collection, and also to sort the subset by some property of the returned
object. "Paging" methods which return a
ResultPage
are provided in certain
instances for this purpose. The ResultPage
will contain the
sorted subset of results
(via Result.getResults()
), and the
total number of items in the available result set
(via ResultPage.getAvailableItems()
).
It may also be necessary to retrieve some results, even if all results
cannot be retrieved (for instance, some of the entities corresponding
to a list of entity IDs may no longer exist). Methods which return a
ResultList
are provided for this
purpose. The Result.getResults()
method in this case will return all results which can be retrieved. In
addition, there will be a list of result codes
(ResultList.getResultCodes()
) that
represent the successful retrieval of an entity, or, if the entity could
not be retrieved, the reason for the failure. See the CODE_XXX
constants in ResultList
for details.
Modifier and Type | Method and Description |
---|---|
UploadStatistics[] |
getCommunitiesWithMostUploads(java.lang.Long num_)
Deprecated.
use getCommunitiesWithMostUploadsPaging
|
ResultPage |
getCommunitiesWithMostUploadsPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the communities with the most uploads
|
Community[] |
getCommunityAdminReport(java.lang.Long commid_)
Deprecated.
use getCommunityAdminReportPaging
|
ResultPage |
getCommunityAdminReportPaging(java.lang.Long commid_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets information about a specified community and all its sub communities
|
Statistics |
getGeneralStatistics()
Gets the general usage statistics and patterns of the
collaboration application (eg the number of folders created).
|
UserStatistics |
getGeneralUserStatistics()
Gets user statistics in the collaboration application (eg the number of
users who have uploaded documents).
|
UploadStatistics[] |
getKnowledgeCentersWithMostUploads(java.lang.Long num_)
Deprecated.
use getKnowledgeCentersWithMostUploadsPaging
|
ResultPage |
getKnowledgeCentersWithMostUploadsPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the knowledge centers with the most uploads
|
Document[] |
getMoreWhatsNewSubscriptions(java.lang.String sortColumn_,
java.lang.Integer sortOrder_,
java.lang.Integer sortLength_)
Deprecated.
use getMoreWhatsNewSubscriptionsPaging
|
ResultPage |
getMoreWhatsNewSubscriptionsPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the latest documents added/updated in the application in knowledge
centers to which the user is subscribed
|
UploadStatistics[] |
getNumberUploads(java.lang.Long days_)
Deprecated.
user getNumberUploadsPaging
|
ResultPage |
getNumberUploadsPaging(java.lang.Long days_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the number of uploads in the last N days
|
java.lang.Long |
getTotalUploads()
Gets the total number of uploads to the collaboration application
|
UploadStatistics[] |
getUploadsByHour()
Deprecated.
use getUploadsByHourPaging
|
ResultPage |
getUploadsByHourPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the number of uploads for each hour
|
UploadStatistics[] |
getUploadsByType()
Deprecated.
use getUploadsByTypePaging
|
ResultPage |
getUploadsByTypePaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the number of uploads by document extension
|
UploadStatistics[] |
getUploadsByWeekDays()
Deprecated.
use getUploadsByWeekDaysPaging
|
ResultPage |
getUploadsByWeekDaysPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the number of uploads by weekdays
|
Document[] |
getWhatsNewCommunity(java.lang.Long coid_,
java.lang.Long num_)
Deprecated.
use getWhatsNewCommunityPaging
|
Document[] |
getWhatsNewCommunityForUser(java.lang.Long communityId_,
java.lang.Long num_)
Deprecated.
use getWhatsNewCommunityForUserPaging
|
ResultPage |
getWhatsNewCommunityForUserPaging(java.lang.Long communityId_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the latest documents (that the user can access) added/updated in the
application in a specific community and its sub-communties
|
ResultPage |
getWhatsNewCommunityPaging(java.lang.Long coid_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the latest documents added/updated in the application in a specific
community and its sub-communties (regardless of user)
|
Document[] |
getWhatsNewKnowledgeCenter(java.lang.Long kcid_,
java.lang.Integer sortOrder_,
java.lang.String sortColumn_)
Deprecated.
use getWhatsNewKnowledgeCenterPaging
|
ResultPage |
getWhatsNewKnowledgeCenterPaging(java.lang.Long kcid_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Retrieves the top N latest documents added or updated in a specified
knowledge center
|
Document[] |
getWhatsNewSubscriptions()
Deprecated.
use getWhatsNewSubscriptionsPaging
|
ResultPage |
getWhatsNewSubscriptionsPaging(int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the latest documents added/updated in the application in
knowledge centers to which the user is subscribed
|
Document[] |
getWhatsNewTopLevelCommunity(java.lang.Long coid_,
java.lang.Long num_)
Deprecated.
use getWhatsNewTopLevelCommunityPaging
|
Document[] |
getWhatsNewTopLevelCommunityForUser(java.lang.Long communityId_,
java.lang.Long num_)
Deprecated.
use getWhatsNewTopLevelCommunityForUserPaging
|
Document[] |
getWhatsNewTopLevelCommunityForUserPaging(java.lang.Long communityId_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Gets the latest documents added/updated in the application in a specific
community (but not its sub-communties) that the user can access
|
ResultPage |
getWhatsNewTopLevelCommunityPaging(java.lang.Long coid_,
int startIndex_,
int batchSize_,
java.lang.Integer sortProperty_,
java.lang.Integer sortOrder_)
Retrieves the the latest documents added or updated in a specified
community, but not its sub-communities (regardless of user)
|
static final boolean getTotalUploads$UPDATES
static final boolean getNumberUploads$UPDATES
static final boolean getNumberUploadsPaging$UPDATES
static final boolean getGeneralStatistics$UPDATES
static final boolean getGeneralUserStatistics$UPDATES
static final boolean getCommunitiesWithMostUploads$UPDATES
static final boolean getCommunitiesWithMostUploadsPaging$UPDATES
static final boolean getKnowledgeCentersWithMostUploads$UPDATES
static final boolean getKnowledgeCentersWithMostUploadsPaging$UPDATES
static final boolean getUploadsByHour$UPDATES
static final boolean getUploadsByHourPaging$UPDATES
static final boolean getUploadsByType$UPDATES
static final boolean getUploadsByTypePaging$UPDATES
static final boolean getUploadsByWeekDays$UPDATES
static final boolean getUploadsByWeekDaysPaging$UPDATES
static final boolean getCommunityAdminReport$UPDATES
static final boolean getCommunityAdminReportPaging$UPDATES
static final boolean getWhatsNewSubscriptions$UPDATES
static final boolean getWhatsNewSubscriptionsPaging$UPDATES
static final boolean getMoreWhatsNewSubscriptions$UPDATES
static final boolean getMoreWhatsNewSubscriptionsPaging$UPDATES
static final boolean getWhatsNewCommunityForUser$UPDATES
static final boolean getWhatsNewCommunityForUserPaging$UPDATES
static final boolean getWhatsNewTopLevelCommunityForUser$UPDATES
static final boolean getWhatsNewTopLevelCommunityForUserPaging$UPDATES
static final boolean getWhatsNewCommunityPaging$UPDATES
static final boolean getWhatsNewCommunity$UPDATES
static final boolean getWhatsNewTopLevelCommunity$UPDATES
static final boolean getWhatsNewTopLevelCommunityPaging$UPDATES
static final boolean getWhatsNewKnowledgeCenter$UPDATES
static final boolean getWhatsNewKnowledgeCenterPaging$UPDATES
java.lang.Long getTotalUploads()
ServiceException
- if any system-level error occursUploadStatistics[] getNumberUploads(java.lang.Long days_)
days_
- the number of days in the queryUploadStatistics
objects. Each
UploadStatistics
object represents one day of upload
information. The fields uploadDate
and
numberOfUploads
are the only fields populated.ServiceException
- if any system-level error occursResultPage getNumberUploadsPaging(java.lang.Long days_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidDataFormatException
days_
- the number of days in the querystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects. Each
UploadStatistics
object represents one day of upload
information. The fields uploadDate
and
numberOfUploads
are the only fields populated.ServiceException
- if any system-level error occursInvalidDataFormatException
- if
days_
is null
Statistics getGeneralStatistics()
Statistics
object encapsulating the general usage
statisticsServiceException
- if any system-level error occursUserStatistics getGeneralUserStatistics()
UserStatistics
object encapsulating the usage
statisticsServiceException
- if any system-level error occursUploadStatistics[] getCommunitiesWithMostUploads(java.lang.Long num_)
num_
- the top number of communities to returnUploadStatistics
objects.
Each UploadStatistics
object represents a community's upload
information. The fields communityName
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursResultPage getCommunitiesWithMostUploadsPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_)
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects. Each
UploadStatistics
object represents a community's
upload information. The fields communityName
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursUploadStatistics[] getKnowledgeCentersWithMostUploads(java.lang.Long num_)
num_
- the top number of knowledge centers to returnUploadStatistics
objects.
Each UploadStatistics
object represents a knowledge center's upload information.
The fields knowledgeCenterName
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursResultPage getKnowledgeCentersWithMostUploadsPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_)
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects.
Each UploadStatistics
object represents a knowledge
center's upload information. The fields knowledgeCenterName
and numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursUploadStatistics[] getUploadsByHour()
UploadStatistics
objects.
Each UploadStatistics
object represents upload information
for an hour. The fields uploadHourOfDay
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursResultPage getUploadsByHourPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_)
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects.
Each UploadStatistics
object represents upload information
for an hour. The fields uploadHourOfDay
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursUploadStatistics[] getUploadsByType()
UploadStatistics
objects.
Each UploadStatistics
object represents upload information
for a document extension. The fields documentExtension
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursResultPage getUploadsByTypePaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_)
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects. Each
UploadStatistics
object represents upload information for a
document extension. The fields documentExtension
and
numberOfDocumensUploaded
are the only fields populated.ServiceException
- if any system-level error occursUploadStatistics[] getUploadsByWeekDays()
UploadStatistics
objects.
Each UploadStatistics
object represents upload information
for a weekday. The fields uploadDayOfWeek
and
numberOfDocumentsUploaded
are the only fields populated.ServiceException
- if any system-level error occursResultPage getUploadsByWeekDaysPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_)
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted:
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
UploadStatistics
objects.
Each UploadStatistics
object represents upload information
for a weekday. The fields uploadDayOfWeek
and
numberOfDocumentsUploaded
are the only fields populated.ServiceException
- if any system-level error occursCommunity[] getCommunityAdminReport(java.lang.Long commid_) throws InvalidUserException, InvalidCommunityException
commid_
- the unique ID of the communityCommunity
objects which represent the
community and sub-communitiesServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the given community does not existResultPage getCommunityAdminReportPaging(java.lang.Long commid_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException, InvalidCommunityException
commid_
- the unique ID of the communitystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Community
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Community
objects which represent the
community and sub-communitiesServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the community does not existDocument[] getWhatsNewSubscriptions() throws InvalidUserException
Document
objects that represent the top 10
latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.ResultPage getWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results.
Use of Constants.COUNT_ALL
will result in the entire collection up to the minimum of config
property WHATS_NEW_LIMIT (if set, default 500 in
collaboration.properties, Integer.MAX_VALUE if not set) and
WHATS_NEW_SECURITY_LIMIT (if set, default 1000 in
collaboration.properties) from collaboration.properties being
returned.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represent the latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.Document[] getMoreWhatsNewSubscriptions(java.lang.String sortColumn_, java.lang.Integer sortOrder_, java.lang.Integer sortLength_) throws InvalidUserException
sortColumn_
- the field of the Document
by which to
sort the returned list of documents. This is one of the
SORT_COLUMN_XXX
in
Document
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending ordersortLength_
- the maximum number of documents to returnDocument
objects, of maximum length
sortLength_
which represent the latest documents in a users subscriptionsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.ResultPage getMoreWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException
startIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects that represent the latest documents in a
user's subscriptionsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.Document[] getWhatsNewCommunityForUser(java.lang.Long communityId_, java.lang.Long num_) throws InvalidUserException, InvalidCommunityException
communityId_
- the unique ID of the communitynum_
- the top number of documents to returnDocument
objects which represent the top N
latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the community does not existResultPage getWhatsNewCommunityForUserPaging(java.lang.Long communityId_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException, InvalidCommunityException
communityId_
- the unique ID of the communitystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represent the top N latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the community does not existDocument[] getWhatsNewTopLevelCommunityForUser(java.lang.Long communityId_, java.lang.Long num_) throws InvalidUserException, InvalidCommunityException
communityId_
- the unique ID of the communitynum_
- the top number of documents to returnDocument
objects which represent the top
num_ latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the community does not existDocument[] getWhatsNewTopLevelCommunityForUserPaging(java.lang.Long communityId_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException, InvalidCommunityException
communityId_
- the unique ID of the communitystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represents the latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidCommunityException
- if the community does not existResultPage getWhatsNewCommunityPaging(java.lang.Long coid_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidCommunityException
coid_
- the unique ID of the communitystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represent the top N latest documentsInvalidCommunityException
- if the community does not existServiceException
- if any system-level error occursDocument[] getWhatsNewCommunity(java.lang.Long coid_, java.lang.Long num_) throws InvalidCommunityException, InvalidDataFormatException
coid_
- the unique ID of the communitynum_
- the top number of documents to returnDocument
objects which represent the top N
latest documentsInvalidCommunityException
- if the community does not existServiceException
- if any system-level error occursInvalidDataFormatException
Document[] getWhatsNewTopLevelCommunity(java.lang.Long coid_, java.lang.Long num_) throws InvalidCommunityException
coid_
- the unique ID of the communitynum_
- the top number of documents to returnDocument
objects which represent the
documentsServiceException
- if any system-level error occursInvalidCommunityException
- if the community does not existResultPage getWhatsNewTopLevelCommunityPaging(java.lang.Long coid_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidCommunityException
coid_
- the unique ID of the communitystartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represents the documentsServiceException
- if any system-level error occursInvalidCommunityException
- if the community does not existDocument[] getWhatsNewKnowledgeCenter(java.lang.Long kcid_, java.lang.Integer sortOrder_, java.lang.String sortColumn_) throws InvalidUserException, InvalidKnowledgeCenterException
kcid_
- the unique ID of the knowledge centersortColumn_
- the field of the Document
by which to
sort the returned list of documents. This is one of the
SORT_COLUMN_XXX
in
Document
sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderDocument
objects which represent the top N
latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the current user service context
is invalid.InvalidKnowledgeCenterException
- if the KnowledgeCenter
does
not existResultPage getWhatsNewKnowledgeCenterPaging(java.lang.Long kcid_, int startIndex_, int batchSize_, java.lang.Integer sortProperty_, java.lang.Integer sortOrder_) throws InvalidUserException, InvalidKnowledgeCenterException
kcid_
- the unique ID of the knowledge centerstartIndex_
- the index into the collection of total results at which
to start. Negative numbers are treated as zeros.batchSize_
- the number of results to return. use of
Constants.COUNT_ALL
will
result in the entire collection being returned, but this is
STRONGLY discouraged.sortProperty_
- the property by which the results will be sorted
This is one of the SORT_BY_XXX
constants in
Document
.sortOrder_
- Constants.SORT_ORDER_ASCENDING
for sorting results in ascending order,
Constants.SORT_ORDER_DESCENDING
for sorting results in descending orderResultPage
containing a list of
Document
objects which represent the top N latest documentsServiceException
- if any system-level error occursInvalidUserException
- if the logged in user does not have accessInvalidKnowledgeCenterException
- if the KnowledgeCenter
does
not existCopyright © 2003-2024 Appian Corporation. All Rights Reserved.