|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sale.Shop.ProcessHandle
A ProcessContext for one remote or background process.
Field Summary | |
protected Display |
m_d
The display to be used. |
protected DataBasket |
m_db
The DataBasket to be used. |
protected SaleProcess |
m_p
The process for which this is the context. |
protected User |
m_usr
The user to be used as the current user for the process. |
Constructor Summary | |
Shop.ProcessHandle(SaleProcess p,
Display d,
User usr,
DataBasket db)
Create a new ProcessHandle. |
Method Summary | |
boolean |
canShutdown(boolean fContextDestroy)
Check whether the process that is handled by this ProcessHandle can be quitted. |
Catalog |
getCatalog(String sName)
|
User |
getCurrentUser(SaleProcess p)
|
Stock |
getStock(String sName)
|
boolean |
hasUseableDisplay(SaleProcess p)
|
void |
log(SaleProcess p,
Loggable la)
|
void |
popUpFormSheet(SaleProcess p,
FormSheet fs)
|
void |
processFinished(SaleProcess p)
|
void |
processStarted(SaleProcess p)
|
void |
resume()
Resume the process that is handled by this ProcessHandle. |
void |
setFormSheet(SaleProcess p,
FormSheet fs)
|
void |
setMenuSheet(SaleProcess p,
MenuSheet ms)
|
void |
suspend()
Suspend the process that is handled by this ProcessHandle. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected SaleProcess m_p
protected Display m_d
NullDisplay.s_ndGlobal
.protected User m_usr
protected DataBasket m_db
Constructor Detail |
public Shop.ProcessHandle(SaleProcess p, Display d, User usr, DataBasket db)
Method Detail |
public void setFormSheet(SaleProcess p, FormSheet fs) throws InterruptedException
public void popUpFormSheet(SaleProcess p, FormSheet fs) throws InterruptedException
public void setMenuSheet(SaleProcess p, MenuSheet ms)
public boolean hasUseableDisplay(SaleProcess p)
public void log(SaleProcess p, Loggable la) throws IOException
public User getCurrentUser(SaleProcess p)
public Stock getStock(String sName)
public Catalog getCatalog(String sName)
public void processStarted(SaleProcess p)
public void processFinished(SaleProcess p)
public void suspend() throws InterruptedException
public void resume()
public boolean canShutdown(boolean fContextDestroy)
The default implementation simply calls
m_p.canQuit (fContextDestroy);Called by
canShutdown(boolean)
.
|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |