com.liferay.portal.service
Interface TicketLocalService
- All Known Implementing Classes:
- TicketLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface TicketLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface defines the service. The default implementation is
com.liferay.portal.service.impl.TicketLocalServiceImpl
}.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
TicketLocalServiceUtil
- Generated:
Method Summary |
Ticket |
addTicket(long companyId,
java.lang.String className,
long classPK,
java.util.Date expirationDate,
ServiceContext serviceContext)
|
Ticket |
addTicket(Ticket ticket)
|
Ticket |
createTicket(long ticketId)
|
void |
deleteTicket(long ticketId)
|
void |
deleteTicket(Ticket ticket)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
Ticket |
getTicket(long ticketId)
|
Ticket |
getTicket(java.lang.String key)
|
java.util.List<Ticket> |
getTickets(int start,
int end)
|
int |
getTicketsCount()
|
Ticket |
updateTicket(Ticket ticket)
|
Ticket |
updateTicket(Ticket ticket,
boolean merge)
|
addTicket
Ticket addTicket(Ticket ticket)
throws SystemException
- Throws:
SystemException
createTicket
Ticket createTicket(long ticketId)
deleteTicket
void deleteTicket(long ticketId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTicket
void deleteTicket(Ticket ticket)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getTicket
@Transactional(propagation=SUPPORTS,
readOnly=true)
Ticket getTicket(long ticketId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTickets
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<Ticket> getTickets(int start,
int end)
throws SystemException
- Throws:
SystemException
getTicketsCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getTicketsCount()
throws SystemException
- Throws:
SystemException
updateTicket
Ticket updateTicket(Ticket ticket)
throws SystemException
- Throws:
SystemException
updateTicket
Ticket updateTicket(Ticket ticket,
boolean merge)
throws SystemException
- Throws:
SystemException
addTicket
Ticket addTicket(long companyId,
java.lang.String className,
long classPK,
java.util.Date expirationDate,
ServiceContext serviceContext)
throws SystemException
- Throws:
SystemException
getTicket
@Transactional(propagation=SUPPORTS,
readOnly=true)
Ticket getTicket(java.lang.String key)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException