com.liferay.portal.service
Class TicketLocalServiceUtil
java.lang.Object
com.liferay.portal.service.TicketLocalServiceUtil
public class TicketLocalServiceUtil
- extends Object
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.
- See Also:
TicketLocalService- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.
|
Method Summary |
static Ticket |
addTicket(long companyId,
String className,
long classPK,
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 List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static 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(String key)
|
static 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 |
TicketLocalServiceUtil
public TicketLocalServiceUtil()
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 List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static 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 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,
String className,
long classPK,
Date expirationDate,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException
getTicket
public static Ticket getTicket(String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static TicketLocalService getService()
setService
public void setService(TicketLocalService service)