@GwtIncompatible public static class Enterprise.EnterpriseDepartmentAddRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected String |
departmentName |
protected Enterprise |
enterprise |
protected EnterpriseDepartmentKey |
parentDepartmentKey |
Constructor and Description |
---|
EnterpriseDepartmentAddRequest(Enterprise enterprise,
String departmentName) |
Modifier and Type | Method and Description |
---|---|
void |
formRequest()
Forms the XML Document for this Request Object.
|
String |
getDepartmentName() |
static Enterprise.EnterpriseDepartmentAddRequest |
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.
|
Enterprise |
getEnterprise() |
EnterpriseDepartmentKey |
getParentDepartmentKey() |
Enterprise.EnterpriseDepartmentAddRequest |
setDepartmentName(String departmentName) |
Enterprise.EnterpriseDepartmentAddRequest |
setEnterprise(Enterprise enterprise) |
Enterprise.EnterpriseDepartmentAddRequest |
setParentDepartmentKey(EnterpriseDepartmentKey parentDepartmentKey) |
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
protected EnterpriseDepartmentKey parentDepartmentKey
public EnterpriseDepartmentAddRequest(Enterprise enterprise, String departmentName)
public Enterprise.EnterpriseDepartmentAddRequest setEnterprise(Enterprise enterprise)
public Enterprise getEnterprise()
public Enterprise.EnterpriseDepartmentAddRequest setDepartmentName(String departmentName)
public String getDepartmentName()
public Enterprise.EnterpriseDepartmentAddRequest setParentDepartmentKey(EnterpriseDepartmentKey parentDepartmentKey)
public EnterpriseDepartmentKey getParentDepartmentKey()
public static Enterprise.EnterpriseDepartmentAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.