Class MultiSubscriptionPerJournalIdentifier
java.lang.Object
com.atlassian.confluence.api.model.journal.JournalIdentifier
com.atlassian.confluence.internal.api.impl.service.incrementalsync.journal.MultiSubscriptionPerJournalIdentifier
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SingleSubscriptionPerJournalIdentifier
Journal identifier which based on both journal name and subscription id
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMultiSubscriptionPerJournalIdentifier(String journalName, SubscriptionId subscriptionId) Create a new journal identifier.MultiSubscriptionPerJournalIdentifier(String journalName, SubscriptionId subscriptionId, long mostRecentId) Create a new journal identifier. -
Method Summary
Methods inherited from class com.atlassian.confluence.api.model.journal.JournalIdentifier
toString
-
Field Details
-
JOURNAL_NAME_DELIMITER
- See Also:
-
DELIMITER
- See Also:
-
-
Constructor Details
-
MultiSubscriptionPerJournalIdentifier
Create a new journal identifier. This constructor is used along withServerSubscriptionJournalStateStore- Parameters:
journalName- journal name consisting of at least 1 and most 255 characters from the following groups:- Lower-case letters from english alphabet (a-z)
- Digits (0-9)
- Underscore or dot (_ or .)
-
MultiSubscriptionPerJournalIdentifier
public MultiSubscriptionPerJournalIdentifier(String journalName, SubscriptionId subscriptionId, long mostRecentId) Create a new journal identifier. This constructor is used along withClientSubscriptionJournalStateStore- Parameters:
journalName- journal name consisting of at least 1 and most 255 characters from the following groups:- Lower-case letters from english alphabet (a-z)
- Digits (0-9)
- Underscore or dot (_ or .)
-
-
Method Details
-
getSubscriptionId
-
getJournalNameWithSubscriptionId
-
getJournalName
- Overrides:
getJournalNamein classJournalIdentifier
-
getMostRecentId
public long getMostRecentId() -
equals
- Overrides:
equalsin classJournalIdentifier
-
hashCode
public int hashCode()- Overrides:
hashCodein classJournalIdentifier
-