Liferay 6.2-ce-ga5

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_GROUP_ID
           
static String COUNT_BY_ORGANIZATION_ID
           
static String FIND_BY_C_P
           
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_GROUP_ID
           
static String FIND_BY_NO_ASSETS
           
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
           
 
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)
           
 List<Long> findByC_P(long companyId, long parentOrganizationId, long previousOrganizationId, int size)
           
 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> 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)
           
 List<Organization> findByNoAssets()
           
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, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_GROUP_ID

public static final String COUNT_BY_GROUP_ID

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_NO_ASSETS

public static final String FIND_BY_NO_ASSETS

FIND_BY_GROUP_ID

public static final String FIND_BY_GROUP_ID

FIND_BY_C_P

public static final String FIND_BY_C_P

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_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_USERS_ORGS

public static final String JOIN_BY_USERS_ORGS
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

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

findByNoAssets

public List<Organization> findByNoAssets()
                                  throws SystemException
Specified by:
findByNoAssets in interface OrganizationFinder
Throws:
SystemException

findByC_P

public List<Long> findByC_P(long companyId,
                            long parentOrganizationId,
                            long previousOrganizationId,
                            int size)
                     throws SystemException
Specified by:
findByC_P 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)

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.2-ce-ga5