Interface ReportingService
- All Superinterfaces:
com.appiancorp.services.ContextSensitiveService,Service
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.static final booleanDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from interface com.appiancorp.services.ContextSensitiveService
SET_SERVICE_CONTEXT_METHOD_NAME -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.use getCommunitiesWithMostUploadsPaginggetCommunitiesWithMostUploadsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.getCommunityAdminReport(Long commid_) Deprecated.use getCommunityAdminReportPaginggetCommunityAdminReportPaging(Long commid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Deprecated.Deprecated.Deprecated.use getKnowledgeCentersWithMostUploadsPaginggetKnowledgeCentersWithMostUploadsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Document[]getMoreWhatsNewSubscriptions(String sortColumn_, Integer sortOrder_, Integer sortLength_) Deprecated.use getMoreWhatsNewSubscriptionsPaginggetMoreWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.getNumberUploads(Long days_) Deprecated.user getNumberUploadsPaginggetNumberUploadsPaging(Long days_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Gets the number of uploads in the last N daysDeprecated.Deprecated.use getUploadsByHourPaginggetUploadsByHourPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Deprecated.use getUploadsByTypePaginggetUploadsByTypePaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Deprecated.use getUploadsByWeekDaysPaginggetUploadsByWeekDaysPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Document[]getWhatsNewCommunity(Long coid_, Long num_) Deprecated.use getWhatsNewCommunityPagingDocument[]getWhatsNewCommunityForUser(Long communityId_, Long num_) Deprecated.use getWhatsNewCommunityForUserPaginggetWhatsNewCommunityForUserPaging(Long communityId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.getWhatsNewCommunityPaging(Long coid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Document[]getWhatsNewKnowledgeCenter(Long kcid_, Integer sortOrder_, String sortColumn_) Deprecated.use getWhatsNewKnowledgeCenterPaginggetWhatsNewKnowledgeCenterPaging(Long kcid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Document[]Deprecated.use getWhatsNewSubscriptionsPaginggetWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Document[]getWhatsNewTopLevelCommunity(Long coid_, Long num_) Deprecated.use getWhatsNewTopLevelCommunityPagingDocument[]getWhatsNewTopLevelCommunityForUser(Long communityId_, Long num_) Deprecated.use getWhatsNewTopLevelCommunityForUserPagingDocument[]getWhatsNewTopLevelCommunityForUserPaging(Long communityId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.This method always returns an empty array of DocumentsgetWhatsNewTopLevelCommunityPaging(Long coid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Methods inherited from interface com.appiancorp.services.ContextSensitiveService
setServiceContext
-
Field Details
-
getTotalUploads$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getNumberUploads$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getNumberUploadsPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getGeneralStatistics$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getGeneralUserStatistics$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getCommunitiesWithMostUploads$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getCommunitiesWithMostUploadsPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getKnowledgeCentersWithMostUploads$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getKnowledgeCentersWithMostUploadsPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByHour$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByHourPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByType$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByTypePaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByWeekDays$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getUploadsByWeekDaysPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getCommunityAdminReport$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getCommunityAdminReportPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewSubscriptions$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewSubscriptionsPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getMoreWhatsNewSubscriptions$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getMoreWhatsNewSubscriptionsPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewCommunityForUser$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewCommunityForUserPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewTopLevelCommunityForUser$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewTopLevelCommunityForUserPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewCommunityPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewCommunity$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewTopLevelCommunity$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewTopLevelCommunityPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewKnowledgeCenter$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getWhatsNewKnowledgeCenterPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
getTotalUploads
Deprecated.Gets the total number of uploads to the collaboration application- Returns:
- the total number of uploads
- Throws:
ServiceException- if any system-level error occurs
-
getNumberUploads
Deprecated.user getNumberUploadsPagingGets the number of uploads in the last N days- Parameters:
days_- the number of days in the query- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents one day of upload information. The fieldsuploadDateandnumberOfUploadsare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getNumberUploadsPaging
@Read(K_COLLAB) ResultPage getNumberUploadsPaging(Long days_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidDataFormatException Gets the number of uploads in the last N days- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - uploadDate
- 1 - numberOfUploads
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents one day of upload information. The fieldsuploadDateandnumberOfUploadsare the only fields populated. - Throws:
ServiceException- if any system-level error occursInvalidDataFormatException- ifdays_isnull
-
getGeneralStatistics
Deprecated.Gets the general usage statistics and patterns of the collaboration application (eg the number of folders created).- Returns:
- a
Statisticsobject encapsulating the general usage statistics - Throws:
ServiceException- if any system-level error occurs
-
getGeneralUserStatistics
Deprecated.Gets user statistics in the collaboration application (eg the number of users who have uploaded documents).- Returns:
- a
UserStatisticsobject encapsulating the usage statistics - Throws:
ServiceException- if any system-level error occurs
-
getCommunitiesWithMostUploads
Deprecated.use getCommunitiesWithMostUploadsPagingGets the top num_ communities with the most uploads- Parameters:
num_- the top number of communities to return- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents a community's upload information. The fieldscommunityNameandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getCommunitiesWithMostUploadsPaging
@Deprecated @Read(K_COLLAB) ResultPage getCommunitiesWithMostUploadsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the communities with the most uploads- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - communityName
- 1 - numberOfDocumentsUploaded
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents a community's upload information. The fieldscommunityNameandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getKnowledgeCentersWithMostUploads
Deprecated.use getKnowledgeCentersWithMostUploadsPagingGets the top num_ knowledge centers with the most uploads- Parameters:
num_- the top number of knowledge centers to return- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents a knowledge center's upload information. The fieldsknowledgeCenterNameandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getKnowledgeCentersWithMostUploadsPaging
@Deprecated @Read(K_COLLAB) ResultPage getKnowledgeCentersWithMostUploadsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the knowledge centers with the most uploads- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - knowledgeCenterName
- 1 - numberOfDocumentsUploaded
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents a knowledge center's upload information. The fieldsknowledgeCenterNameandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByHour
Deprecated.use getUploadsByHourPagingGets the number of uploads for each hour- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents upload information for an hour. The fieldsuploadHourOfDayandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByHourPaging
@Deprecated @Read(K_COLLAB) ResultPage getUploadsByHourPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the number of uploads for each hour- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - uploadHourOfDay
- 1 - numberOfDocumentsUploaded
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents upload information for an hour. The fieldsuploadHourOfDayandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByType
Deprecated.use getUploadsByTypePagingGets the number of uploads by document extension- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents upload information for a document extension. The fieldsdocumentExtensionandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByTypePaging
@Deprecated @Read(K_COLLAB) ResultPage getUploadsByTypePaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the number of uploads by document extension- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - documentExtension
- 1 - numberOfDocumentsUploaded
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents upload information for a document extension. The fieldsdocumentExtensionandnumberOfDocumensUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByWeekDays
Deprecated.use getUploadsByWeekDaysPagingGets the number of uploads by weekdays- Returns:
- a list of
UploadStatisticsobjects. EachUploadStatisticsobject represents upload information for a weekday. The fieldsuploadDayOfWeekandnumberOfDocumentsUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getUploadsByWeekDaysPaging
@Deprecated @Read(K_COLLAB) ResultPage getUploadsByWeekDaysPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the number of uploads by weekdays- Parameters:
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 ofConstants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.sortProperty_- the property by which the results will be sorted:- 0 - uploadDayOfWeek
- 1 - numberOfDocumentsUploaded
sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofUploadStatisticsobjects. EachUploadStatisticsobject represents upload information for a weekday. The fieldsuploadDayOfWeekandnumberOfDocumentsUploadedare the only fields populated. - Throws:
ServiceException- if any system-level error occurs
-
getCommunityAdminReport
@Deprecated @Read(K_COLLAB) Community[] getCommunityAdminReport(Long commid_) throws InvalidUserException, InvalidCommunityException Deprecated.use getCommunityAdminReportPagingGets information about a specified community and all its sub communities- Parameters:
commid_- the unique ID of the community- Returns:
- a list of
Communityobjects which represent the community and sub-communities - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the given community does not exist
-
getCommunityAdminReportPaging
@Deprecated @Read(K_COLLAB) ResultPage getCommunityAdminReportPaging(Long commid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException, InvalidCommunityException Deprecated.Gets information about a specified community and all its sub communities- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inCommunity.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofCommunityobjects which represent the community and sub-communities - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the community does not exist
-
getWhatsNewSubscriptions
Deprecated.use getWhatsNewSubscriptionsPagingGets the latest documents 10 documents added/updated in the application in knowledge centers to which the user is subscribed- Returns:
- a list of
Documentobjects that represent the top 10 latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.
-
getWhatsNewSubscriptionsPaging
@Deprecated @Read(K_COLLAB) ResultPage getWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException Deprecated.Gets the latest documents added/updated in the application in knowledge centers to which the user is subscribed- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represent the latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.
-
getMoreWhatsNewSubscriptions
@Deprecated @Read(K_COLLAB) Document[] getMoreWhatsNewSubscriptions(String sortColumn_, Integer sortOrder_, Integer sortLength_) throws InvalidUserException Deprecated.use getMoreWhatsNewSubscriptionsPagingGets the latest documents added/updated in the application in knowledge centers to which the user is subscribed- Parameters:
sortColumn_- the field of theDocumentby which to sort the returned list of documents. This is one of theSORT_COLUMN_XXXinDocumentsortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending ordersortLength_- the maximum number of documents to return- Returns:
- a list of
Documentobjects, of maximum lengthsortLength_which represent the latest documents in a users subscriptions - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.
-
getMoreWhatsNewSubscriptionsPaging
@Deprecated @Read(K_COLLAB) ResultPage getMoreWhatsNewSubscriptionsPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException Deprecated.Gets the latest documents added/updated in the application in knowledge centers to which the user is subscribed- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects that represent the latest documents in a user's subscriptions - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.
-
getWhatsNewCommunityForUser
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewCommunityForUser(Long communityId_, Long num_) throws InvalidUserException, InvalidCommunityException Deprecated.use getWhatsNewCommunityForUserPagingGets the latest documents (that the user can access) added/updated in the application in a specific community and its sub-communties- Parameters:
communityId_- the unique ID of the communitynum_- the top number of documents to return- Returns:
- a list of
Documentobjects which represent the top N latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the community does not exist
-
getWhatsNewCommunityForUserPaging
@Deprecated @Read(K_COLLAB) ResultPage getWhatsNewCommunityForUserPaging(Long communityId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException, InvalidCommunityException Deprecated.Gets the latest documents (that the user can access) added/updated in the application in a specific community and its sub-communties- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represent the top N latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the community does not exist
-
getWhatsNewTopLevelCommunityForUser
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewTopLevelCommunityForUser(Long communityId_, Long num_) throws InvalidUserException, InvalidCommunityException Deprecated.use getWhatsNewTopLevelCommunityForUserPagingGets the latest documents (that the user can access) added/updated in the application in a specific community (but not its sub-communties)- Parameters:
communityId_- the unique ID of the communitynum_- the top number of documents to return- Returns:
- a list of
Documentobjects which represent the top num_ latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the community does not exist
-
getWhatsNewTopLevelCommunityForUserPaging
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewTopLevelCommunityForUserPaging(Long communityId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException, InvalidCommunityException Deprecated.This method always returns an empty array of DocumentsGets the latest documents added/updated in the application in a specific community (but not its sub-communties) that the user can access- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represents the latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidCommunityException- if the community does not exist
-
getWhatsNewCommunityPaging
@Deprecated @Read(K_COLLAB) ResultPage getWhatsNewCommunityPaging(Long coid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidCommunityException Deprecated.Gets the latest documents added/updated in the application in a specific community and its sub-communties (regardless of user)- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represent the top N latest documents - Throws:
InvalidCommunityException- if the community does not existServiceException- if any system-level error occurs
-
getWhatsNewCommunity
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewCommunity(Long coid_, Long num_) throws InvalidCommunityException, InvalidDataFormatException Deprecated.use getWhatsNewCommunityPagingGets the latest documents added/updated in the application in a specific community and its sub-communties (regardless of user)- Parameters:
coid_- the unique ID of the communitynum_- the top number of documents to return- Returns:
- a list of
Documentobjects which represent the top N latest documents - Throws:
InvalidCommunityException- if the community does not existServiceException- if any system-level error occursInvalidDataFormatException
-
getWhatsNewTopLevelCommunity
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewTopLevelCommunity(Long coid_, Long num_) throws InvalidCommunityException Deprecated.use getWhatsNewTopLevelCommunityPagingRetrieves the the top N latest documents added or updated in a specified community, but not its sub-communities (regardless of user)- Parameters:
coid_- the unique ID of the communitynum_- the top number of documents to return- Returns:
- a list of
Documentobjects which represent the documents - Throws:
ServiceException- if any system-level error occursInvalidCommunityException- if the community does not exist
-
getWhatsNewTopLevelCommunityPaging
@Deprecated @Read(K_COLLAB) ResultPage getWhatsNewTopLevelCommunityPaging(Long coid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidCommunityException Deprecated.Retrieves the the latest documents added or updated in a specified community, but not its sub-communities (regardless of user)- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represents the documents - Throws:
ServiceException- if any system-level error occursInvalidCommunityException- if the community does not exist
-
getWhatsNewKnowledgeCenter
@Deprecated @Read(K_COLLAB) Document[] getWhatsNewKnowledgeCenter(Long kcid_, Integer sortOrder_, String sortColumn_) throws InvalidUserException, InvalidKnowledgeCenterException Deprecated.use getWhatsNewKnowledgeCenterPagingRetrieves the top N latest documents added or updated in a specified knowledge center- Parameters:
kcid_- the unique ID of the knowledge centersortColumn_- the field of theDocumentby which to sort the returned list of documents. This is one of theSORT_COLUMN_XXXinDocumentsortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a list of
Documentobjects which represent the top N latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the current user service context is invalid.InvalidKnowledgeCenterException- if theKnowledgeCenterdoes not exist
-
getWhatsNewKnowledgeCenterPaging
@Deprecated @Read(K_COLLAB) ResultPage getWhatsNewKnowledgeCenterPaging(Long kcid_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidUserException, InvalidKnowledgeCenterException Deprecated.Retrieves the top N latest documents added or updated in a specified knowledge center- Parameters:
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 ofConstants.COUNT_ALLwill 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 theSORT_BY_XXXconstants inDocument.sortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list ofDocumentobjects which represent the top N latest documents - Throws:
ServiceException- if any system-level error occursInvalidUserException- if the logged in user does not have accessInvalidKnowledgeCenterException- if theKnowledgeCenterdoes not exist
-