Package com.verisign.epp.interfaces
Class EPPChange
java.lang.Object
com.verisign.epp.interfaces.EPPChange
EPPChange is the primary client interface class used for
Change management. An instance of EPPChange is created with an
initialized EPPSession, and can be used for more than one
request within a single thread. A setter method is provided to set the
extensions before a call to one of the send action methods. The responses
returned from the send action methods are either instances of
EPPResponse or instances of response classes in the
com.verisign.epp.codec.change package. - See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEPPChange(EPPSession newSession) Constructs anEPPChangegiven an initialized EPP session. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtension(EPPCodecComponent aExtension) Adds a command extension object.Gets the command extensions.Get theEPPResponseassociated with the last command.Retrieve theEPPSessionassociated with this EPPChange.sendCreate(String requestId, String category, String description) sendCreate(String requestId, String priority, String category, String description) sendDelete(String requestId) sendDelete(String clTrid, String requestId) sendUpdateAttrs(String requestId, String priority, String category, String description) sendUpdateAttrs(String clTrid, String requestId, String priority, String category, String description) sendUpdateClear(String requestId) sendUpdateClear(String clTrid, String requestId) sendUpdateSubmit(String requestId) sendUpdateSubmit(String clTrid, String requestId) sendUpdateWithdraw(String requestId) sendUpdateWithdraw(String clTrid, String requestId) voidsetExtensions(Vector aExtensions) voidsetLastCommand(EPPCommand command) voidsetSession(EPPSession aSession)
-
Constructor Details
-
EPPChange
Constructs anEPPChangegiven an initialized EPP session.- Parameters:
newSession- Server session to use.
-
-
Method Details
-
addExtension
Adds a command extension object.- Parameters:
aExtension- command extension object associated with the command
-
getExtensions
Gets the command extensions.- Returns:
Vectorof concreteEPPCodecComponentassociated with the command if exists;nullotherwise.
-
getLastCommand
-
getResponse
Get theEPPResponseassociated with the last command. This method can be used to retrieve the server error response in the catch block of EPPCommandException.- Returns:
EPPResponseassociated with the last command
-
getSession
Retrieve theEPPSessionassociated with this EPPChange.- Returns:
EPPSession
-
sendCheck
- Throws:
EPPCommandException
-
sendCheck
- Throws:
EPPCommandException
-
sendCreate
public EPPResponse sendCreate(String requestId, String priority, String category, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendCreate
public EPPResponse sendCreate(String requestId, String category, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendCreate
public EPPResponse sendCreate(String clTrid, String requestId, String priority, String category, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendCreate
public EPPResponse sendCreate(String clTrid, String requestId, String priority, List categories, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendDelete
- Throws:
EPPCommandException
-
sendDelete
- Throws:
EPPCommandException
-
sendInfo
- Throws:
EPPCommandException
-
sendInfo
- Throws:
EPPCommandException
-
sendUpdateAttrs
public EPPChangeUpdateResp sendUpdateAttrs(String requestId, String priority, String category, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendUpdateAttrs
public EPPChangeUpdateResp sendUpdateAttrs(String clTrid, String requestId, String priority, String category, String description) throws EPPCommandException - Throws:
EPPCommandException
-
sendUpdateClear
- Throws:
EPPCommandException
-
sendUpdateClear
public EPPChangeUpdateResp sendUpdateClear(String clTrid, String requestId) throws EPPCommandException - Throws:
EPPCommandException
-
sendUpdateSubmit
- Throws:
EPPCommandException
-
sendUpdateSubmit
public EPPChangeUpdateResp sendUpdateSubmit(String clTrid, String requestId) throws EPPCommandException - Throws:
EPPCommandException
-
sendUpdateWithdraw
- Throws:
EPPCommandException
-
sendUpdateWithdraw
public EPPChangeUpdateResp sendUpdateWithdraw(String clTrid, String requestId) throws EPPCommandException - Throws:
EPPCommandException
-
setExtensions
-
setLastCommand
-
setSession
-