Interface UserChangesFacade

  • All Known Implementing Classes:
    UserChangesFacadeImpl

    public interface UserChangesFacade
    Provides information about user personal changes and vcs changes.
    • Method Detail

      • getChanges

        @NotNull
        List<ChangeStatus> getChanges​(@NotNull
                                      UserChangesPolicy showChangesPolicy)
        Returns change status list for modifications made by user in version control.
        Parameters:
        showChangesPolicy - data retrieving policy.
        Returns:
        change status list for user vcs modifications
      • getMergedChanges

        @NotNull
        List<ChangeStatus> getMergedChanges​(@NotNull
                                            UserChangesPolicy showChangesPolicy)
        Returns list of merged change statuses for modifications made by user in version control.
        Parameters:
        showChangesPolicy - data retrieving policy.
        Returns:
        list of merged change statuses for user vcs modifications
      • getVcsModifications

        @NotNull
        List<SVcsModification> getVcsModifications​(@NotNull
                                                   UserChangesPolicy showChangesPolicy)
        Returns all changes made by the specified user in version control.
        Parameters:
        showChangesPolicy - data retrieving policy.
        Returns:
        newly created modifiable collection of changes made by this user
      • getAllVcsModifications

        @NotNull
        List<SVcsModification> getAllVcsModifications​(@NotNull
                                                      User user)
        Returns list of all (personal/non-personal) modifications for specified user sorted by their VCS date.
        Parameters:
        user - user of interest
        Returns:
        see above
      • getPersonalChanges

        @NotNull
        List<UserChangeInfo> getPersonalChanges​(long userId)
        Returns all user personal changes.
        Parameters:
        userId - user id.
        Returns:
        list of all personal chanegs for the given user.