Package co.ecg.alpaca.toolkit.generated
Class Login.PasswordModifyRequest
java.lang.Object
co.ecg.alpaca.toolkit.messaging.request.Request<DefaultResponse>
co.ecg.alpaca.toolkit.generated.Login.PasswordModifyRequest
- Enclosing class:
- Login
Modify the password for a user/administrator. When oldPassword is specified, password rule applies. If oldPassword in not specified, any password rule related to old password does not apply. The response is either a SuccessResponse or an ErrorResponse.
- Author:
- AlpacaGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
Request.Protocol
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPasswordModifyRequest
(BroadWorksServer broadWorksServer, String userId, String newPassword) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Forms the XML Document for this Request Object.static Login.PasswordModifyRequest
getEmptyObject
(BroadWorksServer broadWorksServer) Retrieves this object with minimal setup.setNewPassword
(String newPassword) setOldPassword
(String oldPassword) Methods inherited from class co.ecg.alpaca.toolkit.messaging.request.Request
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createNilElement, createTextElement, equals, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRetries, getRetryCodes, getRootElement, getValidationErrorsAsString, hashCode, isIgnoreCache, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setIgnoreCache, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
userId
-
oldPassword
-
newPassword
-
-
Constructor Details
-
PasswordModifyRequest
public PasswordModifyRequest() -
PasswordModifyRequest
-
-
Method Details
-
setUserId
-
getUserId
-
setOldPassword
-
getOldPassword
-
setNewPassword
-
getNewPassword
-
getEmptyObject
Retrieves this object with minimal setup.- Parameters:
broadWorksServer
- The BroadWorksServer
-
formRequest
public void formRequest()Forms the XML Document for this Request Object. Called by the Request upon fire().- Overrides:
formRequest
in classRequest<DefaultResponse>
-