com.liferay.portal.service.persistence
Interface PortletItemPersistence

All Superinterfaces:
BasePersistence<PortletItem>

public interface PortletItemPersistence
extends BasePersistence<PortletItem>

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:
PortletItemPersistenceImpl, PortletItemUtil
Generated:

Method Summary
 void cacheResult(java.util.List<PortletItem> portletItems)
           
 void cacheResult(PortletItem portletItem)
           
 int countAll()
           
 int countByG_C(long groupId, long classNameId)
           
 int countByG_N_P_C(long groupId, java.lang.String name, java.lang.String portletId, long classNameId)
           
 int countByG_P_C(long groupId, java.lang.String portletId, long classNameId)
           
 PortletItem create(long portletItemId)
           
 PortletItem fetchByG_N_P_C(long groupId, java.lang.String name, java.lang.String portletId, long classNameId)
           
 PortletItem fetchByG_N_P_C(long groupId, java.lang.String name, java.lang.String portletId, long classNameId, boolean retrieveFromCache)
           
 PortletItem fetchByPrimaryKey(long portletItemId)
           
 java.util.List<PortletItem> findAll()
           
 java.util.List<PortletItem> findAll(int start, int end)
           
 java.util.List<PortletItem> findAll(int start, int end, OrderByComparator orderByComparator)
           
 PortletItem findByG_C_First(long groupId, long classNameId, OrderByComparator orderByComparator)
           
 PortletItem findByG_C_Last(long groupId, long classNameId, OrderByComparator orderByComparator)
           
 PortletItem[] findByG_C_PrevAndNext(long portletItemId, long groupId, long classNameId, OrderByComparator orderByComparator)
           
 java.util.List<PortletItem> findByG_C(long groupId, long classNameId)
           
 java.util.List<PortletItem> findByG_C(long groupId, long classNameId, int start, int end)
           
 java.util.List<PortletItem> findByG_C(long groupId, long classNameId, int start, int end, OrderByComparator orderByComparator)
           
 PortletItem findByG_N_P_C(long groupId, java.lang.String name, java.lang.String portletId, long classNameId)
           
 PortletItem findByG_P_C_First(long groupId, java.lang.String portletId, long classNameId, OrderByComparator orderByComparator)
           
 PortletItem findByG_P_C_Last(long groupId, java.lang.String portletId, long classNameId, OrderByComparator orderByComparator)
           
 PortletItem[] findByG_P_C_PrevAndNext(long portletItemId, long groupId, java.lang.String portletId, long classNameId, OrderByComparator orderByComparator)
           
 java.util.List<PortletItem> findByG_P_C(long groupId, java.lang.String portletId, long classNameId)
           
 java.util.List<PortletItem> findByG_P_C(long groupId, java.lang.String portletId, long classNameId, int start, int end)
           
 java.util.List<PortletItem> findByG_P_C(long groupId, java.lang.String portletId, long classNameId, int start, int end, OrderByComparator orderByComparator)
           
 PortletItem findByPrimaryKey(long portletItemId)
           
 PortletItem remove(long portletItemId)
           
 void removeAll()
           
 void removeByG_C(long groupId, long classNameId)
           
 void removeByG_N_P_C(long groupId, java.lang.String name, java.lang.String portletId, long classNameId)
           
 void removeByG_P_C(long groupId, java.lang.String portletId, long classNameId)
           
 PortletItem updateImpl(PortletItem portletItem, 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(PortletItem portletItem)

cacheResult

void cacheResult(java.util.List<PortletItem> portletItems)

create

PortletItem create(long portletItemId)

remove

PortletItem remove(long portletItemId)
                   throws NoSuchPortletItemException,
                          SystemException
Throws:
NoSuchPortletItemException
SystemException

updateImpl

PortletItem updateImpl(PortletItem portletItem,
                       boolean merge)
                       throws SystemException
Throws:
SystemException

findByPrimaryKey

PortletItem findByPrimaryKey(long portletItemId)
                             throws NoSuchPortletItemException,
                                    SystemException
Throws:
NoSuchPortletItemException
SystemException

fetchByPrimaryKey

PortletItem fetchByPrimaryKey(long portletItemId)
                              throws SystemException
Throws:
SystemException

findByG_C

java.util.List<PortletItem> findByG_C(long groupId,
                                      long classNameId)
                                      throws SystemException
Throws:
SystemException

findByG_C

java.util.List<PortletItem> findByG_C(long groupId,
                                      long classNameId,
                                      int start,
                                      int end)
                                      throws SystemException
Throws:
SystemException

findByG_C

java.util.List<PortletItem> findByG_C(long groupId,
                                      long classNameId,
                                      int start,
                                      int end,
                                      OrderByComparator orderByComparator)
                                      throws SystemException
Throws:
SystemException

findByG_C_First

PortletItem findByG_C_First(long groupId,
                            long classNameId,
                            OrderByComparator orderByComparator)
                            throws NoSuchPortletItemException,
                                   SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_C_Last

PortletItem findByG_C_Last(long groupId,
                           long classNameId,
                           OrderByComparator orderByComparator)
                           throws NoSuchPortletItemException,
                                  SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_C_PrevAndNext

PortletItem[] findByG_C_PrevAndNext(long portletItemId,
                                    long groupId,
                                    long classNameId,
                                    OrderByComparator orderByComparator)
                                    throws NoSuchPortletItemException,
                                           SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_P_C

java.util.List<PortletItem> findByG_P_C(long groupId,
                                        java.lang.String portletId,
                                        long classNameId)
                                        throws SystemException
Throws:
SystemException

findByG_P_C

java.util.List<PortletItem> findByG_P_C(long groupId,
                                        java.lang.String portletId,
                                        long classNameId,
                                        int start,
                                        int end)
                                        throws SystemException
Throws:
SystemException

findByG_P_C

java.util.List<PortletItem> findByG_P_C(long groupId,
                                        java.lang.String portletId,
                                        long classNameId,
                                        int start,
                                        int end,
                                        OrderByComparator orderByComparator)
                                        throws SystemException
Throws:
SystemException

findByG_P_C_First

PortletItem findByG_P_C_First(long groupId,
                              java.lang.String portletId,
                              long classNameId,
                              OrderByComparator orderByComparator)
                              throws NoSuchPortletItemException,
                                     SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_P_C_Last

PortletItem findByG_P_C_Last(long groupId,
                             java.lang.String portletId,
                             long classNameId,
                             OrderByComparator orderByComparator)
                             throws NoSuchPortletItemException,
                                    SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_P_C_PrevAndNext

PortletItem[] findByG_P_C_PrevAndNext(long portletItemId,
                                      long groupId,
                                      java.lang.String portletId,
                                      long classNameId,
                                      OrderByComparator orderByComparator)
                                      throws NoSuchPortletItemException,
                                             SystemException
Throws:
NoSuchPortletItemException
SystemException

findByG_N_P_C

PortletItem findByG_N_P_C(long groupId,
                          java.lang.String name,
                          java.lang.String portletId,
                          long classNameId)
                          throws NoSuchPortletItemException,
                                 SystemException
Throws:
NoSuchPortletItemException
SystemException

fetchByG_N_P_C

PortletItem fetchByG_N_P_C(long groupId,
                           java.lang.String name,
                           java.lang.String portletId,
                           long classNameId)
                           throws SystemException
Throws:
SystemException

fetchByG_N_P_C

PortletItem fetchByG_N_P_C(long groupId,
                           java.lang.String name,
                           java.lang.String portletId,
                           long classNameId,
                           boolean retrieveFromCache)
                           throws SystemException
Throws:
SystemException

findAll

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

findAll

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

findAll

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

removeByG_C

void removeByG_C(long groupId,
                 long classNameId)
                 throws SystemException
Throws:
SystemException

removeByG_P_C

void removeByG_P_C(long groupId,
                   java.lang.String portletId,
                   long classNameId)
                   throws SystemException
Throws:
SystemException

removeByG_N_P_C

void removeByG_N_P_C(long groupId,
                     java.lang.String name,
                     java.lang.String portletId,
                     long classNameId)
                     throws NoSuchPortletItemException,
                            SystemException
Throws:
NoSuchPortletItemException
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByG_C

int countByG_C(long groupId,
               long classNameId)
               throws SystemException
Throws:
SystemException

countByG_P_C

int countByG_P_C(long groupId,
                 java.lang.String portletId,
                 long classNameId)
                 throws SystemException
Throws:
SystemException

countByG_N_P_C

int countByG_N_P_C(long groupId,
                   java.lang.String name,
                   java.lang.String portletId,
                   long classNameId)
                   throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException