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
ContentEntityObjects, 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)
ContentEntityObjects, 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 ContentTypeEnums to filter on. If empty no filtering is done.ContentEntityObjects of the requested typespublic List<ContentEntityObject> getHistoryContent(ContentTypeEnum... requestedTypes)
Copyright © 2003–2022 Atlassian. All rights reserved.