arcade.store.account
Class DeveloperShopAccount

java.lang.Object
  extended by arcade.store.account.UserShopAccount
      extended by arcade.store.account.DeveloperShopAccount

public class DeveloperShopAccount
extends UserShopAccount


Constructor Summary
DeveloperShopAccount(java.lang.String user, java.lang.String id)
           
 
Method Summary
 void certifyMod(java.lang.String modName, GamePage page)
          This method allows the user to
 void getNumberOfDownloads(java.lang.String gameTitle)
          This method returns the number of downloads for a game based on the title name
 int getTotalNumberOfDownloads()
           
 void purchaseGame(GamePage page)
          Tthis method overrides how a game is purchased
 void registerDevelopedGame(GamePage page)
           
 void removeMod(java.lang.String modName, GamePage page)
          Removing an unliked mod
 void transactCredits(java.lang.String creditname, double change)
          This method transact a change on a specific credit name
 void transferInformation(PremiumShopAccount newAccount)
          Overrides all the information from one account to another.
 void uncertifyMod(java.lang.String modName, GamePage page)
          This method allows the developer to uncertify mods
 void uploadGame()
          This method allows the developer to upload game to the library
 
Methods inherited from class arcade.store.account.UserShopAccount
getAccountID, getUserName, resetUserID, resetUserName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeveloperShopAccount

public DeveloperShopAccount(java.lang.String user,
                            java.lang.String id)
Method Detail

purchaseGame

public void purchaseGame(GamePage page)
Description copied from class: UserShopAccount
Tthis method overrides how a game is purchased

Specified by:
purchaseGame in class UserShopAccount

transactCredits

public void transactCredits(java.lang.String creditname,
                            double change)
Description copied from class: UserShopAccount
This method transact a change on a specific credit name

Specified by:
transactCredits in class UserShopAccount

transferInformation

public void transferInformation(PremiumShopAccount newAccount)
Description copied from class: UserShopAccount
Overrides all the information from one account to another. This method copies information about the user's privileges, games, and credits.

Specified by:
transferInformation in class UserShopAccount

registerDevelopedGame

public void registerDevelopedGame(GamePage page)

removeMod

public void removeMod(java.lang.String modName,
                      GamePage page)
Removing an unliked mod

Parameters:
modName -

certifyMod

public void certifyMod(java.lang.String modName,
                       GamePage page)
This method allows the user to

Parameters:
modName -
page -

uncertifyMod

public void uncertifyMod(java.lang.String modName,
                         GamePage page)
This method allows the developer to uncertify mods

Parameters:
modName -
page -

uploadGame

public void uploadGame()
This method allows the developer to upload game to the library


getNumberOfDownloads

public void getNumberOfDownloads(java.lang.String gameTitle)
This method returns the number of downloads for a game based on the title name

Parameters:
gameTitle -

getTotalNumberOfDownloads

public int getTotalNumberOfDownloads()