Package org.javlo.module.ticket
Class TicketUserWrapper
- java.lang.Object
-
- org.javlo.module.ticket.TicketUserWrapper
-
-
Field Summary
-
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 TicketUserWrapper(Ticket ticket, ContentContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthors()
String
getBstatus()
String
getCategory()
List<Comment>
getComments()
String
getContext()
Date
getCreationDate()
String
getCreationDateLabel()
String
getHtmlMessage()
String
getId()
Date
getLastUpdateDate()
String
getLastUpdateDateLabel()
String
getLatestEditor()
String
getMessage()
long
getPrice()
get price in centint
getPriority()
Set<String>
getReaders()
String
getScreenshot()
String
getShare()
String
getStatus()
String
getTitle()
String
getUrl()
List<String>
getUsers()
boolean
isDebugNote()
boolean
isDeleted()
boolean
isForMe()
boolean
isRead()
void
onRead(String login)
void
onUpdate(String login)
-
-
-
Constructor Detail
-
TicketUserWrapper
public TicketUserWrapper(Ticket ticket, ContentContext ctx)
-
-
Method Detail
-
isRead
public boolean isRead()
-
getMessage
public String getMessage()
- Specified by:
getMessage
in interfaceTicket
-
getHtmlMessage
public String getHtmlMessage()
- Specified by:
getHtmlMessage
in interfaceTicket
-
getContext
public String getContext()
- Specified by:
getContext
in interfaceTicket
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceTicket
-
getAuthors
public String getAuthors()
- Specified by:
getAuthors
in interfaceTicket
-
getCategory
public String getCategory()
- Specified by:
getCategory
in interfaceTicket
-
isDebugNote
public boolean isDebugNote()
- Specified by:
isDebugNote
in interfaceTicket
-
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
in interfaceTicket
-
getLastUpdateDate
public Date getLastUpdateDate()
- Specified by:
getLastUpdateDate
in interfaceTicket
-
getLatestEditor
public String getLatestEditor()
- Specified by:
getLatestEditor
in interfaceTicket
-
getComments
public List<Comment> getComments()
- Specified by:
getComments
in interfaceTicket
-
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
-
getScreenshot
public String getScreenshot()
- Specified by:
getScreenshot
in interfaceTicket
-
isForMe
public boolean isForMe()
-
getPrice
public long getPrice()
Description copied from interface:Ticket
get price in cent
-
getBstatus
public String getBstatus()
- Specified by:
getBstatus
in interfaceTicket
-
-