Subversion Repositories SmartDukaan

Rev

Rev 11890 | Rev 13102 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11890 Rev 11895
Line 101... Line 101...
101
    private List<Order> orders = new ArrayList<Order>();
101
    private List<Order> orders = new ArrayList<Order>();
102
    
102
    
103
    private List<RechargeOrder> rechargeOrders = new ArrayList<RechargeOrder>();
103
    private List<RechargeOrder> rechargeOrders = new ArrayList<RechargeOrder>();
104
    private String amazonId;
104
    private String amazonId;
105
    private long bulkOrderEnquiryCount;
105
    private long bulkOrderEnquiryCount;
-
 
106
    private boolean isPrivateDealUser;
106
    
107
    
107
 
108
 
108
    @Action("/")
109
    @Action("/")
109
    public String index() throws Exception {
110
    public String index() throws Exception {
110
        String returnValue = INPUT;
111
        String returnValue = INPUT;
Line 359... Line 360...
359
            throws UserCommunicationException, TException {
360
            throws UserCommunicationException, TException {
360
        userContextServiceClient = new UserClient().getClient();
361
        userContextServiceClient = new UserClient().getClient();
361
        List<UserCommunication> userCommunication = userContextServiceClient
362
        List<UserCommunication> userCommunication = userContextServiceClient
362
                .getUserCommunicationByUser(user.getUserId());
363
                .getUserCommunicationByUser(user.getUserId());
363
        userCommunicationCount = userCommunication.size();
364
        userCommunicationCount = userCommunication.size();
-
 
365
        isPrivateDealUser = userContextServiceClient.isPrivateDealUser(user.getUserId());
364
    }
366
    }
365
    
367
    
366
    private void loadRechargeOrders() throws TransactionServiceException,
368
    private void loadRechargeOrders() throws TransactionServiceException,
367
    TException {
369
    TException {
368
        transactionServiceClient = new TransactionClient().getClient();
370
        transactionServiceClient = new TransactionClient().getClient();
Line 757... Line 759...
757
 
759
 
758
    public long getBulkOrderEnquiryCount() {
760
    public long getBulkOrderEnquiryCount() {
759
        return bulkOrderEnquiryCount;
761
        return bulkOrderEnquiryCount;
760
    }
762
    }
761
 
763
 
-
 
764
    public void setPrivateDealUser(boolean isPrivateDealUser) {
-
 
765
        this.isPrivateDealUser = isPrivateDealUser;
-
 
766
    }
-
 
767
 
-
 
768
    public boolean isPrivateDealUser() {
-
 
769
        return isPrivateDealUser;
-
 
770
    }
-
 
771
 
762
}
772
}
763
773