@GwtIncompatible public static class User.UserAnnouncementFileAddRequest extends Request<DefaultResponse>
Request.Protocol
Modifier and Type | Field and Description |
---|---|
protected LabeledMediaFileResource |
announcementFile |
protected String |
announcementFileName |
protected BroadWorksUser |
user |
Constructor and Description |
---|
UserAnnouncementFileAddRequest(BroadWorksUser user,
String announcementFileName,
LabeledMediaFileResource announcementFile) |
Modifier and Type | Method and Description |
---|---|
void |
formRequest()
Forms the XML Document for this Request Object.
|
LabeledMediaFileResource |
getAnnouncementFile() |
String |
getAnnouncementFileName() |
BroadWorksUser |
getBroadWorksUser() |
static User.UserAnnouncementFileAddRequest |
getEmptyObject(BroadWorksServer broadWorksServer)
Retrieves this object with minimal setup.
|
User.UserAnnouncementFileAddRequest |
setAnnouncementFile(LabeledMediaFileResource announcementFile) |
User.UserAnnouncementFileAddRequest |
setAnnouncementFileName(String announcementFileName) |
User.UserAnnouncementFileAddRequest |
setUser(BroadWorksUser user) |
appendChild, appendChild, appendChild, asyncFire, createElement, createNilElement, createTextElement, fire, fire, getBroadWorksServer, getCacheString, getCommandElement, getCommandType, getDomDocument, getId, getOCSProtocol, getRequestTimeoutMillis, getResponseClass, getRootElement, getValidationErrorsAsString, isMemberOfBundle, isValid, setBroadWorksServer, setCommandElement, setCommandType, setDomDocument, setMemberOfBundle, setRequestId, setRequestTimeoutMillis, setResponseClass, setRootElement, toString, validate
@NotNull protected transient BroadWorksUser user
@NotNull @Size(min=1, max=80) protected String announcementFileName
@NotNull protected LabeledMediaFileResource announcementFile
public UserAnnouncementFileAddRequest(BroadWorksUser user, String announcementFileName, LabeledMediaFileResource announcementFile)
public User.UserAnnouncementFileAddRequest setUser(BroadWorksUser user)
public BroadWorksUser getBroadWorksUser()
public User.UserAnnouncementFileAddRequest setAnnouncementFileName(String announcementFileName)
public String getAnnouncementFileName()
public User.UserAnnouncementFileAddRequest setAnnouncementFile(LabeledMediaFileResource announcementFile)
public LabeledMediaFileResource getAnnouncementFile()
public static User.UserAnnouncementFileAddRequest getEmptyObject(BroadWorksServer broadWorksServer)
broadWorksServer
- The BroadWorksServerpublic void formRequest()
formRequest
in class Request<DefaultResponse>
Copyright © 2017 ECG. All rights reserved.