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
public static class Login.PasswordModifyRequest extends Request<DefaultResponse>
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 Modifier and Type Field Description protected @NotNull @Size(min=1,max=60) java.lang.StringnewPasswordprotected @Size(min=1,max=60) java.lang.StringoldPasswordprotected @NotNull @Size(min=1,max=161) java.lang.StringuserId -
Constructor Summary
Constructors Constructor Description PasswordModifyRequest()PasswordModifyRequest(BroadWorksServer broadWorksServer, java.lang.String userId, java.lang.String newPassword) -
Method Summary
Modifier and Type Method Description voidformRequest()Forms the XML Document for this Request Object.static Login.PasswordModifyRequestgetEmptyObject(BroadWorksServer broadWorksServer)Retrieves this object with minimal setup.java.lang.StringgetNewPassword()java.lang.StringgetOldPassword()java.lang.StringgetUserId()Login.PasswordModifyRequestsetNewPassword(java.lang.String newPassword)Login.PasswordModifyRequestsetOldPassword(java.lang.String oldPassword)Login.PasswordModifyRequestsetUserId(java.lang.String userId)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, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setEcho, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRetries, setRetryCodes, setRootElement, toString, validate
-
Field Details
-
userId
@NotNull @Size(min=1, max=161) protected @NotNull @Size(min=1,max=161) java.lang.String userId -
oldPassword
@Size(min=1, max=60) protected @Size(min=1,max=60) java.lang.String oldPassword -
newPassword
@NotNull @Size(min=1, max=60) protected @NotNull @Size(min=1,max=60) java.lang.String newPassword
-
-
Constructor Details
-
PasswordModifyRequest
public PasswordModifyRequest() -
PasswordModifyRequest
public PasswordModifyRequest(BroadWorksServer broadWorksServer, java.lang.String userId, java.lang.String newPassword)
-
-
Method Details
-
setUserId
-
getUserId
public java.lang.String getUserId() -
setOldPassword
-
getOldPassword
public java.lang.String getOldPassword() -
setNewPassword
-
getNewPassword
public java.lang.String 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:
formRequestin classRequest<DefaultResponse>
-