Package com.atlassian.jira.project
Interface ProjectChangedTimeStore
- All Known Implementing Classes:
ProjectChangedTimeStoreImpl
public interface ProjectChangedTimeStore
Provide access to ProjectChangedTime in database.
- Since:
- v7.2
-
Method Summary
Modifier and TypeMethodDescriptiongetProjectChangedTime(long projectId) Fetches ProjectChangedTime for the given projectId.voidupdateOrAddIssueChangedTime(long projectId, Timestamp issueUpdatedTime) Updates if an entry for the given project exists, otherwise adds a new entry with the issue updated time
-
Method Details
-
getProjectChangedTime
Fetches ProjectChangedTime for the given projectId.- Parameters:
projectId-- Returns:
- If no record found, returns empty Optional. Otherwise, returns the projectUpdatedTime.
-
updateOrAddIssueChangedTime
Updates if an entry for the given project exists, otherwise adds a new entry with the issue updated time- Parameters:
projectId-issueUpdatedTime-
-