com.atlassian.greenhopper.customfield
Class ReferencedEntityHistoryEntity

java.lang.Object
  extended by com.atlassian.greenhopper.customfield.ReferencedEntityHistoryEntity
Direct Known Subclasses:
EpicLinkHistoryEntry, SprintHistoryEntry

public abstract class ReferencedEntityHistoryEntity
extends java.lang.Object

Base class for custom fields where we want to store the history in Lucene.


Constructor Summary
ReferencedEntityHistoryEntity(java.lang.Long entityId, org.joda.time.DateTime date, boolean added)
           
 
Method Summary
 org.joda.time.DateTime getDate()
           
static java.lang.String getLuceneValuePrefix(java.lang.Long entityId)
           
 long getReferencedEntityId()
           
 boolean isAdded()
           
 java.lang.String toLuceneValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReferencedEntityHistoryEntity

public ReferencedEntityHistoryEntity(java.lang.Long entityId,
                                     org.joda.time.DateTime date,
                                     boolean added)
Method Detail

getLuceneValuePrefix

public static java.lang.String getLuceneValuePrefix(java.lang.Long entityId)

toLuceneValue

public java.lang.String toLuceneValue()

getDate

public org.joda.time.DateTime getDate()

isAdded

public boolean isAdded()

getReferencedEntityId

public long getReferencedEntityId()


Copyright © 2007-2013 Atlassian. All Rights Reserved.