package org.xcolab.service.contest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import org.xcolab.client.comment.ICategoryClient;
import org.xcolab.client.comment.ICommentClient;
import org.xcolab.client.comment.IThreadClient;
import org.xcolab.client.comment.StaticCommentContext;
import org.xcolab.client.contest.ContestClient;
import org.xcolab.client.contest.ContestTeamMemberClient;
import org.xcolab.client.contest.ImpactClient;
import org.xcolab.client.contest.OntologyClient;
import org.xcolab.client.contest.ProposalTemplateClient;
import org.xcolab.client.contest.StaticContestContext;
import org.xcolab.client.contest.proposals.IMembershipClient;
import org.xcolab.client.contest.proposals.IProposalClient;
import org.xcolab.client.contest.proposals.IProposalJudgeRatingClient;
import org.xcolab.client.contest.proposals.IProposalMemberRatingClient;
import org.xcolab.client.contest.proposals.PointsClient;
import org.xcolab.client.contest.proposals.ProposalAttributeClient;
import org.xcolab.client.contest.proposals.ProposalMoveClient;
import org.xcolab.client.contest.proposals.ProposalPhaseClient;
import org.xcolab.client.contest.proposals.StaticProposalContext;

@Component
public class StaticInjector {

    @Autowired
    public StaticInjector(ICommentClient commentClient, ICategoryClient categoryClient,
            IThreadClient threadClient, ContestClient contestClient,
            ContestTeamMemberClient contestTeamMemberClient, ImpactClient impactClient,
            OntologyClient ontologyClient, ProposalTemplateClient proposalTemplateClient,
            PointsClient pointsClient, ProposalAttributeClient proposalAttributeClient,
            ProposalMoveClient proposalMoveClient, ProposalPhaseClient proposalPhaseClient,
            IProposalClient proposalClient, IMembershipClient membershipClient,
            IProposalMemberRatingClient proposalMemberRatingClient,
            IProposalJudgeRatingClient proposalJudgeRatingClient) {
        StaticCommentContext.setClients(commentClient, categoryClient, threadClient);

        StaticContestContext.setClients(commentClient, categoryClient, threadClient, contestClient,
                contestTeamMemberClient, impactClient, ontologyClient, proposalTemplateClient);
        StaticProposalContext.setClients(pointsClient, proposalAttributeClient, proposalMoveClient,
                proposalPhaseClient, proposalClient, membershipClient, proposalMemberRatingClient,
                proposalJudgeRatingClient);
    }
}

@@ -374,24 +374,25 @@
 ent.contest.
+I
 ContestClien
@@ -427,16 +427,17 @@
 contest.
+I
 ContestT
@@ -486,16 +486,17 @@
 contest.
+I
 ImpactCl
@@ -534,16 +534,17 @@
 contest.
+I
 Ontology
@@ -584,16 +584,17 @@
 contest.
+I
 Proposal
@@ -771,23 +771,21 @@
 osals.IP
-roposal
+oints
 Client;%0A
@@ -832,35 +832,33 @@
 ls.IProposal
-JudgeRating
+Attribute
 Client;%0Aimpo
@@ -901,36 +901,24 @@
 ls.IProposal
-MemberRating
 Client;%0Aimpo
@@ -956,22 +956,36 @@
 oposals.
-Points
+IProposalJudgeRating
 Client;%0A
@@ -1027,24 +1027,25 @@
 oposals.
+I
 Proposal
 Attribut
@@ -1032,33 +1032,36 @@
 ls.IProposal
-Attribute
+MemberRating
 Client;%0Aimpo
@@ -1091,32 +1091,33 @@
 ntest.proposals.
+I
 ProposalMoveClie
@@ -1163,16 +1163,17 @@
 oposals.
+I
 Proposal
@@ -1437,16 +1437,17 @@
 Client, 
+I
 ContestC
@@ -1479,16 +1479,17 @@
         
+I
 ContestT
@@ -1529,16 +1529,17 @@
 Client, 
+I
 ImpactCl
@@ -1569,16 +1569,17 @@
         
+I
 Ontology
@@ -1593,32 +1593,33 @@
 ontologyClient, 
+I
 ProposalTemplate
@@ -1661,16 +1661,17 @@
         
+I
 PointsCl
@@ -1681,32 +1681,33 @@
 t pointsClient, 
+I
 ProposalAttribut
@@ -1751,16 +1751,17 @@
         
+I
 Proposal
@@ -1791,16 +1791,17 @@
 Client, 
+I
 Proposal

fix compile error