com.liferay.portal.service.persistence
Interface TicketPersistence

All Superinterfaces:
BasePersistence<Ticket>

public interface TicketPersistence
extends BasePersistence<Ticket>

View Source

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

Author:
Brian Wing Shun Chan
See Also:
TicketPersistenceImpl, TicketUtil
Generated:

Method Summary
 void cacheResult(java.util.List<Ticket> tickets)
           
 void cacheResult(Ticket ticket)
           
 int countAll()
           
 int countByKey(java.lang.String key)
           
 Ticket create(long ticketId)
           
 Ticket fetchByKey(java.lang.String key)
           
 Ticket fetchByKey(java.lang.String key, boolean retrieveFromCache)
           
 Ticket fetchByPrimaryKey(long ticketId)
           
 java.util.List<Ticket> findAll()
           
 java.util.List<Ticket> findAll(int start, int end)
           
 java.util.List<Ticket> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Ticket findByKey(java.lang.String key)
           
 Ticket findByPrimaryKey(long ticketId)
           
 Ticket remove(long ticketId)
           
 void removeAll()
           
 void removeByKey(java.lang.String key)
           
 Ticket updateImpl(Ticket ticket, boolean merge)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update
 

Method Detail

cacheResult

void cacheResult(Ticket ticket)

cacheResult

void cacheResult(java.util.List<Ticket> tickets)

create

Ticket create(long ticketId)

remove

Ticket remove(long ticketId)
              throws NoSuchTicketException,
                     SystemException
Throws:
NoSuchTicketException
SystemException

updateImpl

Ticket updateImpl(Ticket ticket,
                  boolean merge)
                  throws SystemException
Throws:
SystemException

findByPrimaryKey

Ticket findByPrimaryKey(long ticketId)
                        throws NoSuchTicketException,
                               SystemException
Throws:
NoSuchTicketException
SystemException

fetchByPrimaryKey

Ticket fetchByPrimaryKey(long ticketId)
                         throws SystemException
Throws:
SystemException

findByKey

Ticket findByKey(java.lang.String key)
                 throws NoSuchTicketException,
                        SystemException
Throws:
NoSuchTicketException
SystemException

fetchByKey

Ticket fetchByKey(java.lang.String key)
                  throws SystemException
Throws:
SystemException

fetchByKey

Ticket fetchByKey(java.lang.String key,
                  boolean retrieveFromCache)
                  throws SystemException
Throws:
SystemException

findAll

java.util.List<Ticket> findAll()
                               throws SystemException
Throws:
SystemException

findAll

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

findAll

java.util.List<Ticket> findAll(int start,
                               int end,
                               OrderByComparator orderByComparator)
                               throws SystemException
Throws:
SystemException

removeByKey

void removeByKey(java.lang.String key)
                 throws NoSuchTicketException,
                        SystemException
Throws:
NoSuchTicketException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByKey

int countByKey(java.lang.String key)
               throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException