Package com.appiancorp.suiteapi.forums
Class UserUtilities
java.lang.Object
com.appiancorp.suiteapi.forums.UserUtilities
Deprecated.
The Discussion Forums functionality will be removed in a future release. Use the News feed
and related smart services to build applications with similar functionality.
Contains utility methods related to users as relevant to discussions.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Deprecated.Populate the creator based on the creatorId.static void
populateUserName
(Message m, UserService us) Deprecated.Populate the author based on the authorId.static void
Deprecated.Populate the author based on the authorId.static void
populateUserName
(ThreadSummary ts, UserService us) Deprecated.Populate the creator based on the creatorId.static void
populateUserNames
(DiscussionThread[] dts, UserService us) Deprecated.Populate the authors based on the authorIds and authors.static void
populateUserNames
(Message[] ms, UserService us) Deprecated.Populate the creators based on the creatorIds and creators.static void
populateUserNames
(ThreadedMessage[] tms, UserService us) Deprecated.Populate the creators based on the creatorIds and craetors.static void
populateUserNames
(ThreadSummary[] tss, UserService us) Deprecated.Populate the authors based on the authorIds and authors.
-
Field Details
-
UNAVAILABLE
Deprecated.- See Also:
-
-
Constructor Details
-
UserUtilities
public UserUtilities()Deprecated.
-
-
Method Details
-
populateUserName
Deprecated.Populate the creator based on the creatorId. If creatorId is null, will use creator. Sets creator to UNAVAILABLE if creatorId is not found or both creatorId and creator are null.- Parameters:
dt
-us
- The service that translates a user id to a user name.
-
populateUserName
Deprecated.Populate the creator based on the creatorId. If creatorId is null, will use creator. Sets creator to UNAVAILABLE if creatorId is not found or both creatorId and creator are null.- Parameters:
ts
-us
- The service that translates a user id to a user name.
-
populateUserName
Deprecated.Populate the author based on the authorId. If authorId is null, will use author. Sets author to UNAVAILABLE if authorId is not found or both authorId and author are null.- Parameters:
m
-us
- The service that translates a user id to a user name.
-
populateUserName
Deprecated.Populate the author based on the authorId. If authorId is null, will use author. Sets author to UNAVAILABLE if authorId is not found or both authorId and author are null.- Parameters:
tm
-us
- The service that translates a user id to a user name.
-
populateUserNames
Deprecated.Populate the authors based on the authorIds and authors. Sets author to UNAVAILABLE if authorId is not found or both authorId and author are null.- Parameters:
dts
-us
- The service that translates a user id to a user name.- Throws:
InvalidUserException
-
populateUserNames
Deprecated.Populate the authors based on the authorIds and authors. Sets author to UNAVAILABLE if authorId is not found or both authorId and author are null.- Parameters:
tss
-us
- The service that translates a user id to a user name.- Throws:
InvalidUserException
-
populateUserNames
Deprecated.Populate the creators based on the creatorIds and creators. Sets creator to UNAVAILABLE if creatorId is not found or both creatorId and creator are null.- Parameters:
ms
-us
- The service that translates a user id to a user name.- Throws:
InvalidUserException
-
populateUserNames
Deprecated.Populate the creators based on the creatorIds and craetors. Sets creator to UNAVAILABLE if creatorId is not found or both creatorId and creator are null.- Parameters:
tms
-us
- The service that translates a user id to a user name.- Throws:
InvalidUserException
-