@ChoiceGroup(value="isEnterprise") @ChoiceGroup(value="useCustomRoutingProfile") @GwtIncompatible public static class ServiceProvider.ServiceProviderAddRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected StreetAddress |
address |
protected Contact |
contact |
protected String |
defaultDomain |
protected Boolean |
isEnterprise |
protected String |
serviceProviderId |
protected String |
serviceProviderName |
protected String |
supportEmail |
protected Boolean |
useCustomRoutingProfile |
Constructor and Description |
---|
ServiceProviderAddRequest(BroadWorksServer broadWorksServer,
String serviceProviderId,
String defaultDomain) |
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
@AssertTrue protected Boolean isEnterprise
protected Boolean useCustomRoutingProfile
@NotNull @Size(min=1, max=30) protected String serviceProviderId
@NotNull @Size(min=1, max=80) protected String defaultDomain
@Size(min=1, max=80) protected String serviceProviderName
@Size(min=1, max=80) protected String supportEmail
protected Contact contact
protected StreetAddress address
public ServiceProviderAddRequest(BroadWorksServer broadWorksServer, String serviceProviderId, String defaultDomain)
public ServiceProvider.ServiceProviderAddRequest setFlagIsEnterprise()
public boolean isEnterpriseFlagExist()
public Boolean getIsEnterprise()
public ServiceProvider.ServiceProviderAddRequest setUseCustomRoutingProfile(Boolean useCustomRoutingProfile)
public Boolean getUseCustomRoutingProfile()
public ServiceProvider.ServiceProviderAddRequest setServiceProviderId(String serviceProviderId)
public String getServiceProviderId()
public ServiceProvider.ServiceProviderAddRequest setDefaultDomain(String defaultDomain)
public String getDefaultDomain()
public ServiceProvider.ServiceProviderAddRequest setServiceProviderName(String serviceProviderName)
public String getServiceProviderName()
public ServiceProvider.ServiceProviderAddRequest setSupportEmail(String supportEmail)
public String getSupportEmail()
public ServiceProvider.ServiceProviderAddRequest setContact(Contact contact)
public Contact getContact()
public ServiceProvider.ServiceProviderAddRequest setAddress(StreetAddress address)
public StreetAddress getAddress()
public static ServiceProvider.ServiceProviderAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2016 ECG. All rights reserved.