com.liferay.portal.service.persistence
Class OrganizationFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Organization>
com.liferay.portal.service.persistence.OrganizationFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<Organization>, OrganizationFinder
public class OrganizationFinderImpl
- extends BasePersistenceImpl<Organization>
- implements OrganizationFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, 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 |
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> |
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, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, 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 |
COUNT_BY_ORGANIZATION_ID
public static String COUNT_BY_ORGANIZATION_ID
COUNT_BY_C_PO_N_S_C_Z_R_C
public static String COUNT_BY_C_PO_N_S_C_Z_R_C
COUNT_BY_C_PO_N_L_S_C_Z_R_C
public static String COUNT_BY_C_PO_N_L_S_C_Z_R_C
FIND_BY_C_PO_N_S_C_Z_R_C
public static String FIND_BY_C_PO_N_S_C_Z_R_C
FIND_BY_C_PO_N_L_S_C_Z_R_C
public static String FIND_BY_C_PO_N_L_S_C_Z_R_C
JOIN_BY_GROUPS_PERMISSIONS
public static String JOIN_BY_GROUPS_PERMISSIONS
JOIN_BY_ORGANIZATIONS_GROUPS
public static String JOIN_BY_ORGANIZATIONS_GROUPS
JOIN_BY_ORGANIZATIONS_USER_GROUPS
public static String JOIN_BY_ORGANIZATIONS_USER_GROUPS
JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES
public static String JOIN_BY_ORGANIZATIONS_PASSWORD_POLICIES
JOIN_BY_ORGANIZATIONS_ROLES
public static String JOIN_BY_ORGANIZATIONS_ROLES
JOIN_BY_ORGANIZATIONS_USERS
public static String JOIN_BY_ORGANIZATIONS_USERS
JOIN_BY_ORG_GROUP_PERMISSION
public static String JOIN_BY_ORG_GROUP_PERMISSION
JOIN_BY_USERS_ORGS
public static String JOIN_BY_USERS_ORGS
COUNTRY_ID_SQL
protected static String COUNTRY_ID_SQL
REGION_ID_SQL
protected static String REGION_ID_SQL
OrganizationFinderImpl
public OrganizationFinderImpl()
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
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)