com.liferay.portal.service
Class TicketLocalServiceUtil

java.lang.Object
  extended by com.liferay.portal.service.TicketLocalServiceUtil

public class TicketLocalServiceUtil
extends java.lang.Object

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class provides static methods for the TicketLocalService bean. The static methods of this class calls the same methods of the bean instance. It's convenient to be able to just write one line to call a method on a bean instead of writing a lookup call and a method call.

Author:
Brian Wing Shun Chan
See Also:
TicketLocalService
Generated:

Constructor Summary
TicketLocalServiceUtil()
           
 
Method Summary
static Ticket addTicket(long companyId, java.lang.String className, long classPK, java.util.Date expirationDate, ServiceContext serviceContext)
           
static Ticket addTicket(Ticket ticket)
           
static Ticket createTicket(long ticketId)
           
static void deleteTicket(long ticketId)
           
static void deleteTicket(Ticket ticket)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static java.util.List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator)
           
static long dynamicQueryCount(DynamicQuery dynamicQuery)
           
static TicketLocalService getService()
           
static Ticket getTicket(long ticketId)
           
static Ticket getTicket(java.lang.String key)
           
static java.util.List<Ticket> getTickets(int start, int end)
           
static int getTicketsCount()
           
 void setService(TicketLocalService service)
           
static Ticket updateTicket(Ticket ticket)
           
static Ticket updateTicket(Ticket ticket, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketLocalServiceUtil

public TicketLocalServiceUtil()
Method Detail

addTicket

public static Ticket addTicket(Ticket ticket)
                        throws SystemException
Throws:
SystemException

createTicket

public static Ticket createTicket(long ticketId)

deleteTicket

public static void deleteTicket(long ticketId)
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

deleteTicket

public static void deleteTicket(Ticket ticket)
                         throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end)
                                   throws SystemException
Throws:
SystemException

dynamicQuery

public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
                                          int start,
                                          int end,
                                          OrderByComparator orderByComparator)
                                   throws SystemException
Throws:
SystemException

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
                              throws SystemException
Throws:
SystemException

getTicket

public static Ticket getTicket(long ticketId)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getTickets

public static java.util.List<Ticket> getTickets(int start,
                                                int end)
                                         throws SystemException
Throws:
SystemException

getTicketsCount

public static int getTicketsCount()
                           throws SystemException
Throws:
SystemException

updateTicket

public static Ticket updateTicket(Ticket ticket)
                           throws SystemException
Throws:
SystemException

updateTicket

public static Ticket updateTicket(Ticket ticket,
                                  boolean merge)
                           throws SystemException
Throws:
SystemException

addTicket

public static Ticket addTicket(long companyId,
                               java.lang.String className,
                               long classPK,
                               java.util.Date expirationDate,
                               ServiceContext serviceContext)
                        throws SystemException
Throws:
SystemException

getTicket

public static Ticket getTicket(java.lang.String key)
                        throws PortalException,
                               SystemException
Throws:
PortalException
SystemException

getService

public static TicketLocalService getService()

setService

public void setService(TicketLocalService service)