Package org.javlo.module.ticket
Class TicketService
- java.lang.Object
-
- org.javlo.module.ticket.TicketService
-
public class TicketService extends Object
-
-
Constructor Summary
Constructors Constructor Description TicketService()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static List<TicketBean>
getAllTickets(ContentContext ctx)
static TicketService
getInstance(GlobalContext globalContext)
static File
getTempImageFile(ContentContext ctx)
TicketBean
getTicket(String id)
Collection<TicketBean>
getTickets()
void
updateTicket(ContentContext ctx, TicketBean ticket, boolean updateDate)
-
-
-
Method Detail
-
getInstance
public static TicketService getInstance(GlobalContext globalContext) throws IOException
- Throws:
IOException
-
getTempImageFile
public static File getTempImageFile(ContentContext ctx) throws Exception
- Throws:
Exception
-
updateTicket
public void updateTicket(ContentContext ctx, TicketBean ticket, boolean updateDate) throws Exception
- Throws:
Exception
-
getTicket
public TicketBean getTicket(String id)
-
getTickets
public Collection<TicketBean> getTickets()
-
getAllTickets
public static List<TicketBean> getAllTickets(ContentContext ctx) throws Exception
- Throws:
Exception
-
-