1 package sellwin.server; 2 3 import javax.ejb.*; 4 import java.util.*; 5 import java.rmi.*; 6 7 import sellwin.domain.*; 8 9 13 22 public interface SellwinSession extends EJBObject { 23 24 25 31 public ArrayList getStateTax(java.util.Date lastSyncDate) 32 throws RemoteException, AngError; 33 34 40 public ArrayList getOpportunityIndex(SalesPerson u) 41 throws RemoteException, AngError; 42 43 48 public ArrayList getProductMatrix() 49 throws RemoteException, AngError; 50 51 56 public ArrayList getProductGroups() 57 throws RemoteException, AngError; 58 59 65 public ArrayList getProductLines(String group) 66 throws RemoteException, AngError; 67 68 75 public ArrayList getProductsForLine(String group, String line) 76 throws RemoteException, AngError; 77 78 86 public Product getProduct(String group, String line, String name) 87 throws RemoteException, AngError; 88 89 96 public long addForecast(long opportunityPK, Forecast a) 97 throws RemoteException, AngError; 98 99 105 public void updateForecast(long oppPK, Forecast a) 106 throws RemoteException, AngError; 107 108 114 public void deleteForecast(long opportunityPK, long forecastPK) 115 throws RemoteException, AngError; 116 117 124 public long addOrder(long oppPK, Order o) 125 throws RemoteException, AngError; 126 127 133 public void updateOrder(long oppPK, Order o) 134 throws RemoteException, AngError; 135 136 143 public long addQuote(long oppPK, Quote q) 144 throws RemoteException, AngError; 145 146 152 public void updateQuote(long oppPK, Quote q) 153 throws RemoteException, AngError; 154 155 161 public void deleteQuote(long opportuntityPK, long quotePK) 162 throws RemoteException, AngError; 163 164 172 public long addQuoteLine(long oppPK, long quotePK, QuoteLine a) 173 throws RemoteException, AngError; 174 175 181 public void deleteQuoteLine(long opportuntityPK, long quotePK, long linePK) 182 throws RemoteException, AngError; 183 184 190 public ArrayList getAlarms(long salesPersonPK) 191 throws RemoteException, AngError; 192 193 200 public long addActivity(long opportunityPK, Activity a) 201 throws RemoteException, AngError; 202 203 209 public void updateActivity(long opportunityPK, Activity a) 210 throws RemoteException, AngError; 211 212 218 public void deleteActivity(long opportunityPK, long activityPK) 219 throws RemoteException, AngError; 220 221 222 229 public ArrayList getAllUserRoles(java.util.Date lastSyncDate) 230 throws RemoteException, AngError; 231 232 237 public void addUserRole(UserRole role) 238 throws RemoteException, AngError; 239 240 245 public void deleteUserRole(long pk) 246 throws RemoteException, AngError; 247 248 253 public void updateUserRole(UserRole role) 254 throws RemoteException, AngError; 255 256 262 public UserRole getUserRole(String name) 263 throws RemoteException, AngError; 264 265 272 public Login logon(String id, String psw) 273 throws RemoteException, AngError; 274 275 280 public void deleteCustomer(String name) 281 throws RemoteException, AngError; 282 283 288 public void updateCustomer(Customer c) 289 throws RemoteException, AngError; 290 291 297 public long addCustomer(Customer c) 298 throws RemoteException, AngError; 299 300 306 public Customer getCustomer(String name) 307 throws RemoteException, AngError; 308 309 314 public Object [] getAllCustomerNames() 315 throws RemoteException, AngError; 316 317 324 public ArrayList getCustomers(java.util.Date lastSyncDate) 325 throws RemoteException, AngError; 326 327 332 public void addProduct(Product p) 333 throws RemoteException, AngError; 334 335 341 public ArrayList getProducts(java.util.Date afterDate) 342 throws RemoteException, AngError; 343 344 350 public ArrayList getOpportunityNames(SalesPerson u) 351 throws RemoteException, AngError; 352 353 361 public ArrayList getOpportunities(SalesPerson u, java.util.Date lastSyncDate) 362 throws RemoteException, AngError; 363 364 370 public Opportunity getOpportunity(long pk) 371 throws RemoteException, AngError; 372 373 379 public long addOpportunity(Opportunity o) 380 throws RemoteException, AngError; 381 382 387 public void updateOpportunity(Opportunity o) 388 throws RemoteException, AngError; 389 390 395 public void deleteOpportunity(long pk) 396 throws RemoteException, AngError; 397 398 404 public void deleteContact(long oppPk, long contPk) 405 throws RemoteException, AngError; 406 407 414 public long addContact(long oppPk, Contact c) 415 throws RemoteException, AngError; 416 417 423 public void updateContact(long oppPK, Contact c) 424 throws RemoteException, AngError; 425 426 432 public SalesPerson getSalesPerson(long pk) 433 throws RemoteException, AngError; 434 435 440 public void updateSalesPerson(SalesPerson s) 441 throws RemoteException, AngError; 442 443 448 public void deleteSalesPerson(SalesPerson sp) 449 throws RemoteException, AngError; 450 451 457 public long addSalesPerson(SalesPerson s) 458 throws RemoteException, AngError; 459 460 465 public ArrayList getSalesPersonIDs() 466 throws RemoteException, AngError; 467 468 473 public ArrayList getSalesPersonNames() 474 throws RemoteException, AngError; 475 476 483 public Object [] getSalesPersons(java.util.Date lastSyncDate) 484 throws RemoteException, AngError; 485 486 487 492 public ArrayList getGroupsForUser(long userPK) 493 throws RemoteException, AngError; 494 495 501 public void addUserToGroup(long userPK, UserGroup group) 502 throws RemoteException, AngError; 503 504 505 514 public Object [] getUsersInGroup(String groupName) 515 throws RemoteException, AngError; 516 517 523 public UserGroup getUserGroup(long pk) 524 throws RemoteException, AngError; 525 526 532 public Object [] getUserGroups(java.util.Date lastSyncDate) 533 throws RemoteException, AngError; 534 535 540 public void addUserGroup(UserGroup g) 541 throws RemoteException, AngError; 542 543 548 public void deleteUserGroup(String groupName) 549 throws RemoteException, AngError; 550 551 557 public void deleteUserInGroup(UserGroup g, long userPK) 558 throws RemoteException, AngError; 559 560 566 public void updateLead(long campaignPK, Lead l) 567 throws RemoteException, AngError; 568 569 576 public ArrayList getCampaigns(java.util.Date lastSyncDate) 577 throws RemoteException, AngError; 578 579 585 public ArrayList getCampaignLeads(long campaignPK) 586 throws RemoteException, AngError; 587 588 public ArrayList getCampaignLeads(java.util.Date dt) 589 throws RemoteException, AngError; 590 591 public ArrayList getGroupMembers(java.util.Date dt) 592 throws RemoteException, AngError; 593 598 public void deleteCustomerInventory(CustomerInventory ci) 599 throws RemoteException, AngError; 600 601 607 public long addCustomerInventory(CustomerInventory ci) 608 throws RemoteException, AngError; 609 610 616 public ArrayList getCustomerInventory(long custPK) 617 throws RemoteException, AngError; 618 619 623 public void uploadDeletes(ArrayList deletes) 624 throws RemoteException, AngError; 625 626 } 627 | Popular Tags |