EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandUpdateXriAuthority

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.command.EppCommand
          extended by com.neulevel.epp.core.command.EppCommandUpdate
              extended by com.neulevel.epp.xri.command.EppCommandUpdateXriAuthority

public class EppCommandUpdateXriAuthority
extends EppCommandUpdate

This EppCommandUpdateXriAuthority class implements EPP Command Update entity for EPP XRI Authority objects.

Version:
$Revision: 1.8 $ $Date: 2008/04/08 15:57:49 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommandUpdate
statusAdded, statusRemoved
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandUpdateXriAuthority(java.lang.String authId)
          Creates an EppCommandUpdateXriAuthority given the identifier of the XRI authority object
EppCommandUpdateXriAuthority(java.lang.String authId, java.lang.String xid)
          Creates an EppCommandUpdateXriAuthority given the identifier of the XRI authority object and a client transaction id
 
Method Summary
 void addEquivID(EppXriSynonym equivID)
          Adds an EquivID to the list of EquivID's to be associated with the XRI authority object
 void addEquivID(java.lang.String id)
          Adds an EquivID to the list of EquivID's to be associated with the XRI authority object
 void addRedirect(EppXriURI redirect)
          Adds a redirect to the list of redirects to be associated with the XRI authority object
 void addRedirect(java.lang.String redirect)
          Adds a redirect to the list of redirects to be associated with the XRI authority object
 void addRef(EppXriRef ref)
          Adds a ref to the list of refs to be associated with the XRI authority object
 void addRef(java.lang.String ref)
          Adds a ref to the list of refs to be associated with the XRI authority object
 void addServiceEndpoint(EppXriServiceEndpoint sep)
          Adds an service endpoint to the list of service endpoints to be associated with the XRI authority object
 void addTrustee(EppXriTrustee trustee)
          Adds a trustee to the list of trustees to be associated with the XRI authority object
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandUpdateAuthority object.
 EppAuthInfo getAuthInfo()
          Gets the authorization info for the update operation
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI authority object to be updated
 java.lang.String getCanonicalEquivID()
          Gets the CanonicalEquivID to be associated with the XRI authority object
 java.lang.String getCanonicalEquivIDRemoved()
           
 java.util.Vector getEquivIDAdded()
          Gets the list of EquivID's to be associated with the XRI authority object
 java.util.Vector getEquivIDRemoved()
          Gets the list of EquivID's to be removed from the XRI authority object
 EppAuthInfo getNewAuthInfo()
           
 java.lang.String getNewAuthorityId()
          Gets the new identifier for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed
 EppXriTrustee getNewContactAgent()
          Gets the new contactAgent for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed
 EppXriTrustee getNewEscrowAgent()
          Gets the new escrowAgent for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed
 java.lang.String getNewExtension()
          Gets the new extension chunk for the XRI authority object, or null if the extension chunk of the XRI authority object is not to be changed
 java.lang.Boolean getNewIsContact()
          Gets the new isContact flag for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed
 java.lang.Boolean getNewIsEscrow()
          Gets the new isEscrow flag for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed
 EppXriSocialData getNewSocialData()
          Gets the new/updated social data associated with the XRI authority object
 java.util.Vector getRedirectAdded()
          Gets the list of redirects to be associated with the XRI authority object
 java.util.Vector getRedirectRemoved()
          Gets the list of redirects to be removed from the XRI authority object
 java.util.Vector getRefAdded()
          Gets the list of refs to be associated with the XRI authority object
 java.util.Vector getRefRemoved()
          Gets the list of refs to be removed from the XRI authority object
 java.util.Vector getServiceEndpointAdded()
          Gets the list of service endpoints to be associated with the XRI authority object
 java.util.Vector getServiceEndpointRemoved()
          Gets the list of identifiers of service endpoints to be removed from the XRI authority object
 EppXriSocialData getSocialData()
          Gets the social data to be associated with the XRI authority object
 java.util.Vector getTrusteeAdded()
          Gets the list of trustees to be associated with the XRI authority object
 java.util.Vector getTrusteeRemoved()
          Gets the list of trustees to be removed from the XRI authority object
 boolean isSocialDataNullified()
           
 void nullifySocialData()
          Sets the flag for nullifying existing social data associated with the XRI authority object
 void removeCanonicalEquivID(java.lang.String remCanonicalEquivID)
          Sets the CanonicalEquivID to be removed from the XRI authority object
 void removeEquivID(java.lang.String id)
          Adds an EquivID to the list of EquivID's to be removed from the XRI authority object
 void removeRedirect(java.lang.String redirect)
          Adds a redirect to the list of redirects to be removed from the XRI authority object
 void removeRef(java.lang.String ref)
          Adds a ref to the list of refs to be removed from the XRI authority object
 void removeServiceEndpoint(java.lang.String id)
          Adds the identifier of an service endpoint to the list of identifiers of service endpoints to be removed from the XRI authority object
 void removeTrustee(EppXriTrustee trustee)
          Adds a trustee to the list of trustees to be removed from the XRI authority object
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the authorization info for the update operation
 void setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI authority object to be updated
 void setCanonicalEquivID(java.lang.String addCanonicalEquivID)
          Sets the CanonicalEquivID to be associated with the XRI authority object
 void setNewAuthInfo(EppAuthInfo authInfo)
          Sets the new authorization information for the XRI authority object if it needs to be changed
 void setNewAuthorityId(java.lang.String newAuthId)
          Sets the new identifier for the XRI authority object if it needs to be changed
 void setNewContactAgent(EppXriTrustee newContactAgent)
          Sets the new contactAgent for the XRI authority object if it needs to be changed
 void setNewEscrowAgent(EppXriTrustee newEscrowAgent)
          Sets the new escrowAgent flag for the XRI authority object if it needs to be changed
 void setNewExtension(java.lang.String newExtension)
          Sets the new extension chunk for the XRI authority object if it needs to be changed
 void setNewIsContact(java.lang.Boolean newIsContact)
          Sets the new isContact flag for the XRI authority object if it needs to be changed
 void setNewIsEscrow(java.lang.Boolean newIsEscrow)
          Sets the new isEscrow flag for the XRI authority object if it needs to be changed
 void setNewSocialData(EppXriSocialData newSocialData)
          Sets the new/updated social data associated with the XRI authority object
 void setSocialData(EppXriSocialData addSocialData)
          Sets the social data to be associated with the XRI authority object
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandUpdateXriAuthority object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandUpdate
addStatus, addStatus, getAddedStatus, getRemovedStatus, removeStatus, removeStatus, statusFromXML, statusToXML, toString
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getCreds, getExtension, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update
 
Methods inherited from class com.neulevel.epp.core.EppEntity
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EppCommandUpdateXriAuthority

public EppCommandUpdateXriAuthority(java.lang.String authId)
Creates an EppCommandUpdateXriAuthority given the identifier of the XRI authority object


EppCommandUpdateXriAuthority

public EppCommandUpdateXriAuthority(java.lang.String authId,
                                    java.lang.String xid)
Creates an EppCommandUpdateXriAuthority given the identifier of the XRI authority object and a client transaction id

Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI authority object to be updated


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI authority object to be updated


getTrusteeAdded

public java.util.Vector getTrusteeAdded()
Gets the list of trustees to be associated with the XRI authority object


addTrustee

public void addTrustee(EppXriTrustee trustee)
Adds a trustee to the list of trustees to be associated with the XRI authority object


getTrusteeRemoved

public java.util.Vector getTrusteeRemoved()
Gets the list of trustees to be removed from the XRI authority object


removeTrustee

public void removeTrustee(EppXriTrustee trustee)
Adds a trustee to the list of trustees to be removed from the XRI authority object


getRefAdded

public java.util.Vector getRefAdded()
Gets the list of refs to be associated with the XRI authority object


addRef

public void addRef(java.lang.String ref)
Adds a ref to the list of refs to be associated with the XRI authority object


addRef

public void addRef(EppXriRef ref)
Adds a ref to the list of refs to be associated with the XRI authority object


getRefRemoved

public java.util.Vector getRefRemoved()
Gets the list of refs to be removed from the XRI authority object


removeRef

public void removeRef(java.lang.String ref)
Adds a ref to the list of refs to be removed from the XRI authority object


getRedirectAdded

public java.util.Vector getRedirectAdded()
Gets the list of redirects to be associated with the XRI authority object


addRedirect

public void addRedirect(java.lang.String redirect)
Adds a redirect to the list of redirects to be associated with the XRI authority object


addRedirect

public void addRedirect(EppXriURI redirect)
Adds a redirect to the list of redirects to be associated with the XRI authority object


getRedirectRemoved

public java.util.Vector getRedirectRemoved()
Gets the list of redirects to be removed from the XRI authority object


removeRedirect

public void removeRedirect(java.lang.String redirect)
Adds a redirect to the list of redirects to be removed from the XRI authority object


getEquivIDAdded

public java.util.Vector getEquivIDAdded()
Gets the list of EquivID's to be associated with the XRI authority object


addEquivID

public void addEquivID(java.lang.String id)
Adds an EquivID to the list of EquivID's to be associated with the XRI authority object


addEquivID

public void addEquivID(EppXriSynonym equivID)
Adds an EquivID to the list of EquivID's to be associated with the XRI authority object


getEquivIDRemoved

public java.util.Vector getEquivIDRemoved()
Gets the list of EquivID's to be removed from the XRI authority object


removeEquivID

public void removeEquivID(java.lang.String id)
Adds an EquivID to the list of EquivID's to be removed from the XRI authority object


getServiceEndpointAdded

public java.util.Vector getServiceEndpointAdded()
Gets the list of service endpoints to be associated with the XRI authority object


addServiceEndpoint

public void addServiceEndpoint(EppXriServiceEndpoint sep)
Adds an service endpoint to the list of service endpoints to be associated with the XRI authority object


getServiceEndpointRemoved

public java.util.Vector getServiceEndpointRemoved()
Gets the list of identifiers of service endpoints to be removed from the XRI authority object


removeServiceEndpoint

public void removeServiceEndpoint(java.lang.String id)
Adds the identifier of an service endpoint to the list of identifiers of service endpoints to be removed from the XRI authority object


getNewAuthorityId

public java.lang.String getNewAuthorityId()
Gets the new identifier for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed


setNewAuthorityId

public void setNewAuthorityId(java.lang.String newAuthId)
Sets the new identifier for the XRI authority object if it needs to be changed


getNewExtension

public java.lang.String getNewExtension()
Gets the new extension chunk for the XRI authority object, or null if the extension chunk of the XRI authority object is not to be changed


setNewExtension

public void setNewExtension(java.lang.String newExtension)
Sets the new extension chunk for the XRI authority object if it needs to be changed


getNewIsEscrow

public java.lang.Boolean getNewIsEscrow()
Gets the new isEscrow flag for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed


setNewIsEscrow

public void setNewIsEscrow(java.lang.Boolean newIsEscrow)
Sets the new isEscrow flag for the XRI authority object if it needs to be changed


getNewIsContact

public java.lang.Boolean getNewIsContact()
Gets the new isContact flag for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed


setNewIsContact

public void setNewIsContact(java.lang.Boolean newIsContact)
Sets the new isContact flag for the XRI authority object if it needs to be changed


getNewEscrowAgent

public EppXriTrustee getNewEscrowAgent()
Gets the new escrowAgent for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed


setNewEscrowAgent

public void setNewEscrowAgent(EppXriTrustee newEscrowAgent)
Sets the new escrowAgent flag for the XRI authority object if it needs to be changed


getNewContactAgent

public EppXriTrustee getNewContactAgent()
Gets the new contactAgent for the XRI authority object, or null if the identifier of the XRI authority object is not to be changed


setNewContactAgent

public void setNewContactAgent(EppXriTrustee newContactAgent)
Sets the new contactAgent for the XRI authority object if it needs to be changed


getNewSocialData

public EppXriSocialData getNewSocialData()
Gets the new/updated social data associated with the XRI authority object


setNewSocialData

public void setNewSocialData(EppXriSocialData newSocialData)
Sets the new/updated social data associated with the XRI authority object


getSocialData

public EppXriSocialData getSocialData()
Gets the social data to be associated with the XRI authority object


setSocialData

public void setSocialData(EppXriSocialData addSocialData)
Sets the social data to be associated with the XRI authority object


isSocialDataNullified

public boolean isSocialDataNullified()

nullifySocialData

public void nullifySocialData()
Sets the flag for nullifying existing social data associated with the XRI authority object


getCanonicalEquivID

public java.lang.String getCanonicalEquivID()
Gets the CanonicalEquivID to be associated with the XRI authority object


setCanonicalEquivID

public void setCanonicalEquivID(java.lang.String addCanonicalEquivID)
Sets the CanonicalEquivID to be associated with the XRI authority object


getCanonicalEquivIDRemoved

public java.lang.String getCanonicalEquivIDRemoved()

removeCanonicalEquivID

public void removeCanonicalEquivID(java.lang.String remCanonicalEquivID)
Sets the CanonicalEquivID to be removed from the XRI authority object


getNewAuthInfo

public EppAuthInfo getNewAuthInfo()

setNewAuthInfo

public void setNewAuthInfo(EppAuthInfo authInfo)
Sets the new authorization information for the XRI authority object if it needs to be changed


getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the authorization info for the update operation


setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the update operation


toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppCommandUpdateXriAuthority object into an XML element

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppCommandUpdateXriAuthority object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandUpdateAuthority object. The caller of this method must make sure that the root node is of an EPP Command Update entity for an EPP XRI Authority object.

Parameters:
root - root node for an EppCommandUpdateAuthority object in XML format
Returns:
an EppCommandUpdateAuthority object, or null if the node is invalid

EPP 0.4.9

Copyright © 2001-2006 NeuStar, Inc. All Rights Reserved.