Class VisitorQuestion
java.lang.Object
fr.paris.lutece.plugins.helpdesk.business.VisitorQuestion
This class represents a visitor's question.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the answergetDate()Returns the date of the visitor questiongetEmail()Returns the email address of the visitorReturns the first name of the visitorintReturns the themeintReturns the identifier of the HelpdeskUser.intReturns the identifier of the objectReturns the last name of the visitorReturns the questionvoidSets the answer to the specified valuevoidSets the date of the visitor questionvoidSets the email address of the visitor to the specified valuevoidsetFirstname(String strFirstname) Sets the first name of the visitor to the specified valuevoidsetIdTheme(int nIdTheme) Sets the theme to the specified valuevoidsetIdUser(int nIdUser) Sets the identifier of the HelpdeskUser to the specified int.voidsetIdVisitorQuestion(int nIdVisitorQuestion) Sets the identifier of the object to the specified valuevoidsetLastname(String strLastname) Sets the last name of the visitor to the specified valuevoidsetQuestion(String strQuestion) Sets the question to the specified value
-
Constructor Details
-
VisitorQuestion
public VisitorQuestion()Creates a new VisitorQuestion object.
-
-
Method Details
-
getIdVisitorQuestion
public int getIdVisitorQuestion()Returns the identifier of the object- Returns:
- The identifier
-
setIdVisitorQuestion
public void setIdVisitorQuestion(int nIdVisitorQuestion) Sets the identifier of the object to the specified value- Parameters:
nIdVisitorQuestion- The new value
-
getLastname
Returns the last name of the visitor- Returns:
- The last name
-
setLastname
Sets the last name of the visitor to the specified value- Parameters:
strLastname- The new value
-
getFirstname
Returns the first name of the visitor- Returns:
- The first name
-
setFirstname
Sets the first name of the visitor to the specified value- Parameters:
strFirstname- The new value
-
getEmail
Returns the email address of the visitor- Returns:
- The email address
-
setEmail
Sets the email address of the visitor to the specified value- Parameters:
strEmail- The new value
-
getQuestion
Returns the question- Returns:
- A string literal containing the question
-
setQuestion
Sets the question to the specified value- Parameters:
strQuestion- The new value
-
getAnswer
Returns the answer- Returns:
- A string literal containing the answer
-
setAnswer
Sets the answer to the specified value- Parameters:
strAnswer- The new value
-
setDate
Sets the date of the visitor question- Parameters:
dateVQ- The date
-
getDate
Returns the date of the visitor question- Returns:
- The date
-
getIdUser
public int getIdUser()Returns the identifier of the HelpdeskUser.- Returns:
- the HelpdeskUser identifier
-
setIdUser
public void setIdUser(int nIdUser) Sets the identifier of the HelpdeskUser to the specified int.- Parameters:
nIdUser- the new identifier
-
getIdTheme
public int getIdTheme()Returns the theme- Returns:
- The theme
-
setIdTheme
public void setIdTheme(int nIdTheme) Sets the theme to the specified value- Parameters:
nIdTheme- The new value
-