com.atlassian.jira.user
Class UserHistoryItem

java.lang.Object
  extended by com.atlassian.jira.user.UserHistoryItem

public class UserHistoryItem
extends Object

Since:
v4.0

Nested Class Summary
static class UserHistoryItem.Type
           
 
Field Summary
static UserHistoryItem.Type ADMIN_PAGE
           
static UserHistoryItem.Type ASSIGNEE
           
static UserHistoryItem.Type DASHBOARD
           
static com.google.common.base.Function<UserHistoryItem,String> GET_ENTITY_ID
          extracts the entity id, or null if input is null
static UserHistoryItem.Type ISSUE
           
static UserHistoryItem.Type ISSUELINKTYPE
           
static UserHistoryItem.Type ISSUESEARCHER
           
static UserHistoryItem.Type JQL_QUERY
           
static UserHistoryItem.Type PROJECT
           
static UserHistoryItem.Type RESOLUTION
           
static UserHistoryItem.Type USED_USER
           
 
Constructor Summary
UserHistoryItem(UserHistoryItem.Type type, String entityId)
           
UserHistoryItem(UserHistoryItem.Type type, String entityId, long lastViewed)
           
UserHistoryItem(UserHistoryItem.Type type, String entityId, long lastViewed, String data)
           
UserHistoryItem(UserHistoryItem.Type type, String entityId, String data)
           
 
Method Summary
 boolean equals(Object o)
           
 String getData()
           
 String getEntityId()
           
 long getLastViewed()
           
 UserHistoryItem.Type getType()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ISSUE

public static final UserHistoryItem.Type ISSUE

PROJECT

public static final UserHistoryItem.Type PROJECT

JQL_QUERY

public static final UserHistoryItem.Type JQL_QUERY

ADMIN_PAGE

public static final UserHistoryItem.Type ADMIN_PAGE

ASSIGNEE

public static final UserHistoryItem.Type ASSIGNEE

USED_USER

public static final UserHistoryItem.Type USED_USER

DASHBOARD

public static final UserHistoryItem.Type DASHBOARD

ISSUELINKTYPE

public static final UserHistoryItem.Type ISSUELINKTYPE

RESOLUTION

public static final UserHistoryItem.Type RESOLUTION

ISSUESEARCHER

public static final UserHistoryItem.Type ISSUESEARCHER

GET_ENTITY_ID

public static final com.google.common.base.Function<UserHistoryItem,String> GET_ENTITY_ID
extracts the entity id, or null if input is null

Constructor Detail

UserHistoryItem

public UserHistoryItem(UserHistoryItem.Type type,
                       String entityId,
                       long lastViewed,
                       String data)

UserHistoryItem

public UserHistoryItem(UserHistoryItem.Type type,
                       String entityId,
                       long lastViewed)

UserHistoryItem

public UserHistoryItem(UserHistoryItem.Type type,
                       String entityId)

UserHistoryItem

public UserHistoryItem(UserHistoryItem.Type type,
                       String entityId,
                       String data)
Method Detail

getLastViewed

public long getLastViewed()

getType

public UserHistoryItem.Type getType()

getEntityId

public String getEntityId()

getData

public String getData()

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2014 Atlassian. All Rights Reserved.