Interface DiscussionMetadataConvenienceService
- All Superinterfaces:
com.appiancorp.services.ContextSensitiveService,Service
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 IntegerDeprecated.A constant sort property for ThreadSummarystatic final IntegerDeprecated.A constant sort property for ThreadSummarystatic final IntegerDeprecated.A constant sort property for ThreadSummaryFields inherited from interface com.appiancorp.services.ContextSensitiveService
SET_SERVICE_CONTEXT_METHOD_NAME -
Method Summary
Modifier and TypeMethodDescriptiongetForumSummaries(Long[] ids_) Deprecated.use getForumSummariesPaging insteadgetForumSummariesPaging(Long[] ids_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Get the summaries that the current user can access for a set of forumsgetForumSummary(Long id_) Deprecated.Get the summary for a forum.getSponsoredThreadSummaries(Long[] forumIds_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSponsoredThreadSummariesPaging insteadgetSponsoredThreadSummaries(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSponsoredThreadSummariesPaging insteadgetSponsoredThreadSummariesPaging(Long[] forumIds_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Get a set of summaries for the sponsored threads in a set of forums.getSponsoredThreadSummariesPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Get a set of summaries for the sponsored threads in a forum.getSubscribedForumSummaries(Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSubscribedForumSummariesPaging insteadgetSubscribedForumSummariesPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the forums to which the user is subscribed as ResultPage.getSubscribedThreadSummaries(Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSubscribedThreadSummariesPaging insteadgetSubscribedThreadSummariesPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the summaries of threads to which the user is subscribed as ResultPages.getThreadedMessages(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int count_) Deprecated.use getThreadedMessagesPaging insteadgetThreadedMessagesPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Get messages that the current user can access for a forum.getThreadSummaries(Long[] threadIds_) Deprecated.use getThreadSummariesPaging insteadgetThreadSummariesForForum(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getThreadSummariesForForumPaging insteadgetThreadSummariesForForumPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the summaries of threads in the forum as ResultPage.getThreadSummariesPaging(Long[] threadIds_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Get the summaries for threads.getThreadSummary(Long threadId_) Deprecated.Get the summary for a thread.Methods inherited from interface com.appiancorp.services.ContextSensitiveService
setServiceContext
-
Field Details
-
SORT_PROPERTY_THREAD_SUMMARY_DATE_MODIFIED
Deprecated.A constant sort property for ThreadSummary -
SORT_PROPERTY_THREAD_SUMMARY_ROOT_SUBJECT
Deprecated.A constant sort property for ThreadSummary -
SORT_PROPERTY_THREAD_SUMMARY_MESSAGE_COUNT
Deprecated.A constant sort property for ThreadSummary -
getForumSummary$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getForumSummaries$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getForumSummariesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadSummary$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadSummaries$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadSummariesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSponsoredThreadSummaries$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSponsoredThreadSummariesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadedMessages$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadedMessagesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSubscribedForumSummaries$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSubscribedForumSummariesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSubscribedThreadSummaries$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getSubscribedThreadSummariesPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadSummariesForForum$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
getThreadSummariesForForumPaging$UPDATES
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
getForumSummary
@Read(K_FORUMS) ForumSummary getForumSummary(Long id_) throws InvalidForumException, PrivilegeException Deprecated.Get the summary for a forum.- Parameters:
id_- The local id of the forum to be summarized.- Returns:
- A
ForumSummaryobject relating to the given id. - Throws:
InvalidForumException- if the forum is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor the given forum.
-
getForumSummaries
@Deprecated @Read(K_FORUMS) ForumSummary[] getForumSummaries(Long[] ids_) throws InvalidForumException Deprecated.use getForumSummariesPaging insteadGet the summaries that the current user can access for a set of forums.- Parameters:
ids_- The local ids of the forums to be summarized.- Returns:
- An array of
ForumSummaryobjects in the same order as the incoming ids. Forums which the user does not have access to will simply not be returned with the results. - Throws:
InvalidForumException- if any of the forums is invalid
-
getForumSummariesPaging
@Read(K_FORUMS) ResultPage getForumSummariesPaging(Long[] ids_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidForumException, PrivilegeException Deprecated.Get the summaries that the current user can access for a set of forums- Parameters:
ids_- The local ids of the forums to be summarized.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_PROPERTY_FORUM_XXXconstants inForumSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining the list of theForumSummaryobjects for forums in the same order as the incoming ids. - Throws:
InvalidForumException- if any of the forums is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor the given forum.
-
getThreadSummary
@Read(K_FORUMS) ThreadSummary getThreadSummary(Long threadId_) throws InvalidThreadException, PrivilegeException Deprecated.Get the summary for a thread.- Parameters:
threadId_- The id of the thread.- Returns:
- A
ThreadSummaryobject corresponding to the given thread id. - Throws:
InvalidThreadException- if the thread does not existPrivilegeException- If the user is not contained in the list of participants withinThreadRoleMapfor the given thread.
-
getThreadSummaries
@Deprecated @Read(K_FORUMS) ThreadSummary[] getThreadSummaries(Long[] threadIds_) throws InvalidThreadException, PrivilegeException Deprecated.use getThreadSummariesPaging insteadGet the summaries for threads.- Parameters:
threadIds_- The ids of the threads.- Returns:
- An array of
ThreadSummaryobjects in the order of the given thread ids. - Throws:
InvalidThreadException- if any of the threads does not existPrivilegeException- If the user is not contained in the list of participants withinThreadRoleMapfor any of the given threads.
-
getThreadSummariesPaging
@Read(K_FORUMS) ResultPage getThreadSummariesPaging(Long[] threadIds_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidThreadException, PrivilegeException Deprecated.Get the summaries for threads.- Parameters:
threadIds_- The ids of the threads.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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a ResultPage containing the list of
ThreadSummaryobjects representing the thread summaries forthreadIds_ - Throws:
InvalidThreadException- if any of the threads does not existPrivilegeException- If the user is not contained in the list of participants withinThreadRoleMapfor any of the given threads.
-
getSponsoredThreadSummaries
@Deprecated @Read(K_FORUMS) ThreadSummary[] getSponsoredThreadSummaries(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) throws InvalidForumException, PrivilegeException Deprecated.use getSponsoredThreadSummariesPaging insteadGet a set of summaries for the sponsored threads in a forum.- Parameters:
forumId_- The local id of the forum containing the sponsored threads.sortProperty_- the property by which the results will be sorted This is one of theSORT_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending orderstartIndex_- 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.- Returns:
- An array of
ThreadSummaryobjects corresponding to the sponsored threads within the given forum - Throws:
InvalidForumException- if the forum is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapthe given forum.
-
getSponsoredThreadSummariesPaging
@Read(K_FORUMS) ResultPage getSponsoredThreadSummariesPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidForumException, PrivilegeException Deprecated.Get a set of summaries for the sponsored threads in a forum.- Parameters:
forumId_- The local id of the forum containing the sponsored threads.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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining the list ofThreadSummaryobjects for each sponsored thread within the given forum. - Throws:
InvalidForumException- if the forum is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapthe given forum.
-
getSponsoredThreadSummaries
@Deprecated @Read(K_FORUMS) ThreadSummary[] getSponsoredThreadSummaries(Long[] forumIds_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) throws InvalidForumException, PrivilegeException Deprecated.use getSponsoredThreadSummariesPaging insteadGet a set of summaries for the sponsored threads in a set of forums.- Parameters:
forumIds_- The local ids of the forums containing the sponsored threads.sortProperty_- the property by which the results will be sorted This is one of theSORT_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending orderstartIndex_- 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.- Returns:
- An array of
ThreadSummaryobjects corresponding to the sponsored threads within the given forums - Throws:
InvalidForumException- if any of the forums is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor any of the given forums.
-
getSponsoredThreadSummariesPaging
@Read(K_FORUMS) ResultPage getSponsoredThreadSummariesPaging(Long[] forumIds_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidForumException, PrivilegeException Deprecated.Get a set of summaries for the sponsored threads in a set of forums.- Parameters:
forumIds_- The local ids of the forums containing the sponsored threads.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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining the list ofThreadSummaryobjects for each sponsored thread within the given forums. - Throws:
InvalidForumException- if any of the forums is invalidPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor any of the given forums.
-
getThreadedMessages
@Deprecated @Read(K_FORUMS) ThreadedMessage[] getThreadedMessages(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int count_) throws InvalidForumException Deprecated.use getThreadedMessagesPaging insteadGet messages that the current user can access for a forum- Parameters:
forumId_- The id of the forum containing the messages.sortProperty_- the property by which the results will be sorted This is one of theSORT_BY_XXXconstants inThreadedMessagesortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending ordercount_-Constants.COUNT_ALLwill result in the entire collection being returned, but this is STRONGLY discouraged.- Returns:
- The array of
ThreadedMessageobjects. A zero-length array if there are no messages. - Throws:
InvalidForumException- if the forum is invalid
-
getThreadedMessagesPaging
@Read(K_FORUMS) ResultPage getThreadedMessagesPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidForumException Deprecated.Get messages that the current user can access for a forum.- Parameters:
forumId_- The id of the forum containing the messages.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 inThreadedMessagesortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a ResultPage containing the list of
ThreadedMessageobjects representing the messages in the forum - Throws:
InvalidForumException- if the forum is invalid
-
getSubscribedForumSummaries
@Deprecated @Read(K_FORUMS) ForumSummary[] getSubscribedForumSummaries(Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSubscribedForumSummariesPaging insteadGets the forums to which the user is subscribed.- Parameters:
sortProperty_- the property by which the results will be sorted This is one of theSORT_PROPERTY_FORUM_XXXconstants inForumSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending orderstartIndex_- 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.- Returns:
- An array of
ForumSummaryobjects corresponding to the forums to which the user is subscribed.
-
getSubscribedForumSummariesPaging
@Read(K_FORUMS) ResultPage getSubscribedForumSummariesPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the forums to which the user is subscribed as ResultPage.- 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_PROPERTY_FORUM_XXXconstants inForumSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining a list of theForumSummaryobjects representing the forums to which the user is subscribed.
-
getSubscribedThreadSummaries
@Deprecated @Read(K_FORUMS) ThreadSummary[] getSubscribedThreadSummaries(Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) Deprecated.use getSubscribedThreadSummariesPaging insteadGets the threads to which the user is subscribed.- Parameters:
sortProperty_- the property by which the results will be sorted This is one of theSORT_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending orderstartIndex_- 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.- Returns:
- an array of
ThreadSummarycorresponding to the threads to which the user is subscribed.
-
getSubscribedThreadSummariesPaging
@Read(K_FORUMS) ResultPage getSubscribedThreadSummariesPaging(int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) Deprecated.Gets the summaries of threads to which the user is subscribed as ResultPages.- 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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining the list ofThreadSummaryobjects representing the threads to which the user is subscribed
-
getThreadSummariesForForum
@Deprecated @Read(K_FORUMS) ThreadSummary[] getThreadSummariesForForum(Long forumId_, Integer sortProperty_, Integer sortOrder_, int startIndex_, int batchSize_) throws InvalidForumException, PrivilegeException Deprecated.use getThreadSummariesForForumPaging insteadGets the summaries of threads in the forum.- Parameters:
forumId_- The forum id.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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- an array of
ThreadSummaryobjects containing the summaries of threads in the given forum. - Throws:
InvalidForumException- if the forum does not existPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor the given forum.
-
getThreadSummariesForForumPaging
@Read(K_FORUMS) ResultPage getThreadSummariesForForumPaging(Long forumId_, int startIndex_, int batchSize_, Integer sortProperty_, Integer sortOrder_) throws InvalidForumException, PrivilegeException Deprecated.Gets the summaries of threads in the forum as ResultPage.- Parameters:
forumId_- The forum id.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_PROPERTY_THREAD_SUMMARY_XXXconstants inThreadSummarysortOrder_-Constants.SORT_ORDER_ASCENDINGfor sorting results in ascending order,Constants.SORT_ORDER_DESCENDINGfor sorting results in descending order- Returns:
- a
ResultPagecontaining the list ofThreadSummaryobjects representing the thread summaries for the forum - Throws:
InvalidForumException- if the forum does not existPrivilegeException- If the user is not contained in the list of participants withinForumsRoleMapfor the given forum.
-