@GwtIncompatible public static class Enterprise.EnterpriseDepartmentModifyRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected String |
departmentName |
protected Enterprise |
enterprise |
protected String |
newDepartmentName |
protected com.google.common.base.Optional<EnterpriseDepartmentKey> |
newParentDepartmentKey |
Constructor and Description |
---|
EnterpriseDepartmentModifyRequest(Enterprise enterprise,
String departmentName) |
Modifier and Type | Method and Description |
---|---|
void |
formRequest()
Forms the XML Document for this Request Object.
|
String |
getDepartmentName() |
static Enterprise.EnterpriseDepartmentModifyRequest |
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.
|
Enterprise |
getEnterprise() |
String |
getNewDepartmentName() |
com.google.common.base.Optional<EnterpriseDepartmentKey> |
getNewParentDepartmentKey() |
Enterprise.EnterpriseDepartmentModifyRequest |
setDepartmentName(String departmentName) |
Enterprise.EnterpriseDepartmentModifyRequest |
setEnterprise(Enterprise enterprise) |
Enterprise.EnterpriseDepartmentModifyRequest |
setNewDepartmentName(String newDepartmentName) |
Enterprise.EnterpriseDepartmentModifyRequest |
setNewParentDepartmentKey(EnterpriseDepartmentKey newParentDepartmentKey) |
appendChild, appendChild, appendChild, asyncFire, createDocument, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCommandElement, getCommandType, getDomDocument, getId, getResponseClass, getRootElement, isMemberOfBundle, isValid, run, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setResponseClass, setRootElement, toString, validate
@NotNull protected transient Enterprise enterprise
@NotNull @Size(min=1, max=50) protected String departmentName
@Size(min=1, max=50) protected String newDepartmentName
protected com.google.common.base.Optional<EnterpriseDepartmentKey> newParentDepartmentKey
public EnterpriseDepartmentModifyRequest(Enterprise enterprise, String departmentName)
public Enterprise.EnterpriseDepartmentModifyRequest setEnterprise(Enterprise enterprise)
public Enterprise getEnterprise()
public Enterprise.EnterpriseDepartmentModifyRequest setDepartmentName(String departmentName)
public String getDepartmentName()
public Enterprise.EnterpriseDepartmentModifyRequest setNewDepartmentName(String newDepartmentName)
public String getNewDepartmentName()
public Enterprise.EnterpriseDepartmentModifyRequest setNewParentDepartmentKey(EnterpriseDepartmentKey newParentDepartmentKey)
public com.google.common.base.Optional<EnterpriseDepartmentKey> getNewParentDepartmentKey()
public static Enterprise.EnterpriseDepartmentModifyRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.