Liferay 6.1.2-ce-ga3

com.liferay.portal.service.persistence
Class OrganizationFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Organization>
      extended by com.liferay.portal.service.persistence.OrganizationFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<Organization>, OrganizationFinder

public class OrganizationFinderImpl
extends BasePersistenceImpl<Organization>
implements OrganizationFinder


Field Summary
static String COUNT_BY_C_PO_N_L_S_C_Z_R_C
           
static String COUNT_BY_C_PO_N_S_C_Z_R_C
           
static String COUNT_BY_ORGANIZATION_ID
           
protected static String COUNTRY_ID_SQL
           
static String FIND_BY_C_PO_N_L_S_C_Z_R_C
           
static String FIND_BY_C_PO_N_S_C_Z_R_C
           
static String FIND_BY_COMPANY_ID
           
static String JOIN_BY_GROUPS_PERMISSIONS
           
static String JOIN_BY_ORG_GROUP_PERMISSION
           
static String JOIN_BY_ORGANIZATIONS_GROUPS
           
static String JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES
           
static String JOIN_BY_ORGANIZATIONS_ROLES
           
static String JOIN_BY_ORGANIZATIONS_USERS
           
static String JOIN_BY_USERS_ORGS
           
protected static String REGION_ID_SQL
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
OrganizationFinderImpl()
           
 
Method Summary
 int countByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String[] names, String type, String[] streets, String[] cities, String[] zips, Long regionId, Long countryId, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String name, String type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByKeywords(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String keywords, String type, Long regionId, Long countryId, LinkedHashMap<String,Object> params)
           
 int countByO_U(long organizationId, long userId)
           
protected  int countByOrganizationId(Session session, long organizationId, LinkedHashMap<String,Object> params)
           
protected  int countByPermissions(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String[] names, String type, String[] streets, String[] cities, String[] zips, Long regionId, Long countryId, long resourceId, long groupId, boolean andOperator)
           
 List<Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String[] names, String type, String[] streets, String[] cities, String[] zips, Long regionId, Long countryId, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String name, String type, String street, String city, String zip, Long regionId, Long countryId, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<Organization> findByCompanyId(long companyId, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 List<Organization> findByKeywords(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String keywords, String type, Long regionId, Long countryId, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
protected  List<Organization> findByPermissions(long companyId, long parentOrganizationId, String parentOrganizationIdComparator, String[] names, String type, String[] streets, String[] cities, String[] zips, Long regionId, Long countryId, long resourceId, long groupId, boolean andOperator, int start, int end, OrderByComparator obc)
           
protected  String getJoin(LinkedHashMap<String,Object> params)
           
protected  String getJoin(String key)
           
protected  String getWhere(LinkedHashMap<String,Object> params)
           
protected  String getWhere(String key)
           
protected  String getWhere(String key, Object value)
           
protected  void setJoin(QueryPos qPos, LinkedHashMap<String,Object> params)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_ORGANIZATION_ID

public static final String COUNT_BY_ORGANIZATION_ID

COUNT_BY_C_PO_N_S_C_Z_R_C

public static final String COUNT_BY_C_PO_N_S_C_Z_R_C

COUNT_BY_C_PO_N_L_S_C_Z_R_C

public static final String COUNT_BY_C_PO_N_L_S_C_Z_R_C

FIND_BY_COMPANY_ID

public static final String FIND_BY_COMPANY_ID

FIND_BY_C_PO_N_S_C_Z_R_C

public static final String FIND_BY_C_PO_N_S_C_Z_R_C

FIND_BY_C_PO_N_L_S_C_Z_R_C

public static final String FIND_BY_C_PO_N_L_S_C_Z_R_C

JOIN_BY_GROUPS_PERMISSIONS

public static final String JOIN_BY_GROUPS_PERMISSIONS

JOIN_BY_ORGANIZATIONS_GROUPS

public static final String JOIN_BY_ORGANIZATIONS_GROUPS

JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES

public static final String JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES

JOIN_BY_ORGANIZATIONS_ROLES

public static final String JOIN_BY_ORGANIZATIONS_ROLES

JOIN_BY_ORGANIZATIONS_USERS

public static final String JOIN_BY_ORGANIZATIONS_USERS

JOIN_BY_ORG_GROUP_PERMISSION

public static final String JOIN_BY_ORG_GROUP_PERMISSION

JOIN_BY_USERS_ORGS

public static final String JOIN_BY_USERS_ORGS

COUNTRY_ID_SQL

protected static final String COUNTRY_ID_SQL
See Also:
Constant Field Values

REGION_ID_SQL

protected static final String REGION_ID_SQL
See Also:
Constant Field Values
Constructor Detail

OrganizationFinderImpl

public OrganizationFinderImpl()
Method Detail

countByKeywords

public int countByKeywords(long companyId,
                           long parentOrganizationId,
                           String parentOrganizationIdComparator,
                           String keywords,
                           String type,
                           Long regionId,
                           Long countryId,
                           LinkedHashMap<String,Object> params)
                    throws SystemException
Specified by:
countByKeywords in interface OrganizationFinder
Throws:
SystemException

countByO_U

public int countByO_U(long organizationId,
                      long userId)
               throws SystemException
Specified by:
countByO_U in interface OrganizationFinder
Throws:
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,
                                     String parentOrganizationIdComparator,
                                     String name,
                                     String type,
                                     String street,
                                     String city,
                                     String zip,
                                     Long regionId,
                                     Long countryId,
                                     LinkedHashMap<String,Object> params,
                                     boolean andOperator)
                              throws SystemException
Specified by:
countByC_PO_N_T_S_C_Z_R_C in interface OrganizationFinder
Throws:
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,
                                     String parentOrganizationIdComparator,
                                     String[] names,
                                     String type,
                                     String[] streets,
                                     String[] cities,
                                     String[] zips,
                                     Long regionId,
                                     Long countryId,
                                     LinkedHashMap<String,Object> params,
                                     boolean andOperator)
                              throws SystemException
Specified by:
countByC_PO_N_T_S_C_Z_R_C in interface OrganizationFinder
Throws:
SystemException

findByCompanyId

public List<Organization> findByCompanyId(long companyId,
                                          LinkedHashMap<String,Object> params,
                                          int start,
                                          int end,
                                          OrderByComparator obc)
                                   throws SystemException
Specified by:
findByCompanyId in interface OrganizationFinder
Throws:
SystemException

findByKeywords

public List<Organization> findByKeywords(long companyId,
                                         long parentOrganizationId,
                                         String parentOrganizationIdComparator,
                                         String keywords,
                                         String type,
                                         Long regionId,
                                         Long countryId,
                                         LinkedHashMap<String,Object> params,
                                         int start,
                                         int end,
                                         OrderByComparator obc)
                                  throws SystemException
Specified by:
findByKeywords in interface OrganizationFinder
Throws:
SystemException

findByC_PO_N_T_S_C_Z_R_C

public List<Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId,
                                                   long parentOrganizationId,
                                                   String parentOrganizationIdComparator,
                                                   String name,
                                                   String type,
                                                   String street,
                                                   String city,
                                                   String zip,
                                                   Long regionId,
                                                   Long countryId,
                                                   LinkedHashMap<String,Object> params,
                                                   boolean andOperator,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws SystemException
Specified by:
findByC_PO_N_T_S_C_Z_R_C in interface OrganizationFinder
Throws:
SystemException

findByC_PO_N_T_S_C_Z_R_C

public List<Organization> findByC_PO_N_T_S_C_Z_R_C(long companyId,
                                                   long parentOrganizationId,
                                                   String parentOrganizationIdComparator,
                                                   String[] names,
                                                   String type,
                                                   String[] streets,
                                                   String[] cities,
                                                   String[] zips,
                                                   Long regionId,
                                                   Long countryId,
                                                   LinkedHashMap<String,Object> params,
                                                   boolean andOperator,
                                                   int start,
                                                   int end,
                                                   OrderByComparator obc)
                                            throws SystemException
Specified by:
findByC_PO_N_T_S_C_Z_R_C in interface OrganizationFinder
Throws:
SystemException

countByOrganizationId

protected int countByOrganizationId(Session session,
                                    long organizationId,
                                    LinkedHashMap<String,Object> params)

countByPermissions

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

findByPermissions

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

getJoin

protected String getJoin(LinkedHashMap<String,Object> params)

getJoin

protected String getJoin(String key)

getWhere

protected String getWhere(LinkedHashMap<String,Object> params)

getWhere

protected String getWhere(String key)

getWhere

protected String getWhere(String key,
                          Object value)

setJoin

protected void setJoin(QueryPos qPos,
                       LinkedHashMap<String,Object> params)

Liferay 6.1.2-ce-ga3