com.liferay.portal.service.persistence
Interface OrgGroupRolePersistence

All Superinterfaces:
BasePersistence<OrgGroupRole>

public interface OrgGroupRolePersistence
extends BasePersistence<OrgGroupRole>

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:
OrgGroupRolePersistenceImpl, OrgGroupRoleUtil
Generated:

Method Summary
 void cacheResult(java.util.List<OrgGroupRole> orgGroupRoles)
           
 void cacheResult(OrgGroupRole orgGroupRole)
           
 int countAll()
           
 int countByGroupId(long groupId)
           
 int countByRoleId(long roleId)
           
 OrgGroupRole create(OrgGroupRolePK orgGroupRolePK)
           
 OrgGroupRole fetchByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
           
 java.util.List<OrgGroupRole> findAll()
           
 java.util.List<OrgGroupRole> findAll(int start, int end)
           
 java.util.List<OrgGroupRole> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole[] findByGroupId_PrevAndNext(OrgGroupRolePK orgGroupRolePK, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<OrgGroupRole> findByGroupId(long groupId)
           
 java.util.List<OrgGroupRole> findByGroupId(long groupId, int start, int end)
           
 java.util.List<OrgGroupRole> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole findByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
           
 OrgGroupRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole[] findByRoleId_PrevAndNext(OrgGroupRolePK orgGroupRolePK, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<OrgGroupRole> findByRoleId(long roleId)
           
 java.util.List<OrgGroupRole> findByRoleId(long roleId, int start, int end)
           
 java.util.List<OrgGroupRole> findByRoleId(long roleId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 OrgGroupRole remove(OrgGroupRolePK orgGroupRolePK)
           
 void removeAll()
           
 void removeByGroupId(long groupId)
           
 void removeByRoleId(long roleId)
           
 OrgGroupRole updateImpl(OrgGroupRole orgGroupRole, 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(OrgGroupRole orgGroupRole)

cacheResult

void cacheResult(java.util.List<OrgGroupRole> orgGroupRoles)

create

OrgGroupRole create(OrgGroupRolePK orgGroupRolePK)

remove

OrgGroupRole remove(OrgGroupRolePK orgGroupRolePK)
                    throws NoSuchOrgGroupRoleException,
                           com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

updateImpl

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

findByPrimaryKey

OrgGroupRole findByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
                              throws NoSuchOrgGroupRoleException,
                                     com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

fetchByPrimaryKey

OrgGroupRole fetchByPrimaryKey(OrgGroupRolePK orgGroupRolePK)
                               throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

java.util.List<OrgGroupRole> findByGroupId(long groupId)
                                           throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByGroupId

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

findByGroupId

java.util.List<OrgGroupRole> findByGroupId(long groupId,
                                           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

findByGroupId_First

OrgGroupRole findByGroupId_First(long groupId,
                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                 throws NoSuchOrgGroupRoleException,
                                        com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_Last

OrgGroupRole findByGroupId_Last(long groupId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchOrgGroupRoleException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findByGroupId_PrevAndNext

OrgGroupRole[] findByGroupId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
                                         long groupId,
                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                         throws NoSuchOrgGroupRoleException,
                                                com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findByRoleId

java.util.List<OrgGroupRole> findByRoleId(long roleId)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByRoleId

java.util.List<OrgGroupRole> findByRoleId(long roleId,
                                          int start,
                                          int end)
                                          throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

findByRoleId

java.util.List<OrgGroupRole> findByRoleId(long roleId,
                                          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

findByRoleId_First

OrgGroupRole findByRoleId_First(long roleId,
                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                throws NoSuchOrgGroupRoleException,
                                       com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findByRoleId_Last

OrgGroupRole findByRoleId_Last(long roleId,
                               com.liferay.portal.kernel.util.OrderByComparator obc)
                               throws NoSuchOrgGroupRoleException,
                                      com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findByRoleId_PrevAndNext

OrgGroupRole[] findByRoleId_PrevAndNext(OrgGroupRolePK orgGroupRolePK,
                                        long roleId,
                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                        throws NoSuchOrgGroupRoleException,
                                               com.liferay.portal.kernel.exception.SystemException
Throws:
NoSuchOrgGroupRoleException
com.liferay.portal.kernel.exception.SystemException

findAll

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

findAll

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

findAll

java.util.List<OrgGroupRole> 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

removeByGroupId

void removeByGroupId(long groupId)
                     throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeByRoleId

void removeByRoleId(long roleId)
                    throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

removeAll

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

countByGroupId

int countByGroupId(long groupId)
                   throws com.liferay.portal.kernel.exception.SystemException
Throws:
com.liferay.portal.kernel.exception.SystemException

countByRoleId

int countByRoleId(long roleId)
                  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