Class EditableTicket
java.lang.Object
fr.paris.lutece.plugins.workflow.modules.ticketing.business.ticket.EditableTicket
This class represents an editable ticket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the id of the editable ticketintGet the id taskintGet the id taskGet the list of editable ticket fieldGet 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
-
Constructor Details
-
EditableTicket
public EditableTicket()
-
-
Method Details
-
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
Set the message- Parameters:
strMessage- the message
-
getMessage
Get the message- Returns:
- the message
-
setListEditableTicketFields
Set the list of editable ticket field- Parameters:
listEditableTicketField- of editable ticket field
-
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
-