@GwtIncompatible public static class Group.GroupDepartmentModifyRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected com.google.common.base.Optional<String> |
callingLineIdName |
protected com.google.common.base.Optional<String> |
callingLineIdPhoneNumber |
protected String |
departmentName |
protected Group |
group |
protected String |
newDepartmentName |
protected com.google.common.base.Optional<DepartmentKey> |
newParentDepartmentKey |
Constructor and Description |
---|
GroupDepartmentModifyRequest(Group group,
String departmentName) |
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getResponseClass, getRootElement, getValidationErrorsAsString, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setResponseClass, setRootElement, toString, validate
@NotNull protected transient Group group
@NotNull @Size(min=1, max=50) protected String departmentName
@Size(min=1, max=50) protected String newDepartmentName
protected com.google.common.base.Optional<DepartmentKey> newParentDepartmentKey
protected com.google.common.base.Optional<String> callingLineIdName
protected com.google.common.base.Optional<String> callingLineIdPhoneNumber
public Group.GroupDepartmentModifyRequest setGroup(Group group)
public Group getGroup()
public Group.GroupDepartmentModifyRequest setDepartmentName(String departmentName)
public String getDepartmentName()
public Group.GroupDepartmentModifyRequest setNewDepartmentName(String newDepartmentName)
public String getNewDepartmentName()
public Group.GroupDepartmentModifyRequest setNewParentDepartmentKey(DepartmentKey newParentDepartmentKey)
public com.google.common.base.Optional<DepartmentKey> getNewParentDepartmentKey()
public Group.GroupDepartmentModifyRequest setCallingLineIdName(String callingLineIdName)
public com.google.common.base.Optional<String> getCallingLineIdName()
public Group.GroupDepartmentModifyRequest setCallingLineIdPhoneNumber(String callingLineIdPhoneNumber)
public com.google.common.base.Optional<String> getCallingLineIdPhoneNumber()
public static Group.GroupDepartmentModifyRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.