Class EditableTicket
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.ticketing.business.ticket.EditableTicket
-
public class EditableTicket extends Object
This class represents an editable ticket
-
-
Constructor Summary
Constructors Constructor Description EditableTicket()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetIdHistory()Get the id of the editable ticketintgetIdTask()Get the id taskintgetIdTicket()Get the id taskList<EditableTicketField>getListEditableTicketFields()Get the list of editable ticket fieldStringgetMessage()Get the messagebooleanisEdited()Check if the ticket is editedvoidsetIdHistory(int nIdHistory)Set the id editable ticketvoidsetIdTask(int nIdTask)Set the task idvoidsetIdTicket(int nIdTicket)Set the ticket idvoidsetIsEdited(boolean bIsEdited)Settrueif the ticket is edited,falseotherwisevoidsetListEditableTicketFields(List<EditableTicketField> listEditableTicketField)Set the list of editable ticket fieldvoidsetMessage(String strMessage)Set the message
-
-
-
Method Detail
-
setIdHistory
public void setIdHistory(int nIdHistory)
Set the id editable ticket- Parameters:
nIdHistory- the id of the editable ticket
-
getIdHistory
public int getIdHistory()
Get the id of the editable ticket- Returns:
- the id of the editable ticket
-
getIdTask
public int getIdTask()
Get the id task- Returns:
- the task id
-
setIdTask
public void setIdTask(int nIdTask)
Set the task id- Parameters:
nIdTask- the task id
-
getIdTicket
public int getIdTicket()
Get the id task- Returns:
- the ticket id
-
setIdTicket
public void setIdTicket(int nIdTicket)
Set the ticket id- Parameters:
nIdTicket- the ticket id
-
setMessage
public void setMessage(String strMessage)
Set the message- Parameters:
strMessage- the message
-
getMessage
public String getMessage()
Get the message- Returns:
- the message
-
setListEditableTicketFields
public void setListEditableTicketFields(List<EditableTicketField> listEditableTicketField)
Set the list of editable ticket field- Parameters:
listEditableTicketField- of editable ticket field
-
getListEditableTicketFields
public List<EditableTicketField> getListEditableTicketFields()
Get the list of editable ticket field- Returns:
- the list of editable ticket field
-
setIsEdited
public void setIsEdited(boolean bIsEdited)
Settrueif the ticket is edited,falseotherwise- Parameters:
bIsEdited-trueif the ticket is edited,falseotherwise
-
isEdited
public boolean isEdited()
Check if the ticket is edited- Returns:
trueif the ticket is edited,falseotherwise
-
-