com.liferay.portal.service.persistence
Class OrgGroupRolePersistenceImpl

java.lang.Object
  extended byorg.springframework.dao.support.DaoSupport
      extended byorg.springframework.jdbc.core.support.JdbcDaoSupport
          extended bycom.liferay.portal.service.persistence.BasePersistence
              extended bycom.liferay.portal.service.persistence.OrgGroupRolePersistenceImpl
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, OrgGroupRolePersistence

public class OrgGroupRolePersistenceImpl
extends BasePersistence
implements OrgGroupRolePersistence

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
OrgGroupRolePersistenceImpl()
           
 
Method Summary
 int countAll()
           
 int countByGroupId(long groupId)
           
 int countByRoleId(long roleId)
           
 com.liferay.portal.model.OrgGroupRole create(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
           
 com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK, long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByGroupId(long groupId)
           
 java.util.List findByGroupId(long groupId, int begin, int end)
           
 java.util.List findByGroupId(long groupId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole findByPrimaryKey(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
           
 com.liferay.portal.model.OrgGroupRole findByRoleId_First(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole findByRoleId_Last(long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK, long roleId, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findByRoleId(long roleId)
           
 java.util.List findByRoleId(long roleId, int begin, int end)
           
 java.util.List findByRoleId(long roleId, int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
protected  void initDao()
           
 com.liferay.portal.model.OrgGroupRole remove(com.liferay.portal.model.OrgGroupRole orgGroupRole)
           
 com.liferay.portal.model.OrgGroupRole remove(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
           
 void removeAll()
           
 void removeByGroupId(long groupId)
           
 void removeByRoleId(long roleId)
           
 com.liferay.portal.model.OrgGroupRole update(com.liferay.portal.model.OrgGroupRole orgGroupRole)
           
 com.liferay.portal.model.OrgGroupRole update(com.liferay.portal.model.OrgGroupRole orgGroupRole, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.BasePersistence
closeSession, getDialect, getSessionFactory, openSession, openSession, setSessionFactory
 
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrgGroupRolePersistenceImpl

public OrgGroupRolePersistenceImpl()
Method Detail

create

public com.liferay.portal.model.OrgGroupRole create(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
Specified by:
create in interface OrgGroupRolePersistence

remove

public com.liferay.portal.model.OrgGroupRole remove(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
                                             throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                    com.liferay.portal.SystemException
Specified by:
remove in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

remove

public com.liferay.portal.model.OrgGroupRole remove(com.liferay.portal.model.OrgGroupRole orgGroupRole)
                                             throws com.liferay.portal.SystemException
Specified by:
remove in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.OrgGroupRole update(com.liferay.portal.model.OrgGroupRole orgGroupRole)
                                             throws com.liferay.portal.SystemException
Specified by:
update in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

update

public com.liferay.portal.model.OrgGroupRole update(com.liferay.portal.model.OrgGroupRole orgGroupRole,
                                                    boolean merge)
                                             throws com.liferay.portal.SystemException
Specified by:
update in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public com.liferay.portal.model.OrgGroupRole findByPrimaryKey(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
                                                       throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                              com.liferay.portal.SystemException
Specified by:
findByPrimaryKey in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

fetchByPrimaryKey

public com.liferay.portal.model.OrgGroupRole fetchByPrimaryKey(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK)
                                                        throws com.liferay.portal.SystemException
Specified by:
fetchByPrimaryKey in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId)
                             throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end)
                             throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId

public java.util.List findByGroupId(long groupId,
                                    int begin,
                                    int end,
                                    com.liferay.portal.kernel.util.OrderByComparator obc)
                             throws com.liferay.portal.SystemException
Specified by:
findByGroupId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByGroupId_First

public com.liferay.portal.model.OrgGroupRole findByGroupId_First(long groupId,
                                                                 com.liferay.portal.kernel.util.OrderByComparator obc)
                                                          throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                                 com.liferay.portal.SystemException
Specified by:
findByGroupId_First in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findByGroupId_Last

public com.liferay.portal.model.OrgGroupRole findByGroupId_Last(long groupId,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                         throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                                com.liferay.portal.SystemException
Specified by:
findByGroupId_Last in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findByGroupId_PrevAndNext

public com.liferay.portal.model.OrgGroupRole[] findByGroupId_PrevAndNext(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
                                                                         long groupId,
                                                                         com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                  throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                                         com.liferay.portal.SystemException
Specified by:
findByGroupId_PrevAndNext in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findByRoleId

public java.util.List findByRoleId(long roleId)
                            throws com.liferay.portal.SystemException
Specified by:
findByRoleId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByRoleId

public java.util.List findByRoleId(long roleId,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
findByRoleId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByRoleId

public java.util.List findByRoleId(long roleId,
                                   int begin,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator obc)
                            throws com.liferay.portal.SystemException
Specified by:
findByRoleId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findByRoleId_First

public com.liferay.portal.model.OrgGroupRole findByRoleId_First(long roleId,
                                                                com.liferay.portal.kernel.util.OrderByComparator obc)
                                                         throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                                com.liferay.portal.SystemException
Specified by:
findByRoleId_First in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findByRoleId_Last

public com.liferay.portal.model.OrgGroupRole findByRoleId_Last(long roleId,
                                                               com.liferay.portal.kernel.util.OrderByComparator obc)
                                                        throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                               com.liferay.portal.SystemException
Specified by:
findByRoleId_Last in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findByRoleId_PrevAndNext

public com.liferay.portal.model.OrgGroupRole[] findByRoleId_PrevAndNext(com.liferay.portal.service.persistence.OrgGroupRolePK orgGroupRolePK,
                                                                        long roleId,
                                                                        com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                 throws com.liferay.portal.NoSuchOrgGroupRoleException,
                                                                        com.liferay.portal.SystemException
Specified by:
findByRoleId_PrevAndNext in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.NoSuchOrgGroupRoleException
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Specified by:
findWithDynamicQuery in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Specified by:
findAll in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

removeByGroupId

public void removeByGroupId(long groupId)
                     throws com.liferay.portal.SystemException
Specified by:
removeByGroupId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

removeByRoleId

public void removeByRoleId(long roleId)
                    throws com.liferay.portal.SystemException
Specified by:
removeByRoleId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Specified by:
removeAll in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

countByGroupId

public int countByGroupId(long groupId)
                   throws com.liferay.portal.SystemException
Specified by:
countByGroupId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

countByRoleId

public int countByRoleId(long roleId)
                  throws com.liferay.portal.SystemException
Specified by:
countByRoleId in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Specified by:
countAll in interface OrgGroupRolePersistence
Throws:
com.liferay.portal.SystemException

initDao

protected void initDao()