Package com.verisign.epp.rootzone.util
Class RootZoneManager
java.lang.Object
com.verisign.epp.rootzone.util.RootZoneManager
Emulates the Root Zone Management System. Stores a mapping between RequestId
and Change Request object. Sequential Create, Update, and Info commands
should yield realistic results.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddChangeAction(EPPChangeRequest request, EPPChangeAction action) Adds the ChangeAction object to the specified ChangeRequeststatic booleanaddChangeAction(String requestId, EPPChangeAction action) Adds the ChangeAction object to the specified ChangeRequeststatic booleanaddChangeRequest(EPPChangeRequest request) Adds the ChangeRequest object to the RootZoneManagerstatic EPPChangeCheckDatacheckChangeRequest(String requestId) Check the ChangeRequest object with the specified Change RequestIdstatic booleanclearChangeRequest(String requestId) Clear the ChangeRequest object with the specified Change RequestIdstatic booleandeleteChangeRequest(String requestId) Delete the ChangeRequest object with the specified Change RequestIdstatic EPPChangeRequestfindChangeRequest(String requestId) Retrieve the ChangeRequest object to the specified Change RequestIdstatic booleansubmitChangeRequest(String requestId) Submit the ChangeRequest object with the specified Change RequestIdstatic booleanupdateChangeRequest(String requestId, EPPChangeUpdateAttributes attrs) Update the ChangeRequest object with the specified Change RequestIdstatic booleanwithdrawChangeRequest(String requestId) Withdraw the ChangeRequest object with the specified Change RequestId
-
Constructor Details
-
RootZoneManager
public RootZoneManager()
-
-
Method Details
-
addChangeRequest
Adds the ChangeRequest object to the RootZoneManager- Parameters:
request- ChangeRequest object to add- Returns:
trueif and only if the record was inserted correctly.falseif the record already exists
-
addChangeAction
Adds the ChangeAction object to the specified ChangeRequest- Parameters:
request- EPPChangeRequest on which to appendaction- ChangeAction object to add- Returns:
trueif and only if the record was insertedfalseif the ChangeRequest does not exist
-
addChangeAction
Adds the ChangeAction object to the specified ChangeRequest- Parameters:
requestId- ChangeRequestId on which to appendaction- ChangeAction object to add- Returns:
trueif and only if the record was insertedfalseif the ChangeRequest does not exist
-
findChangeRequest
Retrieve the ChangeRequest object to the specified Change RequestId- Parameters:
requestId- Change RequestId to retrieve- Returns:
EPPChangeRequestobject
-
updateChangeRequest
Update the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to updateattrs- Change request attributes- Returns:
trueif and only if the record was updatedfalseif the ChangeRequest does not exist
-
clearChangeRequest
Clear the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to clear- Returns:
trueif and only if the record was updatedfalseif the ChangeRequest does not exist
-
submitChangeRequest
Submit the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to submit- Returns:
trueif and only if the record was updatedfalseif the ChangeRequest does not exist
-
withdrawChangeRequest
Withdraw the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to withdraw- Returns:
trueif and only if the record was updatedfalseif the ChangeRequest does not exist
-
deleteChangeRequest
Delete the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to delete- Returns:
trueif and only if the record was deletefalseif the ChangeRequest does not exist
-
checkChangeRequest
Check the ChangeRequest object with the specified Change RequestId- Parameters:
requestId- Change RequestId to check- Returns:
trueif and only if the record existsfalseif the ChangeRequest does not exist
-