Class OrganizationPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>,com.liferay.portal.kernel.service.persistence.OrganizationPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringprotected com.liferay.portal.kernel.service.persistence.GroupPersistenceprotected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.Group> protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.User> protected com.liferay.portal.kernel.service.persistence.UserPersistenceFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddGroup(long pk, long groupPK) Adds an association between the organization and the group.booleanaddGroup(long pk, com.liferay.portal.kernel.model.Group group) Adds an association between the organization and the group.booleanaddGroups(long pk, long[] groupPKs) Adds an association between the organization and the groups.booleanAdds an association between the organization and the groups.booleanaddUser(long pk, long userPK) Adds an association between the organization and the user.booleanaddUser(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the organization and the user.booleanaddUsers(long pk, long[] userPKs) Adds an association between the organization and the users.booleanAdds an association between the organization and the users.voidInitializes the organization persistence.voidcacheResult(com.liferay.portal.kernel.model.Organization organization) Caches the organization in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.Organization> organizations) Caches the organizations in the entity cache if it is enabled.protected voidcacheUniqueFindersCache(OrganizationModelImpl organizationModelImpl) voidClears the cache for all organizations.voidclearCache(com.liferay.portal.kernel.model.Organization organization) Clears the cache for the organization.voidclearCache(List<com.liferay.portal.kernel.model.Organization> organizations) voidclearCache(Set<Serializable> primaryKeys) voidclearGroups(long pk) Clears all associations between the organization and its groups.voidclearUsers(long pk) Clears all associations between the organization and its users.booleancontainsGroup(long pk, long groupPK) Returnstrueif the group is associated with the organization.booleancontainsGroups(long pk) Returnstrueif the organization has any groups associated with it.booleancontainsUser(long pk, long userPK) Returnstrueif the user is associated with the organization.booleancontainsUsers(long pk) Returnstrueif the organization has any users associated with it.intcountAll()Returns the number of organizations.intcountByC_LikeN(long companyId, String name) Returns the number of organizations where companyId = ? and name LIKE ?.intcountByC_LikeT(long companyId, String treePath) Returns the number of organizations where companyId = ? and treePath LIKE ?.intcountByC_N(long companyId, String name) Returns the number of organizations where companyId = ? and name = ?.intcountByC_P(long companyId, long parentOrganizationId) Returns the number of organizations where companyId = ? and parentOrganizationId = ?.intcountByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns the number of organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.intcountByCompanyId(long companyId) Returns the number of organizations where companyId = ?.intcountByCompanyIdLocations(long companyId) Returns the number of organizations where companyId = ?.intcountByERC_C(String externalReferenceCode, long companyId) Returns the number of organizations where externalReferenceCode = ? and companyId = ?.intcountByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.intcountByUuid(String uuid) Returns the number of organizations where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of organizations where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organizationcreate(long organizationId) Creates a new organization with the primary key.voiddestroy()com.liferay.portal.kernel.model.OrganizationfetchByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByC_N(long companyId, String name) Returns the organization where companyId = ? and name = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.OrganizationfetchByC_N(long companyId, String name, boolean useFinderCache) Returns the organization where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.OrganizationfetchByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfetchByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfetchByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByERC_C(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found.com.liferay.portal.kernel.model.OrganizationfetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.com.liferay.portal.kernel.model.OrganizationfetchByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfetchByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfetchByPrimaryKey(long organizationId) Returns the organization with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.OrganizationfetchByPrimaryKey(Serializable primaryKey) Returns the organization with the primary key or returnsnullif it could not be found.Map<Serializable,com.liferay.portal.kernel.model.Organization> fetchByPrimaryKeys(Set<Serializable> primaryKeys) com.liferay.portal.kernel.model.OrganizationfetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.OrganizationfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.OrganizationfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.intfilterCountByC_LikeN(long companyId, String name) Returns the number of organizations that the user has permission to view where companyId = ? and name LIKE ?.intfilterCountByC_LikeT(long companyId, String treePath) Returns the number of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.intfilterCountByC_P(long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.intfilterCountByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.intfilterCountByCompanyId(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.intfilterCountByCompanyIdLocations(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.intfilterCountByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.intfilterCountByUuid(String uuid) Returns the number of organizations that the user has permission to view where uuid = ?.intfilterCountByUuid_C(String uuid, long companyId) Returns the number of organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeN(long companyId, String name) Returns all the organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]filterFindByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeT(long companyId, String treePath) Returns all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization[]filterFindByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P(long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]filterFindByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]filterFindByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyId(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.com.liferay.portal.kernel.model.Organization[]filterFindByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyIdLocations(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.com.liferay.portal.kernel.model.Organization[]filterFindByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid(String uuid) Returns all the organizations that the user has permission to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid(String uuid, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid_C(String uuid, long companyId) Returns all the organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]filterFindByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]filterFindByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ?.protected com.liferay.portal.kernel.model.OrganizationfilterGetByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationfilterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) List<com.liferay.portal.kernel.model.Organization>findAll()Returns all the organizations.List<com.liferay.portal.kernel.model.Organization>findAll(int start, int end) Returns a range of all the organizations.List<com.liferay.portal.kernel.model.Organization>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations.List<com.liferay.portal.kernel.model.Organization>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations.List<com.liferay.portal.kernel.model.Organization>findByC_LikeN(long companyId, String name) Returns all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]findByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeT(long companyId, String treePath) Returns all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.Organization[]findByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and treePath LIKE ?.com.liferay.portal.kernel.model.OrganizationReturns the organization where companyId = ? and name = ? or throws aNoSuchOrganizationExceptionif it could not be found.List<com.liferay.portal.kernel.model.Organization>findByC_P(long companyId, long parentOrganizationId) Returns all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfindByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfindByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.List<com.liferay.portal.kernel.model.Organization>findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.OrganizationfindByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]findByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.com.liferay.portal.kernel.model.Organization[]findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyId(long companyId) Returns all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyId(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization[]findByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyIdLocations(long companyId) Returns all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.Organization[]findByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByERC_C(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrganizationExceptionif it could not be found.List<com.liferay.portal.kernel.model.Organization>findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.List<com.liferay.portal.kernel.model.Organization>findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfindByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfindByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.com.liferay.portal.kernel.model.OrganizationfindByPrimaryKey(long organizationId) Returns the organization with the primary key or throws aNoSuchOrganizationExceptionif it could not be found.com.liferay.portal.kernel.model.OrganizationfindByPrimaryKey(Serializable primaryKey) Returns the organization with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.List<com.liferay.portal.kernel.model.Organization>findByUuid(String uuid) Returns all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid(String uuid, int start, int end) Returns a range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid_C(String uuid, long companyId) Returns all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.Organization>findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.Organization[]findByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.OrganizationfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.OrganizationfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.com.liferay.portal.kernel.model.Organization[]findByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the organizations before and after the current organization in the ordered set where uuid = ?.protected com.liferay.portal.kernel.model.OrganizationgetByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.OrganizationgetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) protected com.liferay.portal.kernel.dao.orm.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCachelong[]getGroupPrimaryKeys(long pk) Returns the primaryKeys of groups associated with the organization.List<com.liferay.portal.kernel.model.Group>getGroups(long pk) Returns all the groups associated with the organization.List<com.liferay.portal.kernel.model.Group>getGroups(long pk, int start, int end) Returns a range of all the groups associated with the organization.List<com.liferay.portal.kernel.model.Group>getGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups associated with the organization.intgetGroupsSize(long pk) Returns the number of groups associated with the organization.protected Stringprotected Stringlong[]getUserPrimaryKeys(long pk) Returns the primaryKeys of users associated with the organization.List<com.liferay.portal.kernel.model.User>getUsers(long pk) Returns all the users associated with the organization.List<com.liferay.portal.kernel.model.User>getUsers(long pk, int start, int end) Returns a range of all the users associated with the organization.List<com.liferay.portal.kernel.model.User>getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the organization.intgetUsersSize(long pk) Returns the number of users associated with the organization.com.liferay.portal.kernel.model.Organizationremove(long organizationId) Removes the organization with the primary key from the database.com.liferay.portal.kernel.model.Organizationremove(Serializable primaryKey) Removes the organization with the primary key from the database.voidRemoves all the organizations from the database.voidremoveByC_LikeN(long companyId, String name) Removes all the organizations where companyId = ? and name LIKE ? from the database.voidremoveByC_LikeT(long companyId, String treePath) Removes all the organizations where companyId = ? and treePath LIKE ? from the database.com.liferay.portal.kernel.model.OrganizationremoveByC_N(long companyId, String name) Removes the organization where companyId = ? and name = ? from the database.voidremoveByC_P(long companyId, long parentOrganizationId) Removes all the organizations where companyId = ? and parentOrganizationId = ? from the database.voidremoveByC_P_LikeN(long companyId, long parentOrganizationId, String name) Removes all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ? from the database.voidremoveByCompanyId(long companyId) Removes all the organizations where companyId = ? from the database.voidremoveByCompanyIdLocations(long companyId) Removes all the organizations where companyId = ? from the database.com.liferay.portal.kernel.model.OrganizationremoveByERC_C(String externalReferenceCode, long companyId) Removes the organization where externalReferenceCode = ? and companyId = ? from the database.voidremoveByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Removes all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ? from the database.voidremoveByUuid(String uuid) Removes all the organizations where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the organizations where uuid = ? and companyId = ? from the database.voidremoveGroup(long pk, long groupPK) Removes the association between the organization and the group.voidremoveGroup(long pk, com.liferay.portal.kernel.model.Group group) Removes the association between the organization and the group.voidremoveGroups(long pk, long[] groupPKs) Removes the association between the organization and the groups.voidremoveGroups(long pk, List<com.liferay.portal.kernel.model.Group> groups) Removes the association between the organization and the groups.protected com.liferay.portal.kernel.model.OrganizationremoveImpl(com.liferay.portal.kernel.model.Organization organization) voidremoveUser(long pk, long userPK) Removes the association between the organization and the user.voidremoveUser(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the organization and the user.voidremoveUsers(long pk, long[] userPKs) Removes the association between the organization and the users.voidremoveUsers(long pk, List<com.liferay.portal.kernel.model.User> users) Removes the association between the organization and the users.voidsetGroups(long pk, long[] groupPKs) Sets the groups associated with the organization, removing and adding associations as necessary.voidSets the groups associated with the organization, removing and adding associations as necessary.voidsetUsers(long pk, long[] userPKs) Sets the users associated with the organization, removing and adding associations as necessary.voidSets the users associated with the organization, removing and adding associations as necessary.com.liferay.portal.kernel.model.OrganizationupdateImpl(com.liferay.portal.kernel.model.Organization organization) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
groupPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.GroupPersistence.class) protected com.liferay.portal.kernel.service.persistence.GroupPersistence groupPersistence -
organizationToGroupTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.Group> organizationToGroupTableMapper -
userPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.UserPersistence.class) protected com.liferay.portal.kernel.service.persistence.UserPersistence userPersistence -
organizationToUserTableMapper
protected com.liferay.portal.kernel.service.persistence.impl.TableMapper<com.liferay.portal.kernel.model.Organization,com.liferay.portal.kernel.model.User> organizationToUserTableMapper
-
-
Constructor Details
-
OrganizationPersistenceImpl
public OrganizationPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the organizations where uuid = ?.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuid- Returns:
- the matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end) Returns a range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByUuid
public List<com.liferay.portal.kernel.model.Organization> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByUuid_First
public com.liferay.portal.kernel.model.Organization findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where uuid = ?.- Specified by:
findByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByUuid_First
public com.liferay.portal.kernel.model.Organization fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByUuid_Last
public com.liferay.portal.kernel.model.Organization findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where uuid = ?.- Specified by:
findByUuid_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByUuid_Last
public com.liferay.portal.kernel.model.Organization fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByUuid_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByUuid
Returns all the organizations that the user has permission to view where uuid = ?.- Specified by:
filterFindByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuid- Returns:
- the matching organizations that the user has permission to view
-
filterFindByUuid
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid(String uuid, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByUuid
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByUuid_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByUuid_PrevAndNext(long organizationId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ?.- Specified by:
filterFindByUuid_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationuuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByUuid
Removes all the organizations where uuid = ? from the database.- Specified by:
removeByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of organizations where uuid = ?.- Specified by:
countByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching organizations
-
filterCountByUuid
Returns the number of organizations that the user has permission to view where uuid = ?.- Specified by:
filterCountByUuidin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuid- Returns:
- the number of matching organizations that the user has permission to view
-
findByUuid_C
Returns all the organizations where uuid = ? and companyId = ?.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByUuid_C
public List<com.liferay.portal.kernel.model.Organization> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByUuid_C_First
public com.liferay.portal.kernel.model.Organization findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByUuid_C_First
public com.liferay.portal.kernel.model.Organization fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByUuid_C_Last
public com.liferay.portal.kernel.model.Organization findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByUuid_C_Last
public com.liferay.portal.kernel.model.Organization fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByUuid_C_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId) Returns all the organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterFindByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByUuid_C
public List<com.liferay.portal.kernel.model.Organization> filterFindByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByUuid_C_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByUuid_C_PrevAndNext(long organizationId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterFindByUuid_C_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationuuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the organizations where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of organizations where uuid = ? and companyId = ?.- Specified by:
countByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching organizations
-
filterCountByUuid_C
Returns the number of organizations that the user has permission to view where uuid = ? and companyId = ?.- Specified by:
filterCountByUuid_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByCompanyId
Returns all the organizations where companyId = ?.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByCompanyId
public List<com.liferay.portal.kernel.model.Organization> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByCompanyId_First
public com.liferay.portal.kernel.model.Organization findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByCompanyId_First
public com.liferay.portal.kernel.model.Organization fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByCompanyId_Last
public com.liferay.portal.kernel.model.Organization findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByCompanyId_Last
public com.liferay.portal.kernel.model.Organization fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyId_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByCompanyId_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ?.- Specified by:
findByCompanyId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByCompanyId_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByCompanyId
Returns all the organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByCompanyId
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByCompanyId
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByCompanyId_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyId_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByCompanyId_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByCompanyId
public void removeByCompanyId(long companyId) Removes all the organizations where companyId = ? from the database.- Specified by:
removeByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID
-
countByCompanyId
public int countByCompanyId(long companyId) Returns the number of organizations where companyId = ?.- Specified by:
countByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching organizations
-
filterCountByCompanyId
public int filterCountByCompanyId(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.- Specified by:
filterCountByCompanyIdin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByCompanyIdLocations
Returns all the organizations where companyId = ?.- Specified by:
findByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> findByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByCompanyIdLocations_First
public com.liferay.portal.kernel.model.Organization findByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByCompanyIdLocations_First
public com.liferay.portal.kernel.model.Organization fetchByCompanyIdLocations_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyIdLocations_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByCompanyIdLocations_Last
public com.liferay.portal.kernel.model.Organization findByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByCompanyIdLocations_Last
public com.liferay.portal.kernel.model.Organization fetchByCompanyIdLocations_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ?.- Specified by:
fetchByCompanyIdLocations_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByCompanyIdLocations_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ?.- Specified by:
findByCompanyIdLocations_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByCompanyIdLocations_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId) Returns all the organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations
public List<com.liferay.portal.kernel.model.Organization> filterFindByCompanyIdLocations(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByCompanyIdLocations_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByCompanyIdLocations_PrevAndNext(long organizationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ?.- Specified by:
filterFindByCompanyIdLocations_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByCompanyIdLocations_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByCompanyIdLocations_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByCompanyIdLocations
public void removeByCompanyIdLocations(long companyId) Removes all the organizations where companyId = ? from the database.- Specified by:
removeByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID
-
countByCompanyIdLocations
public int countByCompanyIdLocations(long companyId) Returns the number of organizations where companyId = ?.- Specified by:
countByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching organizations
-
filterCountByCompanyIdLocations
public int filterCountByCompanyIdLocations(long companyId) Returns the number of organizations that the user has permission to view where companyId = ?.- Specified by:
filterCountByCompanyIdLocationsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId) Returns all the organizations where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByC_P
public List<com.liferay.portal.kernel.model.Organization> findByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_P_First
public com.liferay.portal.kernel.model.Organization findByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_P_First
public com.liferay.portal.kernel.model.Organization fetchByC_P_First(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByC_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByC_P_Last
public com.liferay.portal.kernel.model.Organization findByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_P_Last
public com.liferay.portal.kernel.model.Organization fetchByC_P_Last(long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByC_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByC_P_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ?.- Specified by:
findByC_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByC_P_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P(long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_P_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_P_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByC_P_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByC_P_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_P
public void removeByC_P(long companyId, long parentOrganizationId) Removes all the organizations where companyId = ? and parentOrganizationId = ? from the database.- Specified by:
removeByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization ID
-
countByC_P
public int countByC_P(long companyId, long parentOrganizationId) Returns the number of organizations where companyId = ? and parentOrganizationId = ?.- Specified by:
countByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the number of matching organizations
-
filterCountByC_P
public int filterCountByC_P(long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ?.- Specified by:
filterCountByC_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath) Returns all the organizations where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree path- Returns:
- the matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_LikeT_First
public com.liferay.portal.kernel.model.Organization findByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_LikeT_First
public com.liferay.portal.kernel.model.Organization fetchByC_LikeT_First(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
fetchByC_LikeT_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByC_LikeT_Last
public com.liferay.portal.kernel.model.Organization findByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_LikeT_Last
public com.liferay.portal.kernel.model.Organization fetchByC_LikeT_Last(long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
fetchByC_LikeT_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByC_LikeT_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and treePath LIKE ?.- Specified by:
findByC_LikeT_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByC_LikeT_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath) Returns all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterFindByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree path- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_LikeT
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeT(long companyId, String treePath, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and treePath LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree pathstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_LikeT_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_LikeT_PrevAndNext(long organizationId, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterFindByC_LikeT_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDtreePath- the tree pathorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByC_LikeT_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_LikeT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String treePath, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_LikeT
Removes all the organizations where companyId = ? and treePath LIKE ? from the database.- Specified by:
removeByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree path
-
countByC_LikeT
Returns the number of organizations where companyId = ? and treePath LIKE ?.- Specified by:
countByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree path- Returns:
- the number of matching organizations
-
filterCountByC_LikeT
Returns the number of organizations that the user has permission to view where companyId = ? and treePath LIKE ?.- Specified by:
filterCountByC_LikeTin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDtreePath- the tree path- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_N
public com.liferay.portal.kernel.model.Organization findByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization where companyId = ? and name = ? or throws aNoSuchOrganizationExceptionif it could not be found.- Specified by:
findByC_Nin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_N
Returns the organization where companyId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByC_Nin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the matching organization, or
nullif a matching organization could not be found
-
fetchByC_N
public com.liferay.portal.kernel.model.Organization fetchByC_N(long companyId, String name, boolean useFinderCache) Returns the organization where companyId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByC_Nin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching organization, or
nullif a matching organization could not be found
-
removeByC_N
public com.liferay.portal.kernel.model.Organization removeByC_N(long companyId, String name) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization where companyId = ? and name = ? from the database.- Specified by:
removeByC_Nin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
-
countByC_N
Returns the number of organizations where companyId = ? and name = ?.- Specified by:
countByC_Nin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name) Returns all the organizations where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_LikeN_First
public com.liferay.portal.kernel.model.Organization findByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_LikeN_First
public com.liferay.portal.kernel.model.Organization fetchByC_LikeN_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
fetchByC_LikeN_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByC_LikeN_Last
public com.liferay.portal.kernel.model.Organization findByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_LikeN_Last
public com.liferay.portal.kernel.model.Organization fetchByC_LikeN_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
fetchByC_LikeN_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByC_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and name LIKE ?.- Specified by:
findByC_LikeN_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByC_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name) Returns all the organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterFindByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_LikeN(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_LikeN_PrevAndNext(long organizationId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterFindByC_LikeN_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByC_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_LikeN
Removes all the organizations where companyId = ? and name LIKE ? from the database.- Specified by:
removeByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name
-
countByC_LikeN
Returns the number of organizations where companyId = ? and name LIKE ?.- Specified by:
countByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching organizations
-
filterCountByC_LikeN
Returns the number of organizations that the user has permission to view where companyId = ? and name LIKE ?.- Specified by:
filterCountByC_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDname- the name- Returns:
- the number of matching organizations that the user has permission to view
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> findByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByGtO_C_P_First
public com.liferay.portal.kernel.model.Organization findByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByGtO_C_P_First
public com.liferay.portal.kernel.model.Organization fetchByGtO_C_P_First(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByGtO_C_P_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByGtO_C_P_Last
public com.liferay.portal.kernel.model.Organization findByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
findByGtO_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByGtO_C_P_Last
public com.liferay.portal.kernel.model.Organization fetchByGtO_C_P_Last(long organizationId, long companyId, long parentOrganizationId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
fetchByGtO_C_P_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
filterFindByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the matching organizations that the user has permission to view
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end) Returns a range of all the organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByGtO_C_P
public List<com.liferay.portal.kernel.model.Organization> filterFindByGtO_C_P(long organizationId, long companyId, long parentOrganizationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization IDstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
removeByGtO_C_P
public void removeByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Removes all the organizations where organizationId > ? and companyId = ? and parentOrganizationId = ? from the database.- Specified by:
removeByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization ID
-
countByGtO_C_P
public int countByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
countByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the number of matching organizations
-
filterCountByGtO_C_P
public int filterCountByGtO_C_P(long organizationId, long companyId, long parentOrganizationId) Returns the number of organizations that the user has permission to view where organizationId > ? and companyId = ? and parentOrganizationId = ?.- Specified by:
filterCountByGtO_C_Pin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the organization IDcompanyId- the company IDparentOrganizationId- the parent organization ID- Returns:
- the number of matching organizations that the user has permission to view
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the name- Returns:
- the matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations
-
findByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> findByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching organizations
-
findByC_P_LikeN_First
public com.liferay.portal.kernel.model.Organization findByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_P_LikeN_First
public com.liferay.portal.kernel.model.Organization fetchByC_P_LikeN_First(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the first organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
fetchByC_P_LikeN_Firstin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching organization, or
nullif a matching organization could not be found
-
findByC_P_LikeN_Last
public com.liferay.portal.kernel.model.Organization findByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByC_P_LikeN_Last
public com.liferay.portal.kernel.model.Organization fetchByC_P_LikeN_Last(long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns the last organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
fetchByC_P_LikeN_Lastin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching organization, or
nullif a matching organization could not be found
-
findByC_P_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] findByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
findByC_P_LikeN_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
getByC_P_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization getByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name) Returns all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterFindByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the name- Returns:
- the matching organizations that the user has permission to view
-
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end) Returns a range of all the organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of matching organizations that the user has permission to view
-
filterFindByC_P_LikeN
public List<com.liferay.portal.kernel.model.Organization> filterFindByC_P_LikeN(long companyId, long parentOrganizationId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations that the user has permissions to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
filterFindByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the namestart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching organizations that the user has permission to view
-
filterFindByC_P_LikeN_PrevAndNext
public com.liferay.portal.kernel.model.Organization[] filterFindByC_P_LikeN_PrevAndNext(long organizationId, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organizations before and after the current organization in the ordered set of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterFindByC_P_LikeN_PrevAndNextin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the current organizationcompanyId- the company IDparentOrganizationId- the parent organization IDname- the nameorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
filterGetByC_P_LikeN_PrevAndNext
protected com.liferay.portal.kernel.model.Organization filterGetByC_P_LikeN_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.Organization organization, long companyId, long parentOrganizationId, String name, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean previous) -
removeByC_P_LikeN
Removes all the organizations where companyId = ? and parentOrganizationId = ? and name LIKE ? from the database.- Specified by:
removeByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the name
-
countByC_P_LikeN
Returns the number of organizations where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
countByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the name- Returns:
- the number of matching organizations
-
filterCountByC_P_LikeN
Returns the number of organizations that the user has permission to view where companyId = ? and parentOrganizationId = ? and name LIKE ?.- Specified by:
filterCountByC_P_LikeNin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
companyId- the company IDparentOrganizationId- the parent organization IDname- the name- Returns:
- the number of matching organizations that the user has permission to view
-
findByERC_C
public com.liferay.portal.kernel.model.Organization findByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization where externalReferenceCode = ? and companyId = ? or throws aNoSuchOrganizationExceptionif it could not be found.- Specified by:
findByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a matching organization could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Organization fetchByERC_C(String externalReferenceCode, long companyId) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found. Uses the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the matching organization, or
nullif a matching organization could not be found
-
fetchByERC_C
public com.liferay.portal.kernel.model.Organization fetchByERC_C(String externalReferenceCode, long companyId, boolean useFinderCache) Returns the organization where externalReferenceCode = ? and companyId = ? or returnsnullif it could not be found, optionally using the finder cache.- Specified by:
fetchByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company IDuseFinderCache- whether to use the finder cache- Returns:
- the matching organization, or
nullif a matching organization could not be found
-
removeByERC_C
public com.liferay.portal.kernel.model.Organization removeByERC_C(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization where externalReferenceCode = ? and companyId = ? from the database.- Specified by:
removeByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException
-
countByERC_C
Returns the number of organizations where externalReferenceCode = ? and companyId = ?.- Specified by:
countByERC_Cin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
externalReferenceCode- the external reference codecompanyId- the company ID- Returns:
- the number of matching organizations
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.Organization organization) Caches the organization in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Overrides:
cacheResultin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>- Parameters:
organization- the organization
-
cacheResult
Caches the organizations in the entity cache if it is enabled.- Specified by:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizations- the organizations
-
clearCache
public void clearCache()Clears the cache for all organizations.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.Organization organization) Clears the cache for the organization.The
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
clearCache
- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>
-
cacheUniqueFindersCache
-
create
public com.liferay.portal.kernel.model.Organization create(long organizationId) Creates a new organization with the primary key. Does not add the organization to the database.- Specified by:
createin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key for the new organization- Returns:
- the new organization
-
remove
public com.liferay.portal.kernel.model.Organization remove(long organizationId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the organization- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.Organization remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Removes the organization with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
removein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>- Parameters:
primaryKey- the primary key of the organization- Returns:
- the organization that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.Organization removeImpl(com.liferay.portal.kernel.model.Organization organization) - Overrides:
removeImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
updateImpl
public com.liferay.portal.kernel.model.Organization updateImpl(com.liferay.portal.kernel.model.Organization organization) - Specified by:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Overrides:
updateImplin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Organization findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
findByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>- Parameters:
primaryKey- the primary key of the organization- Returns:
- the organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.Organization findByPrimaryKey(long organizationId) throws com.liferay.portal.kernel.exception.NoSuchOrganizationException Returns the organization with the primary key or throws aNoSuchOrganizationExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the organization- Returns:
- the organization
- Throws:
com.liferay.portal.kernel.exception.NoSuchOrganizationException- if a organization with the primary key could not be found
-
fetchByPrimaryKey
Returns the organization with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
fetchByPrimaryKeyin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>- Parameters:
primaryKey- the primary key of the organization- Returns:
- the organization, or
nullif a organization with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.Organization fetchByPrimaryKey(long organizationId) Returns the organization with the primary key or returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
organizationId- the primary key of the organization- Returns:
- the organization, or
nullif a organization with the primary key could not be found
-
fetchByPrimaryKeys
public Map<Serializable,com.liferay.portal.kernel.model.Organization> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - Specified by:
fetchByPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
fetchByPrimaryKeysin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
findAll
Returns all the organizations.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Returns:
- the organizations
-
findAll
Returns a range of all the organizations.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
start- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of organizations
-
findAll
public List<com.liferay.portal.kernel.model.Organization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator) Returns an ordered range of all the organizations.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
start- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of organizations
-
findAll
public List<com.liferay.portal.kernel.model.Organization> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Organization> orderByComparator, boolean useFinderCache) Returns an ordered range of all the organizations.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
findAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
start- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of organizations
-
removeAll
public void removeAll()Removes all the organizations from the database.- Specified by:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence
-
countAll
public int countAll()Returns the number of organizations.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Returns:
- the number of organizations
-
getGroupPrimaryKeys
public long[] getGroupPrimaryKeys(long pk) Returns the primaryKeys of groups associated with the organization.- Specified by:
getGroupPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- long[] of the primaryKeys of groups associated with the organization
-
getGroups
Returns all the groups associated with the organization.- Specified by:
getGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- the groups associated with the organization
-
getGroups
Returns a range of all the groups associated with the organization.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
getGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of groups associated with the organization
-
getGroups
public List<com.liferay.portal.kernel.model.Group> getGroups(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> orderByComparator) Returns an ordered range of all the groups associated with the organization.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
getGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of groups associated with the organization
-
getGroupsSize
public int getGroupsSize(long pk) Returns the number of groups associated with the organization.- Specified by:
getGroupsSizein interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- the number of groups associated with the organization
-
containsGroup
public boolean containsGroup(long pk, long groupPK) Returnstrueif the group is associated with the organization.- Specified by:
containsGroupin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPK- the primary key of the group- Returns:
trueif the group is associated with the organization;falseotherwise
-
containsGroups
public boolean containsGroups(long pk) Returnstrueif the organization has any groups associated with it.- Specified by:
containsGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization to check for associations with groups- Returns:
trueif the organization has any groups associated with it;falseotherwise
-
addGroup
public boolean addGroup(long pk, long groupPK) Adds an association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroupin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPK- the primary key of the group- Returns:
trueif an association between the organization and the group was added;falseif they were already associated
-
addGroup
public boolean addGroup(long pk, com.liferay.portal.kernel.model.Group group) Adds an association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroupin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroup- the group- Returns:
trueif an association between the organization and the group was added;falseif they were already associated
-
addGroups
public boolean addGroups(long pk, long[] groupPKs) Adds an association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPKs- the primary keys of the groups- Returns:
trueif at least one association between the organization and the groups was added;falseif they were all already associated
-
addGroups
Adds an association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroups- the groups- Returns:
trueif at least one association between the organization and the groups was added;falseif they were all already associated
-
clearGroups
public void clearGroups(long pk) Clears all associations between the organization and its groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization to clear the associated groups from
-
removeGroup
public void removeGroup(long pk, long groupPK) Removes the association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroupin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPK- the primary key of the group
-
removeGroup
public void removeGroup(long pk, com.liferay.portal.kernel.model.Group group) Removes the association between the organization and the group. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroupin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroup- the group
-
removeGroups
public void removeGroups(long pk, long[] groupPKs) Removes the association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPKs- the primary keys of the groups
-
removeGroups
Removes the association between the organization and the groups. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroups- the groups
-
setGroups
public void setGroups(long pk, long[] groupPKs) Sets the groups associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroupPKs- the primary keys of the groups to be associated with the organization
-
setGroups
Sets the groups associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setGroupsin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationgroups- the groups to be associated with the organization
-
getUserPrimaryKeys
public long[] getUserPrimaryKeys(long pk) Returns the primaryKeys of users associated with the organization.- Specified by:
getUserPrimaryKeysin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- long[] of the primaryKeys of users associated with the organization
-
getUsers
Returns all the users associated with the organization.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- the users associated with the organization
-
getUsers
Returns a range of all the users associated with the organization.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)- Returns:
- the range of users associated with the organization
-
getUsers
public List<com.liferay.portal.kernel.model.User> getUsers(long pk, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) Returns an ordered range of all the users associated with the organization.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromOrganizationModelImpl.- Specified by:
getUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationstart- the lower bound of the range of organizationsend- the upper bound of the range of organizations (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of users associated with the organization
-
getUsersSize
public int getUsersSize(long pk) Returns the number of users associated with the organization.- Specified by:
getUsersSizein interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization- Returns:
- the number of users associated with the organization
-
containsUser
public boolean containsUser(long pk, long userPK) Returnstrueif the user is associated with the organization.- Specified by:
containsUserin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPK- the primary key of the user- Returns:
trueif the user is associated with the organization;falseotherwise
-
containsUsers
public boolean containsUsers(long pk) Returnstrueif the organization has any users associated with it.- Specified by:
containsUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization to check for associations with users- Returns:
trueif the organization has any users associated with it;falseotherwise
-
addUser
public boolean addUser(long pk, long userPK) Adds an association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPK- the primary key of the user- Returns:
trueif an association between the organization and the user was added;falseif they were already associated
-
addUser
public boolean addUser(long pk, com.liferay.portal.kernel.model.User user) Adds an association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUserin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuser- the user- Returns:
trueif an association between the organization and the user was added;falseif they were already associated
-
addUsers
public boolean addUsers(long pk, long[] userPKs) Adds an association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPKs- the primary keys of the users- Returns:
trueif at least one association between the organization and the users was added;falseif they were all already associated
-
addUsers
Adds an association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
addUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationusers- the users- Returns:
trueif at least one association between the organization and the users was added;falseif they were all already associated
-
clearUsers
public void clearUsers(long pk) Clears all associations between the organization and its users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
clearUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organization to clear the associated users from
-
removeUser
public void removeUser(long pk, long userPK) Removes the association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPK- the primary key of the user
-
removeUser
public void removeUser(long pk, com.liferay.portal.kernel.model.User user) Removes the association between the organization and the user. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUserin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuser- the user
-
removeUsers
public void removeUsers(long pk, long[] userPKs) Removes the association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPKs- the primary keys of the users
-
removeUsers
Removes the association between the organization and the users. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
removeUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationusers- the users
-
setUsers
public void setUsers(long pk, long[] userPKs) Sets the users associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationuserPKs- the primary keys of the users to be associated with the organization
-
setUsers
Sets the users associated with the organization, removing and adding associations as necessary. Also notifies the appropriate model listeners and clears the mapping table finder cache.- Specified by:
setUsersin interfacecom.liferay.portal.kernel.service.persistence.OrganizationPersistence- Parameters:
pk- the primary key of the organizationusers- the users to be associated with the organization
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
getBadColumnNamesin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getCTColumnNames
public Set<String> getCTColumnNames(com.liferay.portal.kernel.change.tracking.CTColumnResolutionType ctColumnResolutionType) - Specified by:
getCTColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getMappingTableNames
- Specified by:
getMappingTableNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getTableColumnsMap
- Specified by:
getTableColumnsMapin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>- Overrides:
getTableColumnsMapin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-
getTableName
- Specified by:
getTableNamein interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
getUniqueIndexColumnNames
- Specified by:
getUniqueIndexColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<com.liferay.portal.kernel.model.Organization>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the organization persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.Organization>
-