Class OrgHandler

java.lang.Object
com.verisign.epp.framework.EPPOrgHandler
com.verisign.epp.serverstub.OrgHandler
All Implemented Interfaces:
EPPEventHandler

public class OrgHandler extends EPPOrgHandler
The OrgHandler class extends EPPOrgHandler to include handling the Org Mapping commands.
  • Constructor Details

    • OrgHandler

      public OrgHandler()
      Constructs an instance of IdnMapDomainHandler
  • Method Details

    • preHandleEvent

      protected void preHandleEvent(EPPEvent aEvent, Object aData) throws EPPHandleEventException
      Do any pre-handling of commands.
      Overrides:
      preHandleEvent in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler This is assumed to be an instance of SessionData here.
      Throws:
      EPPHandleEventException - Thrown if an error condition occurs. It must contain an EPPEventResponse
    • doOrgCheck

      protected EPPEventResponse doOrgCheck(EPPEvent aEvent, Object aData)
      Override base handler doOrgCheck method and add handling of the Org Check Command.
      Specified by:
      doOrgCheck in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doOrgInfo

      protected EPPEventResponse doOrgInfo(EPPEvent aEvent, Object aData)
      Override base handler doOrgInfo method and add handling of the Org Info Command.
      Specified by:
      doOrgInfo in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doOrgCreate

      protected EPPEventResponse doOrgCreate(EPPEvent aEvent, Object aData)
      Override base handler doOrgCreate method and add handling of the Org Create Command.
      Specified by:
      doOrgCreate in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doOrgDelete

      protected EPPEventResponse doOrgDelete(EPPEvent aEvent, Object aData)
      Override base handler doOrgDelete method and add handling of the Org Delete Command.
      Specified by:
      doOrgDelete in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.
    • doOrgUpdate

      protected EPPEventResponse doOrgUpdate(EPPEvent aEvent, Object aData)
      Override base handler doOrgUpdate method and add handling of the Org Update Command.
      Specified by:
      doOrgUpdate in class EPPOrgHandler
      Parameters:
      aEvent - The EPPEvent that is being handled
      aData - Any data that a Server needs to send to this OrgHandler
      Returns:
      EPPEventResponse The response that should be sent back to the client.