public class UserHistoryHelper extends Object
UserHistory
objects.Constructor and Description |
---|
UserHistoryHelper(com.atlassian.user.User remoteUser,
ContentEntityManager contentEntityManager,
PermissionManager permissionManager) |
Modifier and Type | Method and Description |
---|---|
List<ContentEntityObject> |
getHistoryContent(ContentTypeEnum... requestedTypes) |
List<ContentEntityObject> |
getHistoryContent(int maxResults,
ContentTypeEnum... requestedTypes)
Returns user history
ContentEntityObject s, filtered to only include the requested types. |
public UserHistoryHelper(com.atlassian.user.User remoteUser, ContentEntityManager contentEntityManager, PermissionManager permissionManager)
contentEntityManager
- a ContentEntityManager to retrieve the ContentEntityObjects by Id.public List<ContentEntityObject> getHistoryContent(int maxResults, ContentTypeEnum... requestedTypes)
ContentEntityObject
s, filtered to only include the requested types.
If requestedTypes is empty returns all objects.maxResults
- the maximum number of history objects to returnrequestedTypes
- array of ContentTypeEnum
s to filter on. If empty no filtering is done.ContentEntityObject
s of the requested typespublic List<ContentEntityObject> getHistoryContent(ContentTypeEnum... requestedTypes)
Copyright © 2003–2017 Atlassian. All rights reserved.