Interface PSponsorGroupBean

All Superinterfaces:
Remote
All Known Implementing Classes:
PSponsorGroupBeanImpl

public interface PSponsorGroupBean extends Remote
Generic interface for handling sponsorship within customer center.
Version:
%version: 8 % %date_modified: Thu Oct 18 15:24:42 2001 %
  • Field Details

    • INITIAL

      static final int INITIAL
      Inital state for sponsorship flag.
      See Also:
    • ALL_RATES

      static final int ALL_RATES
      Indicates that all sponsored rate plans are used for the product.
      See Also:
    • GUARANTEE

      static final int GUARANTEE
      Indicates that the sponsored rate plan is guaranteed.
      See Also:
    • FOLDS

      static final int FOLDS
      Indicates that the sponsored rate plans is a fold.
      See Also:
  • Method Details

    • getGroups

      PModelHandle getGroups(PModelHandle account) throws RemoteException
      Returns PModelHandle which represents an array of sponsor groups which is owned by the given account.
      Parameters:
      account - the sponsor group owner account
      Returns:
      sponsor group data
      Throws:
      RemoteException
    • getGroupPlans

      PModelHandle[] getGroupPlans(PModelHandle groups, int index) throws RemoteException
      Returns the rate plans associated with the sponsor group for the given index.
      Parameters:
      groups - the sponsor groups
      index - of selected group
      Returns:
      sponsor group rate plans
      Throws:
      RemoteException
    • getMembers

      ArrayList getMembers(PModelHandle groups, int index) throws RemoteException
      Returns the members associated with the sponsor group for the given index.
      Parameters:
      groups - the sponsor groups
      index - of selected group
      Returns:
      sponsor group members
      Throws:
      RemoteException
    • getRatePlans

      PModelHandle getRatePlans(PModelHandle account, String product) throws RemoteException
      Returns the rate plans for the given product.
      Parameters:
      account - the current account
      product - the name of the product
      Returns:
      the list of rate plans
      Throws:
      RemoteException
    • getProducts

      String[] getProducts(PModelHandle account, PScopeEntryPoint brandInfo, boolean force) throws RemoteException
      Get the list of products using the database information in the given account. A static cache is used to store the products.
      Parameters:
      account - the current account
      brandInfo - the current brand or null if branding is disabled
      force - if true, redo a lookup of the product list from the db
      Returns:
      an array of product names
      Throws:
      RemoteException
    • createGroup

      void createGroup(PModelHandle account, String name) throws RemoteException
      Create a sponsor group for the given account using the given name.
      Parameters:
      account - the current account
      name - the name for the group
      Throws:
      RemoteException
    • deleteGroup

      void deleteGroup(PModelHandle groups, int index) throws RemoteException
      Delete the sponsor group from the given account.
      Parameters:
      groups - the list of sponsor groups
      index - the group to delete
      Throws:
      RemoteException
    • modifyGroup

      PModelHandle modifyGroup(PModelHandle groups, int index, Vector data) throws RemoteException
      Update the sponsor group with the new product/rate plan information.
      Parameters:
      groups - the list of sponsor groups
      index - the group to modify
      the - modified group data (products and rate plans)
      Returns:
      the modifed group
      Throws:
      RemoteException
    • addMembers

      void addMembers(PModelHandle groups, int index, Vector data) throws RemoteException
      Add the given list of members to the sponsor group.
      Parameters:
      groups - the list of sponsor groups
      index - the group to modify
      the - list of members to add
      Throws:
      RemoteException
    • deleteMembers

      void deleteMembers(PModelHandle groups, int index, Vector data) throws RemoteException
      Remove the given list of members from the sponsor group.
      Parameters:
      groups - the list of sponsor groups
      index - the group to modify
      data - the list of members to delete
      Throws:
      RemoteException
    • clearGroupCache

      void clearGroupCache()
      Clear out all information stored in the cache for the sponsor groups.