Daisy Open Source CMS

org.outerj.daisy.emailnotifier
Class CollectionSubscriptionKey

java.lang.Object
  extended by org.outerj.daisy.emailnotifier.CollectionSubscriptionKey
All Implemented Interfaces:
Comparable

public class CollectionSubscriptionKey
extends Object
implements Comparable

Identifies a subscription for document in a certain collection belonging to a certain branch/langauge.


Constructor Summary
CollectionSubscriptionKey(long collectionId, long branchId, long languageId)
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equals(Object obj)
           
 long getBranchId()
           
 long getCollectionId()
           
 long getLanguageId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSubscriptionKey

public CollectionSubscriptionKey(long collectionId,
                                 long branchId,
                                 long languageId)
Method Detail

getCollectionId

public long getCollectionId()

getBranchId

public long getBranchId()

getLanguageId

public long getLanguageId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

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

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

Daisy Open Source CMS