ORG.oclc.mantis.verbs
Class  MDELETE
java.lang.Object
  |
  +--ORG.oclc.webz.Verb
        |
        +--ORG.oclc.mantis.verbs.MVerb
              |
              +--ORG.oclc.mantis.verbs.MDELETE
- public class MDELETE- extends MVerb
The MDELETE class is a specialized Verb in Record Builder
 whose primary function is to delete a record from a database. 
 
 MDELETE uses input parameters contained in the RequestManager object.
- See Also: 
- DataPairs,- RequestManager
| Fields inherited from class ORG.oclc.mantis.verbs.MVerb | 
| accessClient,  
action,  
actionNode,  
app_page,  
autho,  
dirtyTemplate,  
DISPLAYCMD,  
EDITCMD,  
editsessionid,  
editTimeout,  
esi_user,  
lockServerHost,  
lockServerPort,  
NOLOCKBACKUP,  
NOLOCKUPDATE,  
rMngr,  
style,  
SUCCESS,  
templateName,  
VIEWCMD | 
 
 
| Constructor Summary | 
| MDELETE()Constructs an MDELETE object.
 | 
| MDELETE(RequestManager r)Constructs a MDELETE object for the input RequestManager object.
 | 
 
 
| Methods inherited from class ORG.oclc.mantis.verbs.MVerb | 
| authWarnMsg, 
doInit, 
getLock, 
getModule, 
getModule, 
getModule, 
initMUser, 
makeBody, 
noLockWarnMsg, 
releaseLock, 
setButton, 
setButton, 
setupEditSession, 
stdClose, 
stdSetup, 
toString, 
unSetButton | 
 
 
 
MDELETE
public MDELETE()
- Constructs an MDELETE object.
MDELETE
public MDELETE(RequestManager r)
- Constructs a MDELETE object for the input RequestManager object.
runit
public void runit(RequestManager rMngr)
- Executes the MDELETE Verb using the input parameters contained
 in the RequestManager object.- 
- Parameters:
- rMngr- the RequestManager object
- Overrides:
- runit in class MVerb
 
runit
public void runit(RequestManager rMngr,
                  String URLCmd)
- Executes the MDELETE Verb using the input parameters contained
 in the RequestManager object and the URLCmd String.- 
- Parameters:
- rMngr- the RequestManager object
- URLCmd- the command string with the widgets delimited by ":". 
 For example, 
  QUERY:next=results.html:query=dog:numrecs=10:format=B
 
delete
protected DataPairs delete(MantisUtil mu,
                           EditSessionInfo esi)
- Delete the record from the database.- 
- Parameters:
- mu- - the MantisUtil object that contains the editSessonInfo
 for the record that is to be deleted.
- Returns:
- DataPairs object that contains the return code of the operation
 and informative message if a the delete was not possible.