Uses of Class
celeboss.data.Celebrity

Packages that use Celebrity
celeboss

Provides the top level shared classes for the CelebOSS system. 

celeboss.data

This package provides all the required classes of the data model. 

celeboss.HTMLload

This packages provides a set of data sources that use HTML data to load the entities of the model. 

celeboss.ui

This package provides all the UI tool classes. 

 

Uses of Celebrity in celeboss
 

Methods in celeboss with parameters of type Celebrity
 java.lang.String CelebDataSource.buyShares(Celebrity celebrity, int number)
          Buy shares in a Celebrity.
 java.lang.String CelebDataSource.sellShares(Celebrity celebrity, int number)
          Sell shares in a Celebrity.
 void CelebDataSource.updateCelebrity(Celebrity celeb)
          This method updates the specific Celebrity with data from the managed source.
 

Uses of Celebrity in celeboss.data
 

Methods in celeboss.data that return Celebrity
 Celebrity ShareBlock.getCelebrity()
          Get the celebrity of this block.
 Celebrity CelebrityManager.getCelebrity(int issue)
          Factory method to either create or find an existing Celebrity instance based on the issue number.
 

Methods in celeboss.data with parameters of type Celebrity
 java.lang.String Portfolio.buyShares(Celebrity celebrity, int number, OrderNotifier notify)
          This will issue a buy order for the specified celebrity.
 java.lang.String Portfolio.sellShares(Celebrity celebrity, int number, OrderNotifier notify)
          This will issue a sell order for the specified celebrity.
 void OrderNotifier.buyComplete(Celebrity target, int number, java.lang.String errorMsg)
          This method is invoked when a buy order is finished.
 void OrderNotifier.sellComplete(Celebrity target, int number, java.lang.String errorMsg)
          This method is invoked when a sell order is finished.
 

Constructors in celeboss.data with parameters of type Celebrity
ShareBlock(ShareOwner parent, Celebrity celeb)
           
PurchasedShares(Portfolio parent, Celebrity celeb, int number, java.lang.Float origPrice)
          Create a new block of shares in a specific celebrity
 

Uses of Celebrity in celeboss.HTMLload
 

Methods in celeboss.HTMLload with parameters of type Celebrity
 java.lang.String WebDataSource.buyShares(Celebrity celebrity, int number)
          Buy shares in a Celebrity.
 java.lang.String WebDataSource.sellShares(Celebrity celebrity, int number)
          Sell shares in a Celebrity.
 void HTMLDataSource.updateCelebrity(Celebrity celeb)
          This method updates the specified Celebrity details with the associated data source.
 java.util.Collection CelebParser.parseDetails(Portfolio owner, Celebrity target)
          This method parses the incoming InputStream that is a HTML data containing Celebrity details.
 

Uses of Celebrity in celeboss.ui
 

Methods in celeboss.ui that return Celebrity
 Celebrity TradeDialog.getCelebrity()
          Get the celebrity selected from the list
 

Methods in celeboss.ui with parameters of type Celebrity
 void PortfolioWindow.buyComplete(Celebrity target, int number, java.lang.String errorMsg)
          Buy has finished.
 void PortfolioWindow.sellComplete(Celebrity target, int number, java.lang.String errorMsg)
          Sell has finished.
static void CelebWindow.showCelebrity(Celebrity target)
          Show a celebrity window for the specified celeb
 void CelebritiesWindow.showCelebrity(Celebrity celeb)
          Show the position of the specified celebrity in the table
 

Constructors in celeboss.ui with parameters of type Celebrity
TradeDialog(CelebrityManager source, Celebrity sell, int maxNumber)
          Create a dialog that is used to Sell shares.