fr.paris.lutece.plugins.form.business
Class Response

java.lang.Object
  extended by fr.paris.lutece.plugins.form.business.Response

public class Response
extends Object

class Response


Field Summary
static int CONSTANT_STATUS_ACTIVE
           
static int CONSTANT_STATUS_ANONYMIZED
           
 
Constructor Summary
Response()
           
 
Method Summary
 IEntry getEntry()
           
 Field getField()
          get the field associate to the response
 File getFile()
          Get file
 String getFileExtension()
          Deprecated. the file is now stored in class File
 String getFileName()
          Deprecated. the file name is now stored in class File
 FormSubmit getFormSubmit()
           
 int getIdResponse()
           
 String getResponseValue()
          Get the response value
 int getStatus()
          Get the status of this response
 String getToStringValueResponse()
          return the string value response
 byte[] getValueResponse()
          Deprecated. The response is now in String and not in byte
 void setEntry(IEntry entry)
          set the question associate to the response
 void setField(Field field)
          set the field associate to the response
 void setFile(File file)
          Set file
 void setFileExtension(String fileExtension)
          Deprecated. the file is now stored in class File
 void setFileName(String fileName)
          Deprecated. the file name is now stored in class File
 void setFormSubmit(FormSubmit formSubmit)
          the form submit of the response
 void setIdResponse(int idResponse)
          set the id of the response
 void setResponseValue(String strResponseValue)
          Set the response value
 void setStatus(int nStatus)
          Set the status of this response
 void setToStringValueResponse(String strValueResponse)
          set the string value response
 void setValueResponse(byte[] valueResponse)
          Deprecated. The response is now in String and not in byte
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_STATUS_ACTIVE

public static final int CONSTANT_STATUS_ACTIVE
See Also:
Constant Field Values

CONSTANT_STATUS_ANONYMIZED

public static final int CONSTANT_STATUS_ANONYMIZED
See Also:
Constant Field Values
Constructor Detail

Response

public Response()
Method Detail

getFormSubmit

public FormSubmit getFormSubmit()
Returns:
the form submit of the response

setFormSubmit

public void setFormSubmit(FormSubmit formSubmit)
the form submit of the response

Parameters:
formSubmit - the form submit of the response

getEntry

public IEntry getEntry()
Returns:
the question associate to the response

setEntry

public void setEntry(IEntry entry)
set the question associate to the response

Parameters:
entry - the question associate to the response

getIdResponse

public int getIdResponse()
Returns:
the id of the response

setIdResponse

public void setIdResponse(int idResponse)
set the id of the response

Parameters:
idResponse - the id of the response

getField

public Field getField()
get the field associate to the response

Returns:
the field associate to the response

setField

public void setField(Field field)
set the field associate to the response

Parameters:
field - field

getToStringValueResponse

public String getToStringValueResponse()
return the string value response

Returns:
the string value of the response

setToStringValueResponse

public void setToStringValueResponse(String strValueResponse)
set the string value response

Parameters:
strValueResponse - the string value of the response

setFile

public void setFile(File file)
Set file

Parameters:
file - the file

getFile

public File getFile()
Get file

Returns:
the file

setResponseValue

public void setResponseValue(String strResponseValue)
Set the response value

Parameters:
strResponseValue - the response value

getResponseValue

public String getResponseValue()
Get the response value

Returns:
the response value

getValueResponse

public byte[] getValueResponse()
Deprecated. The response is now in String and not in byte

Returns:
the value of the response
Since:
2.4.8
See Also:
File

setValueResponse

public void setValueResponse(byte[] valueResponse)
Deprecated. The response is now in String and not in byte

set the value of the response

Parameters:
valueResponse - the value of the response
Since:
2.4.8
See Also:
File

setFileName

public void setFileName(String fileName)
Deprecated. the file name is now stored in class File

the file name if the response value is a file

Parameters:
fileName - the file name if the response value is a file
Since:
2.4.8
See Also:
File

getFileExtension

public String getFileExtension()
Deprecated. the file is now stored in class File

Returns:
the file extension if the response value is a file
Since:
2.4.8
See Also:
File

setFileExtension

public void setFileExtension(String fileExtension)
Deprecated. the file is now stored in class File

set the file extension if the response value is a file

Parameters:
fileExtension - the file extension if the response value is a file
Since:
2.4.8
See Also:
File

getFileName

public String getFileName()
Deprecated. the file name is now stored in class File

the file name if the response value is a file

Returns:
the file name if the response value is a file
Since:
2.4.8
See Also:
File

getStatus

public int getStatus()
Get the status of this response

Returns:
The status of this response

setStatus

public void setStatus(int nStatus)
Set the status of this response

Parameters:
nStatus - The status of this response


Copyright © 2013 Mairie de Paris. All Rights Reserved.