|
Method DetailbindList(String target, DataList list) Adds the list to the payload and instructs the client to bind the list to the specified field target (of type 'Pick List'). See setAction which should be called prior to this method.
Parameters:
Since: 11-28-2011 Payload getPayload() Creates and/or returns the Payload for this response. If one does not already exist, it will be created when this method is called. Returns: Payload Since: 05-13-2011 setAction(String action, String name, Data data) Sets the action and ServiceResponse target of 'action'.
Parameters:
Since: 06-17-2011 setCurrentPage(int totalPages) Sets current page for target data list in response
Parameters:
Since: 05-17-2011 setError(String errorMessage) Sets the ServiceResponse success to false and errorMessage to message.
Parameters:
Since: 05-13-2011 setFile(Data data) Sets the file and ServiceResponse target of 'file'.
Parameters:
Since: 11-11-2011 setFile(File file) Sets the file and ServiceResponse target of 'file'.
Parameters:
Since: 11-11-2011 setHtml(String html) Sets the html content and ServiceResponse target of 'html'.
Parameters:
Since: 05-13-2011 setList(DataList list) Adds the list to the payload and sets the ServiceResponse target of 'list' and ServiceResponse list to the name of the list.
Parameters:
Since: 05-13-2011 setList(DataList list, String icon) Adds the list to the payload and sets the ServiceResponse target of 'list' and ServiceResponse list to the name of the list. Optionally allows to specify list icon
Parameters:
Since: 11-24-2011 setSuccess(String successMessage) Sets the ServiceResponse success to true and successMessage to message.
Parameters:
Since: 05-13-2011 setToken(String tokenUrl) Sets the single use token and ServiceResponse target of 'token'.
Parameters:
Since: 05-13-2011 setTotalPages(int totalPages) Sets total number of pages for target data list in response
Parameters:
Since: 05-17-2011 String toString() Returns a description of this object. Returns: String Since: 05-13-2011 |
Copyright © 2006 - 2024, ContractPal, Inc. All rights reserved. | API Date: Dec 03, 2024 10:24 AM |