Open SiteSearch 4.1.1
Final

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
 
Fields inherited from class ORG.oclc.webz.Verb
user, widgets
 
Constructor Summary
MDELETE()
          Constructs an MDELETE object.
MDELETE(RequestManager r)
          Constructs a MDELETE object for the input RequestManager object.
 
Method Summary
protected  DataPairs delete(MantisUtil mu, EditSessionInfo esi)
          Delete the record from the database.
 void runit(RequestManager rMngr)
          Executes the MDELETE Verb using the input parameters contained in the RequestManager object.
 void runit(RequestManager rMngr, String URLCmd)
          Executes the MDELETE Verb using the input parameters contained in the RequestManager object and the URLCmd String.
 
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
 
Methods inherited from class ORG.oclc.webz.Verb
setUpPage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MDELETE

public MDELETE()
Constructs an MDELETE object.

MDELETE

public MDELETE(RequestManager r)
Constructs a MDELETE object for the input RequestManager object.
Method Detail

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.

Open SiteSearch 4.1.1
Final