From d6ccf989ab397a67ef30e96b82a2841539654d6e Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Sat, 08 Mar 2014 20:44:16 -0500 Subject: [PATCH] Listen for git daemon and fanout clients on all intefaces, by default --- src/main/java/com/gitblit/manager/IGitblit.java | 36 +++++++++++++++++++++++++++++------- 1 files changed, 29 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/gitblit/manager/IGitblit.java b/src/main/java/com/gitblit/manager/IGitblit.java index c0167f0..50210e9 100644 --- a/src/main/java/com/gitblit/manager/IGitblit.java +++ b/src/main/java/com/gitblit/manager/IGitblit.java @@ -26,6 +26,7 @@ import com.gitblit.models.RepositoryUrl; import com.gitblit.models.TeamModel; import com.gitblit.models.UserModel; +import com.gitblit.tickets.ITicketService; public interface IGitblit extends IManager, IRuntimeManager, @@ -47,25 +48,39 @@ List<RepositoryUrl> getRepositoryUrls(HttpServletRequest request, UserModel user, RepositoryModel repository); /** - * Adds/updates a complete user object keyed by username. This method allows - * for renaming a user. + * Creates a complete user object. * - * @see IUserService.updateUserModel(String, UserModel) - * @param username * @param user * @param isCreate * @throws GitBlitException */ - void updateUserModel(String username, UserModel user, boolean isCreate) throws GitBlitException; + void addUser(UserModel user) throws GitBlitException; + + /** + * Updates a complete user object keyed by username. This method allows + * for renaming a user. + * + * @param username + * @param user + * @throws GitBlitException + */ + void reviseUser(String username, UserModel user) throws GitBlitException; + + /** + * Creates a TeamModel object. + * + * @param team + * @param isCreate + */ + void addTeam(TeamModel team) throws GitBlitException; /** * Updates the TeamModel object for the specified name. * * @param teamname * @param team - * @param isCreate */ - void updateTeamModel(String teamname, TeamModel team, boolean isCreate) throws GitBlitException; + void reviseTeam(String teamname, TeamModel team) throws GitBlitException; /** * Creates a personal fork of the specified repository. The clone is view @@ -87,4 +102,11 @@ */ Collection<GitClientApplication> getClientApplications(); + /** + * Returns the ticket service. + * + * @return a ticket service + */ + ITicketService getTicketService(); + } \ No newline at end of file -- Gitblit v1.9.1