|
Clearspace API (2.5.29) Core Javadocs | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use User | |
|---|---|
| com.jivesoftware.base | Base APIs and classes for Jive Software products. |
| com.jivesoftware.base.event | Base events common to all Jive Software products. |
| com.jivesoftware.base.plugin | Plugin API for extending the core API with custom functionality. |
| com.jivesoftware.community | Core interfaces and classes for Clearspace. |
| com.jivesoftware.community.action | Clearspace WebWork actions. |
| com.jivesoftware.community.event | Provides mechanisms to be notified of actions in the system such as new messages being created. |
| com.jivesoftware.community.impl.dao | Data access objects for core Clearspace objects. |
| com.jivesoftware.community.mail | Provides tools to send and receive email messages. |
| com.jivesoftware.community.moderation | |
| com.jivesoftware.community.project | |
| com.jivesoftware.community.socialgroup | |
| com.jivesoftware.community.user.profile | |
| com.jivesoftware.community.user.relationships | |
| com.jivesoftware.community.util | Clearspace utility classes. |
| com.jivesoftware.community.widget | |
| com.jivesoftware.community.xmpp | XMPP integration classes to integrate XMPP with Clearspace. |
| com.jivesoftware.spi.user | |
| Uses of User in com.jivesoftware.base |
|---|
| Classes in com.jivesoftware.base that implement User | |
|---|---|
class |
UserTemplate
Value Object implementation of the user interface, optimized for Jive's internal caching mechanism. |
| Methods in com.jivesoftware.base that return User | |
|---|---|
User |
UserManager.createApplicationUser(User userTemplate)
Creates a Clearspace-only user representation. |
User |
UserManager.createUser(User userTemplate)
Factory method for creating a new User with all required values: a password, email address, and unique username. |
User |
UserManager.getUser(long userId)
Retrives a user based on their unique system ID. |
User |
UserManager.getUser(String userName)
Loads the user by unique username. |
User |
UserManager.getUser(User userTemplate)
Returns a user matching the given user template. |
User |
UserManager.getUser(User userTemplate,
boolean caseInsensitive)
Searches for a user with the given template. |
User |
UserManager.updateUser(User user)
Updates the existing user. |
| Methods in com.jivesoftware.base that return types with arguments of type User | |
|---|---|
List<User> |
Group.getAdministrators()
An iterator for all the users that are administrators of the group. |
List<User> |
UserManager.getApplicationUsers()
Returns a list of application users - users who have active accounts and can authenticate with the system. |
List<User> |
UserManager.getApplicationUsers(int start,
int end)
Returns a list of enabled application users from start to end params. |
List<User> |
Group.getMembers()
An iterator for all the users that are members of the group. |
Iterable<User> |
Group.getMembers(int startIndex,
int numResults)
Returns an iterator for all members starting at startIndex with the given number of results. |
List<User> |
UserManager.getUsers()
Returns a list of all users including external users and relationships. |
List<User> |
UserManager.getUsers(int startIndex,
int numResults)
Returns a set of users starting with the beginning and ending with the ending params. |
| Methods in com.jivesoftware.base with parameters of type User | |
|---|---|
void |
Group.addAdministrator(User user)
Grants administrator privileges of the group to a user. |
void |
Group.addMember(User user)
Adds a member to the group. |
User |
UserManager.createApplicationUser(User userTemplate)
Creates a Clearspace-only user representation. |
User |
UserManager.createUser(User userTemplate)
Factory method for creating a new User with all required values: a password, email address, and unique username. |
void |
UserManager.deleteUser(User user)
Deletes a user. |
void |
UserManager.deleteUserAndContent(User user)
Deletes a user and the user's associated content (to maintain data consistency). |
void |
GroupManager.deleteUserGroupAssociations(User user)
Deletes all group membership and group administrative associations related to the given user from the system. |
void |
UserManager.disableUser(User user)
Disable the given user |
void |
UserManager.enableUser(User user)
Enable the given user |
User |
UserManager.getUser(User userTemplate)
Returns a user matching the given user template. |
User |
UserManager.getUser(User userTemplate,
boolean caseInsensitive)
Searches for a user with the given template. |
Iterable<Group> |
GroupManager.getUserGroups(User user)
Returns an iterator for all groups that a user is a member of. |
boolean |
Group.isAdministrator(User user)
Returns true if the User has group administrator permissions. |
boolean |
Group.isMember(User user)
Returns true if if the User is a member of the group. |
static void |
Log.markDebugLogFile(User user)
|
static void |
Log.markErrorLogFile(User user)
|
static void |
Log.markInfoLogFile(User user)
|
static void |
Log.markWarnLogFile(User user)
|
void |
Group.removeAdministrator(User user)
Revokes administrator privileges of the group to a user. |
void |
Group.removeMember(User user)
Removes a member from the group. |
User |
UserManager.updateUser(User user)
Updates the existing user. |
| Constructors in com.jivesoftware.base with parameters of type User | |
|---|---|
UserTemplate(User user)
Creates a user template from the given user object. |
|
| Uses of User in com.jivesoftware.base.event |
|---|
| Methods in com.jivesoftware.base.event that return User | |
|---|---|
User |
UserEvent.getUser()
|
| Constructors in com.jivesoftware.base.event with parameters of type User | |
|---|---|
UserEvent(int eventType,
User user,
Map<String,?> params)
|
|
| Uses of User in com.jivesoftware.base.plugin |
|---|
| Fields in com.jivesoftware.base.plugin declared as User | |
|---|---|
protected User |
MacroContext.user
|
| Methods in com.jivesoftware.base.plugin that return User | |
|---|---|
User |
MacroContext.getUser()
Returns the current user logged in if the user is not a guest, if the user is a guest null will be returned. |
| Constructors in com.jivesoftware.base.plugin with parameters of type User | |
|---|---|
MacroContext(JiveContext jiveContext,
com.jivesoftware.base.plugin.PluginMetaData pluginMetaData,
JiveContentObject contentObject,
User user)
|
|
| Uses of User in com.jivesoftware.community |
|---|
| Methods in com.jivesoftware.community that return User | |
|---|---|
User |
DocumentVersion.getAuthor()
Returns the user that authored the document version. |
User |
VersionComment.getAuthor()
Returns the author of the comment. |
User |
Document.getEditUser()
Returns the user editing the document, or null if the document is not currently being edited |
User |
SearchQueryCriteria.getFilteredUser()
Returns the user that query results are restricted to. |
User |
Avatar.getOwner()
Returns user who created this avatar, if the user is null then this is a global avatar |
User |
PrivateMessageFolder.getOwner()
Returns the owner of the private message folder. |
User |
PrivateMessage.getRecipient()
Returns the user the message was sent to. |
User |
PrivateMessage.getSender()
Returns the user the message was sent by, or null if the message was sent by the system. |
User |
AbuseReport.getUser()
Gets the user that created this abuse report. |
User |
Activity.getUser()
Returns the user who performed the activity |
User |
Announcement.getUser()
Returns the User that is the author of the announcemnt. |
User |
ApprovalStatus.getUser()
Returns The approval user. |
User |
Blog.getUser()
If this blog is a "user" blog, this method will return the User to whom this blog belongs, otherwise an IllegalStateException will be thrown. |
User |
BlogPost.getUser()
Returns the User that authored this post. |
User |
Comment.getUser()
Returns the user that authored the comment. |
User |
Document.getUser()
Returns the user that authored the document. |
User |
ForumMessage.getUser()
Returns the User that authored this message. |
User |
JiveContentObject.getUser()
Returns the user who authored of the jive object. |
User |
Poll.getUser()
Returns the user who created the poll or null if the poll was created anonymously. |
User |
Presence.getUser()
Return the user owning the presence. |
User |
Question.getUser()
Returns the user that created the question. |
User |
Roster.getUser()
Returns the user that this roster belongs to. |
User |
SearchQuery.getUser()
Returns the user that is executing the search. |
User |
Watch.getUser()
Returns the user who is associated with this watch. |
User |
RegistrationManager.registerUser(UserTemplate user)
|
| Methods in com.jivesoftware.community that return types with arguments of type User | |
|---|---|
JiveIterator<User> |
Document.getApprovers()
Returns all of the users that must approve this document before it reaches a PUBLISHED state when it is in a PENDING_APPROVAL state. |
JiveIterator<User> |
Document.getAuthors()
Returns the Users who are allowed to edit the document. |
Set<User> |
Blog.getContributors()
Returns an alpha-sorted set of all users who have contributed to the blog. |
Collection<User> |
DocumentManager.getDocumentApprovers(JiveContainer container)
Returns all of the users that must approve new documents before they reach a PUBLISHED state when it is in a PENDING_APPROVAL state. |
Iterable<User> |
StatusLevelManager.getLeaders()
Returns an Iterable of system wide leaders. |
Iterable<User> |
StatusLevelManager.getLeaders(int startIndex,
int numResults)
Returns an Iterable of system wide leaders. |
Iterable<User> |
StatusLevelManager.getLeaders(JiveContainer container)
Returns an Iterable of leaders for a specific container |
Iterable<User> |
StatusLevelManager.getLeaders(JiveContainer container,
int startIndex,
int numResults)
Returns an Iterable of leaders for a specific container |
Iterator<User> |
PresenceManager.getOnlineUsers()
Returns an iterator of users who are currently online. |
Iterator<User> |
PresenceManager.getOnlineUsers(boolean ascending,
int sortField)
Returns an iterator of users sorted in the manner requested who are currently online. |
Iterator<User> |
PresenceManager.getOnlineUsers(boolean ascending,
int sortField,
int numResults)
Returns an iterator of users who are currently online matching the criteria given. |
Iterator<User> |
PresenceManager.getOnlineUsers(boolean ascending,
int sortField,
int start,
int numResults)
Returns an iterator of users who are currently online matching the criteria given. |
Iterator<User> |
PresenceManager.getOnlineUsers(Group group)
Returns an iterator of users in the group who are currently online. |
Iterator<User> |
PresenceManager.getOnlineUsers(Group group,
boolean ascending,
int sortField)
Returns an iterator of users sorted in the manner requested who are currently online. |
Iterator<User> |
PresenceManager.getOnlineUsers(Group group,
boolean ascending,
int sortField,
int numResults)
Returns an iterator of users who are currently online matching the criteria given. |
JiveIterator<User> |
Document.getReviewers()
Returns the Users who are intended to review the document. |
Iterable<User> |
Blog.getUsers()
Return all the users given permission to post to this blog. |
Iterable<User> |
Roster.getUsers()
Returns an iterator of users in this roster. |
Iterable<User> |
Poll.getUserVotes()
Returns an Iterator of User objects for users who have voted for any options in the poll. |
Iterable<User> |
Poll.getUserVotes(int index)
Returns an Iterator of User objects for users who have voted for the option at the given index. |
JiveIterator<User> |
WatchManager.getWatchUsers(int objectType,
long objectID,
int watchType)
Returns all the users watching a specific objectType, objectID, and watchType. |
Iterator<User> |
PermissionsManager.usersWithPermission(PermissionType permissionType,
long permission)
Returns all the userID's of users with a particular permission. |
| Methods in com.jivesoftware.community with parameters of type User | ||
|---|---|---|
void |
ActivityManager.addActivity(JiveObject object,
JiveObject parent,
User user,
Activity.Type activityType)
Adds a new activity to the ActivityManager |
|
void |
Document.addApprover(User user)
Adds a user as a document approver for this document. |
|
void |
Document.addAuthor(User author)
Adds the supplied User as an author of this document. |
|
void |
DocumentManager.addDocumentApprover(JiveContainer container,
User user)
Add the user as a document approver for this entire container. |
|
void |
StatusLevelManager.addPoints(User user,
JiveContainer container,
JiveObject object,
long points,
String code)
Rewards points to a user. |
|
void |
StatusLevelManager.addPoints(User user,
JiveContainer container,
JiveObject jiveObject,
String scenarioCode)
Give points to a user using the specified scenerio code. |
|
void |
RatingManager.addRating(User user,
JiveObject contentObject,
Rating rating)
Add a rating to the JiveContentObject. |
|
void |
Document.addReviewer(User reviewer)
Adds the supplied User as a reviewer of this document. |
|
void |
Blog.addUser(User user)
Gives a user permission to post to this blog. |
|
void |
Roster.addUser(User user)
Add a user to the roster. |
|
void |
PermissionsManager.addUserPermission(int objectType,
long objectID,
User user,
PermissionType permissionType,
long permission)
|
|
void |
PermissionsManager.addUserPermission(User user,
PermissionType permissionType,
long permission)
Add a permission of the specified PermissionType for the specified user. |
|
void |
Poll.addUserVote(int index,
User user)
Add a user vote for an option in the poll. |
|
void |
Document.approve(User user)
Marks this document as being approved by the specified user. |
|
boolean |
RatingManager.canRate(User user,
JiveObject contentObject)
Returns whether the user can rate the JiveContentObject or not. |
|
void |
Poll.changeUserVote(int prevOptionIndex,
int newOptionIndex,
User user)
Change a user vote. |
|
int |
StatusLevelManager.countTimesAwarded(User user,
JiveObject target)
Counts the number of times a user has been awarded against a particular object. |
|
Announcement |
AnnouncementManager.createAnnouncement(User user)
Creates a new system announcement. |
|
Announcement |
AnnouncementManager.createAnnouncement(User user,
JiveContainer jiveContainer)
Creates a new community announcement. |
|
Avatar |
AvatarManager.createAvatar(User owner,
String name,
String contentType,
InputStream in)
Creates a new avatar for a user allowing the user to specify an inputstream for the image. |
|
Blog |
BlogManager.createBlog(User user)
Creates a blog for a user. |
|
BlogPost |
Blog.createBlogPost(User user)
Creates a new blog post. |
|
Comment |
CommentManager.createComment(com.jivesoftware.community.CommentContentResource commentContentResource,
User user,
Document body)
Create a new comment. |
|
Comment |
CommentManager.createComment(com.jivesoftware.community.CommentContentResource commentContentResource,
User user,
String body)
Create a new comment. |
|
Document |
DocumentManager.createDocument(User user,
DocumentType documentType,
String documentID,
String title,
Document body)
Create a new document. |
|
Document |
DocumentManager.createDocument(User user,
DocumentType documentType,
String documentID,
String title,
String body)
Create a new document. |
|
PrivateMessageFolder |
PrivateMessageManager.createFolder(User user,
String name)
Creates a new folder. |
|
ForumMessage |
ForumManager.createMessage(JiveContainer container,
User user)
Factory method to create a message as the specified user. |
|
PrivateMessage |
PrivateMessageManager.createMessage(User sender)
Creates a new private message. |
|
Poll |
PollManager.createPoll(int objectType,
long objectID,
User user,
String name)
Create a new Poll. |
|
Presence |
PresenceManager.createPresence(User user,
String uid,
String IPAddress)
Create a presence for a user. |
|
VersionComment |
DocumentVersion.createVersionComment(User author,
String comment)
Creates a new version comment. |
|
Watch |
WatchManager.createWatch(User user,
JiveObject jiveObject)
Create a watch on a jive object for the specified user. |
|
void |
AbuseManager.deleteAbuseReports(User user)
Removes all abuse reports from a particular user from the system. |
|
void |
PresenceManager.deletePresence(User user)
Remove the given user's presence and roster entry. |
|
void |
WatchManager.deleteSettings(User user)
Delete the watch settings for a user |
|
void |
ActivityManager.deleteUserActivities(User user)
Deletes all activities for a given user. |
|
void |
AnnouncementManager.deleteUserAnnouncements(User user)
Deletes all of a user's announcements. |
|
void |
AvatarManager.deleteUserAvatar(User user)
Deletes the given user's avatar from the system. |
|
void |
BanManager.deleteUserBans(User user)
Removes all of a user's ban entries from the database. |
|
void |
BlogManager.deleteUserBlogs(User user)
Delete all blog related content by the given user. is deleted, which means any posts, comments, trackbacks and tags this blog contains will be removed. |
|
void |
CommentManager.deleteUserComments(User user)
Deletes all comments authored by the the given user. |
|
void |
DocumentManager.deleteUserDocuments(User user)
Deletes all user documents, including previous versions. |
|
void |
DraftManager.deleteUserDrafts(User user)
Delete all of a given user's drafts. |
|
void |
ForumManager.deleteUserMessages(User user)
Deletes all messages authored by a given user. |
|
void |
PrivateMessageManager.deleteUserMessages(User user)
Deletes a user's folders, including the four default folders. |
|
void |
PollManager.deleteUserPolls(User user)
Deletes all of a user's polls. |
|
void |
QuestionManager.deleteUserQuestions(User user)
Delete all questions authored by the given user. |
|
void |
RatingManager.deleteUserRatings(User user)
Remove all ratings associated with the given user. |
|
void |
ReadTrackerManager.deleteUserReadTrackers(User user)
Deletes a given user's read trackers from the system. |
|
void |
StatusLevelManager.deleteUserStatusLevels(User user)
Deletes all statusLevel levels for a given user from the system. |
|
void |
WatchManager.deleteWatches(User user)
Deletes all watches that a user has. |
|
void |
SearchQueryCriteria.filterOnUser(User user)
Restricts the query results to content objects created by a specified user. |
|
String |
DocumentFieldFormatter.format(String value,
User user)
Format a document field for display to the end user with the given AuthToken. |
|
List<AbuseReport> |
AbuseManager.getAbuseReports(User user)
message-abuse.jspa Gets a list of open abuse reports from a particular user |
|
Avatar |
AvatarManager.getActiveAvatar(User user)
Returns an avatar for a user, else the SystemDefaultAvatar if the user does not have
an active avatar specified. |
|
Map<EntityDescriptor,Long> |
StatusLevelCalculator.getAllPointLevels(User user)
Returns the status level points for a user for all communities the user has points in |
|
Map<JiveContainer,Long> |
StatusLevelManager.getAllPointLevels(User user)
Returns a map of community -> status level points for all the communities the user has points in. |
|
|
WatchManager.getAllWatches(User user)
Returns an iterable for all objects that a user is watching. |
|
|
WatchManager.getAllWatches(User user,
int objectType)
Returns an iterable for all objects of a particular type that a user is watching. |
|
int |
AvatarManager.getAvatarCount(User user)
Used to acquire a count of all the avatars for a specific user |
|
JiveIterator<Avatar> |
AvatarManager.getAvatars(User user)
Returns a collection of avatars for a user |
|
int |
BlogManager.getBlogCount(User user)
Returns the count of all blogs which are associated with the given user. |
|
JiveIterator<Blog> |
BlogManager.getBlogs(User user)
Returns all blogs which are associated with the given user. |
|
PrivateMessageFolder |
PrivateMessageManager.getFolder(User user,
long folderID)
Returns the specified folder for a user. |
|
int |
PrivateMessageManager.getFolderCount(User user)
Returns the total number of folders the user has. |
|
JiveIterator<PrivateMessageFolder> |
PrivateMessageManager.getFolders(User user)
Returns an Iterable of PrivateMessageFolder objects for the folders the user has. |
|
Locale |
LocaleManager.getLocale(Community community,
User user,
HttpServletRequest req)
Returns a Locale object for the specified entity, if one exists. |
|
int |
PrivateMessageManager.getMessageCount(User user)
Returns the total number of private messages a user has in their mailbox. |
|
long |
StatusLevelManager.getPointLevel(User user)
Returns the point level for a user system wide. |
|
long |
StatusLevelCalculator.getPointLevel(User user,
JiveContainer container)
Returns the status level points for a user in regards to a specific community |
|
long |
StatusLevelManager.getPointLevel(User user,
JiveContainer container)
Returns the status level points for a user in regards to a specific container |
|
Presence |
PresenceManager.getPresence(User user)
Returns the presence for the user, or null if the user isn't online. |
|
Rating |
RatingManager.getRating(User user,
JiveObject contentObject)
Returns the rating associated with the user, or null if this user hasn't rated the JiveContentObject. |
|
boolean |
ReadTrackerManager.getReadStatus(JiveContainer c,
User user,
int type)
Returns true if the user has the specified read status on the object, false otherwise. |
|
int |
ReadTrackerManager.getReadStatus(User user,
ForumMessage message)
Returns the read status on the specified message. |
|
int |
ReadTrackerManager.getReadStatus(User user,
ForumThread thread)
Returns the read status on the specified thread. |
|
Iterable<Activity> |
ActivityManager.getRecentActivity(User user)
Returns all the recent activities for a particular user |
|
Iterable<Activity> |
ActivityManager.getRecentActivity(User user,
com.google.common.base.Predicate<com.jivesoftware.community.ActivityBean> predicate)
Returns all the recent activities for a particular user matching the provided predicate. |
|
JiveIterator<JiveContentObject> |
RecentContentManager.getRecentContent(User user)
Returns all the recent content for the specified user. |
|
JiveIterator<JiveContentObject> |
RecentContentManager.getRecentContent(User user,
ContentRetrieval.ContentType[] contentTypes)
Returns the recent content matching the provided content types for the specified user. |
|
JiveIterator<JiveContentObject> |
RecentContentManager.getRecentContent(User user,
ContentRetrieval.ContentType[] contentTypes,
com.google.common.base.Predicate<com.jivesoftware.community.RecentContentBean> predicate)
Returns the recent content matching the provided content types and predicate for the specified user. |
|
JiveIterator<JiveContentObject> |
RecentContentManager.getRecentContent(User user,
com.google.common.base.Predicate<com.jivesoftware.community.RecentContentBean> predicate)
Returns all the recent content that pass the provided predicate for the specified user. |
|
Roster |
PresenceManager.getRoster(User user)
Returns the user's roster. |
|
JiveIterator<SearchQuery> |
SearchQueryLogger.getSearchQueries(User user)
Returns an Iterable consisting of all the SearchQuery's that the specified user has made. |
|
int |
SearchQueryLogger.getSearchQueryCount(User user)
Returns a count of all the queries that the user has made. |
|
com.jivesoftware.community.impl.dao.WatchSettingsBean |
WatchManager.getSettings(User user)
Retrieve a watch settings for the given user |
|
StatusLevel |
StatusLevelManager.getStatusLevel(User user)
Returns the system wide status level for specific user, will return null if there is no status level for this user. |
|
StatusLevel |
StatusLevelManager.getStatusLevel(User user,
JiveContainer container)
Returns the status level for a user in a specific container. if a status level cannot be determined for this user in this container null will be returned. |
|
int |
WatchManager.getTotalWatchCount(User user)
Returns a count of all watches that a user has for all types. |
|
int |
WatchManager.getTotalWatchCount(User user,
int objectType)
Returns a count of all watches that a user has of a particular type. |
|
int |
PrivateMessageManager.getUnreadMessageCount(User user)
Returns the total number of unread private messages a user has in their mailbox. |
|
int |
ReadTrackerManager.getUnreadMessageCount(User user,
JiveContainer container)
Returns the count of unread messages that the user has in the community. |
|
JiveIterator<ForumMessage> |
ReadTrackerManager.getUnreadMessages(User user,
JiveContainer container)
Returns an iterable for the unread messages in the community. |
|
int |
ReadTrackerManager.getUnreadThreadCount(User user,
JiveContainer container)
Returns the count of unread threads that the user has in the community. |
|
JiveIterator<ForumThread> |
ReadTrackerManager.getUnreadThreads(User user,
JiveContainer container)
Returns an iterable for the unread threads in the community. |
|
int |
DocumentManager.getUserApprovalDocumentCount(User user)
Returns a count of all documents that a user needs to approve. |
|
JiveIterator<Document> |
DocumentManager.getUserApprovalDocuments(User user)
Returns all documents that a user needs to approve. |
|
int |
CommentManager.getUserContentCommentCount(User user)
Returns a count of all the comments in all content which has been authored by the supplied user. |
|
int |
CommentManager.getUserContentCommentCount(User user,
com.jivesoftware.community.UserContentCommentResultFilter resultFilter)
Returns a count of all the comments in all content which has been authored by the supplied user that match the criteria specified by the ResultFilter. |
|
JiveIterator<Comment> |
CommentManager.getUserContentComments(User user)
Returns a JiveIterator for all the comments in all content which has been authored by the supplied user. |
|
JiveIterator<Comment> |
CommentManager.getUserContentComments(User user,
com.jivesoftware.community.UserContentCommentResultFilter resultFilter)
Returns a JiveIterator for all the comments in all content which has been authored by the supplied user that match the criteria specified by the ResultFilter. |
|
int |
DocumentManager.getUserDocumentCount(User user,
DocumentState[] states)
Returns a count of all documents in the supplied DocumentStates a user is an author of. |
|
JiveIterator<Document> |
DocumentManager.getUserDocuments(User user,
DocumentState[] states)
Returns all documents in the supplied DocumentStates for the supplied user. |
|
int |
ForumManager.getUserMessageCount(User user)
Returns the total number of messages a user has posted in all containers. |
|
int |
ForumManager.getUserMessageCount(User user,
ThreadResultFilter resultFilter)
Returns the total number of messages a user has posted in all containers that obey the parameters set by the specificed ResultFilter. |
|
JiveIterator<ForumMessage> |
ForumManager.getUserMessages(User user)
Returns an iterable for all messages posted by a user. |
|
JiveIterator<ForumMessage> |
ForumManager.getUserMessages(User user,
ThreadResultFilter resultFilter)
Returns an iterable for all messages posted by a user that obey the parameters set by the specified ResultFilter. |
|
List<Integer> |
Poll.getUserVotes(User user)
Returns a list of option indexes corresponding to the user votes, or an empty array if the user has not voted. |
|
Watch |
WatchManager.getWatch(User user,
JiveObject jiveObject)
Returns a watch on a particular JiveObject, or null if there isn't a watch. |
|
int |
WatchManager.getWatchCount(User user,
JiveContainer container)
Return the count of all watches in a particular container for the given user. |
|
JiveIterator<JiveObject> |
WatchManager.getWatches(User user,
JiveContainer container)
Returns an Iterable for all the objects a user is watching in a container. |
|
List<Watch> |
WatchManager.getWatchList(User user,
int objectType)
Returns an array of Watch objects for a particular object type that the given user is watching. |
|
boolean |
BlogManager.hasBlog(User user)
Returns true if the given user has one or more blogs, false if the user does not have a blog. |
|
boolean |
RatingManager.hasRated(User user,
JiveObject contentObject)
Returns whether the user has rated the JiveContentObject or not. |
|
boolean |
AbuseManager.hasUserReportedAbuse(JiveObject message,
User user)
Checks if a user has already reported abuse for a particular message. |
|
boolean |
Poll.hasUserVoted(User user)
Returns true if the user specified has previously voted in the poll, false otherwise. |
|
boolean |
PresenceManager.isOnline(User user)
Returns whether the user is currently online or not. |
|
boolean |
Community.isRead(User user)
Returns true if this community has been read by the user, false otherwise. |
|
boolean |
ForumMessage.isRead(User user)
Returns true if this message has been read by the user, false otherwise. |
|
boolean |
ForumThread.isRead(User user)
Returns true if this thread has been read by the user, false otherwise. |
|
boolean |
Roster.isRosterMember(User user)
Returns true if the specified user is a member of the roster, false otherwise. |
|
boolean |
Community.isUnread(User user)
Returns true if this community has not been read by the user, false otherwise. |
|
boolean |
ForumMessage.isUnread(User user)
Returns true if this message has not been read by the user, false otherwise. |
|
boolean |
ForumThread.isUnread(User user)
Returns true if this thread has not been read by the user, false otherwise. |
|
boolean |
Community.isUpdated(User user)
Returns true if this community has been updated since read by the user, false otherwise. |
|
boolean |
ForumMessage.isUpdated(User user)
Returns true if this message has been updated since read by the user, false otherwise. |
|
boolean |
ForumThread.isUpdated(User user)
Returns true if this thread has been updated since read by the user, false otherwise. |
|
boolean |
VersionManager.isVersionViewable(int versionID,
User viewer)
Returns true if the supplied User can view the version indicated by the supplied version
number. |
|
boolean |
WatchManager.isWatched(User user,
JiveObject jiveObject)
Returns true if the user is watching the specified jive object. |
|
long |
SearchQuery.logQuery(User user)
Logs the query for later statistical analysis. |
|
void |
RegistrationManager.markAccountForValidation(User user)
Marks the user account for validation and sends a validation request to the user. |
|
void |
ReadTrackerManager.markRead(User user,
ForumMessage message)
Marks an individual message as read. |
|
void |
ReadTrackerManager.markRead(User user,
JiveContainer container)
Marks an entire continer as read up until the current instant in time. |
|
void |
Document.reject(User user)
Marks this document as being rejected by the specified user. |
|
void |
Document.removeApprover(User user)
Removes the user as a document approver on this document. |
|
void |
Document.removeAuthor(User author)
Removes the supplied User as an author of this document. |
|
void |
DocumentManager.removeDocumentApprover(JiveContainer container,
User user)
Remove this user as a document approver for this container. |
|
void |
RatingManager.removeRating(User user,
JiveObject contentObject)
Removes a rating to the JiveContentObject. |
|
void |
Document.removeReviewer(User reviewer)
Removes the supplied User as a reviewer of this document. |
|
void |
Blog.removeUser(User user)
Removes a user from having permission to post to this blog. |
|
void |
Roster.removeUser(User user)
Remove a user from the roster. |
|
void |
Blog.removeUser(User user,
boolean deletePosts)
Removes a user from having permission to post to this blog and optionally deletes posts by this user. |
|
void |
PermissionsManager.removeUserPermission(int objectType,
long objectID,
User user,
PermissionType permissionType,
long permission)
|
|
void |
PermissionsManager.removeUserPermission(User user,
PermissionType permissionType,
long permission)
Removes a permission of the specified PermissionType for the specified user. |
|
void |
Poll.removeUserVote(int prevOptionIndex,
User user)
Remove a user vote. |
|
void |
WatchManager.saveSettings(User user,
com.jivesoftware.community.impl.dao.WatchSettingsBean settings)
Save the watch settings for a user |
|
void |
PrivateMessageManager.sendEmailNotification(User recipient,
User sender,
PrivateMessage pm)
Sends a private message notification email to the recipient. |
|
void |
PrivateMessageManager.sendMessage(PrivateMessage privateMessage,
User recipient,
boolean copyToSentFolder)
Sends a private message to another user. |
|
void |
RegistrationManager.sendWelcomeEmail(User user)
Sends a welcome email to the given user. |
|
void |
AvatarManager.setActiveAvatar(User user,
Avatar avatar)
Used to make a user use a global avatar, to set no active avatar pass null for the avatar value. |
|
void |
DocumentVersion.setAuthor(User author)
Returns the user that authored the document version. |
|
void |
AbuseReport.setUser(User user)
Sets the user that created this abuse report. |
|
void |
Document.setUser(User user)
Returns the user that authored the document. |
|
void |
Document.startEdit(User user)
Sets the editing user for the document. |
|
void |
Document.stopEdit(User user)
Set the user as no longer editing the document. |
|
Map<DocumentField,String> |
DocumentTypeValidator.validate(Map<String,?> fieldValueMap,
User user)
Performs cross field validation on user supplied input. |
|
String |
DocumentFieldValidator.validate(String value,
User user)
Performs field validation on user supplied input. |
|
| Method parameters in com.jivesoftware.community with type arguments of type User | |
|---|---|
void |
Blog.addUsers(List<User> users)
Gives a list of users permissions to post to this blog. |
Iterable<Activity> |
ActivityManager.getRecentActivity(Collection<User> users)
Returns all the recent activities for a collection of users. |
JiveIterator<JiveContentObject> |
RecentContentManager.getRecentContent(Collection<User> users)
Returns all the recent content for a set of users. |
| Constructors in com.jivesoftware.community with parameters of type User | |
|---|---|
ApprovalStatus(User user,
boolean approved,
boolean rejected,
Date approvedDate)
Creates a new approval status object. |
|
| Uses of User in com.jivesoftware.community.action |
|---|
| Methods in com.jivesoftware.community.action that return User | |
|---|---|
User |
JiveActionSupport.getUser()
NOTE: DO NOT call this method from a DWR-called method. |
| Methods in com.jivesoftware.community.action with parameters of type User | |
|---|---|
org.xmpp.packet.Presence |
JiveActionSupport.getPresence(User user)
|
| Uses of User in com.jivesoftware.community.event |
|---|
| Methods in com.jivesoftware.community.event that return User | |
|---|---|
User |
ProfileEvent.getUser()
|
| Constructors in com.jivesoftware.community.event with parameters of type User | |
|---|---|
ProfileEvent(int eventType,
User user,
Map<String,Object> params)
|
|
| Uses of User in com.jivesoftware.community.impl.dao |
|---|
| Methods in com.jivesoftware.community.impl.dao with parameters of type User | |
|---|---|
List<com.jivesoftware.community.impl.dao.ApprovalWorkflowBean> |
ApprovalDAO.getWorkflowBeans(User user,
JiveObjectModerator.Type queueType,
JiveObjectModerator.Type... queueTypes)
Returns a list of ApprovalWorkflowBean for a given user. |
| Uses of User in com.jivesoftware.community.mail |
|---|
| Methods in com.jivesoftware.community.mail with parameters of type User | |
|---|---|
void |
EmailTokenManager.deleteUserEmailTokens(User user)
Called before a user is deleted. |
| Uses of User in com.jivesoftware.community.moderation |
|---|
| Methods in com.jivesoftware.community.moderation with parameters of type User | |
|---|---|
void |
ModerationStrategy.approvalCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the approval callback. |
void |
JiveObjectModerator.approve(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Approves the workflow for the given workflow ID and JiveObject. |
void |
ModerationStrategy.approve(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Approves the workflow for the given workflow ID and JiveObject. |
void |
JiveObjectModerator.handleApprovalCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the approval callback. |
void |
JiveObjectModerator.handleNewCallback(User user,
long entryID,
JiveObject jiveObject,
Set<Long> moderators,
String requestMessage)
Handles the new callback. |
void |
JiveObjectModerator.handleRejectedCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the rejection callback. |
boolean |
JiveObjectModerator.isModerationEnabled(JiveContainer jiveContainer,
int objectType,
User user)
Determines if moderation is enabled for the given JiveContainer and object Type. |
boolean |
JiveObjectModerator.isModerationEnabled(JiveObject jiveObject,
User user)
Determines if moderation for the given JiveObject is enabled. |
boolean |
JiveObjectModerator.isModerator(JiveObject jiveObject,
User user)
Determines if the given User is a moderator for the given JiveObject. |
void |
JiveObjectModerator.moderate(JiveObject jiveObject,
User user)
Puts the JiveObject into the moderation queue. |
void |
ModerationStrategy.newCallback(User user,
long entryID,
JiveObject jiveObject,
Set<Long> moderators,
String requestMessage)
Handles the new callback. |
void |
JiveObjectModerator.notificationCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the notification callback. |
void |
ModerationStrategy.notificationCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the notification callback. |
void |
JiveObjectModerator.reject(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Rejects the workflow for the given workflow ID and JiveObject. |
void |
ModerationStrategy.reject(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Rejects the workflow for the given workflow ID and JiveObject. |
void |
ModerationStrategy.rejectionCallback(Long workflowID,
JiveObject jiveObject,
User user,
String responseMessage)
Handles the rejection callback. |
boolean |
ModerationStrategy.shouldModerate(JiveContainer jiveContainer,
int objectType,
User user)
Determines if moderation is enabled for the given JiveContainer and object Type. |
boolean |
ModerationStrategy.shouldModerate(JiveObject jiveObject,
User user)
Determines if moderation for the given JiveObject is enabled. |
void |
ModerationStrategy.startWorkflow(JiveObject jiveObject,
User user,
String requestMessage)
Puts the JiveObject into the moderation queue. |
| Uses of User in com.jivesoftware.community.project |
|---|
| Methods in com.jivesoftware.community.project that return User | |
|---|---|
User |
Project.getUser()
Returns the user that created this project |
| Methods in com.jivesoftware.community.project that return types with arguments of type User | |
|---|---|
JiveIterator<User> |
ProjectManager.getUsers(Project project)
Returns an iterator of unique users that own tasks in the specified project |
| Methods in com.jivesoftware.community.project with parameters of type User | |
|---|---|
void |
TaskManager.cleanupUserTasks(User user)
Deletes or disassociates tasks for the given user. |
Project |
ProjectManager.create(JiveContainer container,
String name,
String description,
User user,
List<CheckPoint> checkPoints,
Date dueDate)
Creates a new project as a child of the parent container |
com.jivesoftware.community.project.Task |
TaskManager.create(Project project,
User creator,
User owner,
String subject,
String body,
Date dueDate)
Creates a new task within the provided project. |
void |
TaskManager.create(User user,
Project project,
List<com.jivesoftware.community.project.Task> tasks)
Creates new tasks in a batch. |
com.jivesoftware.community.project.Task |
TaskManager.create(User user,
String subject,
String body,
Date dueDate)
Creates a new personal task. |
com.jivesoftware.community.project.ProjectStatus |
ProjectManager.createStatus(Project project,
User user,
com.jivesoftware.community.project.ProjectStatus.Type type,
String description)
Creates a project status for the given project. |
void |
ProjectManager.createTrackedProject(User user,
Project project)
Creates a new tracked project. |
int |
ProjectManager.getProjectCountFromTaskList(User owner)
Returns the count of unique projects that the user is assigned one or more tasks |
JiveIterator<Project> |
ProjectManager.getProjectsFromTaskList(User owner)
Returns an iterator of unique projects that the user is assigned one or more tasks |
int |
ProjectManager.getTrackedProjectCount(User user)
Returns the number of projects the user is tracking. |
List<Project> |
ProjectManager.getTrackedProjects(User user)
Returns all tracked projects for the given user. |
boolean |
ProjectManager.isTrackedProject(User user,
Project project)
Returns if the project is currently tracked by the user. |
void |
ProjectManager.removeTrackedProject(User user,
Project project)
Removes a tracked project for the user. |
| Uses of User in com.jivesoftware.community.socialgroup |
|---|
| Methods in com.jivesoftware.community.socialgroup that return User | |
|---|---|
User |
SocialGroup.getUser()
Returns the user that created the social group. |
| Methods in com.jivesoftware.community.socialgroup with parameters of type User | |
|---|---|
void |
SocialGroupManager.addMember(SocialGroup socialGroup,
User memberToAdd,
com.jivesoftware.community.socialgroup.SocialGroupMember.Type memberType)
Adds a user to a social group |
SocialGroup |
SocialGroupManager.create(String name,
SocialGroup.Type type,
String description,
User user,
ContentRetrieval.ContentType... types)
Creates a new Social Group |
SocialGroup |
SocialGroupManager.create(String name,
String displayName,
SocialGroup.Type type,
String description,
User user,
ContentRetrieval.ContentType... types)
Creates a new Social Group |
void |
SocialGroupManager.deleteSocialGroupAssociations(User user)
Deletes the given user's social group memberships, plus any social groups owned by the given user. |
boolean |
SocialGroupManager.isBanned(SocialGroup socialGroup,
User member)
Returns true if the user has been banned from participating in the group (as defined by SocialGroupMember.Type) false otherwise. |
boolean |
SocialGroupManager.isPendingApproval(SocialGroup socialGroup,
User member)
Returns true if the user is pending approval to have access to the group (as defined by SocialGroupMember.Type) false otherwise. |
boolean |
SocialGroupManager.isSocialGroupMember(SocialGroup socialGroup,
User member)
Returns true if the user is a member (as defined by SocialGroupMember.Type)
of the social group false otherwise. |
boolean |
SocialGroupManager.isSocialGroupOwner(SocialGroup socialGroup,
User owner)
Returns true if the user is an owner (as defined by SocialGroupMember.Type)
of the social group false otherwise. |
void |
SocialGroupManager.removeMember(SocialGroup socialGroup,
User memberToRemove)
Removes a member from a social group and deletes the membership details. |
| Uses of User in com.jivesoftware.community.user.profile |
|---|
| Methods in com.jivesoftware.community.user.profile that return User | |
|---|---|
User |
ProfileSearchResult.getUser()
Gets the user that this search result represents. |
| Methods in com.jivesoftware.community.user.profile that return types with arguments of type User | |
|---|---|
Collection<User> |
ProfileSearchResults.getUsers()
Get a list of returned Users. |
| Methods in com.jivesoftware.community.user.profile with parameters of type User | |
|---|---|
void |
ProfileSearchManager.addToIndex(User user)
Adds an individual user to the index. |
void |
ProfileManager.deleteProfileImage(User user)
Deletes the users profile image |
Map<Long,com.jivesoftware.community.user.profile.ProfileFieldValue> |
ProfileManager.getProfile(User user)
Gets a map of user profile values for a particular user mapped to their corresponding ProfileField id. |
InputStream |
ProfileManager.getProfileImage(User user)
Returns the profile image for a user. |
void |
ProfileSearchManager.removeFromIndex(User user)
Removes an individual user from the index. |
void |
ProfileManager.setProfile(User user,
Collection<com.jivesoftware.community.user.profile.ProfileFieldValue> profile)
Sets a list of profile values for a particular user. |
void |
ProfileManager.setProfileImage(User user,
InputStream in)
Set a new profile page image for the specified user. |
void |
ProfileSearchResult.setUser(User user)
Set the user that this search result represents. |
| Constructors in com.jivesoftware.community.user.profile with parameters of type User | |
|---|---|
ProfileSearchResult(User user,
org.apache.lucene.document.Document document,
float score,
long points)
|
|
| Constructor parameters in com.jivesoftware.community.user.profile with type arguments of type User | |
|---|---|
ProfileSearchResults(int resultCount,
Collection<Long> userIDs,
List<User> users)
|
|
| Uses of User in com.jivesoftware.community.user.relationships |
|---|
| Methods in com.jivesoftware.community.user.relationships that return User | |
|---|---|
User |
UserRelationshipManager.getManager(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a user's current manager in a hierarchical graph, or null if no manager is found. |
| Methods in com.jivesoftware.community.user.relationships that return types with arguments of type User | |
|---|---|
List<User> |
UserRelationshipManager.getColleagues(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a list of a user's colleagues (people who report to the same manager, minus the user) (may return empty list, but not null). |
List<User> |
UserRelationshipManager.getDirectReports(User manager,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a list of a user's direct reports (may return empty list, but not null). |
List<User> |
UserRelationshipManager.getEscalationChain(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Build a list of people upward in the hierarchical org from a given user. |
| Methods in com.jivesoftware.community.user.relationships with parameters of type User | |
|---|---|
boolean |
UserRelationshipManager.canViewRelationshipLists(User user)
|
com.jivesoftware.community.user.relationships.UserRelationship |
UserRelationshipManager.createRelationship(User user,
User relatedUser,
com.jivesoftware.community.user.relationships.UserRelationshipGraph relationshipGraph,
String requestMessage)
Create a relationship between two users. |
com.jivesoftware.community.user.relationships.UserRelationshipList |
UserRelationshipManager.createRelationshipList(String name,
String label,
User owner)
Create a new UserRelationshipList. |
void |
UserRelationshipManager.deleteUserRelationships(User user)
Delete all relationships related to the given user, regardless of which end of the relationship the given user exists. |
Set<Long> |
UserRelationshipManager.getApproverUserIDs(User requester,
com.jivesoftware.community.user.relationships.UserRelationship userRelationship)
|
List<User> |
UserRelationshipManager.getColleagues(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a list of a user's colleagues (people who report to the same manager, minus the user) (may return empty list, but not null). |
Map<com.jivesoftware.community.user.relationships.UserRelationshipGraph,Collection<com.jivesoftware.community.user.relationships.UserRelationshipView>> |
UserRelationshipManager.getCurrentRelationshipMap(User user,
boolean approvedOnly)
Get a map of relationship views revolving around the user argument. |
Collection<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getCurrentRelationships(User user,
com.jivesoftware.community.user.relationships.UserRelationshipGraph graph,
boolean approvedOnly)
Get a collection of relationship views revolving around the user argument. |
List<User> |
UserRelationshipManager.getDirectReports(User manager,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a list of a user's direct reports (may return empty list, but not null). |
List<User> |
UserRelationshipManager.getEscalationChain(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Build a list of people upward in the hierarchical org from a given user. |
com.jivesoftware.community.user.relationships.UserRelationship |
UserRelationshipManager.getFriendRelationship(User user1,
User user2,
com.jivesoftware.community.user.relationships.MeshUserRelationshipGraph graph)
If two users have a relationship in a given graph, return it, else return null. |
List<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getFriends(User user)
Get an list of a user's friends from the default mesh graph. |
List<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getFriends(User user,
com.jivesoftware.community.user.relationships.MeshUserRelationshipGraph graph)
Get an list of a user's friends in a given mesh graph. |
List<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getInverseFriends(User user,
com.jivesoftware.community.user.relationships.MeshUserRelationshipGraph graph)
Get a list of who has friended a user, for a non-reflexive graph. |
User |
UserRelationshipManager.getManager(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a user's current manager in a hierarchical graph, or null if no manager is found. |
com.jivesoftware.community.user.relationships.UserRelationship |
UserRelationshipManager.getManagerRelationship(User user,
com.jivesoftware.community.user.relationships.HierarchicalUserRelationshipGraph graph)
Get a user's current manager. |
Set<Long> |
UserRelationshipManager.getNotificationUserIDs(User requester,
com.jivesoftware.community.user.relationships.UserRelationship userRelationship)
|
Collection<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getPendingRelationships(User user,
com.jivesoftware.community.user.relationships.UserRelationshipGraph graph)
Get a list of not-yet-approved relationships for a given graph. |
Map<com.jivesoftware.community.user.relationships.UserRelationshipGraph,Collection<com.jivesoftware.community.user.relationships.UserRelationshipView>> |
UserRelationshipManager.getPossibleRelationshipMap(User user,
User relatedUser)
|
Collection<com.jivesoftware.community.user.relationships.UserRelationshipView> |
UserRelationshipManager.getPossibleRelationships(User user,
User relatedUser,
com.jivesoftware.community.user.relationships.UserRelationshipGraph graph)
Get a collection of relationship views (per graph) showing the possible relationships between two users. |
Collection<com.jivesoftware.community.user.relationships.UserRelationshipList> |
UserRelationshipManager.getRelationshipListsByOwner(User owner)
Retrieves a collection of lists based on an owner userID. |
Collection<com.jivesoftware.community.user.relationships.UserRelationshipList> |
UserRelationshipManager.getRelationshipListsByPerson(User person,
User owner)
Retrieves a collection of lists based on an owner userID and a person who is on the list. |
boolean |
UserRelationshipManager.isFriend(User user1,
User user2,
com.jivesoftware.community.user.relationships.MeshUserRelationshipGraph graph)
In a reflexive mesh graph, are user1 and user2 friends? |
void |
UserRelationshipManager.notifyUsers(String key,
User requester,
com.jivesoftware.community.user.relationships.UserRelationship relationship,
Map<String,Object> additonalContext)
Send a notification corresponding to an event (creation, approval, rejection, retirement) of a UserRelationship. |
void |
UserRelationshipManager.retireRelationship(User retirer,
com.jivesoftware.community.user.relationships.UserRelationship userRelationship)
Set relationship to be retired and persist the change in the DB. |
void |
UserRelationshipManager.retireRelationships(User user)
Retire all current relationships for a given user (for example, on disabling an account). |
| Uses of User in com.jivesoftware.community.util |
|---|
| Methods in com.jivesoftware.community.util with parameters of type User | |
|---|---|
static String |
SkinUtils.dateToText(HttpServletRequest request,
User user,
Date date)
Deprecated. Replaced to DateUtils.displayFriendly(long) |
static String |
SkinUtils.formatDate(HttpServletRequest request,
User user,
Date date)
Formats a date for a user, according to their locale and time zone preferences. |
static String |
BlogUtils.getAuthorFeedURL(Blog blog,
User author)
Returns a string containing the path to the author feed for a specific blog / author combination. |
static String |
BlogUtils.getAuthorPermalink(Blog blog,
User author)
Returns a author permalink for a blog and author which is a combination of the base URL, the blog display name and the word 'authors' and the authors username. |
static String |
SkinUtils.getDisplayName(User user)
A simple method to check whether to display a user's full name or their username. |
static Date |
SkinUtils.getLastLoggedIn(User user)
Returns the time the given user last logged in. |
| Uses of User in com.jivesoftware.community.widget |
|---|
| Methods in com.jivesoftware.community.widget that return User | |
|---|---|
User |
BaseWidgetContext.getUser()
Gets the current page user, or null if annonymous |
| Methods in com.jivesoftware.community.widget with parameters of type User | |
|---|---|
void |
WidgetManager.deleteUserWidgets(User user)
Removes all wigets associated with the given user from the system. |
| Constructors in com.jivesoftware.community.widget with parameters of type User | |
|---|---|
BaseWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response)
Creates a BaseWidgetContext whose type is WidgetType.COMMUNITY with all the necessary
information for a widget author to render their widget. |
|
BaseWidgetContext(com.jivesoftware.community.widget.WidgetTypeDescriptor type,
User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
boolean edit)
Creates a BaseWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community)
Creates a CommunityWidgetContext with all the necessary
information for a widget author to render their widget. |
|
CommunityWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Community community,
boolean edit)
Creates a CommunityWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
HomepageWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response)
Creates a HomepageWidgetContext with all the necessary
information for a widget author to render their widget. |
|
HomepageWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
boolean edit)
Creates a HomepageWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
PersonalizedHomepageWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response)
Creates a PersonalizedHomepageWidgetContext with all the necessary
information for a widget author to render their widget. |
|
PersonalizedHomepageWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
boolean edit)
Creates a UserProfileWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
ProjectWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Project project)
Creates a ProjectWidgetContext with all the necessary
information for a widget author to render their widget. |
|
ProjectWidgetContext(User user,
AuthToken authToken,
HttpServletRequest request,
HttpServletResponse response,
Project project,
boolean edit)
Creates a BlogWidgetContext of a given type with all the necessary
information for a widget author to render their widget. |
|
| Uses of User in com.jivesoftware.community.xmpp |
|---|
| Methods in com.jivesoftware.community.xmpp that return User | |
|---|---|
User |
IMManager.getUserForJID(org.xmpp.packet.JID jid)
|
| Methods in com.jivesoftware.community.xmpp with parameters of type User | |
|---|---|
void |
IMManager.deleteIMHandlesForUser(User user)
|
org.xmpp.packet.JID |
IMManager.getJIDForUser(User user)
|
org.xmpp.packet.Presence |
IMManager.getPresence(User user)
Returns the presence info for a User, or null if is unavailable (offline) or if no presence
information is available. |
void |
IMManager.setJIDNodeForUser(User user,
String node)
|
| Uses of User in com.jivesoftware.spi.user |
|---|
| Methods in com.jivesoftware.spi.user that return User | |
|---|---|
User |
UserProvider.create(User user)
Creates a user based on the data passed in the UserTemplate |
User |
UserProvider.getUser(User template)
Template-driven search approach. |
| Methods in com.jivesoftware.spi.user that return types with arguments of type User | |
|---|---|
Iterable<User> |
UserProvider.getUsers()
Returns an unmodifiable Collections of all users in the system. |
Iterable<User> |
UserProvider.getUsers(int startIndex,
int size)
Returns iterable result set of users, containing size> or less users and starting at startIndex. |
| Methods in com.jivesoftware.spi.user with parameters of type User | |
|---|---|
User |
UserProvider.create(User user)
Creates a user based on the data passed in the UserTemplate |
void |
UserProvider.delete(User user)
Deletes a user in the underlying provider store. |
User |
UserProvider.getUser(User template)
Template-driven search approach. |
void |
UserProvider.update(User user)
Updates the user via the user provider, if the provider supports updates. |
|
Clearspace Project Page | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||