|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Title: MM2Storage
Description: This class provides an interface for storing an MM
Copyright: Copyright (c) 2003 OpenMMS.org
| Method Summary | |
boolean |
deleteMM(java.lang.String ID)
Interface for deleting an MM from storage |
MM_Data |
fetchMM(java.lang.String ID,
MM_Data mm)
Interface for fetching the MM from storage |
boolean |
storeMM(java.lang.String ID,
MM_Data mm,
java.lang.String expiry,
java.lang.String deliveryTime,
java.lang.String deliveryReportValue,
java.lang.String readReportValue)
An interface for storing an MM |
boolean |
updateMM(java.lang.String ID,
MM_Data mm,
java.lang.String expiry,
java.lang.String deliveryTime,
java.lang.String deliveryReportValue,
java.lang.String readReportValue)
Interface for updating the status of an MM |
| Methods inherited from interface javax.ejb.EJBObject |
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
| Method Detail |
public boolean storeMM(java.lang.String ID,
MM_Data mm,
java.lang.String expiry,
java.lang.String deliveryTime,
java.lang.String deliveryReportValue,
java.lang.String readReportValue)
throws java.rmi.RemoteException,
OpenMMSException
ID - - unique ID for the MMmm - - MM_data object containing the messageexpiry - - the message expiry datedeliveryTime - - the earliest delivery time for the MMdeliveryReportValue - - the value of the permit delivery report YES/NOreadReportValue - - the value of the permit read report YES/NO
java.rmi.RemoteException - - if communication with the server fails at some point
OpenMMSException - - for other types of error
public MM_Data fetchMM(java.lang.String ID,
MM_Data mm)
throws java.rmi.RemoteException,
OpenMMSException
ID - - unique ID for the MMmm - - MM_Data object containing the MM
java.rmi.RemoteException
OpenMMSException
public boolean updateMM(java.lang.String ID,
MM_Data mm,
java.lang.String expiry,
java.lang.String deliveryTime,
java.lang.String deliveryReportValue,
java.lang.String readReportValue)
throws java.rmi.RemoteException,
OpenMMSException
ID - mm - expiry - deliveryTime - deliveryReportValue - readReportValue -
java.rmi.RemoteException
OpenMMSException
public boolean deleteMM(java.lang.String ID)
throws java.rmi.RemoteException,
OpenMMSException
ID -
java.rmi.RemoteException
OpenMMSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||