Interface UserChangesFacade
-
- All Known Implementing Classes:
UserChangesFacadeImpl
public interface UserChangesFacadeProvides information about user personal changes and vcs changes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<UserChangeInfo>createUserChangeInfo(List<ChangeStatus> changeStatuses)UserChangeInfocreateUserChangeInfo(SVcsModification modification)List<SVcsModification>getAllVcsModifications(User user)Returns list of all (personal/non-personal) modifications for specifiedusersorted by their VCS date.List<ChangeStatus>getChanges(UserChangesPolicy showChangesPolicy)Returns change status list for modifications made by user in version control.List<ChangeStatus>getMergedChanges(UserChangesPolicy showChangesPolicy)Returns list of merged change statuses for modifications made by user in version control.List<UserChangeInfo>getPersonalChanges(long userId)Returns all user personal changes.List<SVcsModification>getVcsModifications(UserChangesPolicy showChangesPolicy)Returns all changes made by the specified user in version control.
-
-
-
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 specifiedusersorted 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.
-
createUserChangeInfo
@NotNull UserChangeInfo createUserChangeInfo(@NotNull SVcsModification modification)
-
createUserChangeInfo
@NotNull List<UserChangeInfo> createUserChangeInfo(@NotNull List<ChangeStatus> changeStatuses)
-
-