Package org.javlo.module.ticket
Class TicketBean
- java.lang.Object
-
- org.javlo.module.ticket.TicketBean
-
- All Implemented Interfaces:
Serializable
,Ticket
public class TicketBean extends Object implements Serializable, Ticket
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
CATEGORY_DEBUG_NOTE
int
PRIORITY_HIGH
int
PRIORITY_LOW
int
PRIORITY_MIDDLE
int
PRIORITY_NONE
static String
SHARE_SITE
-
Fields inherited from interface org.javlo.module.ticket.Ticket
BSTATUS, BSTATUS_ASK, BSTATUS_REJECTED, BSTATUS_VALIDED, BSTATUS_WAIT, STATUS, STATUS_ARCHIVED, STATUS_DONE, STATUS_NEW, STATUS_ONHOLD, STATUS_REJECTED, STATUS_WORKING
-
-
Constructor Summary
Constructors Constructor Description TicketBean()
TicketBean(Ticket ticket)
-
Method Summary
-
-
-
Field Detail
-
SHARE_SITE
public static final String SHARE_SITE
- See Also:
- Constant Field Values
-
CATEGORY_DEBUG_NOTE
public static final String CATEGORY_DEBUG_NOTE
- See Also:
- Constant Field Values
-
PRIORITY_NONE
public final int PRIORITY_NONE
- See Also:
- Constant Field Values
-
PRIORITY_LOW
public final int PRIORITY_LOW
- See Also:
- Constant Field Values
-
PRIORITY_MIDDLE
public final int PRIORITY_MIDDLE
- See Also:
- Constant Field Values
-
PRIORITY_HIGH
public final int PRIORITY_HIGH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TicketBean
public TicketBean()
-
TicketBean
public TicketBean(Ticket ticket)
-
-
Method Detail
-
setTitle
public void setTitle(String title)
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceTicket
-
getHtmlMessage
public String getHtmlMessage()
- Specified by:
getHtmlMessage
in interfaceTicket
-
setMessage
public void setMessage(String message)
-
getContext
public String getContext()
- Specified by:
getContext
in interfaceTicket
-
setContext
public void setContext(String context)
-
setUrl
public void setUrl(String url)
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceTicket
-
setPriority
public void setPriority(int priority)
-
setStatus
public void setStatus(String status)
-
getAuthors
public String getAuthors()
- Specified by:
getAuthors
in interfaceTicket
-
setAuthors
public void setAuthors(String authors)
-
setId
public void setId(String id)
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceTicket
-
setCategory
public void setCategory(String category)
-
isDebugNote
public boolean isDebugNote()
- Specified by:
isDebugNote
in interfaceTicket
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interfaceTicket
-
setCreationDate
public void setCreationDate(Date creationDate)
-
getLastUpdateDate
public Date getLastUpdateDate()
- Specified by:
getLastUpdateDate
in interfaceTicket
-
setLastUpdateDate
public void setLastUpdateDate(Date lastUpdateDate)
-
getLatestEditor
public String getLatestEditor()
- Specified by:
getLatestEditor
in interfaceTicket
-
setLatestEditor
public void setLatestEditor(String latestEditor)
-
getComments
public List<Comment> getComments()
- Specified by:
getComments
in interfaceTicket
-
addComments
public void addComments(Comment comment)
-
getCreationDateLabel
public String getCreationDateLabel()
- Specified by:
getCreationDateLabel
in interfaceTicket
-
getLastUpdateDateLabel
public String getLastUpdateDateLabel()
- Specified by:
getLastUpdateDateLabel
in interfaceTicket
-
getReaders
public Set<String> getReaders()
- Specified by:
getReaders
in interfaceTicket
-
setDeleted
public void setDeleted(boolean deleted)
-
setShare
public void setShare(String share)
-
isOpen
public boolean isOpen()
-
getScreenshot
public String getScreenshot()
- Specified by:
getScreenshot
in interfaceTicket
-
setScreenshot
public void setScreenshot(String screenshot)
-
getPrice
public long getPrice()
Description copied from interface:Ticket
get price in cent
-
setPrice
public void setPrice(long price)
-
getBstatus
public String getBstatus()
- Specified by:
getBstatus
in interfaceTicket
-
setBstatus
public void setBstatus(String bstatus)
-
-