cz.luboss.pensum.factory
Interface PensumRMI

All Superinterfaces:
MedullaRMI, java.rmi.Remote
All Known Implementing Classes:
PeDataMachineRMI, PeServerRMI

public interface PensumRMI
extends MedullaRMI

RMI interface pro business funkce Pensum


Method Summary
 boolean AddProduct(int nSessionID, PeJob job, PeProduct product)
          Prida vyrobek do jobu
 boolean SetStavOper(int nSessionID, PeRunOperation operation, int nStav)
          Nastavi na operaci stav
 boolean SetStavPart(int nSessionID, PeRunPart part, int nStav)
          Nastavi na dilci a jeho operacich stav
 boolean SetStavProduct(int nSessionID, PeRunProduct product, int nStav)
          Nastavi na produktu a jeho dilcich stav
 
Methods inherited from interface cz.luboss.medulla.factory.MedullaRMI
AddSequenceID, GetActualSessions, IsValidSession, LoadArrayRMI, LoadDataRMI, LoadSession, SaveTrans, sendTest
 

Method Detail

AddProduct

public boolean AddProduct(int nSessionID,
                          PeJob job,
                          PeProduct product)
                   throws java.rmi.RemoteException
Prida vyrobek do jobu

Parameters:
nSessionID - Session
job - job, do ktereho je treba dat cely vyrobek
product - vkladany vyrobek
Returns:
prubeh funkce
Throws:
java.rmi.RemoteException

SetStavProduct

public boolean SetStavProduct(int nSessionID,
                              PeRunProduct product,
                              int nStav)
                       throws java.rmi.RemoteException
Nastavi na produktu a jeho dilcich stav

Parameters:
nSessionID - Session
product - vyrobek
nStav - stav pro nastaveni
Returns:
prubeh funkce
Throws:
java.rmi.RemoteException

SetStavPart

public boolean SetStavPart(int nSessionID,
                           PeRunPart part,
                           int nStav)
                    throws java.rmi.RemoteException
Nastavi na dilci a jeho operacich stav

Parameters:
nSessionID - Session
part - dilec
nStav - stav pro nastaveni
Returns:
prubeh funkce
Throws:
java.rmi.RemoteException

SetStavOper

public boolean SetStavOper(int nSessionID,
                           PeRunOperation operation,
                           int nStav)
                    throws java.rmi.RemoteException
Nastavi na operaci stav

Parameters:
nSessionID - Session
operation - operace
nStav - stav pro nastaveni
Returns:
prubeh funkce
Throws:
java.rmi.RemoteException