1 package sellwin.server; 2 3 import sellwin.domain.*; 4 import java.rmi.*; 5 import java.util.*; 6 7 11 20 public interface ServerInterface extends java.rmi.Remote { 21 22 28 public ArrayList getStateTax(java.util.Date lastSyncDate) 29 throws RemoteException, AngError; 30 31 35 public void loadTax(StateTax row) 36 throws RemoteException, AngError; 37 38 42 public void updateTax(StateTax row) 43 throws RemoteException, AngError; 44 45 49 public StateTax getTax(String stateCode) 50 throws RemoteException, AngError; 51 52 55 public void deleteAllTax() 56 throws RemoteException, AngError; 57 58 59 65 public ArrayList getOpportunityIndex(SalesPerson u) 66 throws RemoteException, AngError; 67 68 73 public ArrayList getProductMatrix() 74 throws RemoteException, AngError; 75 76 81 public ArrayList getProductGroups() 82 throws RemoteException, AngError; 83 84 90 public ArrayList getProductLines(String group) 91 throws RemoteException, AngError; 92 93 100 public ArrayList getProductsForLine(String group, String line) 101 throws RemoteException, AngError; 102 103 111 public Product getProduct(String group, String line, String name) 112 throws RemoteException, AngError; 113 114 119 public Product getProduct(long pk) 120 throws RemoteException, AngError; 121 122 126 public void updateProduct(Product product) 127 throws RemoteException, AngError; 128 129 136 public long addForecast(long opportunityPK, Forecast a) 137 throws RemoteException, AngError; 138 139 145 public void updateForecast(long oppPK, Forecast a) 146 throws RemoteException, AngError; 147 148 154 public void deleteForecast(long opportunityPK, long forecastPK) 155 throws RemoteException, AngError; 156 157 164 public long addOrder(long oppPK, Order o) 165 throws RemoteException, AngError; 166 167 173 public void updateOrder(long oppPK, Order o) 174 throws RemoteException, AngError; 175 176 183 public long addQuote(long oppPK, Quote q) 184 throws RemoteException, AngError; 185 186 192 public void updateQuote(long oppPK, Quote q) 193 throws RemoteException, AngError; 194 195 201 public void deleteQuote(long opportuntityPK, long quotePK) 202 throws RemoteException, AngError; 203 204 212 public long addQuoteLine(long oppPK, long quotePK, QuoteLine a) 213 throws RemoteException, AngError; 214 215 221 public void deleteQuoteLine(long opportuntityPK, long quotePK, long linePK) 222 throws RemoteException, AngError; 223 224 230 public ArrayList getAlarms(long salesPersonPK) 231 throws RemoteException, AngError; 232 233 240 public long addActivity(long opportunityPK, Activity a) 241 throws RemoteException, AngError; 242 243 249 public void updateActivity(long opportunityPK, Activity a) 250 throws RemoteException, AngError; 251 252 258 public void deleteActivity(long opportunityPK, long activityPK) 259 throws RemoteException, AngError; 260 261 262 268 public ArrayList getAllUserRoles(java.util.Date lastSyncDate) 269 throws RemoteException, AngError; 270 271 276 public void addUserRole(UserRole role) 277 throws RemoteException, AngError; 278 283 public void loadUserRole(UserRole role) 284 throws RemoteException, AngError; 285 286 291 public void deleteUserRole(long pk) 292 throws RemoteException, AngError; 293 294 298 public void deleteAllUserRole() 299 throws RemoteException, AngError; 300 301 306 public void updateUserRole(UserRole role) 307 throws RemoteException, AngError; 308 309 315 public UserRole getUserRole(String name) 316 throws RemoteException, AngError; 317 318 325 public Login logon(String id, String psw) 326 throws RemoteException, AngError; 327 328 333 public void deleteCustomer(Customer cust) 334 throws RemoteException, AngError; 335 336 341 public void deleteCustomer(String name) 342 throws RemoteException, AngError; 343 344 349 public void updateCustomer(Customer c) 350 throws RemoteException, AngError; 351 352 357 public void loadCustomer(Customer c) 358 throws RemoteException, AngError; 359 360 366 public long addCustomer(Customer c) 367 throws RemoteException, AngError; 368 369 375 public Customer getCustomer(String name) 376 throws RemoteException, AngError; 377 378 383 public Object [] getAllCustomerNames() 384 throws RemoteException, AngError; 385 386 393 public ArrayList getCustomers(java.util.Date lastSyncDate) 394 throws RemoteException, AngError; 395 396 401 public void addProduct(Product p) 402 throws RemoteException, AngError; 403 404 409 public void loadProduct(Product p) 410 throws RemoteException, AngError; 411 412 418 public ArrayList getProducts(java.util.Date afterDate) 419 throws RemoteException, AngError; 420 421 426 public void deleteProduct(Product prod) 427 throws RemoteException, AngError; 428 429 435 public ArrayList getOpportunityNames(SalesPerson u) 436 throws RemoteException, AngError; 437 438 446 public ArrayList getOpportunities(SalesPerson u, java.util.Date lastSyncDate) 447 throws RemoteException, AngError; 448 449 455 public Opportunity getOpportunity(long pk) 456 throws RemoteException, AngError; 457 458 463 public void loadOpportunity(Opportunity o) 464 throws RemoteException, AngError; 465 466 472 public long addOpportunity(Opportunity o) 473 throws RemoteException, AngError; 474 475 480 public void updateOpportunity(Opportunity o) 481 throws RemoteException, AngError; 482 483 488 public void deleteOpportunity(long pk) 489 throws RemoteException, AngError; 490 491 497 public void deleteContact(long oppPk, long contPk) 498 throws RemoteException, AngError; 499 500 507 public long addContact(long oppPk, Contact c) 508 throws RemoteException, AngError; 509 510 516 public void updateContact(long oppPK, Contact c) 517 throws RemoteException, AngError; 518 519 525 public SalesPerson getSalesPerson(long pk) 526 throws RemoteException, AngError; 527 528 533 public void updateSalesPerson(SalesPerson s) 534 throws RemoteException, AngError; 535 536 540 public void deleteAllSalesPerson() 541 throws RemoteException, AngError; 542 543 548 public void deleteSalesPerson(SalesPerson per) 549 throws RemoteException, AngError; 550 551 557 public long addSalesPerson(SalesPerson s) 558 throws RemoteException, AngError; 559 560 565 public void loadSalesPerson(SalesPerson s) 566 throws RemoteException, AngError; 567 568 573 public ArrayList getSalesPersonIDs() 574 throws RemoteException, AngError; 575 576 581 public ArrayList getSalesPersonNames() 582 throws RemoteException, AngError; 583 584 591 public Object [] getSalesPersons(java.util.Date lastSyncDate) 592 throws RemoteException, AngError; 593 594 595 600 public ArrayList getGroupsForUser(long userPK) 601 throws RemoteException, AngError; 602 603 609 public void addUserToGroup(long userPK, UserGroup group) 610 throws RemoteException, AngError; 611 612 613 622 public Object [] getUsersInGroup(String groupName) 623 throws RemoteException, AngError; 624 625 631 public UserGroup getUserGroup(long pk) 632 throws RemoteException, AngError; 633 634 640 public Object [] getUserGroups(java.util.Date lastSyncDate) 641 throws RemoteException, AngError; 642 643 648 public void addUserGroup(UserGroup g) 649 throws RemoteException, AngError; 650 651 656 public void loadUserGroup(UserGroup g) 657 throws RemoteException, AngError; 658 659 664 public void deleteUserGroup(String groupName) 665 throws RemoteException, AngError; 666 667 671 public void deleteAllUserGroup() 672 throws RemoteException, AngError; 673 674 680 public void deleteUserInGroup(UserGroup g, long userPK) 681 throws RemoteException, AngError; 682 683 688 public Lead getLead(long pk) 689 throws RemoteException, AngError; 690 691 697 public void updateLead(long campaignPK, Lead l) 698 throws RemoteException, AngError; 699 700 707 public ArrayList getCampaigns(java.util.Date lastSyncDate) 708 throws RemoteException, AngError; 709 714 public void loadCampaign(Campaign c) 715 throws RemoteException, AngError; 716 717 721 public void deleteAllCampaign() 722 throws RemoteException, AngError; 723 724 725 731 public ArrayList getCampaignLeads(long campaignPK) 732 throws RemoteException, AngError; 733 734 741 public ArrayList getCampaignLeads(java.util.Date lastSyncDate) 742 throws RemoteException, AngError; 743 744 749 public void deleteCustomerInventory(CustomerInventory ci) 750 throws RemoteException, AngError; 751 752 758 public long addCustomerInventory(CustomerInventory ci) 759 throws RemoteException, AngError; 760 761 767 public ArrayList getCustomerInventory(long custPK) 768 throws RemoteException, AngError; 769 770 771 779 public void uploadDeletes(ArrayList deletes) 780 throws RemoteException, AngError; 781 782 783 790 public ArrayList getGroupMembers(java.util.Date lastSyncDate) 791 throws RemoteException, AngError; 792 793 798 public UserGroupMember getGroupMember(long pk) 799 throws RemoteException, AngError; 800 801 805 public void loadGroupMember(UserGroupMember row) 806 throws RemoteException, AngError; 807 } 808 | Popular Tags |