com.liferay.portal.service.persistence
Class TicketUtil

java.lang.Object
  extended by com.liferay.portal.service.persistence.TicketUtil

public class TicketUtil
extends java.lang.Object

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:
TicketPersistence, TicketPersistenceImpl
Generated:

Constructor Summary
TicketUtil()
           
 
Method Summary
static void cacheResult(java.util.List<Ticket> tickets)
           
static void cacheResult(Ticket ticket)
           
static void clearCache()
           
static void clearCache(Ticket ticket)
           
static int countAll()
           
static int countByKey(java.lang.String key)
           
 long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static Ticket create(long ticketId)
           
static Ticket fetchByKey(java.lang.String key)
           
static Ticket fetchByKey(java.lang.String key, boolean retrieveFromCache)
           
static Ticket fetchByPrimaryKey(long ticketId)
           
static java.util.List<Ticket> findAll()
           
static java.util.List<Ticket> findAll(int start, int end)
           
static java.util.List<Ticket> findAll(int start, int end, OrderByComparator orderByComparator)
           
static Ticket findByKey(java.lang.String key)
           
static Ticket findByPrimaryKey(long ticketId)
           
static java.util.List<Ticket> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static java.util.List<Ticket> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static TicketPersistence getPersistence()
           
static Ticket remove(long ticketId)
           
static Ticket remove(Ticket ticket)
           
static void removeAll()
           
static void removeByKey(java.lang.String key)
           
 void setPersistence(TicketPersistence persistence)
           
static Ticket update(Ticket ticket, boolean merge)
           
static Ticket updateImpl(Ticket ticket, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TicketUtil

public TicketUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(Ticket ticket)
See Also:
com.liferay.portal.service.persistence.BasePersistence#clearCache(Ticket)

countWithDynamicQuery

public long countWithDynamicQuery(DynamicQuery dynamicQuery)
                           throws SystemException
Throws:
SystemException
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<Ticket> findWithDynamicQuery(DynamicQuery dynamicQuery)
                                                   throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static java.util.List<Ticket> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                          int start,
                                                          int end)
                                                   throws SystemException
Throws:
SystemException
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

remove

public static Ticket remove(Ticket ticket)
                     throws SystemException
Throws:
SystemException
See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)

update

public static Ticket update(Ticket ticket,
                            boolean merge)
                     throws SystemException
Throws:
SystemException
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)

cacheResult

public static void cacheResult(Ticket ticket)

cacheResult

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

create

public static Ticket create(long ticketId)

remove

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

updateImpl

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

findByPrimaryKey

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

fetchByPrimaryKey

public static Ticket fetchByPrimaryKey(long ticketId)
                                throws SystemException
Throws:
SystemException

findByKey

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

fetchByKey

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

fetchByKey

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

findAll

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

findAll

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

findAll

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

removeByKey

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

removeAll

public static void removeAll()
                      throws SystemException
Throws:
SystemException

countByKey

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

countAll

public static int countAll()
                    throws SystemException
Throws:
SystemException

getPersistence

public static TicketPersistence getPersistence()

setPersistence

public void setPersistence(TicketPersistence persistence)