Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class NextGenServerImpl

java.lang.Object
    |
    +----java.rmi.server.RemoteObject
            |
            +----java.rmi.server.RemoteServer
                    |
                    +----java.rmi.server.UnicastRemoteObject
                            |
                            +----NextGenServerImpl

public class NextGenServerImpl
extends java.rmi.server.UnicastRemoteObject
implements NextGenServer, java.io.Serializable

Field Summary
java.util.Date  date
 
java.lang.String  transdate
 
java.lang.String  transtime
 
java.lang.String  uid
 
 
Fields inherited from class java.rmi.server.RemoteObject
 ref
 

Constructor Summary
 NextGenServerImpl()
 
 

Method Summary
boolean  alive()
 
boolean  CDPurchase(Client c, PurchaseInfo p, CreditCard cd)
 
void  CDUnPurchase(Client c, PurchaseInfo p, CreditCard cd)
 
void  deleteuser(java.lang.String username)
 
void  deq(int c)
 
int  enq(QueueObj c)
 
void  getCreditCard(Client c, java.lang.String uid)
 
java.lang.String  getname()
 
void  havebackup()
 
boolean  Purchase(Client c, PurchaseInfo p, CreditCard cd)
 
boolean  register(Client c, Customer cu)
 
void  restoreinfo(java.lang.String uid)
 
void  SearchByAuthor(Client c, Name author)
 
void  SearchByISBN(Client c, java.lang.String isbn)
 
void  SearchBySinger(Client c, java.lang.String name)
 
void  SearchByTitle(Client c, java.lang.String title)
 
void  SearchByType(Client c, java.lang.String type)
 
void  SearchCDByTitle(Client c, java.lang.String title)
 
void  SearchCDByType(Client c, java.lang.String type)
 
void  selectDB(int storeType)
 
void  UnPurchase(Client c, PurchaseInfo p, CreditCard cd)
 
void  Update(Client c, java.lang.String uid)
 
boolean  updateinfo(Client c, Customer cu)
 
void  userlogin(Client c, java.lang.String id, java.lang.String password)
 
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
 clone, exportObject, exportObject, exportObject
 
Methods inherited from class java.rmi.server.RemoteServer
 getClientHost, getLog, setLog, unexportObject
 
Methods inherited from class java.rmi.server.RemoteObject
 equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uid

public java.lang.String uid

date

public java.util.Date date

transdate

public java.lang.String transdate

transtime

public java.lang.String transtime
Constructor Detail

NextGenServerImpl

public NextGenServerImpl() throws java.rmi.RemoteException
Method Detail

selectDB

public void selectDB(int storeType) throws java.rmi.RemoteException
Implements:
selectDB in interface NextGenServer

userlogin

public void userlogin(Client c,
                      java.lang.String id,
                      java.lang.String password) throws java.rmi.RemoteException
Implements:
userlogin in interface NextGenServer

register

public boolean register(Client c,
                        Customer cu) throws java.rmi.RemoteException
Implements:
register in interface NextGenServer

updateinfo

public boolean updateinfo(Client c,
                          Customer cu) throws java.rmi.RemoteException
Implements:
updateinfo in interface NextGenServer

restoreinfo

public void restoreinfo(java.lang.String uid) throws java.rmi.RemoteException
Implements:
restoreinfo in interface NextGenServer

deleteuser

public void deleteuser(java.lang.String username) throws java.rmi.RemoteException
Implements:
deleteuser in interface NextGenServer

getname

public java.lang.String getname() throws java.rmi.RemoteException
Implements:
getname in interface NextGenServer

alive

public boolean alive() throws java.rmi.RemoteException
Implements:
alive in interface NextGenServer

havebackup

public void havebackup() throws java.rmi.RemoteException
Implements:
havebackup in interface NextGenServer

enq

public int enq(QueueObj c) throws java.rmi.RemoteException
Implements:
enq in interface NextGenServer

deq

public void deq(int c) throws java.rmi.RemoteException
Implements:
deq in interface NextGenServer

SearchByTitle

public void SearchByTitle(Client c,
                          java.lang.String title) throws java.rmi.RemoteException
Implements:
SearchByTitle in interface NextGenServer

SearchCDByTitle

public void SearchCDByTitle(Client c,
                            java.lang.String title) throws java.rmi.RemoteException
Implements:
SearchCDByTitle in interface NextGenServer

SearchByAuthor

public void SearchByAuthor(Client c,
                           Name author) throws java.rmi.RemoteException
Implements:
SearchByAuthor in interface NextGenServer

SearchBySinger

public void SearchBySinger(Client c,
                           java.lang.String name) throws java.rmi.RemoteException
Implements:
SearchBySinger in interface NextGenServer

SearchByISBN

public void SearchByISBN(Client c,
                         java.lang.String isbn) throws java.rmi.RemoteException
Implements:
SearchByISBN in interface NextGenServer

SearchByType

public void SearchByType(Client c,
                         java.lang.String type) throws java.rmi.RemoteException
Implements:
SearchByType in interface NextGenServer

SearchCDByType

public void SearchCDByType(Client c,
                           java.lang.String type) throws java.rmi.RemoteException
Implements:
SearchCDByType in interface NextGenServer

Purchase

public boolean Purchase(Client c,
                        PurchaseInfo p,
                        CreditCard cd) throws java.rmi.RemoteException
Implements:
Purchase in interface NextGenServer

CDPurchase

public boolean CDPurchase(Client c,
                          PurchaseInfo p,
                          CreditCard cd) throws java.rmi.RemoteException
Implements:
CDPurchase in interface NextGenServer

UnPurchase

public void UnPurchase(Client c,
                       PurchaseInfo p,
                       CreditCard cd) throws java.rmi.RemoteException
Implements:
UnPurchase in interface NextGenServer

CDUnPurchase

public void CDUnPurchase(Client c,
                         PurchaseInfo p,
                         CreditCard cd) throws java.rmi.RemoteException
Implements:
CDUnPurchase in interface NextGenServer

Update

public void Update(Client c,
                   java.lang.String uid) throws java.rmi.RemoteException
Implements:
Update in interface NextGenServer

getCreditCard

public void getCreditCard(Client c,
                          java.lang.String uid) throws java.rmi.RemoteException
Implements:
getCreditCard in interface NextGenServer

Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS