Liferay 6.0.3

com.liferay.portal.service.persistence
Interface LayoutPersistence

All Superinterfaces:
BasePersistence<Layout>
All Known Implementing Classes:
LayoutPersistenceImpl

public interface LayoutPersistence
extends BasePersistence<Layout>

See Also:
LayoutPersistenceImpl, LayoutUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

Method Summary
 void cacheResult(Layout layout)
           
 void cacheResult(List<Layout> layouts)
           
 int countAll()
           
 int countByCompanyId(long companyId)
           
 int countByDLFolderId(long dlFolderId)
           
 int countByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
           
 int countByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 int countByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 int countByG_P_T(long groupId, boolean privateLayout, String type)
           
 int countByG_P(long groupId, boolean privateLayout)
           
 int countByGroupId(long groupId)
           
 int countByIconImageId(long iconImageId)
           
 int countByUUID_G(String uuid, long groupId)
           
 int countByUuid(String uuid)
           
 Layout create(long plid)
           
 Layout fetchByDLFolderId(long dlFolderId)
           
 Layout fetchByDLFolderId(long dlFolderId, boolean retrieveFromCache)
           
 Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
           
 Layout fetchByG_P_F(long groupId, boolean privateLayout, String friendlyURL, boolean retrieveFromCache)
           
 Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 Layout fetchByG_P_L(long groupId, boolean privateLayout, long layoutId, boolean retrieveFromCache)
           
 Layout fetchByIconImageId(long iconImageId)
           
 Layout fetchByIconImageId(long iconImageId, boolean retrieveFromCache)
           
 Layout fetchByPrimaryKey(long plid)
           
 Layout fetchByUUID_G(String uuid, long groupId)
           
 Layout fetchByUUID_G(String uuid, long groupId, boolean retrieveFromCache)
           
 List<Layout> findAll()
           
 List<Layout> findAll(int start, int end)
           
 List<Layout> findAll(int start, int end, OrderByComparator orderByComparator)
           
 Layout findByCompanyId_First(long companyId, OrderByComparator orderByComparator)
           
 Layout findByCompanyId_Last(long companyId, OrderByComparator orderByComparator)
           
 Layout[] findByCompanyId_PrevAndNext(long plid, long companyId, OrderByComparator orderByComparator)
           
 List<Layout> findByCompanyId(long companyId)
           
 List<Layout> findByCompanyId(long companyId, int start, int end)
           
 List<Layout> findByCompanyId(long companyId, int start, int end, OrderByComparator orderByComparator)
           
 Layout findByDLFolderId(long dlFolderId)
           
 Layout findByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
           
 Layout findByG_P_First(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 Layout findByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 Layout findByG_P_Last(long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 Layout findByG_P_P_First(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator)
           
 Layout findByG_P_P_Last(long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator)
           
 Layout[] findByG_P_P_PrevAndNext(long plid, long groupId, boolean privateLayout, long parentLayoutId, OrderByComparator orderByComparator)
           
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end)
           
 List<Layout> findByG_P_P(long groupId, boolean privateLayout, long parentLayoutId, int start, int end, OrderByComparator orderByComparator)
           
 Layout[] findByG_P_PrevAndNext(long plid, long groupId, boolean privateLayout, OrderByComparator orderByComparator)
           
 Layout findByG_P_T_First(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator)
           
 Layout findByG_P_T_Last(long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator)
           
 Layout[] findByG_P_T_PrevAndNext(long plid, long groupId, boolean privateLayout, String type, OrderByComparator orderByComparator)
           
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type)
           
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end)
           
 List<Layout> findByG_P_T(long groupId, boolean privateLayout, String type, int start, int end, OrderByComparator orderByComparator)
           
 List<Layout> findByG_P(long groupId, boolean privateLayout)
           
 List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end)
           
 List<Layout> findByG_P(long groupId, boolean privateLayout, int start, int end, OrderByComparator orderByComparator)
           
 Layout findByGroupId_First(long groupId, OrderByComparator orderByComparator)
           
 Layout findByGroupId_Last(long groupId, OrderByComparator orderByComparator)
           
 Layout[] findByGroupId_PrevAndNext(long plid, long groupId, OrderByComparator orderByComparator)
           
 List<Layout> findByGroupId(long groupId)
           
 List<Layout> findByGroupId(long groupId, int start, int end)
           
 List<Layout> findByGroupId(long groupId, int start, int end, OrderByComparator orderByComparator)
           
 Layout findByIconImageId(long iconImageId)
           
 Layout findByPrimaryKey(long plid)
           
 Layout findByUuid_First(String uuid, OrderByComparator orderByComparator)
           
 Layout findByUUID_G(String uuid, long groupId)
           
 Layout findByUuid_Last(String uuid, OrderByComparator orderByComparator)
           
 Layout[] findByUuid_PrevAndNext(long plid, String uuid, OrderByComparator orderByComparator)
           
 List<Layout> findByUuid(String uuid)
           
 List<Layout> findByUuid(String uuid, int start, int end)
           
 List<Layout> findByUuid(String uuid, int start, int end, OrderByComparator orderByComparator)
           
 Layout remove(long plid)
           
 void removeAll()
           
 void removeByCompanyId(long companyId)
           
 void removeByDLFolderId(long dlFolderId)
           
 void removeByG_P_F(long groupId, boolean privateLayout, String friendlyURL)
           
 void removeByG_P_L(long groupId, boolean privateLayout, long layoutId)
           
 void removeByG_P_P(long groupId, boolean privateLayout, long parentLayoutId)
           
 void removeByG_P_T(long groupId, boolean privateLayout, String type)
           
 void removeByG_P(long groupId, boolean privateLayout)
           
 void removeByGroupId(long groupId)
           
 void removeByIconImageId(long iconImageId)
           
 void removeByUUID_G(String uuid, long groupId)
           
 void removeByUuid(String uuid)
           
 Layout updateImpl(Layout layout, 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, update
 

Method Detail

cacheResult

void cacheResult(Layout layout)

cacheResult

void cacheResult(List<Layout> layouts)

create

Layout create(long plid)

remove

Layout remove(long plid)
              throws NoSuchLayoutException,
                     SystemException
Throws:
NoSuchLayoutException
SystemException

updateImpl

Layout updateImpl(Layout layout,
                  boolean merge)
                  throws SystemException
Throws:
SystemException

findByPrimaryKey

Layout findByPrimaryKey(long plid)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByPrimaryKey

Layout fetchByPrimaryKey(long plid)
                         throws SystemException
Throws:
SystemException

findByUuid

List<Layout> findByUuid(String uuid)
                        throws SystemException
Throws:
SystemException

findByUuid

List<Layout> findByUuid(String uuid,
                        int start,
                        int end)
                        throws SystemException
Throws:
SystemException

findByUuid

List<Layout> findByUuid(String uuid,
                        int start,
                        int end,
                        OrderByComparator orderByComparator)
                        throws SystemException
Throws:
SystemException

findByUuid_First

Layout findByUuid_First(String uuid,
                        OrderByComparator orderByComparator)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

findByUuid_Last

Layout findByUuid_Last(String uuid,
                       OrderByComparator orderByComparator)
                       throws NoSuchLayoutException,
                              SystemException
Throws:
NoSuchLayoutException
SystemException

findByUuid_PrevAndNext

Layout[] findByUuid_PrevAndNext(long plid,
                                String uuid,
                                OrderByComparator orderByComparator)
                                throws NoSuchLayoutException,
                                       SystemException
Throws:
NoSuchLayoutException
SystemException

findByUUID_G

Layout findByUUID_G(String uuid,
                    long groupId)
                    throws NoSuchLayoutException,
                           SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByUUID_G

Layout fetchByUUID_G(String uuid,
                     long groupId)
                     throws SystemException
Throws:
SystemException

fetchByUUID_G

Layout fetchByUUID_G(String uuid,
                     long groupId,
                     boolean retrieveFromCache)
                     throws SystemException
Throws:
SystemException

findByGroupId

List<Layout> findByGroupId(long groupId)
                           throws SystemException
Throws:
SystemException

findByGroupId

List<Layout> findByGroupId(long groupId,
                           int start,
                           int end)
                           throws SystemException
Throws:
SystemException

findByGroupId

List<Layout> findByGroupId(long groupId,
                           int start,
                           int end,
                           OrderByComparator orderByComparator)
                           throws SystemException
Throws:
SystemException

findByGroupId_First

Layout findByGroupId_First(long groupId,
                           OrderByComparator orderByComparator)
                           throws NoSuchLayoutException,
                                  SystemException
Throws:
NoSuchLayoutException
SystemException

findByGroupId_Last

Layout findByGroupId_Last(long groupId,
                          OrderByComparator orderByComparator)
                          throws NoSuchLayoutException,
                                 SystemException
Throws:
NoSuchLayoutException
SystemException

findByGroupId_PrevAndNext

Layout[] findByGroupId_PrevAndNext(long plid,
                                   long groupId,
                                   OrderByComparator orderByComparator)
                                   throws NoSuchLayoutException,
                                          SystemException
Throws:
NoSuchLayoutException
SystemException

findByCompanyId

List<Layout> findByCompanyId(long companyId)
                             throws SystemException
Throws:
SystemException

findByCompanyId

List<Layout> findByCompanyId(long companyId,
                             int start,
                             int end)
                             throws SystemException
Throws:
SystemException

findByCompanyId

List<Layout> findByCompanyId(long companyId,
                             int start,
                             int end,
                             OrderByComparator orderByComparator)
                             throws SystemException
Throws:
SystemException

findByCompanyId_First

Layout findByCompanyId_First(long companyId,
                             OrderByComparator orderByComparator)
                             throws NoSuchLayoutException,
                                    SystemException
Throws:
NoSuchLayoutException
SystemException

findByCompanyId_Last

Layout findByCompanyId_Last(long companyId,
                            OrderByComparator orderByComparator)
                            throws NoSuchLayoutException,
                                   SystemException
Throws:
NoSuchLayoutException
SystemException

findByCompanyId_PrevAndNext

Layout[] findByCompanyId_PrevAndNext(long plid,
                                     long companyId,
                                     OrderByComparator orderByComparator)
                                     throws NoSuchLayoutException,
                                            SystemException
Throws:
NoSuchLayoutException
SystemException

findByDLFolderId

Layout findByDLFolderId(long dlFolderId)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByDLFolderId

Layout fetchByDLFolderId(long dlFolderId)
                         throws SystemException
Throws:
SystemException

fetchByDLFolderId

Layout fetchByDLFolderId(long dlFolderId,
                         boolean retrieveFromCache)
                         throws SystemException
Throws:
SystemException

findByIconImageId

Layout findByIconImageId(long iconImageId)
                         throws NoSuchLayoutException,
                                SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByIconImageId

Layout fetchByIconImageId(long iconImageId)
                          throws SystemException
Throws:
SystemException

fetchByIconImageId

Layout fetchByIconImageId(long iconImageId,
                          boolean retrieveFromCache)
                          throws SystemException
Throws:
SystemException

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout)
                       throws SystemException
Throws:
SystemException

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout,
                       int start,
                       int end)
                       throws SystemException
Throws:
SystemException

findByG_P

List<Layout> findByG_P(long groupId,
                       boolean privateLayout,
                       int start,
                       int end,
                       OrderByComparator orderByComparator)
                       throws SystemException
Throws:
SystemException

findByG_P_First

Layout findByG_P_First(long groupId,
                       boolean privateLayout,
                       OrderByComparator orderByComparator)
                       throws NoSuchLayoutException,
                              SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_Last

Layout findByG_P_Last(long groupId,
                      boolean privateLayout,
                      OrderByComparator orderByComparator)
                      throws NoSuchLayoutException,
                             SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_PrevAndNext

Layout[] findByG_P_PrevAndNext(long plid,
                               long groupId,
                               boolean privateLayout,
                               OrderByComparator orderByComparator)
                               throws NoSuchLayoutException,
                                      SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_L

Layout findByG_P_L(long groupId,
                   boolean privateLayout,
                   long layoutId)
                   throws NoSuchLayoutException,
                          SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByG_P_L

Layout fetchByG_P_L(long groupId,
                    boolean privateLayout,
                    long layoutId)
                    throws SystemException
Throws:
SystemException

fetchByG_P_L

Layout fetchByG_P_L(long groupId,
                    boolean privateLayout,
                    long layoutId,
                    boolean retrieveFromCache)
                    throws SystemException
Throws:
SystemException

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId)
                         throws SystemException
Throws:
SystemException

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_P_P

List<Layout> findByG_P_P(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_P_P_First

Layout findByG_P_P_First(long groupId,
                         boolean privateLayout,
                         long parentLayoutId,
                         OrderByComparator orderByComparator)
                         throws NoSuchLayoutException,
                                SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_P_Last

Layout findByG_P_P_Last(long groupId,
                        boolean privateLayout,
                        long parentLayoutId,
                        OrderByComparator orderByComparator)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_P_PrevAndNext

Layout[] findByG_P_P_PrevAndNext(long plid,
                                 long groupId,
                                 boolean privateLayout,
                                 long parentLayoutId,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchLayoutException,
                                        SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_F

Layout findByG_P_F(long groupId,
                   boolean privateLayout,
                   String friendlyURL)
                   throws NoSuchLayoutException,
                          SystemException
Throws:
NoSuchLayoutException
SystemException

fetchByG_P_F

Layout fetchByG_P_F(long groupId,
                    boolean privateLayout,
                    String friendlyURL)
                    throws SystemException
Throws:
SystemException

fetchByG_P_F

Layout fetchByG_P_F(long groupId,
                    boolean privateLayout,
                    String friendlyURL,
                    boolean retrieveFromCache)
                    throws SystemException
Throws:
SystemException

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type)
                         throws SystemException
Throws:
SystemException

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type,
                         int start,
                         int end)
                         throws SystemException
Throws:
SystemException

findByG_P_T

List<Layout> findByG_P_T(long groupId,
                         boolean privateLayout,
                         String type,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                         throws SystemException
Throws:
SystemException

findByG_P_T_First

Layout findByG_P_T_First(long groupId,
                         boolean privateLayout,
                         String type,
                         OrderByComparator orderByComparator)
                         throws NoSuchLayoutException,
                                SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_T_Last

Layout findByG_P_T_Last(long groupId,
                        boolean privateLayout,
                        String type,
                        OrderByComparator orderByComparator)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

findByG_P_T_PrevAndNext

Layout[] findByG_P_T_PrevAndNext(long plid,
                                 long groupId,
                                 boolean privateLayout,
                                 String type,
                                 OrderByComparator orderByComparator)
                                 throws NoSuchLayoutException,
                                        SystemException
Throws:
NoSuchLayoutException
SystemException

findAll

List<Layout> findAll()
                     throws SystemException
Throws:
SystemException

findAll

List<Layout> findAll(int start,
                     int end)
                     throws SystemException
Throws:
SystemException

findAll

List<Layout> findAll(int start,
                     int end,
                     OrderByComparator orderByComparator)
                     throws SystemException
Throws:
SystemException

removeByUuid

void removeByUuid(String uuid)
                  throws SystemException
Throws:
SystemException

removeByUUID_G

void removeByUUID_G(String uuid,
                    long groupId)
                    throws NoSuchLayoutException,
                           SystemException
Throws:
NoSuchLayoutException
SystemException

removeByGroupId

void removeByGroupId(long groupId)
                     throws SystemException
Throws:
SystemException

removeByCompanyId

void removeByCompanyId(long companyId)
                       throws SystemException
Throws:
SystemException

removeByDLFolderId

void removeByDLFolderId(long dlFolderId)
                        throws NoSuchLayoutException,
                               SystemException
Throws:
NoSuchLayoutException
SystemException

removeByIconImageId

void removeByIconImageId(long iconImageId)
                         throws NoSuchLayoutException,
                                SystemException
Throws:
NoSuchLayoutException
SystemException

removeByG_P

void removeByG_P(long groupId,
                 boolean privateLayout)
                 throws SystemException
Throws:
SystemException

removeByG_P_L

void removeByG_P_L(long groupId,
                   boolean privateLayout,
                   long layoutId)
                   throws NoSuchLayoutException,
                          SystemException
Throws:
NoSuchLayoutException
SystemException

removeByG_P_P

void removeByG_P_P(long groupId,
                   boolean privateLayout,
                   long parentLayoutId)
                   throws SystemException
Throws:
SystemException

removeByG_P_F

void removeByG_P_F(long groupId,
                   boolean privateLayout,
                   String friendlyURL)
                   throws NoSuchLayoutException,
                          SystemException
Throws:
NoSuchLayoutException
SystemException

removeByG_P_T

void removeByG_P_T(long groupId,
                   boolean privateLayout,
                   String type)
                   throws SystemException
Throws:
SystemException

removeAll

void removeAll()
               throws SystemException
Throws:
SystemException

countByUuid

int countByUuid(String uuid)
                throws SystemException
Throws:
SystemException

countByUUID_G

int countByUUID_G(String uuid,
                  long groupId)
                  throws SystemException
Throws:
SystemException

countByGroupId

int countByGroupId(long groupId)
                   throws SystemException
Throws:
SystemException

countByCompanyId

int countByCompanyId(long companyId)
                     throws SystemException
Throws:
SystemException

countByDLFolderId

int countByDLFolderId(long dlFolderId)
                      throws SystemException
Throws:
SystemException

countByIconImageId

int countByIconImageId(long iconImageId)
                       throws SystemException
Throws:
SystemException

countByG_P

int countByG_P(long groupId,
               boolean privateLayout)
               throws SystemException
Throws:
SystemException

countByG_P_L

int countByG_P_L(long groupId,
                 boolean privateLayout,
                 long layoutId)
                 throws SystemException
Throws:
SystemException

countByG_P_P

int countByG_P_P(long groupId,
                 boolean privateLayout,
                 long parentLayoutId)
                 throws SystemException
Throws:
SystemException

countByG_P_F

int countByG_P_F(long groupId,
                 boolean privateLayout,
                 String friendlyURL)
                 throws SystemException
Throws:
SystemException

countByG_P_T

int countByG_P_T(long groupId,
                 boolean privateLayout,
                 String type)
                 throws SystemException
Throws:
SystemException

countAll

int countAll()
             throws SystemException
Throws:
SystemException

Liferay 6.0.3