com.liferay.portal.service.persistence
Class OrganizationFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl
      extended by com.liferay.portal.service.persistence.OrganizationFinderImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence, com.liferay.portal.service.persistence.OrganizationFinder

public class OrganizationFinderImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl
implements com.liferay.portal.service.persistence.OrganizationFinder

View Source

Author:
Brian Wing Shun Chan, Jorge Ferrer

Field Summary
static java.lang.String COUNT_BY_C_PO_N_L_S_C_Z_R_C
           
static java.lang.String COUNT_BY_C_PO_N_S_C_Z_R_C
           
protected static java.lang.String COUNTRY_ID_SQL
           
static java.lang.String FIND_BY_C_PO_N_L_S_C_Z_R_C
           
static java.lang.String FIND_BY_C_PO_N_S_C_Z_R_C
           
static java.lang.String JOIN_BY_GROUPS_PERMISSIONS
           
static java.lang.String JOIN_BY_ORG_GROUP_PERMISSION
           
static java.lang.String JOIN_BY_ORGANIZATIONS_GROUPS
           
static java.lang.String JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES
           
static java.lang.String JOIN_BY_ORGANIZATIONS_ROLES
           
static java.lang.String JOIN_BY_ORGANIZATIONS_USERS
           
protected static java.lang.String REGION_ID_SQL
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners
 
Constructor Summary
OrganizationFinderImpl()
           
 
Method Summary
 int countByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String[] names, java.lang.String type, java.lang.String[] streets, java.lang.String[] cities, java.lang.String[] zips, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator)
           
 int countByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String name, java.lang.String type, java.lang.String street, java.lang.String city, java.lang.String zip, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator)
           
 int countByKeywords(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String keywords, java.lang.String type, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
protected  int countByPermissions(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String[] names, java.lang.String type, java.lang.String[] streets, java.lang.String[] cities, java.lang.String[] zips, java.lang.Long regionId, java.lang.Long countryId, long resourceId, long groupId, boolean andOperator)
           
 java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String[] names, java.lang.String type, java.lang.String[] streets, java.lang.String[] cities, java.lang.String[] zips, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String name, java.lang.String type, java.lang.String street, java.lang.String city, java.lang.String zip, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 java.util.List<com.liferay.portal.model.Organization> findByKeywords(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String keywords, java.lang.String type, java.lang.Long regionId, java.lang.Long countryId, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
protected  java.util.List<com.liferay.portal.model.Organization> findByPermissions(long companyId, long parentOrganizationId, java.lang.String parentOrganizationIdComparator, java.lang.String[] names, java.lang.String type, java.lang.String[] streets, java.lang.String[] cities, java.lang.String[] zips, java.lang.Long regionId, java.lang.Long countryId, long resourceId, long groupId, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
protected  java.lang.String getJoin(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
protected  java.lang.String getJoin(java.lang.String key)
           
protected  java.lang.String getWhere(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
protected  java.lang.String getWhere(java.lang.String key)
           
protected  java.lang.String getWhere(java.lang.String key, java.lang.Object value)
           
protected  void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos, java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
clearCache, closeSession, getDataSource, getDialect, getListeners, openSession, processException, registerListener, setDataSource, setSessionFactory, unregisterListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_C_PO_N_S_C_Z_R_C

public static java.lang.String COUNT_BY_C_PO_N_S_C_Z_R_C

COUNT_BY_C_PO_N_L_S_C_Z_R_C

public static java.lang.String COUNT_BY_C_PO_N_L_S_C_Z_R_C

FIND_BY_C_PO_N_S_C_Z_R_C

public static java.lang.String FIND_BY_C_PO_N_S_C_Z_R_C

FIND_BY_C_PO_N_L_S_C_Z_R_C

public static java.lang.String FIND_BY_C_PO_N_L_S_C_Z_R_C

JOIN_BY_GROUPS_PERMISSIONS

public static java.lang.String JOIN_BY_GROUPS_PERMISSIONS

JOIN_BY_ORGANIZATIONS_GROUPS

public static java.lang.String JOIN_BY_ORGANIZATIONS_GROUPS

JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES

public static java.lang.String JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES

JOIN_BY_ORGANIZATIONS_ROLES

public static java.lang.String JOIN_BY_ORGANIZATIONS_ROLES

JOIN_BY_ORGANIZATIONS_USERS

public static java.lang.String JOIN_BY_ORGANIZATIONS_USERS

JOIN_BY_ORG_GROUP_PERMISSION

public static java.lang.String JOIN_BY_ORG_GROUP_PERMISSION

COUNTRY_ID_SQL

protected static java.lang.String COUNTRY_ID_SQL

REGION_ID_SQL

protected static java.lang.String REGION_ID_SQL
Constructor Detail

OrganizationFinderImpl

public OrganizationFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long parentOrganizationId,
                           java.lang.String parentOrganizationIdComparator,
                           java.lang.String keywords,
                           java.lang.String type,
                           java.lang.Long regionId,
                           java.lang.Long countryId,
                           java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
                    throws com.liferay.portal.SystemException
Specified by:
countByKeywords in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

countByC_PO_N_T_S_C_Z_R_C

public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
                                     long parentOrganizationId,
                                     java.lang.String parentOrganizationIdComparator,
                                     java.lang.String name,
                                     java.lang.String type,
                                     java.lang.String street,
                                     java.lang.String city,
                                     java.lang.String zip,
                                     java.lang.Long regionId,
                                     java.lang.Long countryId,
                                     java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                     boolean andOperator)
                              throws com.liferay.portal.SystemException
Specified by:
countByC_PO_N_T_S_C_Z_R_C in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

countByC_PO_N_T_S_C_Z_R_C

public int countByC_PO_N_T_S_C_Z_R_C(long companyId,
                                     long parentOrganizationId,
                                     java.lang.String parentOrganizationIdComparator,
                                     java.lang.String[] names,
                                     java.lang.String type,
                                     java.lang.String[] streets,
                                     java.lang.String[] cities,
                                     java.lang.String[] zips,
                                     java.lang.Long regionId,
                                     java.lang.Long countryId,
                                     java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                     boolean andOperator)
                              throws com.liferay.portal.SystemException
Specified by:
countByC_PO_N_T_S_C_Z_R_C in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

findByKeywords

public java.util.List<com.liferay.portal.model.Organization> findByKeywords(long companyId,
                                                                            long parentOrganizationId,
                                                                            java.lang.String parentOrganizationIdComparator,
                                                                            java.lang.String keywords,
                                                                            java.lang.String type,
                                                                            java.lang.Long regionId,
                                                                            java.lang.Long countryId,
                                                                            java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                                                            int start,
                                                                            int end,
                                                                            com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                     throws com.liferay.portal.SystemException
Specified by:
findByKeywords in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

findByC_PO_N_T_S_C_Z_R_C

public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId,
                                                                                      long parentOrganizationId,
                                                                                      java.lang.String parentOrganizationIdComparator,
                                                                                      java.lang.String name,
                                                                                      java.lang.String type,
                                                                                      java.lang.String street,
                                                                                      java.lang.String city,
                                                                                      java.lang.String zip,
                                                                                      java.lang.Long regionId,
                                                                                      java.lang.Long countryId,
                                                                                      java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                                                                      boolean andOperator,
                                                                                      int start,
                                                                                      int end,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portal.SystemException
Specified by:
findByC_PO_N_T_S_C_Z_R_C in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

findByC_PO_N_T_S_C_Z_R_C

public java.util.List<com.liferay.portal.model.Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId,
                                                                                      long parentOrganizationId,
                                                                                      java.lang.String parentOrganizationIdComparator,
                                                                                      java.lang.String[] names,
                                                                                      java.lang.String type,
                                                                                      java.lang.String[] streets,
                                                                                      java.lang.String[] cities,
                                                                                      java.lang.String[] zips,
                                                                                      java.lang.Long regionId,
                                                                                      java.lang.Long countryId,
                                                                                      java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
                                                                                      boolean andOperator,
                                                                                      int start,
                                                                                      int end,
                                                                                      com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                               throws com.liferay.portal.SystemException
Specified by:
findByC_PO_N_T_S_C_Z_R_C in interface com.liferay.portal.service.persistence.OrganizationFinder
Throws:
com.liferay.portal.SystemException

countByPermissions

protected int countByPermissions(long companyId,
                                 long parentOrganizationId,
                                 java.lang.String parentOrganizationIdComparator,
                                 java.lang.String[] names,
                                 java.lang.String type,
                                 java.lang.String[] streets,
                                 java.lang.String[] cities,
                                 java.lang.String[] zips,
                                 java.lang.Long regionId,
                                 java.lang.Long countryId,
                                 long resourceId,
                                 long groupId,
                                 boolean andOperator)
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPermissions

protected java.util.List<com.liferay.portal.model.Organization> findByPermissions(long companyId,
                                                                                  long parentOrganizationId,
                                                                                  java.lang.String parentOrganizationIdComparator,
                                                                                  java.lang.String[] names,
                                                                                  java.lang.String type,
                                                                                  java.lang.String[] streets,
                                                                                  java.lang.String[] cities,
                                                                                  java.lang.String[] zips,
                                                                                  java.lang.Long regionId,
                                                                                  java.lang.Long countryId,
                                                                                  long resourceId,
                                                                                  long groupId,
                                                                                  boolean andOperator,
                                                                                  int start,
                                                                                  int end,
                                                                                  com.liferay.portal.kernel.util.OrderByComparator obc)
                                                                           throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getJoin

protected java.lang.String getJoin(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)

getJoin

protected java.lang.String getJoin(java.lang.String key)

getWhere

protected java.lang.String getWhere(java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)

getWhere

protected java.lang.String getWhere(java.lang.String key)

getWhere

protected java.lang.String getWhere(java.lang.String key,
                                    java.lang.Object value)

setJoin

protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos qPos,
                       java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)