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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletItem findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletItem findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletItem[] findByG_C_PrevAndNext(long portletItemId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletItem findByG_P_C_Last(long groupId, java.lang.String portletId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 PortletItem[] findByG_P_C_PrevAndNext(long portletItemId, long groupId, java.lang.String portletId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 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, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, getListeners, registerListener, remove, remove, 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,
                          com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

updateImpl

PortletItem updateImpl(PortletItem portletItem,
                       boolean merge)
                       throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByPrimaryKey

PortletItem findByPrimaryKey(long portletItemId)
                             throws NoSuchPortletItemException,
                                    com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

PortletItem fetchByPrimaryKey(long portletItemId)
                              throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C

java.util.List<PortletItem> findByG_C(long groupId,
                                      long classNameId)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C

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

findByG_C

java.util.List<PortletItem> findByG_C(long groupId,
                                      long classNameId,
                                      int start,
                                      int end,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_C_First

PortletItem findByG_C_First(long groupId,
                            long classNameId,
                            com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws NoSuchPortletItemException,
                                   com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_C_Last

PortletItem findByG_C_Last(long groupId,
                           long classNameId,
                           com.liferay.portal.kernel.util.OrderByComparator obc)
                           throws NoSuchPortletItemException,
                                  com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_C_PrevAndNext

PortletItem[] findByG_C_PrevAndNext(long portletItemId,
                                    long groupId,
                                    long classNameId,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws NoSuchPortletItemException,
                                           com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_P_C

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

findByG_P_C

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

findByG_P_C

java.util.List<PortletItem> findByG_P_C(long groupId,
                                        java.lang.String portletId,
                                        long classNameId,
                                        int start,
                                        int end,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByG_P_C_First

PortletItem findByG_P_C_First(long groupId,
                              java.lang.String portletId,
                              long classNameId,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                              throws NoSuchPortletItemException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_P_C_Last

PortletItem findByG_P_C_Last(long groupId,
                             java.lang.String portletId,
                             long classNameId,
                             com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws NoSuchPortletItemException,
                                    com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_P_C_PrevAndNext

PortletItem[] findByG_P_C_PrevAndNext(long portletItemId,
                                      long groupId,
                                      java.lang.String portletId,
                                      long classNameId,
                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                      throws NoSuchPortletItemException,
                                             com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

findByG_N_P_C

PortletItem findByG_N_P_C(long groupId,
                          java.lang.String name,
                          java.lang.String portletId,
                          long classNameId)
                          throws NoSuchPortletItemException,
                                 com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

fetchByG_N_P_C

PortletItem fetchByG_N_P_C(long groupId,
                           java.lang.String name,
                           java.lang.String portletId,
                           long classNameId)
                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.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 com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<PortletItem> findAll()
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<PortletItem> findAll(int start,
                                    int end)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findAll

java.util.List<PortletItem> findAll(int start,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_C

void removeByG_C(long groupId,
                 long classNameId)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_P_C

void removeByG_P_C(long groupId,
                   java.lang.String portletId,
                   long classNameId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByG_N_P_C

void removeByG_N_P_C(long groupId,
                     java.lang.String name,
                     java.lang.String portletId,
                     long classNameId)
                     throws NoSuchPortletItemException,
                            com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchPortletItemException
com.liferay.portal.kernel.exception.SystemException

removeAll

void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_C

int countByG_C(long groupId,
               long classNameId)
               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_P_C

int countByG_P_C(long groupId,
                 java.lang.String portletId,
                 long classNameId)
                 throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByG_N_P_C

int countByG_N_P_C(long groupId,
                   java.lang.String name,
                   java.lang.String portletId,
                   long classNameId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countAll

int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException