Package com.atlassian.jira.project
Class ProjectChangedTimeStoreImpl
java.lang.Object
com.atlassian.jira.project.ProjectChangedTimeStoreImpl
- All Implemented Interfaces:
ProjectChangedTimeStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProjectChangedTime(long projectId) Fetches ProjectChangedTime for the given projectId.voidupdateOrAddIssueChangedTime(long projectId, Timestamp issueChangedTime) Updates if an entry for the given project exists, otherwise adds a new entry with the issue updated time
-
Constructor Details
-
ProjectChangedTimeStoreImpl
-
-
Method Details
-
getProjectChangedTime
Description copied from interface:ProjectChangedTimeStoreFetches ProjectChangedTime for the given projectId.- Specified by:
getProjectChangedTimein interfaceProjectChangedTimeStore- Parameters:
projectId-- Returns:
- If no record found, returns empty Optional. Otherwise, returns the projectUpdatedTime.
-
updateOrAddIssueChangedTime
Description copied from interface:ProjectChangedTimeStoreUpdates if an entry for the given project exists, otherwise adds a new entry with the issue updated time- Specified by:
updateOrAddIssueChangedTimein interfaceProjectChangedTimeStore- Parameters:
projectId-issueChangedTime-
-